:root {
    --bg: #f5f8fc;
    --surface: #ffffff;
    --surface-soft: #f8fbff;
    --surface-alt: #edf4fb;
    --text: #101d32;
    --muted: #58677d;
    --primary: #153f80;
    --primary-dark: #0a2344;
    --accent: #c99332;
    --accent-soft: #f4dfad;
    --teal: #168f82;
    --border: #d9e3f1;
    --shadow: 0 18px 44px rgba(12, 31, 58, 0.1);
    --shadow-strong: 0 28px 70px rgba(10, 35, 68, 0.16);
    --radius: 8px;
    --font-en: "Inter", "Segoe UI", Arial, sans-serif;
    --font-ar: "Vazirmatn", "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--font-en);
    background: var(--bg);
    color: var(--text);
    line-height: 1.58;
    background-image:
        linear-gradient(180deg, rgba(255,255,255,0.72), rgba(239,245,253,0.62)),
        url("/static/img/pattern.svg");
    background-position: center top, right -80px top -80px;
    background-repeat: no-repeat;
    background-size: auto, 280px 280px;
}
html[lang="en"] body { font-family: var(--font-en); }
html[lang="fa"] body,
html[lang="ps"] body { font-family: var(--font-ar); line-height: 1.78; }
body.dir-rtl { direction: rtl; text-align: right; }
body.dir-rtl .brand,
body.dir-rtl .nav-shell,
body.dir-rtl .meta-row,
body.dir-rtl .cta-row,
body.dir-rtl .footer-brand,
body.dir-rtl .hero-brand-card { direction: rtl; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
    color: var(--primary-dark);
    font-weight: 800;
    letter-spacing: 0;
}
html[lang="fa"] h1,
html[lang="fa"] h2,
html[lang="fa"] h3,
html[lang="fa"] h4,
html[lang="ps"] h1,
html[lang="ps"] h2,
html[lang="ps"] h3,
html[lang="ps"] h4 {
    font-family: var(--font-ar);
    line-height: 1.38;
}
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 32px)); }
.section { position: relative; padding: 54px 0; }
.section-alt {
    background:
        linear-gradient(180deg, rgba(237,244,251,0.96), rgba(246,249,253,0.98));
    border-block: 1px solid rgba(21, 63, 128, 0.06);
}
.section-cta { padding-top: 0; }
.site-header {
    position: sticky; top: 0; z-index: 20;
    backdrop-filter: blur(12px);
    background: rgba(248, 251, 255, 0.92);
    border-bottom: 1px solid rgba(21, 63, 128, 0.1);
    box-shadow: 0 10px 32px rgba(10, 35, 68, 0.06);
}
.site-header .container {
    width: min(1280px, calc(100% - 32px));
}
.nav-shell {
    display: grid;
    grid-template-columns: minmax(144px, 194px) minmax(0, 1fr) minmax(220px, 260px);
    grid-template-areas: "brand nav actions";
    align-items: center;
    column-gap: 14px;
    row-gap: 6px;
    min-height: 74px;
    padding-block: 8px;
}
.brand {
    grid-area: brand;
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    min-width: 0;
    max-width: 194px;
    min-height: 50px;
}
.brand strong {
    display: block;
    max-width: 136px;
    font-size: 0.95rem;
    line-height: 1.16;
    color: var(--primary-dark);
    overflow-wrap: normal;
}
.brand small { display: none; color: var(--muted); font-size: 0.8rem; }
.brand-copy { min-width: 0; }
.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex: 0 0 auto;
    filter: drop-shadow(0 6px 12px rgba(10, 35, 68, 0.12));
}
.main-nav {
    display: contents;
}
.nav-links {
    grid-area: nav;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
    overflow: visible;
    row-gap: 4px;
}
.nav-actions {
    grid-area: actions;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 9px;
    border-radius: 999px;
    color: var(--text);
    font-weight: 650;
    font-size: 0.98rem;
    white-space: nowrap;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transform: scaleX(0.65);
    transition: opacity 160ms ease, transform 160ms ease;
}
.nav-link:hover,
.nav-link.is-active {
    background: linear-gradient(180deg, rgba(21, 63, 128, 0.1), rgba(21, 63, 128, 0.06));
    color: var(--primary-dark);
    transform: translateY(-1px);
}
.nav-link:hover::after,
.nav-link.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}
.language-menu {
    position: relative;
    margin-inline-start: 0;
}
.language-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(21, 63, 128, 0.16);
    background: rgba(255,255,255,0.94);
    color: var(--text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.language-trigger:hover,
.language-trigger[aria-expanded="true"] {
    border-color: rgba(201, 147, 50, 0.42);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(10, 35, 68, 0.1);
}
.language-trigger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(21, 63, 128, 0.08);
    color: var(--primary-dark);
    border: 1px solid rgba(21, 63, 128, 0.16);
}
.language-trigger-icon svg,
.language-option-icon svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.language-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    min-width: 170px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(21, 63, 128, 0.14);
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-strong);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 160ms ease, transform 160ms ease;
}
.language-menu.is-open .language-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.language-dropdown-label {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.85rem;
}
.language-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text);
}
.language-option-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.language-option-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: var(--primary-dark);
    background: rgba(17, 74, 159, 0.07);
    flex: 0 0 auto;
}
.language-option small { color: var(--muted); }
.language-option:hover,
.language-option.is-active {
    background: rgba(21, 63, 128, 0.08);
    color: var(--primary-dark);
}
.nav-toggle { display: none; }
.nav-backdrop { display: none; }
.nav-cta {
    min-height: 38px;
    padding-inline: 14px;
    white-space: nowrap;
}
.nav-dropdown {
    position: relative;
}
.nav-dropdown::after {
    content: "";
    position: absolute;
    z-index: 29;
    top: 100%;
    inset-inline: 0;
    height: 12px;
}
.nav-dropdown summary {
    list-style: none;
    cursor: pointer;
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::before {
    content: "";
    width: 7px;
    height: 7px;
    border-inline-end: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-inline-end: 3px;
}
.nav-dropdown[open] summary::before {
    transform: rotate(225deg) translate(-2px, -1px);
}
.nav-dropdown-menu {
    position: absolute;
    z-index: 30;
    top: calc(100% + 6px);
    inset-inline-start: 0;
    min-width: 210px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow);
}
.nav-dropdown-link {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text);
    font-weight: 650;
}
.nav-dropdown-link:hover,
.nav-dropdown-link.is-active {
    background: var(--surface-alt);
    color: var(--primary-dark);
}
.nav-dropdown.is-active > summary {
    background: linear-gradient(180deg, rgba(21, 63, 128, 0.1), rgba(21, 63, 128, 0.06));
    color: var(--primary-dark);
}
body.dir-rtl .nav-shell {
    direction: ltr;
    grid-template-areas: "actions nav brand";
}
body.dir-rtl .brand {
    direction: rtl;
    justify-self: end;
}
body.dir-rtl .brand strong {
    max-width: 132px;
    font-size: 0.94rem;
    line-height: 1.3;
}
body.dir-rtl .nav-links {
    direction: rtl;
}
body.dir-rtl .nav-actions {
    justify-self: start;
}
body.dir-rtl .language-trigger,
body.dir-rtl .language-dropdown,
body.dir-rtl .language-option {
    direction: rtl;
}
body.nav-open {
    overflow: hidden;
}

.public-hero {
    --hero-min-height: 450px;
    --hero-overlay-max: 760px;
    position: relative;
    overflow: hidden;
    min-height: var(--hero-min-height);
    display: flex;
    align-items: stretch;
    isolation: isolate;
    background: linear-gradient(180deg, #f8fbff, #edf4fb);
    border-bottom: 1px solid rgba(17, 74, 159, 0.08);
}
.public-hero--home {
    --hero-min-height: 600px;
}
.public-hero__media,
.public-hero__shade {
    position: absolute;
    inset: 0;
}
.public-hero__layer {
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.01);
}
.public-hero__layer--secondary {
    opacity: 0;
    transition: opacity 1100ms ease-in-out;
}
.public-hero__layer--secondary.is-active {
    opacity: 1;
}
.public-hero__shade--home {
    background:
        linear-gradient(100deg, rgba(7, 20, 39, 0.62) 0%, rgba(7, 20, 39, 0.28) 44%, rgba(7, 20, 39, 0.16) 100%),
        linear-gradient(180deg, rgba(201, 147, 50, 0.06) 0%, rgba(7, 17, 30, 0.3) 100%);
}
.public-hero__shade--inner {
    background:
        linear-gradient(100deg, rgba(7, 20, 39, 0.62) 0%, rgba(7, 20, 39, 0.26) 52%, rgba(7, 20, 39, 0.18) 100%),
        linear-gradient(180deg, rgba(201, 147, 50, 0.08) 0%, rgba(7, 17, 30, 0.32) 100%);
}
.public-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    gap: 24px;
}
.public-hero__inner--home {
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.48fr);
    align-items: end;
    padding-top: 118px;
    padding-bottom: 58px;
}
.public-hero__inner--inner {
    align-items: end;
    min-height: var(--hero-min-height);
    padding-top: 116px;
    padding-bottom: 34px;
}
.public-hero__content {
    position: relative;
    color: #f8fbff;
}
.public-hero__content .eyebrow,
.public-hero__content h1,
.public-hero__content p {
    color: inherit;
}
.public-hero__content--home {
    max-width: var(--hero-overlay-max);
    padding: 28px 30px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.07));
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 28px 70px rgba(5, 18, 36, 0.22);
    backdrop-filter: blur(10px);
}
.public-hero__content--home::before,
.public-hero__content--inner::before {
    content: "";
    position: absolute;
    inset-inline-start: 26px;
    top: 0;
    width: 92px;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-soft));
}
.public-hero__content--home h1 {
    font-size: clamp(2.65rem, 4.2vw, 4.7rem);
    line-height: 1.03;
    margin-bottom: 16px;
    color: #ffffff;
}
.public-hero__content--home p {
    font-size: clamp(1.04rem, 1.25vw, 1.16rem);
    line-height: 1.7;
    max-width: 58ch;
}
.public-hero__content--inner {
    padding: 26px 30px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(15,26,44,0.46), rgba(21,63,128,0.22));
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 24px 56px rgba(5, 18, 36, 0.2);
    backdrop-filter: blur(6px);
}
.public-hero__content--inner h1 {
    font-size: clamp(2rem, 3.6vw, 3.35rem);
    margin-bottom: 10px;
}
.public-hero__content--inner p {
    max-width: 64ch;
}
.public-hero__chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.public-hero__actions {
    margin-top: 22px;
}
.public-hero__support {
    display: grid;
    align-content: end;
    justify-items: end;
}
.public-hero__glass-card {
    width: min(300px, 100%);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.1));
    border: 1px solid rgba(255,255,255,0.22);
    color: #f8fbff;
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 46px rgba(5, 18, 36, 0.22);
}
.public-hero__glass-card strong,
.public-hero__glass-card span,
.public-hero__glass-card small {
    display: block;
}
.public-hero__glass-card small {
    margin-top: 6px;
    color: rgba(248, 251, 255, 0.82);
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    padding: 92px 0 72px;
    background:
        var(--hero-image, none) center/cover no-repeat,
        url("/static/img/pattern.svg") right top / 240px 240px no-repeat,
        radial-gradient(circle at top right, rgba(20, 163, 139, 0.16), transparent 28%),
        radial-gradient(circle at bottom left, rgba(17, 74, 159, 0.14), transparent 34%),
        linear-gradient(180deg, #f8fbff, #eef3fb);
}
.hero-section.has-hero-image { isolation: isolate; }
.hero-section.has-hero-image::before,
.page-hero.has-hero-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 26, 44, 0.74), rgba(17, 74, 159, 0.38));
    z-index: -1;
}
.hero-section.has-hero-image .hero-copy,
.hero-section.has-hero-image .hero-copy p,
.hero-section.has-hero-image .eyebrow,
.page-hero.has-hero-image .narrow,
.page-hero.has-hero-image p {
    color: #f8fbff;
}
.hero-grid, .split-band, .two-col, .three-col { display: grid; gap: 24px; }
.hero-grid { grid-template-columns: 1.4fr 1fr; align-items: stretch; }
.split-band { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.hero-copy h1 { font-size: clamp(2.4rem, 4vw, 4.4rem); line-height: 1.04; margin-bottom: 18px; }
.hero-copy p { font-size: 1.05rem; color: var(--muted); max-width: 60ch; }
.hero-panel, .content-card, .program-card, .feature-card, .mini-card, .cta-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.hero-panel { padding: 22px; display: grid; gap: 16px; }
.hero-brand-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: linear-gradient(135deg, #0f1a2c, #143b76);
    border-radius: var(--radius);
    color: #f4f8ff;
}
.hero-brand-card strong,
.hero-brand-card span { display: block; }
.hero-logo { width: 72px; height: 72px; object-fit: contain; flex: 0 0 auto; background: #fff; border-radius: 8px; padding: 6px; }
.hero-visual-card {
    padding: 16px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #ffffff, #f3f7fd);
    border: 1px solid var(--border);
}
.hero-slides {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(17, 74, 159, 0.1);
    background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(240,246,255,0.96));
}
.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: end;
    gap: 10px;
    padding: 22px;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 520ms ease, transform 520ms ease;
    background:
        radial-gradient(circle at top right, rgba(242,140,40,0.18), transparent 34%),
        radial-gradient(circle at bottom left, rgba(17,74,159,0.16), transparent 38%),
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(237,243,252,0.96));
}
.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}
.hero-slide strong {
    font-size: 1.1rem;
}
.hero-slide span,
.hero-slide p {
    color: var(--muted);
}
.hero-illustration {
    width: 100%;
    height: auto;
    display: block;
}
.hero-stat { padding: 18px; background: var(--surface-alt); border-radius: var(--radius); }
.hero-stat strong { display: block; margin-bottom: 6px; }
.trust-badge-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.28);
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-dark);
    font-size: 0.9rem;
    font-weight: 700;
}
.eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0;
}
.section-head {
    width: min(820px, 100%);
    margin: 0 auto 24px;
    text-align: center;
}
.section-head-tight { margin-bottom: 18px; }
.section-head h2,
.section-intro h2 {
    font-size: clamp(2.05rem, 3.1vw, 3.15rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 10px;
}
.section-head p,
.section-intro p {
    color: var(--muted);
    font-size: clamp(1rem, 1.2vw, 1.08rem);
    line-height: 1.62;
}
.section-head p {
    max-width: 66ch;
    margin-inline: auto;
}
.section-intro {
    align-self: center;
    max-width: 620px;
}
.section-intro .eyebrow {
    margin-bottom: 10px;
}
.section-intro--compact {
    max-width: 720px;
}
body.dir-rtl .section-head,
body.dir-rtl .section-intro {
    direction: rtl;
}
body.dir-rtl .section-head {
    text-align: center;
}
body.dir-rtl .section-head h2,
body.dir-rtl .section-intro h2 {
    line-height: 1.38;
}
body.dir-rtl .section-head p,
body.dir-rtl .section-intro p {
    line-height: 1.75;
}
.feature-grid, .card-grid, .stats-grid, .footer-grid, .portal-list, .stack-layout, .mini-stack { display: grid; gap: 20px; }
.feature-grid, .card-grid, .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; padding: 56px 0; }
.portal-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portal-list-large { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.portal-list--login { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.portal-item { display: grid; gap: 8px; align-content: start; }
.portal-item-large { min-height: 100%; }
.feature-card, .program-card, .content-card, .mini-card, .cta-card { padding: 24px; }
.feature-card,
.program-card,
.content-card,
.mini-card,
.cta-card {
    display: grid;
    gap: 12px;
    align-content: start;
}
.card-grid > .program-card,
.card-grid > .content-card,
.feature-grid > .feature-card {
    min-height: 100%;
}
.program-card h2,
.program-card h3,
.content-card h2,
.content-card h3,
.feature-card h3,
.mini-card h3,
.cta-card h3 {
    margin-bottom: 2px;
    color: var(--primary-dark);
    line-height: 1.25;
}
.program-card h2,
.content-card h2 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}
.program-card h3,
.feature-card h3,
.mini-card h3,
.cta-card h3 {
    font-size: clamp(1.12rem, 1.6vw, 1.35rem);
}
.program-card p,
.content-card p,
.feature-card p,
.mini-card p,
.cta-card p {
    color: #314259;
    line-height: 1.68;
}
.card-image, .detail-image {
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 18px;
    border: 1px solid var(--border);
}
.card-image { aspect-ratio: 16 / 10; }
.detail-image { max-height: 320px; }
.program-tag, .portal-chip {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 34px; padding: 0 13px; border-radius: 999px;
    background: linear-gradient(180deg, #eef5ff, #e2ecfa);
    color: var(--primary-dark);
    border: 1px solid rgba(21, 63, 128, 0.12);
    font-weight: 800;
    font-size: 0.88rem;
}
.portal-chip-large { width: 100%; min-height: 52px; }
.portal-chip-secondary {
    background: linear-gradient(180deg, rgba(21, 63, 128, 0.1), rgba(21, 63, 128, 0.06));
    color: var(--primary-dark);
}
.portal-chip.is-disabled,
.portal-chip[aria-disabled="true"],
.btn.is-disabled,
.btn[aria-disabled="true"] {
    opacity: 0.7;
    pointer-events: none;
}
.portal-help {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}
.portal-card {
    display: grid;
    gap: 14px;
    align-content: start;
    min-height: 100%;
}
.career-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.section-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.meta-row, .meta-stack { color: var(--muted); font-size: 0.94rem; }
.meta-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0 4px;
}
.meta-row span,
.meta-stack > div {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(21, 63, 128, 0.05);
    border: 1px solid rgba(21, 63, 128, 0.08);
}
.meta-stack {
    display: grid;
    gap: 8px;
}
.meta-stack > div { margin-bottom: 0; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
    padding: 0 18px; border-radius: 8px; border: 1px solid transparent; cursor: pointer;
    font: inherit; font-weight: 800;
    box-shadow: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #1b5fb0);
    color: #fff;
    box-shadow: 0 14px 26px rgba(21, 63, 128, 0.18);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    box-shadow: 0 18px 34px rgba(21, 63, 128, 0.22);
}
.btn-secondary {
    background: rgba(255,255,255,0.7);
    color: var(--primary);
    border-color: rgba(21, 63, 128, 0.32);
}
.btn-secondary:hover {
    background: #fff;
    color: var(--primary-dark);
    border-color: rgba(201, 147, 50, 0.5);
}
.btn-small { min-height: 34px; padding: 0 12px; font-size: 0.9rem; }
.btn-block { width: 100%; margin-top: 12px; }
.text-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 4px;
    font-weight: 800;
    color: var(--primary);
}
.text-link:hover { color: var(--primary-dark); }
.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: end;
    padding: 80px 0 34px;
    background:
        linear-gradient(180deg, #f9fbff 0%, #edf4fb 100%);
    border-bottom: 1px solid rgba(17, 74, 159, 0.08);
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(201,147,50,0.1), transparent 34%),
        url("/static/img/pattern.svg") right -32px top -36px / 180px 180px no-repeat;
    pointer-events: none;
}
.page-hero .narrow {
    position: relative;
    padding: 28px 32px;
    border: 1px solid rgba(17, 74, 159, 0.08);
    border-radius: 12px;
    background:
        url("/static/img/pattern.svg") right -20px top -12px / 170px 170px no-repeat,
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.96));
    box-shadow: 0 18px 40px rgba(10, 35, 68, 0.08);
}
.page-hero.has-hero-image {
    background: var(--hero-image, none) center/cover no-repeat;
}
.page-hero.has-hero-image .narrow {
    background: linear-gradient(180deg, rgba(15,26,44,0.54), rgba(21,63,128,0.34));
    border-color: rgba(255,255,255,0.18);
    box-shadow: 0 24px 56px rgba(5, 18, 36, 0.2);
}
.page-hero h1 { font-size: clamp(2rem, 3.5vw, 3.4rem); margin-bottom: 10px; }
.page-hero p { max-width: 64ch; color: var(--muted); }
.clean-list { margin: 0; padding-left: 18px; }
.ordered { list-style: decimal; }
.stack-form { display: grid; gap: 14px; }
.stack-form label { display: grid; gap: 8px; font-weight: 600; }
.form-help {
    margin: -2px 0 2px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}
.detail-back-link { margin-bottom: 16px; }
input, textarea, select {
    width: 100%; min-height: 44px; padding: 10px 12px;
    border: 1px solid var(--border); border-radius: 8px; background: #fff; font: inherit; color: var(--text);
}
textarea { min-height: 120px; resize: vertical; }
.flash-stack { padding-top: 18px; }
.flash {
    padding: 14px 16px; border-radius: 8px; border: 1px solid var(--border);
    background: #fff;
}
.flash-success { border-color: #b8e3d8; background: #eefbf7; color: #0b5a49; }
.flash-error { border-color: #edc1c1; background: #fff4f4; color: #8a1f1f; }
.site-footer {
    background:
        linear-gradient(180deg, #10213b, #08172b);
    color: #e6edf8;
    margin-top: 48px;
    border-top: 1px solid rgba(255,255,255,0.06);
    box-shadow: inset 0 1px 0 rgba(201,147,50,0.18);
}
.site-footer a { color: #d8e6ff; }
.site-footer ul { margin: 0; padding-left: 18px; }
.site-footer h3,
.site-footer h4 {
    color: #ffffff;
}
.site-footer h4 {
    margin-bottom: 14px;
    font-size: 1rem;
    letter-spacing: 0;
}
.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.footer-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
    flex: 0 0 auto;
    background: #fff;
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}
.muted-footer {
    color: #adc0da;
    font-size: 0.92rem;
}
.phone-ltr {
    direction: ltr;
    unicode-bidi: isolate;
    text-align: start;
}
body.dir-rtl .site-footer .phone-ltr {
    text-align: right;
}
.social-list { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: #f5f8ff;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.footer-privacy-link { margin-top: 14px; }
.footer-bottom { padding-bottom: 28px; }
.admissions-band { align-items: stretch; }
.admissions-guide,
.admissions-form-card { display: grid; gap: 18px; }
.notice-card {
    padding: 18px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #f6f9ff;
    display: grid;
    gap: 12px;
}
.compact-form { gap: 14px; }
.form-grid-two {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.card-kicker {
    color: var(--muted);
    margin-top: -6px;
    margin-bottom: 4px;
}
.testimonial-carousel { position: relative; min-height: 240px; }
.testimonial-card { display: grid; gap: 16px; align-content: start; }
.testimonial-rating { color: #d4a017; font-size: 1rem; }
.testimonial-meta { display: grid; gap: 4px; color: var(--muted); }
.cookie-banner {
    position: fixed;
    inset-inline: 16px;
    bottom: 16px;
    z-index: 40;
    display: flex;
    gap: 18px;
    align-items: end;
    justify-content: space-between;
    padding: 18px 20px;
    border-radius: 8px;
    background: rgba(19, 32, 51, 0.96);
    color: #f4f8ff;
    box-shadow: 0 22px 46px rgba(20, 32, 51, 0.22);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__copy { max-width: 68ch; display: grid; gap: 6px; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-shell { display: grid; gap: 24px; }
.admin-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.admin-subhead, .muted-copy { color: var(--muted); }
.admin-nav { display: flex; flex-wrap: wrap; gap: 16px; font-weight: 700; }
.admin-nav a { padding-bottom: 6px; border-bottom: 2px solid transparent; }
.admin-nav a:hover { border-color: var(--primary); }
.admin-split { align-items: start; }
.card-head, .filter-actions, .table-actions, .admin-actions, .inline-checks {
    display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.filter-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    align-items: end;
}
.form-section {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    background: var(--surface-alt);
}
.form-section h2 { margin-bottom: 16px; }
.badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}
.badge-status { background: #e9eef8; color: var(--primary-dark); }
.status-new { background: #edf4ff; color: #15407f; }
.status-contacted, .status-waiting { background: #eefbf7; color: #0b5a49; }
.status-converted { background: #ecf8ef; color: #1e6937; }
.status-closed { background: #f4f6f9; color: #516071; }
.status-open { background: #e9f9f2; color: #0e6a4d; }
.status-upcoming { background: #edf4ff; color: #15407f; }
.status-limited { background: #fff4df; color: #8b5900; }
.status-full { background: #fff0f0; color: #982020; }
.badge-priority { background: #f5f0ff; color: #4a3085; }
.priority-low { background: #f3f7fb; color: #52667d; }
.priority-normal { background: #eef2fb; color: #274878; }
.priority-high { background: #fff4df; color: #8b5900; }
.priority-urgent { background: #fff0f0; color: #982020; }
.stat-card p {
    font-size: 2rem;
    margin-bottom: 0;
    font-weight: 700;
}
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.table th { font-size: 0.9rem; color: var(--muted); }
.table-actions form { margin: 0; }
.auth-card { max-width: 460px; margin: 0 auto; }
.auth-brand { display: flex; justify-content: center; margin-bottom: 12px; }
.auth-logo {
    width: 92px;
    height: 92px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 8px;
    border: 1px solid var(--border);
}
.checkbox-row { display: flex !important; flex-direction: row; align-items: center; gap: 10px; }
.checkbox-row input { width: auto; min-height: auto; }
.contact-block {
    margin-top: 18px;
    padding: 18px;
    border-radius: 8px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
}
.feature-tone {
    background:
        linear-gradient(180deg, #ffffff, #f8fbff);
}
.category-filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.filter-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #edf4fb);
    color: var(--primary-dark);
    font-weight: 700;
    cursor: pointer;
    border: 1px solid rgba(21, 63, 128, 0.12);
    box-shadow: 0 10px 22px rgba(10, 35, 68, 0.06);
}
.filter-chip.is-active {
    background: linear-gradient(135deg, var(--primary), #1b5fb0);
    color: #fff;
    border-color: transparent;
}
.program-category-group[hidden] { display: none; }
.required-marker { color: #a11d1d; font-weight: 800; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
:where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid rgba(201, 147, 50, 0.72);
    outline-offset: 3px;
}
.image-preview img {
    width: 100%;
    max-width: 280px;
    border-radius: 8px;
    border: 1px solid var(--border);
}
.detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.cta-banner {
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 24px;
    padding: 32px;
    background:
        linear-gradient(135deg, rgba(8, 23, 43, 0.98), rgba(21, 63, 128, 0.96));
    border: 1px solid rgba(201, 147, 50, 0.28);
    border-radius: 8px;
    box-shadow: var(--shadow-strong);
    align-items: center;
    color: #f7fbff;
    overflow: hidden;
}
.cta-banner h2,
.cta-banner p,
.cta-banner .eyebrow {
    color: inherit;
}
.cta-banner .eyebrow {
    color: var(--accent-soft);
}
.cta-banner .btn-secondary {
    color: #fff;
    border-color: rgba(255,255,255,0.32);
    background: rgba(255,255,255,0.08);
}
.wide-card {
    margin: 18px 0;
}
.program-card,
.content-card,
.feature-card,
.mini-card,
.cta-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.98));
    border-color: rgba(21, 63, 128, 0.12);
    box-shadow: 0 16px 38px rgba(10, 35, 68, 0.08);
}
.program-card::before,
.content-card::before,
.feature-card::before,
.mini-card::before,
.cta-card::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--teal), var(--accent));
    opacity: 0.95;
}
.program-card:hover,
.content-card:hover,
.feature-card:hover,
.mini-card:hover,
.cta-card:hover {
    transform: translateY(-5px);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    border-color: rgba(201, 147, 50, 0.32);
    box-shadow: 0 26px 58px rgba(10, 35, 68, 0.14);
}
.fade-up {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 360ms ease, transform 360ms ease;
}
.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.btn,
.portal-chip,
.language-trigger,
.language-option,
.nav-link,
.program-card,
.content-card,
.feature-card,
.mini-card,
.cta-card,
.filter-chip,
.text-link {
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.btn:hover,
.portal-chip:hover,
.filter-chip:hover,
.text-link:hover {
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
    .fade-up { opacity: 1; transform: none; }
    .public-hero__layer--secondary { opacity: 0 !important; }
}
.portal-chip {
    border: 1px solid rgba(21, 63, 128, 0.12);
    box-shadow: 0 12px 28px rgba(10, 35, 68, 0.07);
}
.portal-chip:hover {
    border-color: rgba(201, 147, 50, 0.34);
    box-shadow: 0 18px 38px rgba(10, 35, 68, 0.12);
}
.site-footer .portal-chip {
    background: rgba(255,255,255,0.08);
    color: #edf4ff;
    border-color: rgba(255,255,255,0.1);
}
.site-footer .portal-chip:hover {
    background: rgba(255,255,255,0.14);
    color: #fff;
}
.site-footer .portal-help {
    color: #adc0da;
}
.footer-bottom {
    padding: 0 0 28px;
    color: #adc0da;
    font-size: 0.9rem;
}
.compact-state {
    display: grid;
    gap: 14px;
    align-content: start;
}
.compact-state-muted {
    background: linear-gradient(180deg, #ffffff, #f7fbff);
}

html[lang="fa"] .nav-link,
html[lang="ps"] .nav-link,
html[lang="fa"] .btn,
html[lang="ps"] .btn,
html[lang="fa"] .program-tag,
html[lang="ps"] .program-tag,
html[lang="fa"] .portal-chip,
html[lang="ps"] .portal-chip {
    font-weight: 700;
}
html[lang="fa"] .program-card p,
html[lang="fa"] .content-card p,
html[lang="fa"] .feature-card p,
html[lang="fa"] .mini-card p,
html[lang="ps"] .program-card p,
html[lang="ps"] .content-card p,
html[lang="ps"] .feature-card p,
html[lang="ps"] .mini-card p {
    line-height: 1.9;
}

@media (max-width: 1180px) {
    .site-header {
        backdrop-filter: none;
        background: rgba(248, 251, 255, 0.98);
    }
    .nav-shell {
        display: flex;
        min-height: 76px;
        gap: 12px;
        padding-block: 0;
    }
    .brand {
        max-width: calc(100% - 110px);
    }
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 0 15px;
        margin-inline-start: auto;
        border-radius: 8px;
        border: 1px solid var(--border);
        background: #fff;
        color: var(--text);
        cursor: pointer;
        font: inherit;
        font-weight: 750;
        position: relative;
        z-index: 52;
    }
    .nav-toggle:hover,
    .nav-toggle[aria-expanded="true"] {
        border-color: rgba(21, 63, 128, 0.34);
        background: var(--surface-alt);
        color: var(--primary-dark);
    }
    .main-nav {
        display: flex;
        position: fixed;
        z-index: 51;
        top: 0;
        bottom: 0;
        left: 0;
        right: auto;
        width: min(88vw, 410px);
        max-height: 100vh;
        overflow-y: auto;
        background: #fff;
        border-inline-start: 1px solid var(--border);
        padding: 92px 22px 28px;
        box-shadow: 24px 0 54px rgba(10, 35, 68, 0.2);
        flex-direction: column;
        gap: 22px;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-104%);
        transition: transform 220ms ease, visibility 220ms ease;
        overscroll-behavior: contain;
    }
    body.dir-rtl .main-nav {
        right: 0;
        left: auto;
        transform: translateX(104%);
        box-shadow: -24px 0 54px rgba(10, 35, 68, 0.2);
    }
    .main-nav.is-open {
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }
    body.dir-rtl .main-nav.is-open {
        transform: translateX(0);
    }
    .nav-backdrop {
        display: block;
        position: fixed;
        z-index: 50;
        inset: 0;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: rgba(5, 20, 42, 0.48);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        cursor: default;
        transition: opacity 180ms ease, visibility 180ms ease;
    }
    body.nav-open .nav-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .nav-links,
    .nav-actions {
        display: flex;
        flex-direction: column;
        gap: 6px;
        justify-content: stretch;
        align-items: stretch;
        width: 100%;
    }
    .nav-actions {
        gap: 12px;
        padding-top: 20px;
        margin-top: auto;
        border-top: 1px solid var(--border);
    }
    .nav-link,
    .language-trigger {
        width: 100%;
        min-height: 50px;
        justify-content: flex-start;
        padding-inline: 16px;
        border-radius: 10px;
        text-align: start;
    }
    .nav-link--mobile-duplicate {
        display: none;
    }
    .nav-link::after {
        inset-inline: 16px;
        bottom: 5px;
    }
    .nav-dropdown {
        width: 100%;
    }
    .nav-dropdown::after {
        display: none;
    }
    .nav-dropdown summary::before {
        margin-inline-start: auto;
        margin-inline-end: 4px;
        order: 2;
    }
    .nav-dropdown-menu {
        position: static;
        min-width: 0;
        margin: 4px 0 10px;
        padding: 6px;
        border-color: rgba(21, 63, 128, 0.12);
        background: var(--surface-alt);
        box-shadow: none;
    }
    .nav-dropdown-link {
        min-height: 46px;
        display: flex;
        align-items: center;
        padding-inline: 14px;
    }
    .nav-cta {
        width: 100%;
        min-height: 50px;
        justify-content: center;
        order: 1;
    }
    .language-menu {
        width: 100%;
        margin-inline-start: 0;
        order: 2;
    }
    .language-dropdown {
        position: static;
        min-width: 0;
        width: 100%;
        margin-top: 8px;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        display: none;
        border-radius: 10px;
        box-shadow: none;
    }
    .language-menu.is-open .language-dropdown { display: block; }
    body.dir-rtl .nav-shell {
        direction: rtl;
    }
    body.dir-rtl .brand {
        justify-self: auto;
    }
    body.dir-rtl .nav-toggle {
        margin-inline-start: auto;
    }
    body.dir-rtl .nav-links,
    body.dir-rtl .nav-actions,
    body.dir-rtl .nav-link,
    body.dir-rtl .nav-dropdown-link {
        direction: rtl;
        text-align: right;
    }
}

@media (max-width: 980px) {
    .hero-grid, .split-band, .two-col, .three-col, .feature-grid, .card-grid, .stats-grid, .footer-grid, .portal-list-large {
        grid-template-columns: 1fr 1fr;
    }
    .public-hero--home {
        --hero-min-height: 560px;
    }
    .public-hero__inner--home {
        grid-template-columns: 1fr;
        align-items: end;
    }
    .public-hero__support {
        justify-items: start;
    }
    .filter-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 44px 0; }
    .section-head h2,
    .section-intro h2 {
        font-size: clamp(1.85rem, 4vw, 2.55rem);
    }
}

@media (max-width: 760px) {
    .nav-shell {
        display: flex;
        min-height: 76px;
        gap: 12px;
        padding-block: 0;
    }
    .brand {
        gap: 10px;
        max-width: calc(100% - 92px);
    }
    .brand strong {
        max-width: 180px;
        font-size: 0.98rem;
        line-height: 1.22;
    }
    .brand small {
        display: none;
    }
    .brand-logo {
        width: 48px;
        height: 48px;
    }
    .hero-grid, .split-band, .two-col, .three-col, .feature-grid, .card-grid, .stats-grid, .footer-grid, .portal-list, .portal-list-large {
        grid-template-columns: 1fr;
    }
    .portal-list--login {
        grid-template-columns: 1fr;
    }
    .filter-grid { grid-template-columns: 1fr; }
    .form-grid-two { grid-template-columns: 1fr; }
    .hero-copy h1 { font-size: 2.5rem; }
    .public-hero {
        --hero-min-height: 360px;
    }
    .public-hero--home {
        --hero-min-height: 500px;
    }
    .public-hero__inner--home,
    .public-hero__inner--inner {
        padding-top: 92px;
        padding-bottom: 24px;
    }
    .public-hero__content--home,
    .public-hero__content--inner {
        padding: 18px;
    }
    .public-hero__content--home h1 {
        font-size: clamp(2.1rem, 8vw, 3rem);
    }
    .hero-section {
        min-height: 0;
        padding-top: 74px;
    }
    .page-hero {
        min-height: 250px;
        padding-top: 88px;
    }
    .cta-banner { grid-template-columns: 1fr; }
    .section { padding: 38px 0; }
    .section-head {
        margin-bottom: 20px;
    }
    .section-head h2,
    .section-intro h2 {
        font-size: clamp(1.75rem, 8vw, 2.2rem);
    }
    .section-head p,
    .section-intro p {
        font-size: 1rem;
    }
    .section-intro {
        max-width: 100%;
    }
    .page-hero .narrow {
        padding: 22px 18px;
        background-position: right -26px top -18px;
        background-size: 140px 140px;
    }
    .hero-brand-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .public-hero__glass-card {
        width: 100%;
    }
    .portal-chip,
    .btn {
        width: 100%;
    }
    .cta-row {
        align-items: stretch;
    }
    .cookie-banner {
        inset-inline: 12px;
        flex-direction: column;
        align-items: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .main-nav,
    .nav-backdrop {
        transition: none;
    }
}
