:root {
    --navy: #226f9b;
    --navy2: #278fac;
    --ink: #205f87;
    --muted: #5c849b;
    --gold: #f57c20;
    --gold-soft: #fff1e6;
    --cream: #f3fbfd;
    --white: #ffffff;
    --line: #dceff6;
    --shadow: 0 15px 55px rgba(67, 139, 200, 0.12);
    --radius: 18px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: #ffffff;
    color: var(--ink);
    font-family: "alhurra", "Alhurra", Tahoma, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
}
input[type="number"],
input[type="date"],
input[type="datetime-local"],
input[type="month"],
input[type="time"],
input[type="tel"],
input[inputmode="numeric"],
input[inputmode="decimal"],
input[inputmode="tel"],
.ofouq-ltr-number,
.numeric-value {
    direction: ltr;
    unicode-bidi: isolate;
    font-family: "DM Sans", Poppins, Arial, sans-serif;
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "locl" 0, "lnum" 1, "tnum" 1;
}
html[lang="en"] body {
    font-family: "DM Sans", "alhurra", system-ui, sans-serif;
    line-height: 1.7;
}
button,
input,
select {
    font: inherit;
}
button {
    cursor: pointer;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
}
.lucide {
    width: 1em;
    height: 1em;
    flex: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}
em {
    font-style: normal;
    color: #f39442;
}
.container {
    width: min(1180px, calc(100% - 48px));
    margin: auto;
}
.narrow {
    max-width: 790px;
}
.topbar {
    background: #195f87;
    color: #c5e7f3;
    font-size: 11px;
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    gap: 14px;
}
.topbar-note {
    display: flex;
    gap: 8px;
    align-items: center;
}
.small-dot {
    background: #f6b37b;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.site-header {
    background: #ffffff;
    position: relative;
    z-index: 5;
    border-bottom: 1px solid #e9f5fa;
}
.nav-shell {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}
.brand-symbol {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}
.brand span {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}
.brand strong {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.8px;
}
.brand small {
    font-size: 10px;
    font-weight: 700;
    color: #438bc8;
    letter-spacing: 0.1px;
}
.desktop-nav {
    display: flex;
    gap: 33px;
    align-items: center;
    margin-inline: auto;
}
.desktop-nav a {
    font-weight: 700;
    font-size: 13px;
    transition: color 0.2s;
}
.desktop-nav a:hover {
    color: #f39442;
}
.nav-actions {
    display: flex;
    gap: 13px;
    align-items: center;
}
.lang-btn {
    border: 1px solid #e9f5fa;
    background: transparent;
    min-width: 46px;
    height: 40px;
    border-radius: 10px;
    direction: ltr;
    font:
        700 12px "DM Sans",
        sans-serif;
    color: #195f87;
}
.lang-btn:hover {
    border-color: var(--gold);
}
.nav-verify {
    display: flex;
    gap: 9px;
    align-items: center;
    background: var(--navy);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    transition: background 0.2s;
}
.nav-verify svg {
    width: 19px;
    height: 19px;
    color: #f6b37b;
}
.nav-verify:hover {
    background: #287c9f;
}
.hamburger {
    display: none;
    width: 38px;
    height: 38px;
    background: #f6fbfd;
    border: 0;
    border-radius: 9px;
    padding: 8px;
}
.hamburger span {
    display: block;
    height: 2px;
    background: var(--navy);
    margin: 4px 0;
}
.hamburger .lucide {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}
.mobile-nav {
    display: none;
}
.hero {
    background: var(--navy);
    position: relative;
    color: #ffffff;
    overflow: hidden;
}
.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.11;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 74px 74px;
    mask-image: linear-gradient(to left, transparent, black);
}
.hero:after {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(101, 190, 214, 0.22), transparent 66%);
    inset-inline-end: -180px;
    top: -220px;
    pointer-events: none;
}
.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    min-height: 638px;
    gap: 35px;
    position: relative;
    z-index: 1;
}
.hero-text {
    padding: 80px 0;
    max-width: 670px;
}
.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #f57c20;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.2px;
}
.eyebrow.light {
    color: #f6b37b;
}
.section-kicker-large {
    font-size: 20px;
}
.sparkle {
    width: 20px;
    height: 20px;
}
.hero h1 {
    font-size: clamp(36px, 4.35vw, 64px);
    line-height: 1.45;
    font-weight: 900;
    margin: 19px 0 21px;
    letter-spacing: -1.6px;
}
.hero h1 em {
    color: #f6b37b;
}
.hero-text p {
    color: #c5e7f3;
    font-size: 15px;
    line-height: 2.1;
    max-width: 590px;
    margin: 0 0 32px;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 13px 22px;
    font-size: 13px;
    font-weight: 800;
    border: 1px solid transparent;
    border-radius: 9px;
    transition:
        transform 0.18s,
        background 0.18s;
    color: var(--ink);
}
.btn:hover {
    transform: translateY(-2px);
}
.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}
.btn-gold {
    background: var(--gold);
    color: #195f87;
}
.btn-gold:hover {
    background: #f6b37b;
}
.btn-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.38);
    background: transparent;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.07);
}
.btn-dark {
    background: var(--navy);
    color: #ffffff;
}
.btn-dark:hover {
    background: #287c9f;
}
.btn-subtle {
    background: #f6fbfd;
    color: var(--navy);
    border: 1px solid #e9f5fa;
}
.arrow {
    width: 17px;
    height: 17px;
    stroke-width: 2.2;
}
.hero-art {
    height: 580px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-panel {
    width: 330px;
    height: 430px;
    border: 1px solid rgba(250, 216, 183, 0.55);
    background: linear-gradient(140deg, #287c9f, #195f87 64%);
    border-radius: 175px 175px 16px 16px;
    box-shadow: 0 25px 95px rgba(0, 0, 0, 0.25);
    padding: 36px 33px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    transform: rotate(-7deg);
    overflow: hidden;
}
.hero-panel:before {
    content: "";
    position: absolute;
    inset: 17px;
    border: 1px solid rgba(246, 179, 123, 0.19);
    border-radius: 165px 165px 8px 8px;
    pointer-events: none;
}
.hero-panel-top {
    display: flex;
    justify-content: space-between;
    color: var(--gold);
    font:
        700 10px "DM Sans",
        sans-serif;
    letter-spacing: 3px;
}
.hero-panel-top span:last-child {
    font-size: 22px;
}
.hero-motif {
    height: 205px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.motif-circle {
    position: absolute;
    border: 1px solid rgba(246, 179, 123, 0.47);
    width: 190px;
    height: 190px;
    border-radius: 50%;
}
.motif-circle.b {
    width: 145px;
    height: 145px;
}
.motif-circle.c {
    width: 100px;
    height: 100px;
}
.motif-core {
    font:
        300 122px "DM Sans",
        sans-serif;
    color: #f6b37b;
    line-height: 1;
}
.hero-panel-bottom {
    display: flex;
    justify-content: space-between;
    align-items: end;
    font: 700 10px/1.55 "DM Sans";
    letter-spacing: 2px;
    color: #c5e7f3;
}
.hero-panel-number {
    font: 600 35px "DM Sans";
    color: #f6b37b;
}
.hero-panel-number span {
    font-size: 12px;
    color: #a9dceb;
}
.orb {
    border-radius: 50%;
    position: absolute;
}
.orb-back {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle at 35% 35%, #438bc8, #195f87 65%, transparent 68%);
    opacity: 0.64;
}
.orb-front {
    width: 132px;
    height: 132px;
    background: linear-gradient(135deg, #f6b37b, #f39442);
    bottom: 45px;
    inset-inline-start: 34px;
    box-shadow: 0 14px 60px rgba(0, 0, 0, 0.2);
}
.art-caption {
    position: absolute;
    bottom: 30px;
    inset-inline-end: 14px;
    color: #8fbed8;
    letter-spacing: 2px;
    font: 700 9px "DM Sans";
}
.art-caption span {
    color: #f6b37b;
}
.hero-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-bottom-inner {
    height: 73px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    color: #8fbed8;
    font-size: 12px;
    font-weight: 700;
}
.hero-bottom-line {
    height: 1px;
    background: #65bed6;
    max-width: 100px;
    flex: 1;
    opacity: 0.35;
}
.section {
    padding: 112px 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 115px;
}
.about-graphic {
    background: #e9f5fa;
    padding: 35px 45px 21px;
    min-height: 480px;
}
.graphic-card {
    height: 405px;
    background: #195f87;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    color: #f6b37b;
}
.graphic-card:before,
.graphic-card:after {
    content: "";
    position: absolute;
    border: 1px solid rgba(246, 179, 123, 0.21);
    width: 450px;
    height: 450px;
    border-radius: 50%;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
}
.graphic-card:after {
    width: 300px;
    height: 300px;
    top: 92px;
}
.graphic-top,
.graphic-bottom {
    position: relative;
    z-index: 1;
    font: 700 10px "DM Sans";
    letter-spacing: 2px;
}
.graphic-symbol {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 95px;
    line-height: 1;
    color: #f6b37b;
    gap: 5px;
    font-weight: 900;
}
.graphic-symbol span:last-child {
    font-size: 70px;
}
.graphic-caption {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    color: #438bc8;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}
.graphic-caption .line {
    width: 38px;
    height: 1px;
    background: #f39442;
}
.section-copy h2,
.section-head h2,
.process-section h2,
.cta-section h2 {
    font-size: clamp(31px, 3.2vw, 48px);
    line-height: 1.55;
    font-weight: 900;
    letter-spacing: -1.3px;
    margin: 18px 0 21px;
}
.section-copy > p,
.section-head > p {
    color: var(--muted);
    line-height: 2.15;
    max-width: 520px;
    margin: 0;
}
.values-list {
    margin-top: 30px;
}
.values-list > div {
    border-top: 1px solid var(--line);
    padding: 17px 0;
    display: flex;
    gap: 25px;
    align-items: center;
    font-weight: 800;
}
.values-list > div:last-child {
    border-bottom: 1px solid var(--line);
}
.values-list > div span:first-child {
    font: 700 13px "DM Sans";
    color: #f39442;
}
.focus-section {
    background: #ffffff;
}
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 34px;
}
.section-head h2 {
    margin-bottom: 0;
}
.section-head > p {
    font-size: 13px;
    max-width: 330px;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.focus-card {
    background: #ffffff;
    border: 1px solid #e9f5fa;
    border-radius: 4px;
    padding: 26px 26px 28px;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}
.focus-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.focus-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #f39442;
}
.card-num {
    font: 700 12px "DM Sans";
    letter-spacing: 2px;
}
.card-icon {
    width: 24px;
    height: 24px;
}
.card-art {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0 25px;
    overflow: hidden;
}
.card-art span {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 145px;
    height: 145px;
    color: #f39442;
}
.card-art span .lucide {
    width: 68px;
    height: 68px;
    stroke-width: 1.35;
}
.card-art-one {
    background: radial-gradient(circle, #e9f5fa, transparent 75%);
}
.card-art-two {
    background: radial-gradient(circle, #e9f5fa, transparent 75%);
}
.card-art-three {
    background: radial-gradient(circle, #e9f5fa, transparent 75%);
}
.focus-card h3 {
    font-size: 21px;
    line-height: 1.4;
    margin: 0 0 11px;
    font-weight: 900;
}
.focus-card p {
    font-size: 13px;
    line-height: 1.95;
    color: var(--muted);
    margin: 0 0 17px;
    min-height: 76px;
}
.card-tag {
    font: 700 10px "DM Sans";
    letter-spacing: 1.4px;
    color: #f39442;
}
.process-section {
    background: #195f87;
    color: #ffffff;
}
.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
}
.section-kicker.on-dark {
    color: #f6b37b;
}
.process-section h2 {
    color: #ffffff;
    margin-top: 20px;
}
.process-section h2 em {
    color: #f6b37b;
}
.process-section p {
    color: #c5e7f3;
    line-height: 2.1;
    margin-bottom: 28px;
}
.process-steps {
    display: flex;
    flex-direction: column;
}
.process-step {
    display: flex;
    gap: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
    padding: 26px 0;
}
.process-step:first-child {
    padding-top: 4px;
}
.process-step > span {
    color: #f6b37b;
    font: 700 21px "DM Sans";
}
.process-step strong {
    font-size: 17px;
}
.process-step p {
    font-size: 13px;
    line-height: 1.8;
    margin: 8px 0 0;
}
.cta-section {
    background: #ffffff;
    padding: 78px 0;
}
.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 48px 56px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}
.cta-box:after {
    content: "✦";
    position: absolute;
    left: 44%;
    top: -60px;
    font-size: 250px;
    color: rgba(243, 148, 66, 0.075);
    pointer-events: none;
}
.cta-box > * {
    position: relative;
    z-index: 1;
}
.cta-box h2 {
    margin: 10px 0;
}
.cta-box p {
    font-size: 13px;
    color: var(--muted);
}
.footer {
    background: #195f87;
    color: #ffffff;
    padding: 66px 0 0;
}
.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding-bottom: 55px;
}
.footer-brand strong {
    color: #ffffff;
}
.footer-brand small {
    color: #c5e7f3;
}
.footer-main p {
    max-width: 450px;
    color: #8fbed8;
    font-size: 13px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 180px;
    font-size: 13px;
}
.footer-links a:hover {
    color: #f6b37b;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 19px 0;
    color: #c5e7f3;
    font:
        500 11px/1.7 "DM Sans",
        "Cairo",
        sans-serif;
}
.footer-bottom span:last-child {
    font-family: "Cairo", sans-serif;
}
html[lang="en"] .footer-bottom span:last-child {
    font-family: "DM Sans", sans-serif;
}
.verify-header {
    box-shadow: 0 3px 25px rgba(0, 0, 0, 0.04);
}
.back-home {
    color: #438bc8;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    gap: 7px;
    align-items: center;
}
.back-arrow {
    width: 18px;
    height: 18px;
}
.verify-main {
    background: radial-gradient(ellipse 70% 420px at 50% 0%, #e9f5fa, transparent), #ffffff;
    min-height: calc(100vh - 175px);
    padding: 72px 0 96px;
    position: relative;
}
.verify-intro {
    text-align: center;
    margin-bottom: 38px;
}
.verify-intro .eyebrow {
    justify-content: center;
}
.verify-icon {
    height: 62px;
    width: 62px;
    border: 1px solid #f6b37b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f39442;
    background: #e9f5fa;
    margin: 22px auto 13px;
}
.verify-icon .lucide {
    width: 29px;
    height: 29px;
    stroke-width: 1.8;
}
.verify-intro h1 {
    font-size: clamp(30px, 4.2vw, 46px);
    line-height: 1.5;
    margin: 5px 0 12px;
    font-weight: 900;
}
.verify-intro p {
    font-size: 14px;
    color: var(--muted);
    max-width: 570px;
    margin: 0 auto;
    line-height: 2;
}
.verify-box {
    background: #ffffff;
    border: 1px solid #e9f5fa;
    box-shadow: var(--shadow);
    padding: 38px;
    border-radius: 16px;
}
.box-heading {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid #e9f5fa;
    margin-bottom: 24px;
}
.box-icon {
    height: 45px;
    width: 45px;
    border-radius: 10px;
    background: #e9f5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f39442;
}
.box-icon .lucide {
    width: 23px;
    height: 23px;
    stroke-width: 1.8;
}
.box-heading h2 {
    font-size: 21px;
    margin: 0;
    line-height: 1.4;
}
.box-heading p {
    font-size: 12px;
    color: var(--muted);
    margin: 3px 0 0;
}
.verify-box label,
.stack-form label {
    display: block;
    font-size: 12px;
    font-weight: 900;
    margin: 0 0 7px;
}
.form-row {
    display: flex;
    gap: 11px;
}
.form-row input {
    flex: 1;
    min-width: 0;
}
.form-row .btn {
    white-space: nowrap;
}
input,
select {
    border: 1px solid #c5e7f3;
    border-radius: 9px;
    background: #ffffff;
    min-height: 49px;
    padding: 11px 13px;
    color: #195f87;
    width: 100%;
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}
input:focus,
select:focus {
    border-color: #f39442;
    box-shadow: 0 0 0 3px rgba(246, 179, 123, 0.15);
}
#verifyCode {
    direction: ltr;
    text-align: left;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    letter-spacing: 1.3px;
}
.field-hint {
    margin: 10px 0 0;
    color: #8fbed8;
    font-size: 11px;
}
.status-message {
    margin: 20px 0 0;
    padding: 14px 16px;
    border-radius: 9px;
    line-height: 1.8;
    font-size: 12px;
    font-weight: 700;
}
.status-message.error {
    background: #f6fbfd;
    color: #f57c20;
    border: 1px solid #fad8b7;
}
.status-message.info {
    background: #f6fbfd;
    color: #287c9f;
    border: 1px solid #c5e7f3;
}
.status-message.success {
    background: #f6fbfd;
    color: #287c9f;
    border: 1px solid #c5e7f3;
}
.certificate-result {
    border: 1px solid #c5e7f3;
    background: #ffffff;
    border-radius: 12px;
    margin-top: 25px;
    overflow: hidden;
}
.result-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 23px;
    background: #f6fbfd;
    border-bottom: 1px solid #e9f5fa;
}
.result-head h3 {
    margin: 7px 0 0;
    font-size: 18px;
}
.result-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #287c9f;
    background: #e9f5fa;
    border-radius: 18px;
    padding: 4px 11px;
    font-size: 11px;
    font-weight: 900;
}
.result-pill .lucide {
    width: 14px;
    height: 14px;
}
.result-pill.revoked {
    background: #e9f5fa;
    color: #f57c20;
}
.certificate-result:has(.result-pill.revoked) .result-head {
    background: #f6fbfd;
}
.result-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 21px;
    padding: 23px;
}
.result-fields > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.result-fields span {
    color: #438bc8;
    font-size: 11px;
}
.result-fields strong {
    font-size: 14px;
    overflow-wrap: anywhere;
}
.ltr-field {
    direction: ltr;
    text-align: start;
    font-family: "DM Sans";
}
.result-disclaimer {
    font-size: 11px;
    color: #5e91b2;
    padding: 0 23px 20px;
    margin: 0;
}
.result-actions {
    display: flex;
    justify-content: flex-start;
    padding: 0 23px 23px;
}
.result-actions .btn {
    text-decoration: none;
}
.verify-info {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    margin-top: 20px;
    color: #5e91b2;
    font-size: 12px;
}
.verify-info-icon {
    color: #f39442;
}
.verify-info-icon .lucide {
    width: 21px;
    height: 21px;
}
.verify-info p {
    margin: 0;
}
.minimal-footer {
    background: #195f87;
}
.minimal-footer .footer-bottom {
    border: 0;
}
.admin-main {
    min-height: calc(100vh - 160px);
    padding: 64px 0 90px;
    background: #ffffff;
}
.admin-container {
    max-width: 1120px;
}
.login-section {
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-card {
    width: min(485px, 100%);
    background: #ffffff;
    border: 1px solid #e9f5fa;
    border-radius: 18px;
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
}
.login-symbol {
    margin-bottom: 12px;
}
.login-card h1 {
    font-size: 29px;
    margin: 10px 0;
    font-weight: 900;
}
.login-card > p {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 20px;
}
.stack-form {
    text-align: start;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.stack-form label:not(:first-child) {
    margin-top: 8px;
}
.stack-form .wide {
    margin-top: 13px;
    width: 100%;
}
.setup-notice {
    background: #f6fbfd;
    border: 1px solid #f6b37b;
    color: #f57c20;
    padding: 18px 22px;
    margin-bottom: 25px;
    border-radius: 11px;
}
.setup-notice p {
    font-size: 12px;
    margin: 5px 0 0;
}
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}
.dashboard-header h1 {
    font-size: 32px;
    line-height: 1.4;
    margin: 8px 0;
}
.dashboard-header p {
    margin: 0;
    color: var(--muted);
    direction: ltr;
    text-align: start;
    font: 500 12px "DM Sans";
}
.admin-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 21px;
    border-bottom: 1px solid #e9f5fa;
    padding-bottom: 10px;
}
.admin-tab {
    background: transparent;
    border: 0;
    border-radius: 8px;
    padding: 12px 23px;
    font-weight: 800;
    color: #438bc8;
}
.admin-tab.active {
    background: var(--navy);
    color: #ffffff;
}
.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.admin-card {
    border: 1px solid #e9f5fa;
    background: #ffffff;
    padding: 26px;
    border-radius: 14px;
    box-shadow: 0 7px 26px rgba(25, 95, 135, 0.025);
}
.admin-card h2 {
    font-size: 20px;
    line-height: 1.4;
    margin: 0 0 10px;
}
.card-help {
    color: var(--muted);
    font-size: 12px;
    margin: 0 0 15px;
}
.admin-card .stack-form {
    gap: 5px;
}
.admin-card .stack-form label:not(:first-child) {
    margin-top: 10px;
}
.output-card .empty-state {
    min-height: 325px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border: 1px dashed #c5e7f3;
    border-radius: 12px;
    color: #5e91b2;
    font-size: 13px;
    padding: 15px;
}
.empty-icon {
    color: #f6b37b;
}
.empty-icon .lucide {
    width: 52px;
    height: 52px;
    stroke-width: 1.45;
}
.issued-code-label {
    font-size: 12px;
    color: var(--muted);
    margin-top: 17px;
}
.issued-number {
    display: block;
    font:
        800 19px "DM Sans",
        sans-serif;
    direction: ltr;
    overflow-wrap: anywhere;
    text-align: start;
}
.issued-number.small {
    font-size: 16px;
    color: #287c9f;
}
.qr-holder {
    margin: 18px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}
.qr-holder svg {
    max-width: 220px;
    height: auto;
}
.issued-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.list-card {
    margin-top: 22px;
}
.card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.table-wrap {
    overflow: auto;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
    text-align: start;
}
.data-table th {
    background: #ffffff;
    color: #438bc8;
    font-size: 11px;
    padding: 13px;
    text-align: start;
}
.data-table td {
    font-size: 12px;
    padding: 13px;
    border-top: 1px solid #e9f5fa;
}
.data-table code {
    font: 700 11px "DM Sans";
    color: #287c9f;
}
.tiny-action {
    background: #f6fbfd;
    border: 0;
    border-radius: 6px;
    padding: 7px 10px;
    margin: 3px;
    font-size: 11px;
    font-weight: 800;
    color: #287c9f;
}
.tiny-action.danger {
    color: #f57c20;
    background: #f6fbfd;
}
.status-chip {
    padding: 4px 10px;
    border-radius: 20px;
    background: #e9f5fa;
    color: #287c9f;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}
.status-chip.revoked {
    background: #e9f5fa;
    color: #f57c20;
}
.list-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.list-item {
    padding: 15px;
    border: 1px solid #e9f5fa;
    background: #ffffff;
    border-radius: 9px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}
.admin-form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.admin-record-item { align-items: center; }
.admin-record-info { display: flex; align-items: center; gap: 11px; min-width: 0; }
.admin-record-info > div { min-width: 0; }
.admin-record-info strong, .admin-record-info small { overflow-wrap: anywhere; }
.admin-record-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 3px; flex-shrink: 0; }
.icon-action { display: inline-flex; align-items: center; gap: 5px; }
.icon-action svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.admin-list-thumb { width: 52px; height: 52px; flex: none; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--cream); }
.image-upload-preview { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 9px; background: var(--cream); }
.image-upload-preview img { width: 74px; height: 54px; object-fit: cover; border-radius: 6px; }
.registration-filters { display: grid; grid-template-columns: minmax(0, 1fr) 220px 180px; gap: 10px; margin-bottom: 16px; }
.registration-table { min-width: 1060px; }
.registration-table td { vertical-align: top; }
.registration-table td strong, .registration-table td a, .registration-table td .table-subline { display: block; }
.registration-table td strong { color: var(--navy); }
.registration-table td a { color: var(--navy); direction: ltr; text-decoration: none; }
.registration-table td a:hover { color: var(--orange); }
.table-subline { margin-top: 3px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.registration-status-select { min-width: 135px; min-height: 38px; padding-block: 6px; font-size: 12px; }
.registration-view-button { white-space: nowrap; }
.admin-drawer-link { display: block; color: var(--navy); text-decoration: none; font-size: 14px; }
.admin-drawer-link:hover { color: var(--gold); }
.admin-drawer-secondary { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.mail-admin-grid { align-items: start; }
.mail-token-help { margin: 4px 0 0; color: var(--muted); font: 11px/1.8 "DM Sans", sans-serif; direction: ltr; text-align: start; }
.mail-actions { margin-top: 16px; }
.mail-selected-count { color: var(--navy); font-size: 11px; font-weight: 800; white-space: nowrap; }
.mail-recipient-filters { display: grid; grid-template-columns: minmax(0, 1fr) 190px 160px; gap: 9px; margin-bottom: 10px; }
.mail-selection-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 11px; }
.mail-recipients-list { max-height: 480px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.mail-recipient-row { display: flex; align-items: center; gap: 10px; padding: 12px; border-bottom: 1px solid var(--line); cursor: pointer; }
.mail-recipient-row:last-child { border-bottom: 0; }
.mail-recipient-row:hover { background: var(--cream); }
.mail-recipient-row.is-disabled { opacity: .55; cursor: not-allowed; }
.mail-recipient-row input { width: 17px; height: 17px; flex: none; accent-color: var(--gold); }
.mail-recipient-info { min-width: 0; }
.mail-recipient-info strong, .mail-recipient-info small { display: block; overflow-wrap: anywhere; }
.mail-recipient-info strong { color: var(--navy); font-size: 13px; }
.mail-recipient-info small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.email-log-table { min-width: 820px; }
.email-log-table td { vertical-align: top; }
.registration-list { display: grid; gap: 11px; }
.registration-request { position: relative; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #ffffff; }
.registration-request-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.registration-request-head strong, .registration-request-head small { display: block; }
.registration-request-head strong { font-size: 15px; }
.registration-request-head small { color: var(--muted); font-size: 12px; margin-top: 3px; }
.registration-request-details { display: flex; flex-wrap: wrap; gap: 7px 18px; margin-top: 13px; color: var(--muted); font-size: 12px; }
.registration-request-details a { color: var(--navy); direction: ltr; }
.registration-request-notes { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.registration-request-footer { margin-top: 11px; color: var(--muted); font-size: 10px; }
.registration-request-actions { margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; }
.registration-request-actions label { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 800; }
.registration-request-actions select { min-height: 38px; width: auto; min-width: 145px; padding-block: 6px; font-size: 12px; }
.status-chip.status-new { background: #e8f8fc; color: #1f7fa2; }
.status-chip.status-reviewing { background: #fff4df; color: #a85d25; }
.status-chip.status-confirmed { background: #e5f7ea; color: #26734a; }
.status-chip.status-waitlist { background: #fff0e6; color: #a85d25; }
.status-chip.status-rejected, .status-chip.status-cancelled { background: #f7e8e8; color: #a84c4c; }
.admin-drawer-backdrop { position: fixed; z-index: 40; inset: 0; background: rgba(25, 95, 135, .46); opacity: 0; pointer-events: none; transition: opacity .2s; }
.admin-drawer-backdrop.is-visible { opacity: 1; pointer-events: auto; }
.admin-course-drawer { position: fixed; z-index: 41; inset-block: 0; inset-inline-end: 0; width: min(540px, 100%); padding: 50px 34px 34px; overflow: auto; background: #ffffff; box-shadow: 0 20px 75px rgba(25, 95, 135, .22); opacity: 0; transform: translateX(30px); transition: opacity .2s, transform .2s; }
.admin-course-drawer.is-visible { opacity: 1; transform: translateX(0); }
.admin-course-drawer h2 { margin: 9px 0; font-size: 30px; line-height: 1.4; }
.admin-drawer-subtitle { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.admin-drawer-image { overflow: hidden; margin: 0 0 20px; border-radius: 12px; background: var(--cream); }
.admin-drawer-image img { display: block; width: 100%; max-height: 250px; object-fit: cover; }
.admin-drawer-meta { display: grid; gap: 13px; }
.admin-drawer-meta > div { padding: 12px 0; border-top: 1px solid var(--line); }
.admin-drawer-meta span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 11px; font-weight: 800; }
.admin-drawer-meta strong, .admin-drawer-meta p { margin: 0; font-size: 14px; }
.admin-drawer-meta p { color: var(--ink); line-height: 1.9; }
.registration-load-error { border-color: #f8cea9; background: #fff8f1; }
.list-item strong {
    font-size: 13px;
}
.list-item small {
    font-size: 11px;
    color: #438bc8;
}
.list-item .mono {
    font: 700 11px "DM Sans";
    color: #f39442;
}
.empty-list {
    color: var(--muted);
    font-size: 12px;
}
@media (max-width: 1050px) {
    .desktop-nav {
        gap: 17px;
    }
    .nav-verify {
        padding: 11px;
    }
    .hero-content {
        min-height: 550px;
    }
    .hero-art {
        transform: scale(0.85);
    }
    .about-grid {
        gap: 50px;
    }
}
@media (max-width: 800px) {
    .desktop-nav,
    .nav-verify {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .mobile-nav.open {
        display: flex;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #ffffff;
        box-shadow: 0 18px 25px rgba(25, 95, 135, 0.13);
        padding: 20px 28px;
        flex-direction: column;
        gap: 15px;
        font-size: 14px;
        font-weight: 800;
    }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .hero-text {
        padding: 75px 0 20px;
    }
    .hero h1 {
        font-size: 43px;
    }
    .hero-art {
        height: 460px;
        margin-top: -25px;
    }
    .hero-panel {
        height: 390px;
    }
    .about-grid,
    .process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-graphic {
        max-width: 520px;
        width: 100%;
        margin: auto;
    }
    .section-head {
        align-items: start;
        flex-direction: column;
        gap: 18px;
    }
    .cards-grid {
        grid-template-columns: 1fr 1fr;
    }
    .cta-box {
        padding: 34px;
        flex-direction: column;
        align-items: start;
    }
    .admin-grid {
        grid-template-columns: 1fr;
    }
    .admin-main {
        padding: 36px 0;
    }
}
@media (max-width: 560px) {
    .container {
        width: min(100% - 32px, 1180px);
    }
    .topbar-inner {
        font-size: 9px;
    }
    .topbar-inner > span:last-child {
        display: none;
    }
    .nav-shell {
        height: 75px;
    }
    .brand-symbol {
        width: 45px;
        height: 45px;
    }
    .brand strong {
        font-size: 17px;
    }
    .brand small {
        font-size: 8px;
    }
    .nav-actions {
        gap: 8px;
    }
    .hero-text {
        padding: 55px 0 10px;
    }
    .hero h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }
    .hero-text p {
        font-size: 13px;
    }
    .hero-art {
        height: 395px;
        transform: scale(0.77);
        margin: -35px 0 -22px;
    }
    .hero-bottom-inner {
        height: auto;
        padding: 18px 0;
        gap: 8px;
        font-size: 10px;
        flex-wrap: wrap;
    }
    .hero-bottom-line {
        max-width: 30px;
    }
    .section {
        padding: 65px 0;
    }
    .about-graphic {
        padding: 20px;
        min-height: 0;
    }
    .graphic-card {
        height: 335px;
    }
    .graphic-symbol {
        font-size: 70px;
    }
    .graphic-symbol span:last-child {
        font-size: 55px;
    }
    .section-copy h2,
    .section-head h2,
    .process-section h2,
    .cta-section h2 {
        font-size: 30px;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .focus-card {
        padding: 23px;
    }
    .focus-card p {
        min-height: auto;
    }
    .process-grid {
        gap: 25px;
    }
    .cta-section {
        padding: 40px 0;
    }
    .cta-box {
        padding: 26px;
    }
    .footer {
        padding-top: 42px;
    }
    .footer-main {
        flex-direction: column;
        gap: 25px;
        padding-bottom: 28px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: start;
        gap: 8px;
    }
    .verify-main {
        padding: 45px 0 70px;
    }
    .verify-box {
        padding: 22px;
    }
    .verify-intro h1 {
        font-size: 30px;
    }
    .verify-intro p {
        font-size: 12px;
    }
    .form-row {
        flex-direction: column;
    }
    .result-fields {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .back-home {
        font-size: 0;
    }
    .back-home .back-arrow {
        font-size: 21px;
    }
    .login-card {
        padding: 22px;
    }
    .admin-tabs {
        overflow: auto;
    }
    .admin-tab {
        padding: 11px;
    }
    .admin-card {
        padding: 19px;
    }
    .dashboard-header {
        align-items: start;
    }
    .dashboard-header h1 {
        font-size: 26px;
    }
}
/* Public content enhancements — reuse the existing Ofouq tokens and components. */
.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;
}

.site-header.scrolled {
    box-shadow: 0 6px 24px rgba(25, 95, 135, 0.12);
}

.stats-section {
    padding-block: 62px;
    background: #ffffff;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-block: 1px solid var(--line);
}
.stat-item {
    min-height: 168px;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 3px;
    border-inline-start: 1px solid var(--line);
}
.stat-item:first-child { border-inline-start: 0; }
.stat-icon { color: var(--gold); line-height: 1; }
.stat-icon .lucide { width: 22px; height: 22px; }
.stat-value { color: var(--navy); font: 800 clamp(30px, 4vw, 48px)/1.2 "DM Sans", sans-serif; }
.stat-label { color: var(--muted); font-size: 13px; font-weight: 800; }

.courses-section { background: var(--cream); }
.course-toolbar { display: flex; gap: 18px; align-items: center; justify-content: space-between; margin: 0 0 28px; flex-wrap: wrap; }
.filter-tabs, .gallery-filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filter-tab, .gallery-filter, .view-toggle {
    border: 1px solid var(--line);
    background: #ffffff;
    color: var(--muted);
    border-radius: 9px;
    padding: 9px 13px;
    font-size: 12px;
    font-weight: 800;
}
.filter-tab:hover, .filter-tab.active, .gallery-filter:hover, .gallery-filter.active, .view-toggle:hover, .view-toggle.active {
    background: var(--navy2);
    border-color: var(--navy2);
    color: #ffffff;
}
.course-search-row { display: flex; gap: 9px; min-width: min(100%, 380px); }
.course-search-row input, .course-search-row select { min-height: 43px; padding-block: 8px; font-size: 12px; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.course-section-footer { display: flex; justify-content: center; margin-top: 28px; }
.course-section-footer:empty { display: none; }
.courses-page-section { min-height: 70vh; }
.courses-page-head { margin-bottom: 34px; }
.courses-page-head h1 { font-size: clamp(34px, 5vw, 64px); }
.courses-page-layout { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 28px; align-items: start; }
.courses-page-filters { position: sticky; top: 98px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.86); box-shadow: 0 14px 35px rgba(25,95,135,.07); }
.courses-filter-heading h2 { margin: 9px 0 8px; font-size: clamp(25px, 3vw, 36px); line-height: 1.25; }
.courses-filter-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.courses-filter-group { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.courses-filter-label { display: block; margin-bottom: 9px; color: var(--navy); font-size: 12px; font-weight: 900; }
.courses-page-field-filters { display: flex; flex-direction: column; align-items: stretch; gap: 7px; }
.courses-page-field-filters .filter-tab { width: 100%; text-align: start; }
.courses-page-filters input, .courses-page-filters select { width: 100%; min-height: 43px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--navy); outline: none; font: inherit; font-size: 12px; }
.courses-page-filters input:focus, .courses-page-filters select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(246,179,123,.15); }
.courses-back-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 25px; color: var(--navy); font-size: 12px; font-weight: 900; }
.courses-back-link:hover { color: var(--gold); }
.courses-back-link .lucide { width: 16px; height: 16px; }
.courses-results-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.courses-results-head p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.courses-results-count { color: var(--navy); font: 800 13px "DM Sans", sans-serif; direction: ltr; }
.course-card {
    background: #ffffff;
    border: 1px solid #dbeff7;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.course-card:hover { transform: translateY(-4px); border-color: #4aaed0; box-shadow: var(--shadow); }
.course-card-top { display: flex; justify-content: space-between; align-items: center; color: var(--gold); }
.course-art { height: 118px; margin: 9px 0 13px; display: grid; place-items: center; background: radial-gradient(circle, #ddf3fa, transparent 75%); overflow: hidden; }
.course-art span { width: 100px; height: 100px; border-radius: 50%; display: grid; place-items: center; color: #438bc8; font: 400 62px "DM Sans", sans-serif; }
.course-art-image {
    position: relative;
    background: #e8f6fa;
    border-radius: 12px;
}
.course-art-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(25, 95, 135, .02), rgba(25, 95, 135, .22));
    pointer-events: none;
}
.course-art-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.course-status { align-self: flex-start; border-radius: 20px; padding: 4px 10px; font-size: 10px; font-weight: 900; }
.course-status.open { color: #1f7fa2; background: #e8f8fc; }
.course-status.waitlist, .course-status.soon { color: #a85d25; background: var(--gold-soft); }
.course-status.closed { color: #a85d25; background: #fff0e6; }
.course-card h3 { font-size: 21px; line-height: 1.4; margin: 12px 0 8px; font-weight: 900; }
.course-card > p { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 0 0 12px; min-height: 47px; }
.course-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; border-top: 1px solid var(--line); padding-top: 15px; margin-top: auto; }
.course-meta-item { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.course-meta-item span { color: var(--muted); font-size: 11px; }
.course-meta-item strong { color: var(--navy); font-size: 12px; overflow-wrap: anywhere; }
.course-next { display: flex; flex-wrap: wrap; gap: 7px 12px; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 15px; }
.course-next span { color: var(--muted); font-size: 11px; }
.course-next strong { color: var(--navy); font-size: 12px; }
.course-next small { flex-basis: 100%; color: var(--gold); font-size: 11px; }
.course-actions { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.course-actions .btn { flex: 1; min-width: 118px; padding-inline: 12px; font-size: 12px; }
.submit-spinner {
    display: none;
    width: 16px;
    height: 16px;
    flex: none;
    border: 2px solid currentColor;
    border-inline-end-color: transparent;
    border-radius: 50%;
    animation: submit-spin .7s linear infinite;
}
.registration-form button.is-loading .submit-spinner { display: inline-block; }
.registration-form button.is-loading .arrow { display: none; }
@keyframes submit-spin {
    to { transform: rotate(360deg); }
}
.stack-form textarea {
    width: 100%;
    min-height: 82px;
    resize: vertical;
    padding: 10px 13px;
    border: 1px solid #c5e7f3;
    border-radius: 9px;
    background: #ffffff;
    color: var(--navy);
    outline: none;
    font: inherit;
}
.stack-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(246, 179, 123, .15);
}
html[data-theme="dark"] .stack-form textarea {
    background: #0c2431;
    border-color: #356477;
    color: #e5f4f8;
}
.empty-content { padding: 42px 20px; border: 1px dashed #bde4ef; border-radius: 14px; text-align: center; color: var(--muted); }
.empty-content-icon { display: block; color: var(--gold); font-size: 34px; line-height: 1; }
.empty-content-icon .lucide { width: 34px; height: 34px; stroke-width: 1.5; }
.empty-content p { margin: 8px 0 15px; font-size: 13px; }
.schedule-section { background: #ffffff; }
.schedule-switcher { display: flex; gap: 7px; align-items: center; }
.schedule-list { display: flex; flex-direction: column; gap: 11px; }
.schedule-row { display: grid; grid-template-columns: 100px minmax(0, 1fr) 105px auto; gap: 20px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 17px 20px; background: #ffffff; }
.schedule-row.nearest { border-color: var(--gold); box-shadow: 0 10px 30px rgba(245, 124, 32, .08); }
.schedule-date { display: flex; flex-direction: column; align-items: center; border-inline-end: 1px solid var(--line); padding-inline-end: 18px; }
.schedule-date strong { color: var(--navy); font: 800 31px/1.1 "DM Sans", sans-serif; }
.schedule-date span { color: var(--gold); font-size: 12px; font-weight: 900; }
.schedule-info { min-width: 0; }
.schedule-month { color: var(--gold); font-size: 11px; font-weight: 900; }
.schedule-info h3 { font-size: 18px; margin: 1px 0; font-weight: 900; }
.schedule-info p { margin: 0; color: var(--muted); font-size: 12px; }
.schedule-seats { display: flex; flex-direction: column; text-align: center; }
.schedule-seats strong { color: var(--navy); font: 800 22px/1.2 "DM Sans", sans-serif; }
.schedule-seats span { color: var(--muted); font-size: 10px; }
.schedule-actions { display: flex; gap: 7px; flex-direction: column; align-items: stretch; }
.schedule-actions .btn { padding: 9px 13px; font-size: 12px; white-space: nowrap; }
.calendar-add { border: 0; background: none; color: var(--muted); font-size: 11px; text-decoration: underline; display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.calendar-add .lucide { width: 14px; height: 14px; text-decoration: none; }
.calendar-month { border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.calendar-month h3 { margin: 0 0 15px; color: var(--navy); }
.calendar-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.calendar-item { border: 1px solid var(--line); border-radius: 10px; background: #ffffff; padding: 13px; display: flex; gap: 8px; align-items: center; text-align: start; color: var(--navy); font-size: 12px; }
.calendar-item:hover { border-color: var(--gold); transform: translateY(-2px); }
.calendar-item span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--gold); }

.partners-section { background: #ffffff; }
.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.partner-card { min-height: 150px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #ffffff; text-align: center; transition: transform .2s, box-shadow .2s, border-color .2s; }
.partner-card:hover { transform: translateY(-4px); border-color: #4aaed0; box-shadow: var(--shadow); }
.partner-card img { width: 100%; max-width: 190px; height: 60px; object-fit: contain; filter: none; opacity: 1; transition: transform .2s; }
.partner-card:hover img { transform: scale(1.03); }
.partner-text-logo { color: var(--navy); font-size: 17px; font-weight: 900; line-height: 1.45; }
.partner-name { color: var(--muted); font-size: 11px; }
.gallery-section { background: var(--cream); }
.gallery-filters { margin-bottom: 22px; }
.gallery-grid { columns: 3 240px; column-gap: 16px; }
.gallery-item { width: 100%; min-height: 170px; padding: 0; margin: 0 0 16px; border: 0; border-radius: 14px; background: #ffffff; overflow: hidden; position: relative; break-inside: avoid; text-align: start; }
.gallery-item img { display: block; width: 100%; height: auto; object-fit: cover; transition: transform .25s; }
.gallery-item > span:last-child { position: absolute; inset-inline: 0; bottom: 0; padding: 32px 14px 12px; color: #ffffff; background: linear-gradient(transparent, rgba(25, 95, 135, .88)); font-size: 12px; font-weight: 800; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-play { position: absolute; top: 50%; inset-inline-start: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #ffffff; }
.gallery-play .lucide { width: 20px; height: 20px; fill: currentColor; stroke-width: 1.6; }
.gallery-more { display: block; margin: 18px auto 0; }

.faq-section { background: #ffffff; }
.faq-layout { max-width: 930px; }
.faq-intro { max-width: 620px; margin: 0 auto 32px; text-align: center; }
.faq-intro h2 { font-size: clamp(30px, 3.2vw, 45px); line-height: 1.5; margin: 13px 0; font-weight: 900; }
.faq-intro p { margin: 0; color: var(--muted); font-size: 13px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 2px; border: 0; background: transparent; color: var(--navy); text-align: start; font-size: 16px; font-weight: 900; }
.faq-question:hover { color: var(--gold); }
.faq-plus { color: var(--gold); font: 400 26px/1 "DM Sans", sans-serif; transition: transform .2s; }
.faq-question[aria-expanded="true"] .faq-plus { transform: rotate(45deg); }
.faq-answer { padding: 0 44px 19px 2px; }
.faq-answer p { max-width: 720px; margin: 0; color: var(--muted); font-size: 13px; line-height: 2; }
.faq-cta { display: flex; gap: 18px; justify-content: center; align-items: center; margin-top: 27px; color: var(--muted); font-size: 13px; font-weight: 800; }

.social-links { display: flex; gap: 8px; flex-wrap: wrap; }
.social-links a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #edf8fc; color: var(--navy); font: 700 15px "DM Sans", sans-serif; }
.social-links a:hover { color: #ffffff; background: var(--gold); transform: translateY(-2px); }
.contact-socials { justify-content: center; margin-top: 25px; }
.footer-socials { margin-top: 18px; }
.footer-socials a { border: 1px solid rgba(255,255,255,.36); background: transparent; color: #ffffff; }
.footer-socials a:hover { background: var(--gold); border-color: var(--gold); }

.whatsapp-float { position: fixed; z-index: 20; inset-inline-start: 22px; bottom: 22px; width: 55px; height: 55px; display: grid; place-items: center; border-radius: 50%; background: #25D366; color: #ffffff; box-shadow: 0 10px 28px rgba(37, 211, 102, .28); transform: translateY(18px); opacity: 0; animation: whatsapp-enter .55s .45s forwards; }
.whatsapp-float::before { content: ""; position: absolute; inset: -6px; border: 2px solid rgba(37, 211, 102, .45); border-radius: 50%; pointer-events: none; opacity: 0; animation: whatsapp-pulse 2.4s ease-out .9s infinite; }
.whatsapp-float:hover { color: #ffffff; transform: translateY(-3px); }
.whatsapp-icon { width: 29px; height: 29px; display: grid; place-items: center; }
.whatsapp-icon svg { width: 100%; height: 100%; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.whatsapp-tooltip { position: absolute; inset-inline-start: 66px; bottom: 8px; width: max-content; max-width: 190px; padding: 7px 11px; border-radius: 8px; background: #ffffff; color: var(--navy); box-shadow: var(--shadow); font-size: 11px; font-weight: 800; opacity: 0; pointer-events: none; transform: translateX(-5px); transition: opacity .2s, transform .2s; }
.whatsapp-float.show-tooltip .whatsapp-tooltip { opacity: 1; transform: none; }
@keyframes whatsapp-enter { to { opacity: 1; transform: none; } }
@keyframes whatsapp-pulse {
    0% { opacity: .65; transform: scale(.86); }
    70%, 100% { opacity: 0; transform: scale(1.32); }
}

.modal-backdrop { position: fixed; z-index: 30; inset: 0; background: rgba(25, 95, 135, .46); opacity: 0; pointer-events: none; transition: opacity .2s; }
.modal-backdrop.is-visible { opacity: 1; pointer-events: auto; }
.overlay-open { overflow: hidden; }
.course-drawer, .registration-drawer, .registration-success { position: fixed; z-index: 31; background: #ffffff; box-shadow: 0 20px 75px rgba(25, 95, 135, .22); opacity: 0; transition: opacity .2s, transform .2s; }
.course-drawer { inset-block: 0; inset-inline-end: 0; width: min(520px, 100%); padding: 50px 34px 34px; overflow: auto; transform: translateX(30px); }
.registration-drawer { inset-block: 0; inset-inline-end: 0; width: min(620px, 100%); padding: 50px 34px 34px; overflow: auto; transform: translateX(30px); }
.registration-success { top: 50%; inset-inline-start: 50%; width: min(430px, calc(100% - 32px)); padding: 38px; text-align: center; transform: translate(-50%, -46%); border-radius: 16px; }
.course-drawer.is-visible, .registration-drawer.is-visible, .registration-success.is-visible { opacity: 1; transform: translate(0); }
.registration-success.is-visible { transform: translate(-50%, -50%); }
.contact-modal { position: fixed; z-index: 31; top: 50%; left: 50%; width: min(650px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 36px; background: #ffffff; border-radius: 20px; box-shadow: 0 20px 75px rgba(25, 95, 135, .22); opacity: 0; transform: translate(-50%, -46%); transition: opacity .2s, transform .2s; }
.contact-modal.is-visible { opacity: 1; transform: translate(-50%, -50%); }
.contact-modal-heading h2 { font-size: 32px; line-height: 1.4; margin: 9px 0; font-weight: 900; }
.contact-modal-heading p { color: var(--muted); font-size: 13px; margin: 0; }
.contact-modal-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0 25px; }
.contact-modal-info > * { display: flex; align-items: flex-start; gap: 9px; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); }
.contact-modal-info > a:hover { border-color: var(--gold); transform: translateY(-2px); }
.contact-modal-info .lucide { width: 19px; height: 19px; margin-top: 2px; color: var(--gold); flex: none; }
.contact-modal-info small, .contact-modal-info strong { display: block; }
.contact-modal-info small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.contact-modal-info strong { font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-form label { display: block; margin: 0 0 6px; font-size: 12px; font-weight: 900; }
.contact-form textarea { width: 100%; min-height: 88px; resize: vertical; border: 1px solid #c5e7f3; border-radius: 9px; padding: 10px 13px; color: var(--navy); outline: none; font: inherit; transition: border-color .2s, box-shadow .2s; }
.contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(246,179,123,.15); }
.contact-form #contactPhone { direction: ltr; text-align: left; unicode-bidi: embed; font-family: "DM Sans", Arial, sans-serif; font-variant-numeric: lining-nums; }
.contact-form .status-message { margin: 0; }
.modal-close { position: absolute; inset-block-start: 15px; inset-inline-start: 17px; width: 35px; height: 35px; border: 0; border-radius: 50%; background: #edf8fc; color: var(--navy); font: 400 25px/1 Arial, sans-serif; }
.modal-close:hover { color: #ffffff; background: var(--gold); }
.modal-close .lucide { width: 18px; height: 18px; stroke-width: 2; }
.modal-heading h2, .course-drawer h2 { font-size: 32px; line-height: 1.4; margin: 9px 0; font-weight: 900; }
.modal-heading p, .drawer-lead { color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.registration-form { display: flex; flex-direction: column; gap: 13px; }
.registration-form .form-field { flex: 1; }
.registration-form label { display: block; margin: 0 0 6px; font-size: 12px; font-weight: 900; }
.registration-form textarea { width: 100%; min-height: 78px; resize: vertical; border: 1px solid #c5e7f3; border-radius: 9px; padding: 10px 13px; color: var(--navy); outline: none; font: inherit; }
.registration-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(246,179,123,.15); }
.registration-form #registrationPhone { direction: ltr; text-align: left; unicode-bidi: embed; font-family: "DM Sans", Arial, sans-serif !important; font-variant-numeric: lining-nums; }
.registration-row { margin: 0; }
.field-error { display: block; min-height: 17px; margin-top: 3px; color: var(--gold); font-size: 11px; }
.consent-check { display: flex !important; align-items: flex-start; gap: 9px; font-weight: 700 !important; }
.consent-check input { width: 18px; min-height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--gold); }
.honeypot { position: absolute; inset-inline-start: -10000px; opacity: 0; }
.wide { width: 100%; }
.drawer-list { display: flex; flex-direction: column; gap: 13px; margin: 24px 0; }
.drawer-list .course-meta-item { padding-block: 11px; border-top: 1px solid var(--line); }
.success-mark { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 13px; border-radius: 50%; background: #e8f8fc; color: #1f7fa2; }
.success-mark .lucide { width: 30px; height: 30px; stroke-width: 2; }
.registration-success h2 { margin: 0 0 10px; font-size: 25px; }
.registration-success p { color: var(--muted); font-size: 13px; margin: 0 0 20px; }
.lightbox { position: fixed; z-index: 32; inset: 8vh 8vw; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; padding: 35px; background: #195f87; border-radius: 14px; }
.lightbox img { max-width: 100%; max-height: 75vh; object-fit: contain; }
.lightbox p { color: #ffffff; margin: 0; font-size: 13px; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #ffffff; font: 400 35px/1 Arial, sans-serif; transform: translateY(-50%); }
.lightbox-prev { inset-inline-start: 18px; }
.lightbox-next { inset-inline-end: 18px; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--gold); }
.lightbox-prev .lucide, .lightbox-next .lucide { width: 21px; height: 21px; stroke-width: 2; }
.lightbox-count { color: #ccecf7; font: 12px "DM Sans", sans-serif; }

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal, .js .reveal.is-visible { opacity: 1; transform: none; transition: none; }
    .whatsapp-float { animation: none; opacity: 1; transform: none; }
    .whatsapp-float::before { animation: none; }
    .contact-more-button::before { animation: none !important; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 900px) {
    .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .schedule-row { grid-template-columns: 82px minmax(0, 1fr) 90px; }
    .schedule-actions { grid-column: 2 / -1; flex-direction: row; align-items: center; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .admin-form-actions { grid-template-columns: 1fr; }
    .registration-filters { grid-template-columns: 1fr; }
    .mail-recipient-filters { grid-template-columns: 1fr; }
    .admin-course-drawer { padding: 50px 20px 24px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(odd) { border-inline-start: 0; }
    .stat-item:nth-child(n+3) { border-top: 1px solid var(--line); }
    .course-toolbar { align-items: stretch; }
    .course-search-row { min-width: 100%; }
    .course-grid, .partners-grid { grid-template-columns: 1fr; }
    .courses-page-layout { grid-template-columns: 1fr; }
    .courses-page-filters { position: static; }
    .courses-results-head { align-items: flex-start; flex-direction: column; }
    .schedule-row { grid-template-columns: 70px minmax(0, 1fr); gap: 13px; padding: 14px; }
    .schedule-date { padding-inline-end: 11px; }
    .schedule-date strong { font-size: 25px; }
    .schedule-seats { grid-column: 2; flex-direction: row; gap: 7px; align-items: baseline; text-align: start; }
    .schedule-actions { grid-column: 1 / -1; }
    .calendar-items { grid-template-columns: 1fr; }
    .faq-cta { flex-direction: column; gap: 10px; }
    .faq-answer { padding-inline-start: 0; padding-inline-end: 25px; }
    .whatsapp-float { inset-inline-start: 16px; bottom: 16px; width: 51px; height: 51px; }
    .whatsapp-tooltip { inset-inline-start: 60px; }
    .registration-drawer { padding: 50px 20px 22px; }
    .contact-modal { padding: 32px 20px 22px; }
    .contact-modal-info, .contact-form-grid { grid-template-columns: 1fr; }
    .registration-row { flex-direction: column; gap: 0; }
    .lightbox { inset: 4vh 3vw; padding: 35px 15px 15px; }
}

/* Hero motion: calm, continuous movement that keeps the existing composition intact. */
.topbar-inner { overflow: hidden; }
.topbar-ticker { width: 100%; overflow: hidden; }
.topbar-track { width: max-content; display: flex; align-items: center; direction: ltr; animation: topbar-marquee 24s linear infinite; will-change: transform; }
.topbar-group { display: inline-flex; align-items: center; gap: 18px; padding-inline-end: 92px; white-space: nowrap; direction: rtl; }
.topbar-separator { color: var(--gold); font-size: 11px; animation: topbar-twinkle 2.8s ease-in-out infinite; }
.topbar-note { flex-shrink: 0; }

.hero-grid { animation: hero-grid-drift 26s linear infinite; will-change: background-position; }
.hero-text .eyebrow { animation: hero-rise .55s .05s both cubic-bezier(.22,1,.36,1); }
.hero-text h1 { animation: hero-rise .65s .12s both cubic-bezier(.22,1,.36,1); }
.hero-text p { animation: hero-rise .65s .2s both cubic-bezier(.22,1,.36,1); }
.hero-text .hero-actions { animation: hero-rise .65s .28s both cubic-bezier(.22,1,.36,1); }
.hero-panel { animation: hero-panel-float 8s ease-in-out infinite; will-change: transform; }
.hero-large-logo { animation: hero-logo-breathe 6.5s ease-in-out infinite; transform-origin: center; will-change: transform; }
.orb-back { animation: orb-breathe 10s ease-in-out infinite; will-change: transform, opacity; }
.orb-front { animation: orb-front-float 7s ease-in-out infinite; will-change: transform; }
.hero-panel-top span:last-child, .sparkle { animation: hero-twinkle 3s ease-in-out infinite; transform-origin: center; }
.hero-bottom-line { animation: hero-line-pulse 4s ease-in-out infinite; }

@keyframes topbar-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes topbar-twinkle {
    0%, 100% { opacity: .55; transform: scale(.86); }
    50% { opacity: 1; transform: scale(1.15); }
}
@keyframes hero-grid-drift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 74px 74px, 74px 74px; }
}
@keyframes hero-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-panel-float {
    0%, 100% { transform: rotate(-5deg) translate3d(0, 0, 0); }
    50% { transform: rotate(-3.8deg) translate3d(0, -9px, 0); }
}
@keyframes hero-logo-breathe {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.025) translateY(-4px); }
}
@keyframes orb-breathe {
    0%, 100% { transform: scale(1); opacity: .64; }
    50% { transform: scale(1.045); opacity: .78; }
}
@keyframes orb-front-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-7px, -8px, 0); }
}
@keyframes hero-twinkle {
    0%, 100% { opacity: .62; transform: scale(.92) rotate(0); }
    50% { opacity: 1; transform: scale(1.12) rotate(8deg); }
}
@keyframes hero-line-pulse {
    0%, 100% { opacity: .35; transform: scaleX(.85); }
    50% { opacity: .8; transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
    .topbar-track, .topbar-separator, .hero-grid, .hero-text .eyebrow, .hero-text h1, .hero-text p, .hero-text .hero-actions,
    .hero-panel, .hero-large-logo, .orb-back, .orb-front, .hero-panel-top span:last-child, .sparkle, .hero-bottom-line {
        animation: none !important;
        transform: none !important;
    }
}
html[lang="en"] .hero h1,
html[lang="en"] .section-copy h2,
html[lang="en"] .section-head h2,
html[lang="en"] .process-section h2 {
    letter-spacing: -2px;
}
html[lang="en"] .hero-text p,
html[lang="en"] .process-section p,
html[lang="en"] .section-copy > p {
    line-height: 1.85;
}
html[lang="en"] .brand strong {
    letter-spacing: 1px;
}
html[lang="en"] .focus-card h3 {
    font-size: 19px;
}
[hidden] {
    display: none !important;
}

/* OFOUQ 2026 identity — only colors and tints derived from the supplied logo */
body {
    color: #235f86;
}
a,
button {
    transition: all 0.2s ease;
}
.topbar {
    background: #1d6a95;
    color: #ffffff;
}
.topbar .small-dot {
    background: #f57c20;
}
.nav-shell {
    min-height: 98px;
    height: auto;
    padding-block: 12px;
}
.brand-symbol {
    width: 66px;
    height: 66px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(32, 118, 166, 0.1));
}
.brand strong {
    font-size: 19px;
    letter-spacing: normal;
    color: #257ca6;
    white-space: normal;
    max-width: 225px;
}
.brand small {
    font-size: 10px;
    color: #4f96c7;
    max-width: 238px;
}
.desktop-nav {
    gap: 19px;
}
.desktop-nav a {
    font-size: 12px;
    white-space: nowrap;
}
.desktop-nav a:hover,
.footer-links a:hover,
.minimal-contacts a:hover {
    color: #f57c20;
}
.lang-btn {
    border-color: #a9dceb;
    color: #277fae;
}
.lang-btn:hover {
    border-color: #f57c20;
}
.nav-verify {
    background: #238fb0;
    color: #fff;
}
.nav-verify:hover,
.btn-dark:hover {
    background: #438bc8;
}
.nav-verify svg {
    color: #ffae62;
}
.hamburger {
    background: #eff8fb;
}
.hamburger span {
    background: #268aac;
}
.hero {
    background: linear-gradient(120deg, #1b6894 0%, #248fb2 70%, #4a93ce 130%);
}
.hero h1 em,
.eyebrow.light,
.hero-panel-top,
.art-caption span,
.hero-panel-number {
    color: #ffac66;
}
.hero-text p,
.hero-bottom-inner {
    color: #f1faff;
}
.btn-gold {
    background: #f57c20;
    color: white;
}
.btn-gold:hover {
    background: #ed6916;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}
.btn-dark,
.admin-tab.active {
    background: #238fb0;
    color: #fff;
}
.hero-panel {
    background: linear-gradient(145deg, #287fa9, #1e699b);
    border-color: rgba(255, 255, 255, 0.8);
    transform: rotate(-5deg);
    box-shadow: 0 25px 75px rgba(18, 99, 151, 0.29);
}
.hero-panel:before {
    border-color: rgba(255, 255, 255, 0.35);
}
.hero-motif.logo-motif {
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-large-logo {
    display: block;
    width: 224px;
    height: 224px;
    object-fit: contain;
    filter: drop-shadow(0 11px 15px rgba(18, 101, 153, 0.22));
}
.orb-back {
    background: radial-gradient(circle at 35% 35%, #6cc5d9, #258fb2 60%, transparent 70%);
}
.orb-front {
    background: linear-gradient(145deg, #f8ac2d, #f57c20);
}
.hero-panel-bottom {
    color: #e6f8fe;
}
.hero-bottom {
    background: rgba(27, 104, 148, 0.28);
}
.hero-bottom-line {
    background: #a9dfed;
}
.section-kicker,
em,
.section-copy em,
.section-head em,
.process-section em,
.cta-section em,
.contact-section em {
    color: #f57c20;
}
.about-graphic {
    background: #eaf7fb;
    border-radius: 16px;
}
.graphic-card {
    background: linear-gradient(140deg, #2087ad, #458ecb);
    border-radius: 14px;
}
.graphic-card:before,
.graphic-card:after {
    border-color: rgba(255, 255, 255, 0.2);
}
.graphic-symbol.graphic-with-logo {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.graphic-with-logo img {
    width: min(100%, 315px);
    height: 315px;
    object-fit: contain;
    filter: drop-shadow(0 10px 12px rgba(19, 90, 135, 0.18));
}
.graphic-top,
.graphic-bottom {
    color: #fff;
}
.graphic-caption .line {
    background: #f57c20;
}
.focus-section,
.admin-main {
    background: #f3fbfd;
}
.focus-card {
    border: 1px solid #dbeff7;
    border-radius: 14px;
}
.focus-card:hover {
    border-color: #4aaed0;
}
.focus-card-top,
.card-icon,
.card-tag {
    color: #f57c20;
}
.card-art-one {
    background: radial-gradient(circle, #ddf3fa, transparent 75%);
}
.card-art-two {
    background: radial-gradient(circle, #fff0e2, transparent 75%);
}
.card-art-three {
    background: radial-gradient(circle, #e5f3ff, transparent 75%);
}
.card-art span {
    color: #438bc8;
}
.verify-main {
    background: radial-gradient(ellipse 70% 420px at 50% 0%, #e4f5fa, transparent), #f8fcff;
}
.verify-icon,
.box-icon {
    background: #e6f6fc;
    color: #248cad;
    border-color: #a1dded;
}
.verify-box,
.admin-card,
.login-card {
    border-color: #d8ebf3;
}
.certificate-result {
    border-color: #bde8f3;
    background: #f3fcff;
}
.result-head {
    background: #ddf4f9;
    border-bottom-color: #bde4ef;
}
.result-pill {
    background: #d8f2f8;
    color: #237eaa;
}
.result-pill.revoked {
    background: #fff0e6;
    color: #bc5d1c;
}
.status-message.success {
    background: #e8f8fc;
    color: #1f7fa2;
    border-color: #b6e5f1;
}
.status-message.error,
.setup-notice {
    background: #fff0e6;
    color: #a85d25;
    border-color: #f8cea9;
}
.status-message.info {
    background: #eef9fc;
    color: #287c9f;
    border-color: #cce9f2;
}
.contact-section {
    background: #f3fbfd;
    padding: 88px 0 100px;
    scroll-margin-top: 100px;
}
.contact-heading {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 36px;
}
.contact-heading h2 {
    font-weight: 900;
    font-size: clamp(29px, 4vw, 44px);
    line-height: 1.5;
    margin: 9px 0 14px;
}
.contact-heading p {
    color: #54849d;
    font-size: 14px;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #d8eef6;
    border-radius: 15px;
    padding: 22px;
    min-width: 0;
    box-shadow: 0 10px 35px rgba(28, 124, 169, 0.05);
}
a.contact-card:hover {
    transform: translateY(-3px);
    border-color: #f57c20;
    box-shadow: 0 15px 40px rgba(28, 124, 169, 0.12);
}
.contact-more-button {
    position: relative;
    width: 100%;
    overflow: visible;
    border-color: rgba(245, 124, 32, .48);
    background: linear-gradient(135deg, #fff7ef, #ffffff);
    color: inherit;
    text-align: start;
}
.contact-more-button::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: -5px;
    border: 1px solid rgba(245, 124, 32, .42);
    border-radius: 20px;
    pointer-events: none;
    animation: contact-cta-pulse 2.3s ease-out infinite;
}
.contact-new-badge {
    position: absolute;
    z-index: 2;
    top: -12px;
    inset-inline-end: 16px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--gold);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(245, 124, 32, .22);
    font-size: 10px;
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: .08em;
    pointer-events: none;
}
.contact-more-button > * {
    position: relative;
    z-index: 1;
}
.contact-more-button:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(245, 124, 32, .16);
}
.contact-more-button .contact-icon {
    background: #fff0e2;
}
.contact-more-button .contact-arrow {
    color: var(--gold);
}
@keyframes contact-cta-pulse {
    0% { opacity: .65; transform: scale(.98); }
    70%, 100% { opacity: 0; transform: scale(1.025); }
}
.contact-icon {
    width: 52px;
    height: 52px;
    flex: none;
    display: grid;
    place-items: center;
    background: #edf8fc;
    border-radius: 14px;
    color: #f57c20;
}
.contact-icon .lucide {
    width: 24px;
    height: 24px;
    stroke-width: 1.8;
}
.contact-details {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}
.contact-label {
    font-size: 12px;
    color: #5988a0;
}
.contact-details strong {
    display: block;
    color: #236a97;
    font-size: 17px;
    line-height: 1.55;
    font-weight: 800;
    overflow-wrap: anywhere;
}
.contact-details strong[dir="ltr"],
.contact-modal-info strong[dir="ltr"],
.minimal-contacts a[dir="ltr"],
.footer-contacts a[dir="ltr"] {
    direction: ltr;
    unicode-bidi: isolate;
    font-family: "DM Sans", Arial, sans-serif;
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum";
}
.contact-email {
    font:
        700 15px "DM Sans",
        sans-serif;
    direction: ltr;
    text-align: start;
}
.contact-arrow {
    color: #f57c20;
}
.contact-arrow .lucide {
    width: 20px;
    height: 20px;
}
.footer {
    background: #226d99;
}
.footer-main {
    align-items: start;
    display: grid;
    grid-template-columns: 1fr auto minmax(240px, 1fr);
    gap: 35px;
}
.footer .brand strong {
    color: white;
}
.footer .brand small {
    color: #ccecf7;
}
.footer-brand .brand-symbol {
    width: 64px;
    height: 64px;
}
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 7px;
    align-items: start;
    font-size: 12px;
    color: #eaf9ff;
}
.footer-contacts strong {
    font-size: 16px;
    color: #fff0e6;
}
.footer-contacts a:hover {
    color: #ffad62;
}
.footer-links {
    min-width: 130px;
}
.footer-bottom {
    color: #d6f2fb;
}
.minimal-footer {
    background: #226d99;
}
.minimal-contacts {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 19px 0;
    font-size: 12px;
    color: #f1faff;
    direction: ltr;
}
.minimal-contacts a:last-child {
    direction: rtl;
}
.back-home:hover {
    color: #f57c20;
}
.issued-number,
.data-table code {
    color: #247da8;
}
@media (max-width: 1050px) {
    .desktop-nav {
        gap: 11px;
    }
    .brand strong {
        max-width: 200px;
        font-size: 17px;
    }
    .desktop-nav a {
        font-size: 11px;
    }
}
@media (max-width: 800px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    .footer-contacts {
        grid-column: 1 / -1;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .nav-shell {
        min-height: 78px;
    }
}
@media (max-width: 560px) {
    .brand-symbol {
        height: 53px;
        width: 53px;
    }
    .brand strong {
        font-size: 17px;
    }
    .brand small {
        font-size: 9px;
    }
    .contact-section {
        padding: 60px 0;
    }
    .contact-card {
        padding: 16px;
        gap: 12px;
    }
    .contact-details strong {
        font-size: 15px;
    }
    .contact-email {
        font-size: 13px !important;
    }
    .contact-icon {
        width: 46px;
        height: 46px;
    }
    .footer-main {
        grid-template-columns: 1fr;
    }
    .footer-contacts {
        grid-column: auto;
    }
    .minimal-contacts {
        gap: 10px;
        font-size: 11px;
        padding: 14px 0;
    }
    .hero-panel {
        height: 425px;
    }
    .hero-large-logo {
        height: 220px;
        width: 220px;
    }
    .graphic-with-logo img {
        height: 270px;
    }
}

/* Refined hero loop: one message pass, then a clean restart. */
.topbar-track {
    animation: topbar-marquee-once 19s linear infinite;
}
.topbar-group {
    padding-inline-end: 0;
}

.hero:after {
    animation: hero-glow-drift 11s ease-in-out infinite;
    will-change: transform, opacity;
}
.hero-panel {
    animation: hero-panel-float-deeper 8.5s ease-in-out infinite;
}
.hero-panel:after {
    content: "";
    position: absolute;
    inset: 31px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 148px 148px 7px 7px;
    pointer-events: none;
    animation: hero-inner-border 7s ease-in-out infinite;
}
.hero-motif.logo-motif:before,
.hero-motif.logo-motif:after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.33);
    border-radius: 50%;
    pointer-events: none;
}
.hero-motif.logo-motif:before {
    width: 247px;
    height: 247px;
    border-inline-start-color: var(--gold);
    animation: hero-ring-spin 16s linear infinite;
}
.hero-motif.logo-motif:after {
    width: 218px;
    height: 218px;
    border-color: rgba(169, 220, 235, 0.35);
    animation: hero-ring-spin-reverse 12s linear infinite;
}
.hero-large-logo {
    position: relative;
    z-index: 1;
    animation: hero-logo-breathe-deeper 6s ease-in-out infinite;
}
.hero-panel-top span:first-child {
    animation: hero-label-glow 4.5s ease-in-out infinite;
}
.hero-panel-number {
    animation: hero-number-pulse 4s ease-in-out infinite;
}
.art-caption {
    animation: art-caption-float 6s ease-in-out infinite;
}

@keyframes topbar-marquee-once {
    0%, 7% { opacity: 0; transform: translateX(100vw); }
    15%, 82% { opacity: 1; }
    93%, 100% { opacity: 0; transform: translateX(calc(-100% - 100vw)); }
}
@keyframes hero-glow-drift {
    0%, 100% { opacity: .8; transform: translate3d(0, 0, 0) scale(1); }
    50% { opacity: 1; transform: translate3d(-35px, 22px, 0) scale(1.08); }
}
@keyframes hero-panel-float-deeper {
    0%, 100% { transform: rotate(-5deg) translate3d(0, 0, 0); }
    35% { transform: rotate(-3.9deg) translate3d(3px, -10px, 0); }
    70% { transform: rotate(-5.7deg) translate3d(-2px, -5px, 0); }
}
@keyframes hero-inner-border {
    0%, 100% { opacity: .22; transform: scale(1); }
    50% { opacity: .58; transform: scale(.975); }
}
@keyframes hero-ring-spin {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}
@keyframes hero-ring-spin-reverse {
    from { transform: rotate(360deg) scale(.96); }
    to { transform: rotate(0) scale(1.02); }
}
@keyframes hero-logo-breathe-deeper {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.035) translateY(-5px); }
}
@keyframes hero-label-glow {
    0%, 100% { opacity: .75; letter-spacing: 3px; }
    50% { opacity: 1; letter-spacing: 3.7px; }
}
@keyframes hero-number-pulse {
    0%, 100% { transform: translateY(0); text-shadow: none; }
    50% { transform: translateY(-3px); text-shadow: 0 0 18px rgba(246, 179, 123, .42); }
}
@keyframes art-caption-float {
    0%, 100% { opacity: .72; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
    .topbar-track, .hero:after, .hero-panel, .hero-panel:after, .hero-motif.logo-motif:before,
    .hero-motif.logo-motif:after, .hero-large-logo, .hero-panel-top span:first-child,
    .hero-panel-number, .art-caption {
        animation: none !important;
        transform: none !important;
    }
}

/* Slower ticker: visible immediately on load, then restarts after one full pass. */
@media (prefers-reduced-motion: no-preference) {
    .topbar-track {
        animation: topbar-marquee-once 21s linear infinite;
        animation-play-state: running;
    }
}
@keyframes topbar-marquee-once {
    0% { opacity: 1; transform: translateX(0); }
    94% { opacity: 1; transform: translateX(-100%); }
    100% { opacity: 0; transform: translateX(-100%); }
}

.focus-specialties {
    list-style: none;
    padding: 13px 0 0;
    margin: 0 0 18px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 6px;
}
.focus-specialties li {
    position: relative;
    padding-inline-start: 14px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}
.focus-specialties li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: .75em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
}
.focus-card .card-tag { margin-top: auto; }

/* Hero background: a soft light sweep behind the content. */
.hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -30%;
    inset-inline-start: -24%;
    width: 72%;
    height: 160%;
    pointer-events: none;
    background: linear-gradient(116deg, transparent 28%, rgba(255, 255, 255, .07) 48%, transparent 68%);
    filter: blur(12px);
    opacity: .85;
    transform: translate3d(-18%, 0, 0) rotate(8deg);
    animation: hero-light-sweep 17s ease-in-out infinite;
    will-change: transform, opacity;
}
.hero-grid { z-index: 0; }
.hero:after { z-index: 0; }
@keyframes hero-light-sweep {
    0%, 100% { opacity: .35; transform: translate3d(-18%, 0, 0) rotate(8deg); }
    45% { opacity: .85; transform: translate3d(48%, 0, 0) rotate(8deg); }
    75% { opacity: .55; transform: translate3d(82%, 0, 0) rotate(8deg); }
}
@media (prefers-reduced-motion: reduce) {
    .hero::before { animation: none !important; transform: none !important; }
}

/* About visual: a soft tilted-card balance animation. */
.about-graphic {
    perspective: 1000px;
    animation: about-graphic-float 9s ease-in-out infinite;
    will-change: transform;
}
.graphic-card {
    transform-origin: center center;
    animation: about-card-balance 8s ease-in-out infinite;
    will-change: transform;
    box-shadow: 0 22px 42px rgba(27, 104, 148, .13);
}
.graphic-with-logo img {
    animation: about-logo-breathe 6s ease-in-out infinite;
    transform-origin: center;
    will-change: transform;
}
@keyframes about-card-balance {
    0%, 100% { transform: rotate(-3.5deg) translate3d(0, 0, 0); }
    18% { transform: rotate(1.8deg) translate3d(3px, -4px, 0); }
    36%, 58% { transform: rotate(0deg) translate3d(0, 0, 0); }
    76% { transform: rotate(-1.2deg) translate3d(-2px, -2px, 0); }
}
@keyframes about-graphic-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes about-logo-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.025); }
}
@media (prefers-reduced-motion: reduce) {
    .about-graphic, .graphic-card, .graphic-with-logo img {
        animation: none !important;
        transform: none !important;
    }
}

/* Hero background orbits: visible, slow-moving circles behind the art. */
.hero-orbits {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-orbit {
    position: absolute;
    display: block;
    border: 1px solid rgba(255, 255, 255, .23);
    border-radius: 50%;
    will-change: transform, opacity;
}
.hero-orbit-one {
    width: clamp(260px, 34vw, 520px);
    aspect-ratio: 1;
    inset-inline-end: 8%;
    top: 10%;
    animation: hero-orbit-one 15s ease-in-out infinite;
}
.hero-orbit-two {
    width: clamp(160px, 22vw, 330px);
    aspect-ratio: 1;
    inset-inline-end: 17%;
    top: 24%;
    border-color: rgba(169, 220, 235, .3);
    animation: hero-orbit-two 11s ease-in-out infinite reverse;
}
.hero-orbit-three {
    width: clamp(80px, 10vw, 150px);
    aspect-ratio: 1;
    inset-inline-start: 13%;
    bottom: 12%;
    border-color: rgba(245, 124, 32, .44);
    animation: hero-orbit-three 8s ease-in-out infinite;
}
@keyframes hero-orbit-one {
    0%, 100% { opacity: .28; transform: translate3d(0, 0, 0) scale(1); }
    50% { opacity: .58; transform: translate3d(-18px, 12px, 0) scale(1.06); }
}
@keyframes hero-orbit-two {
    0%, 100% { opacity: .18; transform: translate3d(0, 0, 0) scale(.96); }
    50% { opacity: .48; transform: translate3d(14px, -10px, 0) scale(1.04); }
}
@keyframes hero-orbit-three {
    0%, 100% { opacity: .3; transform: translate3d(0, 0, 0) scale(.9); }
    50% { opacity: .9; transform: translate3d(6px, -8px, 0) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-orbit { animation: none !important; transform: none !important; }
}

.stats-heading {
    max-width: 650px;
    margin: 0 auto 34px;
    text-align: center;
}
.stats-heading h2 {
    font-size: clamp(30px, 3.2vw, 45px);
    line-height: 1.5;
    margin: 12px 0 6px;
    font-weight: 900;
}
.stats-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}
.stats-grid {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 600px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Hero background bubbles: clear, soft shapes that drift behind the content. */
.hero-bubbles {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-bubble {
    position: absolute;
    display: block;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .48) 0 8%, rgba(169, 220, 235, .2) 28%, rgba(67, 139, 200, .09) 62%, transparent 76%);
    box-shadow: inset -12px -14px 22px rgba(25, 95, 135, .14), inset 8px 8px 18px rgba(255, 255, 255, .13), 0 0 24px rgba(169, 220, 235, .15);
    opacity: .78;
    will-change: transform, opacity;
}
.bubble-one {
    width: clamp(58px, 7vw, 104px);
    aspect-ratio: 1;
    inset-inline-start: 8%;
    top: 19%;
    animation: hero-bubble-one 13s ease-in-out infinite;
}
.bubble-two {
    width: clamp(28px, 3.4vw, 52px);
    aspect-ratio: 1;
    inset-inline-start: 24%;
    bottom: 16%;
    opacity: .62;
    animation: hero-bubble-two 10s ease-in-out infinite 1s;
}
.bubble-three {
    width: clamp(86px, 10vw, 152px);
    aspect-ratio: 1;
    inset-inline-end: 16%;
    top: 11%;
    opacity: .58;
    animation: hero-bubble-three 16s ease-in-out infinite;
}
.bubble-four {
    width: clamp(38px, 4.6vw, 70px);
    aspect-ratio: 1;
    inset-inline-end: 8%;
    bottom: 27%;
    border-color: rgba(245, 124, 32, .64);
    background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .42) 0 8%, rgba(245, 124, 32, .26) 38%, rgba(245, 124, 32, .06) 68%, transparent 77%);
    box-shadow: inset -8px -10px 16px rgba(191, 77, 17, .14), inset 6px 6px 14px rgba(255, 255, 255, .14), 0 0 24px rgba(245, 124, 32, .17);
    animation: hero-bubble-four 9s ease-in-out infinite 1.8s;
}
.bubble-five {
    width: clamp(18px, 2vw, 30px);
    aspect-ratio: 1;
    inset-inline-end: 35%;
    bottom: 14%;
    opacity: .76;
    animation: hero-bubble-five 8s ease-in-out infinite 2.4s;
}
@keyframes hero-bubble-one {
    0%, 100% { opacity: .45; transform: translate3d(0, 12px, 0) scale(.9); }
    50% { opacity: .88; transform: translate3d(22px, -30px, 0) scale(1.08); }
}
@keyframes hero-bubble-two {
    0%, 100% { opacity: .35; transform: translate3d(0, 6px, 0) scale(.9); }
    50% { opacity: .78; transform: translate3d(-14px, -22px, 0) scale(1.16); }
}
@keyframes hero-bubble-three {
    0%, 100% { opacity: .35; transform: translate3d(0, 0, 0) scale(.94); }
    50% { opacity: .7; transform: translate3d(-22px, 22px, 0) scale(1.08); }
}
@keyframes hero-bubble-four {
    0%, 100% { opacity: .42; transform: translate3d(0, 8px, 0) scale(.92); }
    50% { opacity: .9; transform: translate3d(-12px, -26px, 0) scale(1.12); }
}
@keyframes hero-bubble-five {
    0%, 100% { opacity: .38; transform: translate3d(0, 4px, 0) scale(.86); }
    50% { opacity: .86; transform: translate3d(12px, -18px, 0) scale(1.18); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-bubble { animation: none !important; transform: none !important; }
}

/* Theme switcher and dark mode. */
.theme-toggle {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: none;
    padding: 0;
    border: 1px solid #a9dceb;
    border-radius: 10px;
    background: transparent;
    color: #277fae;
}
.theme-toggle:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(245, 124, 32, .07);
}
.theme-toggle:focus-visible,
.lang-btn:focus-visible {
    outline: 3px solid rgba(245, 124, 32, .25);
    outline-offset: 2px;
}
.theme-icon {
    width: 19px;
    height: 19px;
}
.theme-icon-sun { display: none; }

html[data-theme="dark"] {
    color-scheme: dark;
    --navy: #164e6b;
    --navy2: #1a7187;
    --ink: #e4f3f8;
    --muted: #a8c7d3;
    --gold: #ff9c58;
    --gold-soft: #3e2d25;
    --cream: #102c3a;
    --white: #132f3e;
    --line: #2a5364;
    --shadow: 0 15px 55px rgba(0, 0, 0, .22);
}
html[data-theme="dark"] .theme-toggle {
    border-color: #3e7182;
    color: #f6c174;
    background: rgba(255, 255, 255, .04);
}
html[data-theme="dark"] .theme-icon-moon { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: block; }
html[data-theme="dark"] body {
    background: #0b202c;
    color: var(--ink);
}
html[data-theme="dark"] .topbar {
    background: #082c41;
    color: #b8dce7;
}
html[data-theme="dark"] .site-header {
    background: #102b39;
    border-bottom-color: #244c5d;
}
html[data-theme="dark"] .site-header.scrolled {
    box-shadow: 0 7px 25px rgba(0, 0, 0, .2);
}
html[data-theme="dark"] .brand strong,
html[data-theme="dark"] .desktop-nav a {
    color: #e3f4f8;
}
html[data-theme="dark"] .brand small {
    color: #8bc7d7;
}
html[data-theme="dark"] .desktop-nav a:hover,
html[data-theme="dark"] .back-home:hover {
    color: var(--gold);
}
html[data-theme="dark"] .lang-btn {
    border-color: #3e7182;
    color: #b9dfeb;
    background: transparent;
}
html[data-theme="dark"] .hamburger {
    background: #173b4b;
}
html[data-theme="dark"] .hamburger span {
    background: #a6dce8;
}
html[data-theme="dark"] .mobile-nav.open {
    background: #102b39;
    box-shadow: 0 18px 25px rgba(0, 0, 0, .25);
}
html[data-theme="dark"] .mobile-nav a {
    color: #e3f4f8;
}
html[data-theme="dark"] .hero {
    background: linear-gradient(120deg, #104d6b 0%, #166f86 70%, #286f97 130%);
}
html[data-theme="dark"] .hero-panel {
    background: linear-gradient(145deg, #226f8c, #15516f);
}
html[data-theme="dark"] .hero-bottom {
    background: rgba(3, 42, 61, .3);
}
html[data-theme="dark"] .stats-section,
html[data-theme="dark"] .focus-section,
html[data-theme="dark"] .schedule-section,
html[data-theme="dark"] .partners-section,
html[data-theme="dark"] .faq-section,
html[data-theme="dark"] .cta-section {
    background: #0d2532;
}
html[data-theme="dark"] .courses-section,
html[data-theme="dark"] .gallery-section,
html[data-theme="dark"] .contact-section,
html[data-theme="dark"] .admin-main {
    background: #102c3a;
}
html[data-theme="dark"] .about-graphic {
    background: #173b4b;
}
html[data-theme="dark"] .focus-card,
html[data-theme="dark"] .course-card,
html[data-theme="dark"] .partner-card,
html[data-theme="dark"] .schedule-row,
html[data-theme="dark"] .calendar-month,
html[data-theme="dark"] .calendar-item,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .verify-box,
html[data-theme="dark"] .login-card,
html[data-theme="dark"] .admin-card {
    background: #132f3e;
    border-color: #2a5364;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .11);
}
html[data-theme="dark"] .list-item,
html[data-theme="dark"] .image-upload-preview {
    background: #173847;
    border-color: #2a5364;
}
html[data-theme="dark"] .mail-recipients-list {
    border-color: #2a5364;
}
html[data-theme="dark"] .mail-recipient-row:hover {
    background: #173847;
}
html[data-theme="dark"] .admin-drawer-link,
html[data-theme="dark"] .mail-selected-count {
    color: #dff3f7;
}
html[data-theme="dark"] .admin-list-thumb {
    border-color: #356477;
    background: #102c3a;
}
html[data-theme="dark"] .registration-request,
html[data-theme="dark"] .admin-course-drawer {
    background: #132f3e;
    border-color: #2a5364;
}
html[data-theme="dark"] .registration-request-details a,
html[data-theme="dark"] .admin-drawer-meta p {
    color: #dff3f7;
}
html[data-theme="dark"] .admin-drawer-backdrop { background: rgba(3, 18, 27, .72); }
html[data-theme="dark"] .registration-load-error { background: #3e2d25; border-color: #805236; }
html[data-theme="dark"] .focus-card:hover,
html[data-theme="dark"] .partner-card:hover,
html[data-theme="dark"] a.contact-card:hover {
    border-color: var(--gold);
}
html[data-theme="dark"] .card-art-one,
html[data-theme="dark"] .card-art-two,
html[data-theme="dark"] .card-art-three,
html[data-theme="dark"] .course-art {
    background: radial-gradient(circle, #1b4a5b, transparent 75%);
}
html[data-theme="dark"] .course-art span,
html[data-theme="dark"] .partner-text-logo,
html[data-theme="dark"] .course-meta-item strong,
html[data-theme="dark"] .course-next strong,
html[data-theme="dark"] .schedule-date strong,
html[data-theme="dark"] .schedule-seats strong,
html[data-theme="dark"] .calendar-month h3,
html[data-theme="dark"] .calendar-item,
html[data-theme="dark"] .faq-question,
html[data-theme="dark"] .contact-details strong {
    color: #dff3f7;
}
html[data-theme="dark"] .cta-box {
    background: #163746;
}
html[data-theme="dark"] .btn-subtle,
html[data-theme="dark"] .filter-tab,
html[data-theme="dark"] .gallery-filter,
html[data-theme="dark"] .view-toggle {
    background: #173847;
    border-color: #2a596b;
    color: #b7d4dd;
}
html[data-theme="dark"] .btn-subtle:hover,
html[data-theme="dark"] .filter-tab:hover,
html[data-theme="dark"] .gallery-filter:hover,
html[data-theme="dark"] .view-toggle:hover {
    color: #ffffff;
}
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] .registration-form textarea,
html[data-theme="dark"] .contact-form textarea {
    background: #0c2431;
    border-color: #356477;
    color: #e5f4f8;
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] .registration-form textarea::placeholder,
html[data-theme="dark"] .contact-form textarea::placeholder {
    color: #7faab9;
}
html[data-theme="dark"] .verify-main {
    background: radial-gradient(ellipse 70% 420px at 50% 0%, #173f50, transparent), #0d2532;
}
html[data-theme="dark"] .verify-icon,
html[data-theme="dark"] .box-icon,
html[data-theme="dark"] .contact-icon,
html[data-theme="dark"] .social-links a {
    background: #173f50;
    color: #aee1eb;
}
html[data-theme="dark"] .box-heading,
html[data-theme="dark"] .admin-tabs {
    border-color: #2a5364;
}
html[data-theme="dark"] .certificate-result {
    background: #122f3d;
    border-color: #356477;
}
html[data-theme="dark"] .result-head {
    background: #173f50;
    border-bottom-color: #356477;
}
html[data-theme="dark"] .result-pill,
html[data-theme="dark"] .status-message.success,
html[data-theme="dark"] .status-message.info {
    background: #173f50;
    color: #aee1eb;
    border-color: #356477;
}
html[data-theme="dark"] .result-pill.revoked,
html[data-theme="dark"] .status-message.error,
html[data-theme="dark"] .setup-notice {
    background: #3e2d25;
    color: #ffc18f;
    border-color: #805236;
}
html[data-theme="dark"] .modal-backdrop {
    background: rgba(3, 18, 27, .72);
}
html[data-theme="dark"] .course-drawer,
html[data-theme="dark"] .registration-drawer,
html[data-theme="dark"] .registration-success,
html[data-theme="dark"] .contact-modal {
    background: #102c3a;
    color: #e4f3f8;
}
html[data-theme="dark"] .contact-modal-info > * {
    background: #132f3e;
    border-color: #2a5364;
}
html[data-theme="dark"] .modal-close {
    background: #173f50;
    color: #b9e1e9;
}
html[data-theme="dark"] .whatsapp-tooltip {
    background: #132f3e;
    color: #e4f3f8;
}
html[data-theme="dark"] .contact-heading p,
html[data-theme="dark"] .contact-label,
html[data-theme="dark"] .result-fields span {
    color: #94bdca;
}
html[data-theme="dark"] .footer,
html[data-theme="dark"] .minimal-footer,
html[data-theme="dark"] .process-section {
    background: #092f46;
}

/* Render long sections only as they approach the viewport. */
.section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 620px;
}

/* Performance-tuned motion: keep the visible hero movement, avoid constant paint-heavy loops. */
.hero-grid,
.hero::before,
.hero::after,
.hero-panel:after,
.hero-motif.logo-motif:before,
.hero-motif.logo-motif:after,
.hero-panel-top span:first-child,
.hero-panel-number,
.art-caption,
.hero-bottom-line,
.topbar-separator,
.about-graphic,
.graphic-card,
.graphic-with-logo img,
.hero-orbit {
    animation: none !important;
    will-change: auto;
}
.hero::before {
    filter: none;
    opacity: .45;
    transform: none;
}
.hero::after {
    opacity: .8;
    transform: none;
}
.hero-panel {
    animation-duration: 12s;
}
.hero-large-logo {
    animation-duration: 10s;
}
.orb-back {
    animation: none !important;
    will-change: auto;
}
.orb-front {
    animation-duration: 10s;
}
.hero-bubble {
    will-change: transform;
}

/* Training-field imagery: keep each image inside the visual card-art area. */
.focus-card::before,
.focus-card::after {
    content: none;
}
.focus-card-nursing .card-art-one,
.focus-card-computer .card-art-two,
.focus-card-languages .card-art-three {
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 12px 26px rgba(42, 113, 151, .09);
}
.focus-card-nursing .card-art-one {
    background-image: url("nursing.jpg");
}
.focus-card-computer .card-art-two {
    background-image: url("computer.jpeg");
}
.focus-card-languages .card-art-three {
    background-image: url("languages.jpg");
}
.focus-card-nursing .card-art-one::before,
.focus-card-computer .card-art-two::before,
.focus-card-languages .card-art-three::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .17));
    pointer-events: none;
}
.focus-card .card-art > span {
    display: flex;
    position: relative;
    z-index: 1;
    width: 88px;
    height: 88px;
    border: 1px solid rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .42);
    -webkit-backdrop-filter: blur(7px) saturate(1.12);
    backdrop-filter: blur(7px) saturate(1.12);
    box-shadow: 0 10px 22px rgba(26, 93, 132, .16), inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -1px 0 rgba(255, 255, 255, .25);
    color: #3587bd;
    font-size: 56px;
    text-shadow: none;
}
html[data-theme="dark"] .focus-card-nursing .card-art-one,
html[data-theme="dark"] .focus-card-computer .card-art-two,
html[data-theme="dark"] .focus-card-languages .card-art-three {
    background-image: var(--focus-art-image);
}
html[data-theme="dark"] .focus-card-nursing .card-art-one { --focus-art-image: url("nursing.jpg"); }
html[data-theme="dark"] .focus-card-computer .card-art-two { --focus-art-image: url("computer.jpeg"); }
html[data-theme="dark"] .focus-card-languages .card-art-three { --focus-art-image: url("languages.jpg"); }
html[data-theme="dark"] .focus-card-nursing .card-art-one::before,
html[data-theme="dark"] .focus-card-computer .card-art-two::before,
html[data-theme="dark"] .focus-card-languages .card-art-three::before {
    background: linear-gradient(135deg, rgba(13, 37, 50, .16), rgba(13, 37, 50, .3));
}
html[data-theme="dark"] .focus-card .card-art > span {
    border-color: rgba(210, 239, 245, .52);
    background: rgba(18, 55, 70, .54);
    color: #9ed6e4;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .13);
}

/* Reference-led hero: a light editorial layout with a focused learning visual. */
.hero-reference {
    isolation: isolate;
    background:
        radial-gradient(circle at 13% 18%, rgba(245, 124, 32, .08), transparent 22%),
        linear-gradient(135deg, #fbfeff 0%, #f0fafc 58%, #e8f6f8 100%);
    color: #174f67;
}
.hero-reference::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset-inline-end: 34%;
    top: 4%;
    width: 1px;
    height: 80%;
    background: linear-gradient(180deg, transparent, rgba(39, 143, 172, .14), transparent);
    transform: rotate(24deg);
    pointer-events: none;
}
.hero-reference::after {
    width: 520px;
    height: 520px;
    inset-inline-end: -160px;
    top: -180px;
    background: radial-gradient(circle, rgba(77, 183, 199, .2), transparent 68%);
    z-index: -1;
}
.hero-reference .hero-content {
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    min-height: 650px;
    gap: clamp(28px, 5.8vw, 90px);
    padding-block: 42px 50px;
}
.hero-reference .hero-text {
    position: relative;
    z-index: 2;
    max-width: 625px;
    padding: 30px 0;
}
.hero-reference .eyebrow {
    gap: 10px;
    color: #238fb0;
    letter-spacing: 1.6px;
}
.hero-reference .eyebrow .sparkle {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: #f57c20;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 8px 18px rgba(245, 124, 32, .2);
}
.hero-reference h1 {
    max-width: 680px;
    margin: 21px 0 18px;
    color: #174f67;
    font-size: clamp(42px, 5.2vw, 72px);
    line-height: 1.2;
    letter-spacing: -2.5px;
}
.hero-reference h1 em {
    color: #f57c20;
}
.hero-reference .hero-text p {
    max-width: 560px;
    margin: 0 0 27px;
    color: #6b8793;
    font-size: 15px;
    line-height: 1.95;
}
.hero-search {
    display: flex;
    align-items: center;
    width: min(100%, 540px);
    padding: 8px;
    border: 1px solid rgba(66, 149, 174, .13);
    border-radius: 17px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 17px 42px rgba(38, 112, 140, .13), 0 2px 0 rgba(255, 255, 255, .96) inset;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.hero-search:focus-within {
    border-color: rgba(35, 143, 176, .5);
    box-shadow: 0 18px 46px rgba(38, 112, 140, .17), 0 0 0 4px rgba(35, 143, 176, .08);
    transform: translateY(-2px);
}
.hero-search input {
    min-width: 0;
    flex: 1;
    height: 54px;
    padding: 0 17px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #174f67;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}
.hero-search input::placeholder {
    color: #9baeb6;
    opacity: 1;
}
.hero-search button {
    display: grid;
    width: 56px;
    height: 56px;
    flex: none;
    place-items: center;
    border: 0;
    border-radius: 13px;
    background: #238fb0;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 9px 18px rgba(35, 143, 176, .24);
}
.hero-search button:hover {
    background: #1d7897;
    transform: translateY(-1px);
}
.hero-search button svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}
.hero-link-row {
    display: flex;
    align-items: center;
    gap: 23px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.hero-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #238fb0;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}
.hero-text-link:hover {
    color: #f57c20;
    transform: translateX(-2px);
}
.hero-text-link.muted {
    color: #7896a2;
}
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 31px;
    color: #75929d;
    font-size: 12px;
}
.hero-social-proof strong {
    color: #238fb0;
    font-size: 16px;
}
.hero-avatar-stack {
    display: flex;
    direction: ltr;
    padding-inline-start: 7px;
}
.hero-avatar {
    display: grid;
    width: 34px;
    height: 34px;
    margin-inline-start: -7px;
    place-items: center;
    border: 3px solid #f7fcfd;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 5px 12px rgba(25, 95, 135, .13);
}
.avatar-one { background: #195f87; }
.avatar-two { background: #f57c20; }
.avatar-three { background: #6b57c8; }
.avatar-more { background: #66bac7; }
.hero-art {
    min-width: 0;
    height: auto;
    min-height: 540px;
    position: relative;
    display: grid;
    place-items: center;
    transform: none;
}
.hero-visual {
    width: min(100%, 590px);
    height: 560px;
    position: relative;
    z-index: 1;
}
.hero-image-card {
    position: absolute;
    z-index: 1;
    display: block;
    inset-block: 17px 17px;
    inset-inline: 8% 0;
    overflow: hidden;
    border-radius: 30px 30px 24px 24px;
    background: #267f99 url("computer.jpeg") center / cover no-repeat;
    box-shadow: 0 28px 60px rgba(26, 104, 132, .2), 0 0 0 10px rgba(255, 255, 255, .55);
    transform: rotate(1.7deg);
}
.hero-image-card img {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(.88) contrast(1.02);
}
.hero-image-shade {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(145deg, rgba(36, 143, 176, .25), transparent 45%, rgba(12, 49, 72, .5));
}
.hero-image-label,
.hero-image-caption {
    position: absolute;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    color: #fff;
    font: 800 10px/1.25 "DM Sans", sans-serif;
    letter-spacing: 2px;
}
.hero-image-label {
    inset-inline: 25px;
    top: 25px;
    align-items: center;
}
.hero-image-label span:first-child {
    color: #ffb06f;
    font-size: 15px;
    letter-spacing: 3px;
}
.hero-image-caption {
    inset-inline: 25px;
    bottom: 26px;
    align-items: end;
}
.hero-image-caption span:first-child {
    font-size: 42px;
    line-height: 1;
    letter-spacing: -2px;
}
.hero-float {
    position: absolute;
    z-index: 2;
    display: grid;
    width: 66px;
    height: 66px;
    place-items: center;
    border: 5px solid rgba(255, 255, 255, .72);
    border-radius: 19px;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 16px 28px rgba(27, 89, 119, .2);
    transform: rotate(-7deg);
}
.hero-float-one {
    top: 12%;
    inset-inline-start: 3%;
    background: #a54ce4;
}
.hero-float-two {
    top: 37%;
    inset-inline-end: -4%;
    background: #5876e9;
    transform: rotate(8deg);
}
.hero-float-three {
    bottom: 26%;
    inset-inline-start: -4%;
    background: #ef5d94;
    transform: rotate(6deg);
}
.hero-visual-badge {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    inset-inline-start: 2%;
    bottom: 4%;
    min-width: 160px;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 15px;
    background: rgba(255, 255, 255, .92);
    color: #174f67;
    box-shadow: 0 16px 30px rgba(27, 89, 119, .16);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.hero-badge-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: #66bac7;
    color: #fff;
    font-weight: 900;
}
.hero-visual-badge strong,
.hero-visual-badge small {
    display: block;
}
.hero-visual-badge strong {
    color: #238fb0;
    font: 800 17px/1.1 "DM Sans", sans-serif;
}
.hero-visual-badge small {
    margin-top: 4px;
    color: #7c969f;
    font-size: 10px;
    font-weight: 800;
}
.hero-reference .hero-bottom {
    border-top-color: rgba(35, 143, 176, .12);
    background: rgba(255, 255, 255, .64);
}
.hero-reference .hero-bottom-inner {
    color: #6d929e;
}
.hero-reference .hero-bottom-line {
    background: #62b6c4;
    opacity: .5;
}
html[data-theme="dark"] .hero-reference {
    background: linear-gradient(135deg, #0e2b39 0%, #123c4b 60%, #145366 100%);
}
html[data-theme="dark"] .hero-reference h1 {
    color: #e7f6f8;
}
html[data-theme="dark"] .hero-reference .hero-text p,
html[data-theme="dark"] .hero-reference .hero-social-proof,
html[data-theme="dark"] .hero-reference .hero-text-link.muted {
    color: #a9cbd3;
}
html[data-theme="dark"] .hero-search,
html[data-theme="dark"] .hero-visual-badge {
    background: rgba(18, 47, 62, .92);
    border-color: #356477;
}
html[data-theme="dark"] .hero-search input,
html[data-theme="dark"] .hero-visual-badge {
    color: #e7f6f8;
}
html[data-theme="dark"] .hero-reference .hero-bottom {
    background: rgba(8, 42, 57, .65);
    border-top-color: rgba(169, 220, 235, .16);
}
html[data-theme="dark"] .hero-reference .hero-bottom-inner {
    color: #a9cbd3;
}
@media (max-width: 1050px) {
    .hero-reference .hero-content {
        gap: 24px;
    }
    .hero-reference h1 {
        font-size: clamp(39px, 5.5vw, 62px);
    }
    .hero-visual {
        height: 500px;
    }
}
@media (max-width: 800px) {
    .hero-reference .hero-content {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-block: 38px 26px;
    }
    .hero-reference .hero-text {
        max-width: 650px;
        padding: 20px 0 0;
        text-align: center;
    }
    .hero-reference .eyebrow,
    .hero-reference .hero-social-proof {
        justify-content: center;
    }
    .hero-reference h1,
    .hero-reference .hero-text p {
        margin-inline: auto;
    }
    .hero-search {
        margin-inline: auto;
        text-align: start;
    }
    .hero-link-row {
        justify-content: center;
    }
    .hero-reference .hero-art {
        min-height: 450px;
        margin: 0;
    }
    .hero-visual {
        height: 450px;
    }
}
@media (max-width: 560px) {
    .hero-reference .hero-content {
        width: min(100% - 32px, 1180px);
        padding-block: 28px 16px;
    }
    .hero-reference .hero-text {
        padding-top: 10px;
    }
    .hero-reference h1 {
        margin-top: 16px;
        font-size: clamp(35px, 11vw, 46px);
        letter-spacing: -1.5px;
    }
    .hero-reference .hero-text p {
        font-size: 13px;
        line-height: 1.8;
    }
    .hero-link-row {
        gap: 13px;
    }
    .hero-social-proof {
        margin-top: 24px;
    }
    .hero-reference .hero-art {
        min-height: 370px;
    }
    .hero-visual {
        height: 370px;
    }
    .hero-image-card {
        inset-block: 12px;
        inset-inline: 7% 0;
        border-radius: 22px;
    }
    .hero-float {
        width: 52px;
        height: 52px;
        border-width: 3px;
        border-radius: 15px;
        font-size: 22px;
    }
    .hero-image-label,
    .hero-image-caption {
        inset-inline: 17px;
    }
    .hero-image-label {
        top: 18px;
        font-size: 8px;
    }
    .hero-image-caption {
        bottom: 18px;
    }
    .hero-image-caption span:first-child {
        font-size: 31px;
    }
    .hero-visual-badge {
        inset-inline-start: 0;
        bottom: 0;
        min-width: 145px;
        padding: 9px 11px;
    }
    .hero-visual-badge strong {
        font-size: 15px;
    }
    .hero-reference .hero-bottom-inner {
        justify-content: center;
        text-align: center;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-search,
    .hero-text-link,
    .hero-search button {
        transition: none;
    }
}

/* Course-platform hero refinement: simple copy, compact media, floating metrics. */
.hero-reference {
    background:
        radial-gradient(circle at 4% 0%, rgba(255, 172, 207, .22), transparent 18%),
        radial-gradient(circle at 96% 12%, rgba(127, 216, 222, .16), transparent 22%),
        linear-gradient(135deg, #fff 0%, #fdfcff 58%, #f8fbff 100%);
}
.hero-reference::before {
    inset-inline-start: -60px;
    inset-inline-end: auto;
    top: -80px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 189, 218, .2), transparent 68%);
    transform: none;
}
.hero-reference::after {
    inset-inline-end: -140px;
    top: 10px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(121, 222, 226, .13), transparent 68%);
}
.hero-reference .hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 575px;
    gap: clamp(30px, 6vw, 92px);
    padding-block: 63px 50px;
}
.hero-reference .hero-text {
    max-width: 560px;
    padding: 20px 0;
}
.hero-reference .eyebrow {
    color: #6342d8;
    font-size: 11px;
    letter-spacing: 1.2px;
}
.hero-reference .eyebrow .sparkle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ff9a3d;
    box-shadow: none;
}
.hero-reference h1 {
    max-width: 510px;
    margin: 22px 0 21px;
    color: #111a2e;
    font-size: clamp(42px, 5.3vw, 71px);
    line-height: 1.1;
    letter-spacing: -2.8px;
}
.hero-reference h1 em {
    color: #6940e6;
}
.hero-reference .hero-text p {
    max-width: 500px;
    margin-bottom: 27px;
    color: #77808f;
    font-size: 14px;
    line-height: 1.85;
}
.hero-reference .hero-actions {
    gap: 13px;
}
.hero-reference .hero-actions .btn {
    min-height: 53px;
    padding-inline: 23px;
    border-radius: 9px;
}
.hero-reference .hero-actions .btn-gold {
    background: #6838e7;
    color: #fff;
    box-shadow: 0 11px 22px rgba(104, 56, 231, .2);
}
.hero-reference .hero-actions .btn-gold:hover {
    background: #5528cf;
}
.hero-reference .hero-actions .btn-outline {
    border-color: #e2e4ea;
    background: #fff;
    color: #556070;
    box-shadow: 0 4px 12px rgba(20, 35, 60, .04);
}
.hero-reference .hero-actions .btn-outline:hover {
    border-color: #b7a8f4;
    background: #fbfaff;
    color: #5d36d2;
}
.hero-trust-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    color: #9198a5;
    font-size: 11px;
    font-weight: 700;
}
.hero-trust-dot {
    width: 8px;
    height: 8px;
    flex: none;
    border-radius: 50%;
    background: #72c8a1;
    box-shadow: 0 0 0 5px rgba(114, 200, 161, .12);
}
.hero-reference .hero-art {
    min-height: 430px;
}
.hero-reference .hero-visual {
    width: min(100%, 540px);
    height: 425px;
}
.hero-reference .hero-image-card {
    inset-block: 37px auto;
    inset-inline: auto 3%;
    width: min(64%, 330px);
    height: 320px;
    border-radius: 16px;
    background: #267f99 url("computer.jpeg") center / cover no-repeat;
    box-shadow: 0 24px 45px rgba(35, 55, 92, .17), 0 0 0 6px rgba(255, 255, 255, .9);
    transform: none;
}
.hero-reference .hero-image-card img {
    filter: saturate(.82) contrast(1.03);
}
.hero-reference .hero-image-shade {
    background: linear-gradient(145deg, rgba(45, 147, 172, .08), transparent 48%, rgba(15, 35, 61, .32));
}
.hero-reference .hero-image-label {
    inset-inline: 19px;
    top: 18px;
    font-size: 8px;
    letter-spacing: 1.6px;
}
.hero-metrics {
    position: absolute;
    z-index: 4;
    inset-inline-start: 0;
    top: 101px;
    display: grid;
    width: min(48%, 205px);
    gap: 11px;
}
.hero-metric-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 9px 11px;
    border: 1px solid rgba(230, 233, 242, .84);
    border-radius: 8px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 11px 23px rgba(40, 62, 98, .1);
    color: #26324a;
}
.hero-metric-icon {
    display: grid;
    width: 30px;
    height: 30px;
    flex: none;
    place-items: center;
    border-radius: 9px;
    font-size: 16px;
    font-weight: 900;
}
.metric-green {
    background: #ddf7ea;
    color: #30a476;
}
.metric-purple {
    background: #eee8ff;
    color: #7b5de2;
}
.metric-orange {
    background: #fff0d1;
    color: #e19a27;
}
.hero-metric-card strong,
.hero-metric-card small {
    display: block;
}
.hero-metric-card strong {
    color: #34415a;
    font: 800 15px/1.05 "DM Sans", sans-serif;
}
.hero-metric-card small {
    margin-top: 4px;
    color: #8e97a5;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}
.hero-reference .hero-float {
    width: 49px;
    height: 49px;
    border: 0;
    border-radius: 13px;
    font-size: 22px;
    box-shadow: 0 11px 22px rgba(62, 67, 125, .15);
}
.hero-reference .hero-float-one {
    top: 12%;
    inset-inline-start: 54%;
    background: #a349df;
    transform: rotate(-7deg);
}
.hero-reference .hero-float-two {
    top: auto;
    bottom: 12%;
    inset-inline-end: 6%;
    background: #5c74e7;
    transform: rotate(7deg);
}
.hero-reference .hero-bottom {
    padding-bottom: 41px;
    border-top: 0;
    background: transparent;
}
.hero-stat-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 126px;
    overflow: hidden;
    border: 1px solid #edf0f4;
    border-radius: 17px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 19px 40px rgba(41, 59, 91, .1);
}
.hero-stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 19px 24px;
    border-inline-end: 1px solid #edf0f4;
    color: #5b667b;
}
.hero-stat-item:last-child {
    border-inline-end: 0;
}
.hero-stat-icon {
    display: grid;
    width: 39px;
    height: 39px;
    flex: none;
    place-items: center;
    border-radius: 50%;
    font-weight: 900;
}
.hero-stat-icon .lucide {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
}
.stat-blue {
    background: #edf2f7;
    color: #5d6b80;
}
.stat-orange {
    background: #fff0cf;
    color: #db9420;
}
.stat-green {
    background: #ddf8eb;
    color: #35a576;
}
.hero-stat-item strong,
.hero-stat-item small {
    display: block;
}
.hero-stat-item strong {
    color: #68738a;
    font: 800 23px/1 "DM Sans", sans-serif;
}
.hero-stat-item small {
    margin-top: 5px;
    color: #7f8795;
    font-size: 10px;
    font-weight: 800;
}
html[data-theme="dark"] .hero-reference {
    background: linear-gradient(135deg, #0f2634 0%, #122f40 60%, #173f50 100%);
}
html[data-theme="dark"] .hero-reference h1 {
    color: #edf8fa;
}
html[data-theme="dark"] .hero-reference .hero-text p,
html[data-theme="dark"] .hero-reference .hero-trust-note {
    color: #abc7d0;
}
html[data-theme="dark"] .hero-reference .hero-actions .btn-outline,
html[data-theme="dark"] .hero-metric-card,
html[data-theme="dark"] .hero-stat-bar {
    border-color: #2a5364;
    background: #173847;
    color: #e5f4f8;
}
html[data-theme="dark"] .hero-reference .hero-actions .btn-outline {
    color: #d7eef2;
}
html[data-theme="dark"] .hero-metric-card strong,
html[data-theme="dark"] .hero-stat-item strong {
    color: #e5f4f8;
}
html[data-theme="dark"] .hero-metric-card small,
html[data-theme="dark"] .hero-stat-item small {
    color: #9fc0ca;
}
html[data-theme="dark"] .hero-stat-item {
    border-inline-end-color: #2a5364;
}
@media (max-width: 800px) {
    .hero-reference .hero-content {
        min-height: 0;
        padding-block: 49px 37px;
    }
    .hero-reference .hero-text {
        max-width: 620px;
        padding-top: 0;
    }
    .hero-reference h1 {
        font-size: clamp(40px, 9vw, 60px);
    }
    .hero-reference .hero-art {
        min-height: 390px;
    }
    .hero-reference .hero-visual {
        height: 390px;
    }
    .hero-reference .hero-image-card {
        inset-inline-end: 7%;
        width: 58%;
        height: 285px;
    }
    .hero-metrics {
        top: 84px;
        width: 45%;
    }
    .hero-metric-card {
        min-height: 52px;
        padding: 7px 8px;
    }
    .hero-metric-icon {
        width: 27px;
        height: 27px;
        font-size: 14px;
    }
    .hero-metric-card strong {
        font-size: 13px;
    }
    .hero-reference .hero-bottom {
        padding-top: 26px;
        padding-bottom: 28px;
    }
}
@media (max-width: 560px) {
    .hero-reference .hero-content {
        padding-block: 33px 24px;
    }
    .hero-reference .hero-text {
        text-align: center;
    }
    .hero-reference .eyebrow,
    .hero-reference .hero-trust-note {
        justify-content: center;
    }
    .hero-reference h1,
    .hero-reference .hero-text p {
        margin-inline: auto;
    }
    .hero-reference h1 {
        font-size: clamp(35px, 11vw, 48px);
        letter-spacing: -1.5px;
    }
    .hero-reference .hero-actions {
        justify-content: center;
    }
    .hero-reference .hero-actions .btn {
        padding-inline: 17px;
        font-size: 12px;
    }
    .hero-reference .hero-art {
        min-height: 325px;
    }
    .hero-reference .hero-visual {
        height: 325px;
    }
    .hero-reference .hero-image-card {
        inset-block-start: 29px;
        inset-inline-end: 4%;
        width: 61%;
        height: 235px;
        border-radius: 13px;
    }
    .hero-metrics {
        top: 57px;
        width: 48%;
        gap: 7px;
    }
    .hero-metric-card {
        gap: 7px;
        min-height: 44px;
        padding: 6px;
        border-radius: 7px;
    }
    .hero-metric-icon {
        width: 23px;
        height: 23px;
        border-radius: 7px;
        font-size: 12px;
    }
    .hero-metric-card strong {
        font-size: 11px;
    }
    .hero-metric-card small {
        margin-top: 2px;
        font-size: 7px;
    }
    .hero-reference .hero-float {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        font-size: 16px;
    }
    .hero-reference .hero-float-one {
        inset-inline-start: 54%;
    }
    .hero-stat-bar {
        min-height: 100px;
        border-radius: 13px;
    }
    .hero-stat-item {
        display: block;
        padding: 13px 5px;
        text-align: center;
    }
    .hero-stat-icon {
        width: 29px;
        height: 29px;
        margin: 0 auto 6px;
        font-size: 13px;
    }
    .hero-stat-item strong {
        font-size: 15px;
    }
    .hero-stat-item small {
        margin-top: 3px;
        font-size: 8px;
    }
}

/* Preserve Ofouq's original blue-and-orange identity on the light hero. */
.hero-reference {
    background: #fff;
}
.hero-reference::before {
    background: radial-gradient(circle, rgba(245, 124, 32, .1), transparent 68%);
}
.hero-reference::after {
    background: radial-gradient(circle, rgba(101, 190, 214, .15), transparent 68%);
}
.hero-reference .eyebrow {
    color: #238fb0;
}
.hero-reference h1 {
    color: #195f87;
}
.hero-reference h1 em {
    color: #f57c20;
}
.hero-reference .hero-actions .btn-gold {
    background: #f57c20;
    color: #fff;
    box-shadow: 0 11px 22px rgba(245, 124, 32, .2);
}
.hero-reference .hero-actions .btn-gold:hover {
    background: #ed6916;
}
.hero-reference .hero-actions .btn-outline {
    border-color: #a9dceb;
    color: #195f87;
}
.hero-reference .hero-actions .btn-outline:hover {
    border-color: #238fb0;
    background: #f0fbfd;
    color: #238fb0;
}
.hero-image-card.image-fallback {
    background-image: url("nursing.jpg");
}
.hero-reference .hero-float-one {
    background: #a45bd8;
}
.hero-reference .hero-float-two {
    background: #438bc8;
}
.hero-reference .metric-purple {
    background: #e8f4f9;
    color: #438bc8;
}
.hero-reference .metric-orange {
    background: #fff0e2;
    color: #f57c20;
}
.hero-reference .stat-orange {
    background: #fff0e2;
    color: #f57c20;
}
.hero-reference .stat-green {
    background: #e4f7fb;
    color: #238fb0;
}
.hero-reference .hero-stat-item strong,
.hero-reference .hero-metric-card strong {
    color: #195f87;
}
.hero-reference .hero-stat-item small,
.hero-reference .hero-metric-card small,
.hero-reference .hero-trust-note {
    color: #6d8794;
}
html[data-theme="dark"] .hero-reference {
    background: #0b202c;
}
html[data-theme="dark"] .hero-reference h1 {
    color: #e7f6f8;
}
html[data-theme="dark"] .hero-reference .hero-actions .btn-outline {
    border-color: #356477;
    background: #173847;
    color: #d7eef2;
}

/* Guaranteed hero visual: branded fallback remains visible even when a photo asset is unavailable. */
.hero-reference .hero-image-card {
    background: linear-gradient(145deg, #195f87 0%, #238fb0 66%, #f57c20 145%) !important;
}
.hero-reference .hero-image-card > img {
    opacity: .72;
}
.hero-visual-fallback {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    overflow: hidden;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(25, 95, 135, .08), rgba(35, 143, 176, .28) 58%, rgba(245, 124, 32, .2));
    color: #fff;
    text-align: center;
}
html[dir="rtl"] .hero-reference .hero-image-card {
    top: 37px;
    right: auto;
    bottom: auto;
    left: 3%;
    inset-inline: auto;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 330px;
    height: 320px;
}
html[dir="ltr"] .hero-reference .hero-image-card {
    top: 37px;
    right: 3%;
    bottom: auto;
    left: auto;
    inset-inline: auto;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 330px;
    height: 320px;
}
.hero-visual-fallback > img {
    position: relative;
    z-index: 2;
    width: 104px !important;
    height: 104px !important;
    object-fit: contain;
    border: 5px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 14px 30px rgba(9, 57, 83, .24);
}
.hero-visual-fallback strong,
.hero-visual-fallback small {
    position: relative;
    z-index: 2;
    display: block;
    color: #fff;
}
.hero-visual-fallback strong {
    font-size: 22px;
    font-weight: 900;
}
.hero-visual-fallback small {
    color: rgba(255, 255, 255, .78);
    font: 800 9px/1 "DM Sans", sans-serif;
    letter-spacing: 3px;
}
.fallback-orbit {
    position: absolute;
    display: block;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 50%;
}
.fallback-orbit-one {
    width: 270px;
    height: 270px;
}
.fallback-orbit-two {
    width: 190px;
    height: 190px;
    border-color: rgba(255, 176, 111, .6);
}
html[data-theme="dark"] .hero-visual-fallback {
    background: linear-gradient(135deg, rgba(8, 44, 65, .18), rgba(22, 111, 134, .34), rgba(191, 77, 17, .23));
}
@media (max-width: 560px) {
    html[dir="rtl"] .hero-reference .hero-image-card,
    html[dir="ltr"] .hero-reference .hero-image-card {
        top: 29px;
        right: auto;
        left: 4%;
        width: 61%;
        height: 235px;
    }
    html[dir="ltr"] .hero-reference .hero-image-card {
        right: 4%;
        left: auto;
    }
    .hero-visual-fallback > img {
        width: 75px !important;
        height: 75px !important;
        border-width: 3px;
    }
    .hero-visual-fallback strong {
        font-size: 17px;
    }
    .fallback-orbit-one {
        width: 210px;
        height: 210px;
    }
    .fallback-orbit-two {
        width: 145px;
        height: 145px;
    }
}

/* Match the reference composition: photo on the right, metric cards on the left. */
.hero-reference .hero-image-card {
    top: 37px !important;
    right: 3% !important;
    bottom: auto !important;
    left: auto !important;
    inset-inline: auto !important;
    z-index: 5 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 330px !important;
    height: 320px !important;
}
.hero-reference .hero-image-card > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    object-fit: cover;
}
.hero-reference .hero-metrics {
    top: 101px !important;
    right: auto !important;
    left: 0 !important;
    inset-inline: auto !important;
    z-index: 7 !important;
    width: 205px !important;
}
.hero-reference .hero-visual-fallback {
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s ease;
}
.hero-reference .hero-image-card.image-fallback .hero-visual-fallback {
    visibility: visible;
    opacity: 1;
}
.hero-reference .hero-image-card.image-fallback > img {
    display: none !important;
}
@media (max-width: 560px) {
    .hero-reference .hero-image-card {
        top: 29px !important;
        right: 4% !important;
        left: auto !important;
        width: 61% !important;
        height: 235px !important;
    }
    .hero-reference .hero-metrics {
        top: 57px !important;
        right: auto !important;
        left: 0 !important;
        width: 48% !important;
    }
}

/* Keep the image and its metric cards side-by-side, never stacked on top of each other. */
.hero-reference .hero-visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    overflow: visible;
}
.hero-reference .hero-image-card {
    position: relative !important;
    inset: auto !important;
    flex: 0 0 330px;
    order: 1;
}
.hero-reference .hero-metrics {
    position: relative !important;
    inset: auto !important;
    flex: 0 0 205px;
    order: 2;
}
html[dir="ltr"] .hero-reference .hero-visual {
    flex-direction: row-reverse;
}
@media (max-width: 800px) {
    .hero-reference .hero-visual {
        gap: 13px;
    }
    .hero-reference .hero-image-card {
        flex-basis: 275px;
        width: 275px !important;
        height: 280px !important;
    }
    .hero-reference .hero-metrics {
        flex-basis: 175px;
        width: 175px !important;
    }
}
@media (max-width: 560px) {
    .hero-reference .hero-visual,
    html[dir="ltr"] .hero-reference .hero-visual {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 14px;
        height: auto;
        min-height: 460px;
    }
    .hero-reference .hero-image-card {
        flex: 0 0 235px;
        width: min(78vw, 280px) !important;
        height: 235px !important;
        order: 1;
    }
    .hero-reference .hero-metrics {
        display: grid;
        width: min(78vw, 280px) !important;
        flex: none;
        order: 2;
    }
}

/* New branded glass scene for the hero. */
.hero-reference .hero-art {
    min-height: 520px;
}
.hero-glass-scene {
    position: relative;
    isolation: isolate;
    width: min(100%, 570px);
    height: 500px;
    overflow: visible;
}
.hero-glass-scene::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 7% 10% 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(101, 190, 214, .2), rgba(169, 220, 235, .06) 43%, transparent 72%);
    filter: blur(4px);
    animation: hero-glass-breathe 7s ease-in-out infinite;
}
.hero-scene-glow {
    position: absolute;
    z-index: -1;
    display: block;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
}
.glow-one {
    width: 150px;
    height: 150px;
    top: 6%;
    left: 13%;
    background: rgba(245, 124, 32, .16);
    animation: hero-glow-drift-one 8s ease-in-out infinite;
}
.glow-two {
    width: 190px;
    height: 190px;
    right: 7%;
    bottom: 8%;
    background: rgba(35, 143, 176, .18);
    animation: hero-glow-drift-two 9s ease-in-out infinite;
}
.hero-scene-orbit {
    position: absolute;
    display: block;
    border: 1px solid rgba(35, 143, 176, .2);
    border-radius: 50%;
    pointer-events: none;
}
.orbit-one {
    width: 430px;
    height: 430px;
    top: 33px;
    left: 70px;
    border-inline-start-color: rgba(245, 124, 32, .54);
    animation: hero-orbit-spin 22s linear infinite;
}
.orbit-two {
    width: 350px;
    height: 350px;
    top: 72px;
    left: 110px;
    border-color: rgba(101, 190, 214, .34);
    animation: hero-orbit-spin-reverse 16s linear infinite;
}
.orbit-three {
    width: 250px;
    height: 250px;
    top: 122px;
    left: 160px;
    border-color: rgba(245, 124, 32, .24);
    animation: hero-orbit-pulse 6s ease-in-out infinite;
}
.hero-glass-core {
    position: absolute;
    z-index: 2;
    top: 63px;
    left: 50%;
    display: flex;
    width: 306px;
    height: 370px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 42px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .64), rgba(229, 247, 251, .25));
    box-shadow: 0 28px 65px rgba(25, 95, 135, .17), inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
    transform: translateX(-50%) rotate(-4deg);
    animation: hero-core-float 7s ease-in-out infinite;
}
.hero-glass-core::before {
    content: "";
    position: absolute;
    top: -45%;
    left: -35%;
    width: 170%;
    height: 45%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
    transform: rotate(22deg);
    animation: hero-glass-shimmer 6s ease-in-out infinite;
}
.hero-core-label {
    position: relative;
    z-index: 1;
    color: #238fb0;
    font: 800 9px/1 "DM Sans", sans-serif;
    letter-spacing: 2.5px;
}
.hero-core-logo {
    position: relative;
    z-index: 1;
    display: grid;
    width: 174px;
    height: 174px;
    margin-top: 8px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .88);
    border-radius: 50%;
    background: rgba(255, 255, 255, .66);
    box-shadow: 0 14px 30px rgba(25, 95, 135, .12), inset 0 1px 0 rgba(255, 255, 255, .95);
}
.hero-core-logo img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 50%;
    animation: hero-logo-float 5s ease-in-out infinite;
}
.hero-glass-core strong,
.hero-glass-core small,
.hero-core-line {
    position: relative;
    z-index: 1;
}
.hero-glass-core strong {
    color: #195f87;
    font-size: 17px;
    font-weight: 900;
    text-align: center;
}
.hero-glass-core small {
    color: #f57c20;
    font: 800 9px/1 "DM Sans", sans-serif;
    letter-spacing: 2.6px;
}
.hero-core-line {
    width: 62px;
    height: 3px;
    margin-top: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #238fb0, #f57c20);
}
.hero-glass-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 166px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 16px;
    background: rgba(255, 255, 255, .56);
    box-shadow: 0 15px 30px rgba(25, 95, 135, .14), inset 0 1px 0 rgba(255, 255, 255, .85);
    -webkit-backdrop-filter: blur(15px) saturate(1.2);
    backdrop-filter: blur(15px) saturate(1.2);
    color: #195f87;
}
.hero-glass-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, .24), transparent 55%);
    pointer-events: none;
}
.glass-card-top {
    top: 72px;
    left: 10px;
    animation: hero-card-float-one 6s ease-in-out infinite;
}
.glass-card-side {
    top: 216px;
    right: 0;
    animation: hero-card-float-two 7s ease-in-out infinite;
}
.glass-card-bottom {
    bottom: 54px;
    left: 24px;
    animation: hero-card-float-three 6.5s ease-in-out infinite;
}
.glass-card-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 34px;
    height: 34px;
    flex: none;
    place-items: center;
    border-radius: 11px;
    font-weight: 900;
}
.glass-card-icon .lucide {
    width: 17px;
    height: 17px;
}
.icon-blue {
    background: #e3f3f8;
    color: #238fb0;
}
.icon-orange {
    background: #fff0e2;
    color: #f57c20;
}
.icon-green {
    background: #e2f7f2;
    color: #39a88c;
}
.hero-glass-card > span:last-child {
    position: relative;
    z-index: 1;
}
.hero-glass-card b,
.hero-glass-card small {
    display: block;
}
.hero-glass-card b {
    color: #195f87;
    font: 800 16px/1.1 "DM Sans", sans-serif;
}
.hero-glass-card small {
    margin-top: 4px;
    color: #6e8996;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}
.hero-glass-spark {
    position: absolute;
    z-index: 5;
    display: grid;
    place-items: center;
    color: #f57c20;
    text-shadow: 0 4px 14px rgba(245, 124, 32, .3);
}
.spark-one {
    top: 25px;
    right: 95px;
    font-size: 22px;
    animation: hero-sparkle 2.6s ease-in-out infinite;
}
.spark-two {
    right: 70px;
    bottom: 37px;
    color: #238fb0;
    font-size: 28px;
    animation: hero-sparkle 2.2s .4s ease-in-out infinite;
}
.hero-glass-caption {
    position: absolute;
    right: 14px;
    bottom: 6px;
    color: #6a99aa;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}
@keyframes hero-core-float {
    0%, 100% { transform: translateX(-50%) rotate(-4deg) translateY(0); }
    50% { transform: translateX(-50%) rotate(-1.5deg) translateY(-9px); }
}
@keyframes hero-logo-float {
    0%, 100% { transform: scale(1) rotate(0); }
    50% { transform: scale(1.035) rotate(2deg); }
}
@keyframes hero-glass-shimmer {
    0%, 35% { transform: translate3d(-80%, 0, 0) rotate(22deg); opacity: 0; }
    52% { opacity: 1; }
    75%, 100% { transform: translate3d(80%, 220%, 0) rotate(22deg); opacity: 0; }
}
@keyframes hero-glass-breathe {
    0%, 100% { transform: scale(.95); opacity: .62; }
    50% { transform: scale(1.04); opacity: 1; }
}
@keyframes hero-glow-drift-one {
    0%, 100% { transform: translate(0, 0); opacity: .6; }
    50% { transform: translate(18px, 22px); opacity: 1; }
}
@keyframes hero-glow-drift-two {
    0%, 100% { transform: translate(0, 0); opacity: .65; }
    50% { transform: translate(-18px, -16px); opacity: .95; }
}
@keyframes hero-orbit-spin { to { transform: rotate(360deg); } }
@keyframes hero-orbit-spin-reverse { to { transform: rotate(-360deg); } }
@keyframes hero-orbit-pulse {
    0%, 100% { transform: scale(.94); opacity: .42; }
    50% { transform: scale(1.06); opacity: .95; }
}
@keyframes hero-card-float-one {
    0%, 100% { transform: translate(0, 0) rotate(-3deg); }
    50% { transform: translate(7px, -9px) rotate(1deg); }
}
@keyframes hero-card-float-two {
    0%, 100% { transform: translate(0, 0) rotate(4deg); }
    50% { transform: translate(-7px, 8px) rotate(-1deg); }
}
@keyframes hero-card-float-three {
    0%, 100% { transform: translate(0, 0) rotate(2deg); }
    50% { transform: translate(5px, -6px) rotate(-2deg); }
}
@keyframes hero-sparkle {
    0%, 100% { opacity: .45; transform: scale(.82) rotate(0); }
    50% { opacity: 1; transform: scale(1.15) rotate(18deg); }
}
html[data-theme="dark"] .hero-glass-core,
html[data-theme="dark"] .hero-glass-card {
    border-color: rgba(169, 220, 235, .26);
    background: rgba(18, 55, 70, .58);
    box-shadow: 0 24px 55px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .1);
}
html[data-theme="dark"] .hero-glass-core strong,
html[data-theme="dark"] .hero-glass-card b {
    color: #e6f7fa;
}
html[data-theme="dark"] .hero-glass-card small,
html[data-theme="dark"] .hero-glass-caption {
    color: #a9cbd3;
}
@media (max-width: 800px) {
    .hero-reference .hero-art {
        min-height: 470px;
    }
    .hero-glass-scene {
        height: 450px;
        transform: scale(.9);
    }
}
@media (max-width: 560px) {
    .hero-reference .hero-art {
        min-height: 390px;
    }
    .hero-glass-scene {
        height: 380px;
        transform: scale(.72);
        transform-origin: center;
        width: 570px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-glass-core,
    .hero-core-logo img,
    .hero-glass-scene::before,
    .hero-scene-glow,
    .hero-scene-orbit,
    .hero-glass-card,
    .hero-glass-spark {
        animation: none !important;
        transform: none !important;
    }
}

/* Softer hero atmosphere: replace the large orbit rings with small drifting bubbles. */
.hero-glass-scene .hero-scene-orbit {
    display: none;
}
.hero-glass-scene::before {
    inset: 12% 14% 10%;
    background: radial-gradient(circle at 42% 38%, rgba(101, 190, 214, .15), rgba(255, 255, 255, 0) 68%);
    filter: blur(8px);
}
.hero-bubbles {
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
}
.hero-bubble {
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 50%;
    opacity: 0;
    filter: drop-shadow(0 6px 11px currentColor);
    animation: hero-bubble-rise 6.8s ease-in-out infinite;
}
.hero-bubble::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background: currentColor;
    opacity: .32;
}
.bubble-orange {
    color: #f57c20;
    background: rgba(245, 124, 32, .1);
}
.bubble-blue {
    color: #238fb0;
    background: rgba(35, 143, 176, .1);
}
.bubble-green {
    color: #42aa91;
    background: rgba(66, 170, 145, .1);
}
.bubble-one { top: 12%; left: 8%; width: 14px; height: 14px; animation-delay: -.8s; }
.bubble-two { top: 8%; right: 15%; width: 8px; height: 8px; animation-delay: -3.7s; }
.bubble-three { top: 25%; left: 2%; width: 9px; height: 9px; animation-delay: -5s; }
.bubble-four { top: 31%; right: 6%; width: 15px; height: 15px; animation-delay: -2.1s; }
.bubble-five { top: 46%; left: 5%; width: 7px; height: 7px; animation-delay: -4.2s; }
.bubble-six { top: 55%; right: 3%; width: 11px; height: 11px; animation-delay: -1.4s; }
.bubble-seven { top: 67%; left: 15%; width: 18px; height: 18px; animation-delay: -5.8s; }
.bubble-eight { top: 75%; right: 18%; width: 8px; height: 8px; animation-delay: -2.8s; }
.bubble-nine { top: 85%; left: 34%; width: 10px; height: 10px; animation-delay: -4.8s; }
.bubble-ten { top: 19%; left: 36%; width: 6px; height: 6px; animation-delay: -6.1s; }
.bubble-eleven { top: 42%; right: 23%; width: 6px; height: 6px; animation-delay: -3.2s; }
.bubble-twelve { top: 92%; right: 37%; width: 13px; height: 13px; animation-delay: -1.8s; }

/* Give the logo panel more visual weight without making it heavy. */
.hero-glass-core {
    top: 50px;
    width: 340px;
    height: 400px;
    border-radius: 46px;
}
.hero-core-logo {
    width: 196px;
    height: 196px;
    margin-top: 10px;
}
.hero-core-logo img {
    width: 170px;
    height: 170px;
}
@keyframes hero-bubble-rise {
    0%, 100% {
        opacity: 0;
        transform: translate3d(0, 15px, 0) scale(.55);
    }
    18%, 72% {
        opacity: .78;
    }
    50% {
        opacity: 1;
        transform: translate3d(7px, -14px, 0) scale(1);
    }
    86% {
        opacity: .18;
        transform: translate3d(-5px, -28px, 0) scale(.72);
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-bubble {
        animation: none;
        opacity: .58;
    }
}
@media (max-width: 560px) {
    .hero-glass-core {
        top: 42px;
    }
}

/* Very light bubbles across the whole hero, behind the copy and glass artwork. */
.hero-page-bubbles {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-page-bubble {
    position: absolute;
    display: block;
    width: 28px;
    height: 28px;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: 0;
    box-shadow: inset 3px 3px 8px rgba(255, 255, 255, .72), 0 8px 22px currentColor;
    animation: hero-page-bubble-drift 13s ease-in-out infinite;
}
.hero-page-bubble::after {
    content: "";
    position: absolute;
    top: 18%;
    left: 20%;
    width: 24%;
    height: 24%;
    border-radius: 50%;
    background: rgba(255, 255, 255, .72);
}
.page-bubble-orange {
    color: rgba(245, 124, 32, .56);
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .7), rgba(245, 124, 32, .08) 52%, transparent 74%);
}
.page-bubble-blue {
    color: rgba(35, 143, 176, .42);
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .7), rgba(35, 143, 176, .08) 52%, transparent 74%);
}
.page-bubble-green {
    color: rgba(66, 170, 145, .4);
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .7), rgba(66, 170, 145, .08) 52%, transparent 74%);
}
.page-bubble-one { top: 15%; inset-inline-start: 4%; width: 42px; height: 42px; animation-delay: -2s; }
.page-bubble-two { top: 27%; inset-inline-start: 28%; width: 18px; height: 18px; animation-delay: -8s; }
.page-bubble-three { top: 10%; inset-inline-end: 25%; width: 24px; height: 24px; animation-delay: -5s; }
.page-bubble-four { top: 49%; inset-inline-end: 5%; width: 52px; height: 52px; animation-delay: -10s; }
.page-bubble-five { bottom: 17%; inset-inline-start: 13%; width: 22px; height: 22px; animation-delay: -7s; }
.page-bubble-six { bottom: 30%; inset-inline-start: 43%; width: 13px; height: 13px; animation-delay: -1s; }
.page-bubble-seven { bottom: 12%; inset-inline-end: 31%; width: 34px; height: 34px; animation-delay: -11s; }
.page-bubble-eight { bottom: 8%; inset-inline-end: 7%; width: 16px; height: 16px; animation-delay: -4s; }
@keyframes hero-page-bubble-drift {
    0%, 100% { opacity: 0; transform: translate3d(0, 12px, 0) scale(.78); }
    20%, 72% { opacity: .28; }
    48% { opacity: .46; transform: translate3d(12px, -16px, 0) scale(1); }
    86% { opacity: .08; transform: translate3d(-8px, -26px, 0) scale(.86); }
}
html[data-theme="dark"] .hero-page-bubble {
    box-shadow: inset 3px 3px 8px rgba(255, 255, 255, .16), 0 8px 22px currentColor;
}
@media (max-width: 560px) {
    .page-bubble-two,
    .page-bubble-six,
    .page-bubble-eight {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-page-bubble {
        animation: none;
        opacity: .2;
    }
}

/* Floating glass header: stays visible while the user moves through the sections. */
.site-header {
    position: sticky;
    top: 12px;
    z-index: 30;
    width: min(calc(100% - 32px), 1280px);
    margin: 10px auto 0;
    border: 0;
    border-radius: 22px;
    background: rgba(255, 255, 255, .48);
    box-shadow: 0 12px 35px rgba(26, 92, 125, .08), 0 1px 0 rgba(255, 255, 255, .58) inset;
    -webkit-backdrop-filter: blur(14px) saturate(1.08);
    backdrop-filter: blur(14px) saturate(1.08);
    transition: background .2s, box-shadow .2s, border-color .2s, transform .2s;
}
.site-header.scrolled {
    background: rgba(255, 255, 255, .64);
    box-shadow: 0 15px 38px rgba(25, 95, 135, .13), 0 1px 0 rgba(255, 255, 255, .72) inset;
}
.nav-shell {
    height: 76px;
    min-height: 0;
    padding-inline: 20px;
}
.brand {
    gap: 10px;
}
.brand-symbol {
    width: 46px;
    height: 46px;
}
.brand strong {
    color: #195f87;
    font-size: 18px;
}
.brand small {
    color: #438bc8;
}
.desktop-nav {
    gap: clamp(16px, 2.25vw, 31px);
}
.desktop-nav a {
    position: relative;
    padding-block: 8px;
    color: #386d8d;
    font-size: 12px;
    white-space: nowrap;
}
.desktop-nav a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 1px;
    height: 2px;
    border-radius: 2px;
    background: #f57c20;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}
.desktop-nav a.is-active {
    color: #195f87;
}
.desktop-nav a.is-active::after {
    transform: scaleX(1);
}
.desktop-nav a:hover {
    color: #f57c20;
}
.nav-actions {
    gap: 8px;
}
.lang-btn,
.theme-toggle {
    height: 40px;
    border-color: rgba(169, 220, 235, .78);
    border-radius: 999px;
    background: rgba(255, 255, 255, .48);
    color: #195f87;
}
.lang-btn {
    min-width: 47px;
}
.theme-toggle {
    width: 40px;
}
.lang-btn:hover,
.theme-toggle:hover {
    border-color: #f57c20;
    background: rgba(255, 248, 242, .86);
    color: #f57c20;
}
.nav-verify {
    min-height: 40px;
    padding: 10px 15px;
    border: 1px solid #238fb0;
    border-radius: 999px;
    background: #238fb0;
    box-shadow: 0 7px 16px rgba(35, 143, 176, .16);
}
.nav-verify:hover {
    background: #195f87;
    border-color: #195f87;
}
.nav-verify svg {
    color: #ffb06f;
}
.hamburger {
    background: rgba(239, 248, 251, .8);
    border: 1px solid rgba(169, 220, 235, .72);
}
.mobile-nav.open {
    border: 0;
    border-radius: 0 0 18px 18px;
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}
.mobile-nav a {
    position: relative;
}
.mobile-nav a.is-active {
    color: #f57c20;
}
.mobile-nav a.is-active::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: #f57c20;
}
section[id] {
    scroll-margin-top: 110px;
}
html[data-theme="dark"] .site-header {
    border: 0;
    background: rgba(16, 43, 57, .58);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .22), 0 1px 0 rgba(255, 255, 255, .05) inset;
}
html[data-theme="dark"] .site-header.scrolled {
    background: rgba(16, 43, 57, .92);
}
html[data-theme="dark"] .desktop-nav a,
html[data-theme="dark"] .brand strong {
    color: #e3f4f8;
}
html[data-theme="dark"] .lang-btn,
html[data-theme="dark"] .theme-toggle {
    border-color: #3e7182;
    background: rgba(255, 255, 255, .04);
    color: #b9dfeb;
}
html[data-theme="dark"] .mobile-nav.open {
    background: rgba(16, 43, 57, .78);
}
@media (max-width: 800px) {
    .site-header {
        top: 8px;
        width: calc(100% - 16px);
        margin-top: 8px;
        border-radius: 17px;
    }
    .nav-shell {
        height: 68px;
        padding-inline: 13px;
    }
    .brand-symbol {
        width: 42px;
        height: 42px;
    }
    .brand strong {
        font-size: 16px;
    }
    .brand small {
        font-size: 8px;
    }
    .nav-actions {
        gap: 6px;
    }
    .nav-verify,
    .lang-btn,
    .theme-toggle {
        height: 36px;
    }
    .nav-verify {
        display: none;
    }
    .lang-btn {
        min-width: 40px;
    }
    .theme-toggle {
        width: 36px;
    }
    .mobile-nav.open {
        top: 100%;
        padding: 16px 18px 18px;
    }
}

/* Match the full-hero bubbles to the small bubbles around the logo. */
.hero-page-bubble {
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
    background: rgba(255, 255, 255, .04);
    box-shadow: none;
    filter: drop-shadow(0 6px 11px currentColor);
}
.hero-page-bubble::after {
    top: 2px;
    left: 2px;
    width: auto;
    height: auto;
    right: 2px;
    bottom: 2px;
    background: currentColor;
    opacity: .32;
}
.page-bubble-orange {
    color: #f57c20;
    background: rgba(245, 124, 32, .1);
}
.page-bubble-blue {
    color: #238fb0;
    background: rgba(35, 143, 176, .1);
}
.page-bubble-green {
    color: #42aa91;
    background: rgba(66, 170, 145, .1);
}

/* Final bubble direction: one soft orange family, with a little more presence. */
.hero-page-bubble,
.hero-glass-scene .hero-bubble {
    color: #f3a15f;
    border-color: currentColor;
    background: rgba(245, 124, 32, .1);
}
.hero-page-bubble::after,
.hero-glass-scene .hero-bubble::after {
    background: currentColor;
    opacity: .3;
}
.hero-page-bubble {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 7px 14px rgba(245, 124, 32, .26));
}
.page-bubble-one { width: 64px; height: 64px; }
.page-bubble-two { width: 28px; height: 28px; }
.page-bubble-three { width: 38px; height: 38px; }
.page-bubble-four { width: 72px; height: 72px; }
.page-bubble-five { width: 34px; height: 34px; }
.page-bubble-six { width: 20px; height: 20px; }
.page-bubble-seven { width: 52px; height: 52px; }
.page-bubble-eight { width: 26px; height: 26px; }
.hero-glass-scene .hero-bubble { filter: drop-shadow(0 7px 13px rgba(245, 124, 32, .24)); }
.hero-glass-scene .bubble-one { width: 22px; height: 22px; }
.hero-glass-scene .bubble-two { width: 14px; height: 14px; }
.hero-glass-scene .bubble-three { width: 16px; height: 16px; }
.hero-glass-scene .bubble-four { width: 24px; height: 24px; }
.hero-glass-scene .bubble-five { width: 13px; height: 13px; }
.hero-glass-scene .bubble-six { width: 18px; height: 18px; }
.hero-glass-scene .bubble-seven { width: 28px; height: 28px; }
.hero-glass-scene .bubble-eight { width: 14px; height: 14px; }
.hero-glass-scene .bubble-nine { width: 16px; height: 16px; }
.hero-glass-scene .bubble-ten { width: 12px; height: 12px; }
.hero-glass-scene .bubble-eleven { width: 12px; height: 12px; }
.hero-glass-scene .bubble-twelve { width: 20px; height: 20px; }

/* About visual: a calm glass frame with warm/cool ripples behind the card. */
.about-graphic {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .82);
    background: linear-gradient(145deg, rgba(255, 255, 255, .7), rgba(225, 244, 249, .48));
    box-shadow: 0 24px 52px rgba(25, 95, 135, .1), inset 0 1px 0 rgba(255, 255, 255, .84);
    -webkit-backdrop-filter: blur(15px) saturate(1.1);
    backdrop-filter: blur(15px) saturate(1.1);
}
.about-graphic::before,
.about-graphic::after {
    content: "";
    position: absolute;
    z-index: -1;
    display: block;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    filter: blur(14px);
    pointer-events: none;
}
.about-graphic::before {
    top: -74px;
    inset-inline-start: -48px;
    background: rgba(245, 124, 32, .16);
    animation: about-glass-glow-orange 8s ease-in-out infinite;
}
.about-graphic::after {
    right: -60px;
    bottom: -70px;
    background: rgba(35, 143, 176, .18);
    animation: about-glass-glow-blue 9s ease-in-out infinite;
}
.about-glass-waves {
    position: absolute;
    z-index: 0;
    inset: -18% -24%;
    overflow: hidden;
    pointer-events: none;
    transform: rotate(-9deg);
}
.about-wave {
    position: absolute;
    display: block;
    width: 142%;
    height: 31%;
    border: 1.5px solid rgba(35, 143, 176, .22);
    border-radius: 50%;
    opacity: .8;
    filter: drop-shadow(0 8px 14px rgba(35, 143, 176, .1));
    animation: about-wave-drift 10s ease-in-out infinite;
}
.about-wave::after {
    content: "";
    position: absolute;
    inset: 12px 15%;
    border: inherit;
    border-color: rgba(245, 124, 32, .18);
    border-radius: inherit;
}
.about-wave-one { top: 4%; inset-inline-start: -17%; border-color: rgba(245, 124, 32, .3); animation-delay: -2s; }
.about-wave-two { top: 24%; inset-inline-start: -8%; animation-delay: -5s; }
.about-wave-three { top: 45%; inset-inline-start: -20%; border-color: rgba(245, 124, 32, .2); animation-delay: -8s; }
.about-wave-four { top: 67%; inset-inline-start: -6%; border-color: rgba(35, 143, 176, .18); animation-delay: -1s; }
.about-graphic .graphic-card,
.about-graphic .graphic-caption {
    position: relative;
    z-index: 2;
}
@keyframes about-wave-drift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(.96); opacity: .48; }
    50% { transform: translate3d(18px, -10px, 0) scale(1.035); opacity: .92; }
}
@keyframes about-glass-glow-orange {
    0%, 100% { transform: translate3d(0, 0, 0); opacity: .65; }
    50% { transform: translate3d(24px, 18px, 0); opacity: 1; }
}
@keyframes about-glass-glow-blue {
    0%, 100% { transform: translate3d(0, 0, 0); opacity: .7; }
    50% { transform: translate3d(-22px, -16px, 0); opacity: 1; }
}
html[data-theme="dark"] .about-graphic {
    border-color: rgba(169, 220, 235, .22);
    background: linear-gradient(145deg, rgba(18, 55, 70, .7), rgba(13, 37, 50, .52));
    box-shadow: 0 24px 52px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .08);
}
@media (max-width: 800px) {
    .about-glass-waves {
        inset: -12% -38%;
    }
}
@media (prefers-reduced-motion: reduce) {
    .about-graphic::before,
    .about-graphic::after,
    .about-wave {
        animation: none !important;
    }
}

/* About section: benefit cards and floating learning cues. */
.about-benefits-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    color: var(--navy);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .03em;
}
.about-benefits-dot {
    width: 8px;
    height: 8px;
    flex: none;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 5px rgba(245, 124, 32, .11);
}
.values-list {
    display: grid;
    gap: 11px;
    max-width: 520px;
    margin-top: 15px;
}
.values-list > div {
    position: relative;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 61px;
    padding: 12px 15px;
    border: 1px solid #dceff6;
    border-radius: 14px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 8px 24px rgba(25, 95, 135, .055);
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.values-list > div:last-child {
    border-bottom: 1px solid #dceff6;
}
.values-list > div:hover {
    transform: translateX(-4px);
    border-color: rgba(245, 124, 32, .55);
    box-shadow: 0 12px 28px rgba(25, 95, 135, .1);
}
.values-list > div span:first-child {
    color: #f39442;
    font: 700 11px "DM Sans", sans-serif;
    letter-spacing: 1.5px;
}
.value-check {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: #e8f7fb;
    color: var(--navy2);
}
.value-check .lucide {
    width: 17px;
    height: 17px;
    stroke-width: 2.3;
}
.value-label {
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
}
.about-float-tag {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px 8px 9px;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 999px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 11px 25px rgba(25, 95, 135, .12);
    color: var(--navy);
    font-size: 11px;
    font-weight: 900;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: about-tag-float 6s ease-in-out infinite;
}
.about-float-tag-one {
    top: 26px;
    inset-inline-end: 18px;
}
.about-float-tag-two {
    bottom: 66px;
    inset-inline-start: 18px;
    animation-delay: -2.5s;
}
.about-float-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e8f7fb;
    color: var(--navy2);
}
.about-float-tag-two .about-float-icon {
    background: #fff0e2;
    color: var(--gold);
}
.about-float-icon .lucide {
    width: 15px;
    height: 15px;
    stroke-width: 2.2;
}
@keyframes about-tag-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
html[data-theme="dark"] .about-benefits-heading,
html[data-theme="dark"] .value-label,
html[data-theme="dark"] .about-float-tag {
    color: #e4f3f8;
}
html[data-theme="dark"] .values-list > div {
    border-color: #2a5364;
    background: rgba(19, 47, 62, .82);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}
html[data-theme="dark"] .values-list > div:last-child {
    border-bottom-color: #2a5364;
}
html[data-theme="dark"] .value-check,
html[data-theme="dark"] .about-float-icon {
    background: #173f50;
    color: #aee1eb;
}
html[data-theme="dark"] .about-float-tag {
    border-color: rgba(169, 220, 235, .2);
    background: rgba(19, 47, 62, .86);
}
html[data-theme="dark"] .about-float-tag-two .about-float-icon {
    background: #3e3028;
    color: #ffc18f;
}
@media (max-width: 560px) {
    .about-float-tag {
        padding: 6px 9px 6px 7px;
        font-size: 10px;
    }
    .about-float-tag-one { top: 15px; inset-inline-end: 10px; }
    .about-float-tag-two { bottom: 57px; inset-inline-start: 10px; }
    .values-list > div {
        min-height: 57px;
        padding: 10px 12px;
    }
    .value-label { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .about-float-tag { animation: none !important; }
}

/* Training fields: compact category boxes with clear visual identities. */
.focus-card {
    --focus-accent: #f57c20;
    --focus-soft: #fff1e6;
    --focus-border: #f5d8c1;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px;
    overflow: hidden;
    border: 1px solid #dceff6;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(25, 95, 135, .06);
}
.focus-card::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 24px;
    height: 3px;
    border-radius: 0 0 8px 8px;
    background: var(--focus-accent);
    opacity: .85;
}
.focus-card-computer {
    --focus-accent: #2a86b2;
    --focus-soft: #eaf7fb;
    --focus-border: #c5e7f3;
}
.focus-card-languages {
    --focus-accent: #6b82d8;
    --focus-soft: #eef1ff;
    --focus-border: #d8defc;
}
.focus-card:hover {
    transform: translateY(-6px);
    border-color: var(--focus-accent);
    box-shadow: 0 20px 42px rgba(25, 95, 135, .12);
}
.focus-card-top {
    position: relative;
    z-index: 1;
    align-items: center;
    color: var(--focus-accent);
}
.focus-card-top .card-num {
    color: var(--focus-accent);
}
.focus-card-top .card-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--focus-border);
    border-radius: 14px;
    background: var(--focus-soft);
    color: var(--focus-accent);
}
.focus-card-top .card-icon .lucide {
    width: 23px;
    height: 23px;
    stroke-width: 1.9;
}
.focus-card .card-art {
    display: none;
}
.focus-card h3 {
    position: relative;
    z-index: 1;
    margin: 23px 0 8px;
    color: var(--ink);
    font-size: 23px;
}
.focus-card p {
    min-height: 0;
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.9;
}
.focus-specialties {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0;
    margin: 0 0 19px;
    padding: 8px 12px;
    border: 1px solid #e2f1f6;
    border-radius: 15px;
    background: #f8fcfd;
}
.focus-specialties li {
    min-height: 35px;
    display: flex;
    align-items: center;
    padding-block: 6px;
    padding-inline-start: 28px;
    border-bottom: 1px solid #e7f3f7;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}
.focus-specialties li:last-child {
    border-bottom: 0;
}
.focus-specialties li::before {
    top: 50%;
    width: 18px;
    height: 18px;
    border: 1px solid var(--focus-border);
    background: var(--focus-soft);
    transform: translateY(-50%);
}
.focus-specialties li::after {
    content: "";
    position: absolute;
    top: 50%;
    inset-inline-start: 6px;
    width: 4px;
    height: 8px;
    border-right: 1.5px solid var(--focus-accent);
    border-bottom: 1.5px solid var(--focus-accent);
    transform: translateY(-65%) rotate(45deg);
}
.focus-card .card-tag {
    align-self: flex-start;
    margin-top: auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--focus-soft);
    color: var(--focus-accent);
    font-size: 10px;
    letter-spacing: 1.5px;
}
html[data-theme="dark"] .focus-card {
    border-color: #2a5364;
    background: #132f3e;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .12);
}
html[data-theme="dark"] .focus-card:hover {
    border-color: var(--focus-accent);
}
html[data-theme="dark"] .focus-card h3 {
    color: #e4f3f8;
}
html[data-theme="dark"] .focus-specialties {
    border-color: #2a5364;
    background: #102c3a;
}
html[data-theme="dark"] .focus-specialties li {
    border-bottom-color: #24495a;
}
@media (max-width: 560px) {
    .focus-card {
        padding: 21px;
    }
    .focus-card h3 {
        margin-top: 19px;
    }
}

/* Use real Lucide icons for every training specialty. */
.focus-specialties li {
    gap: 10px;
    padding-inline-start: 0;
}
.focus-specialties li::before,
.focus-specialties li::after {
    display: none;
}
.focus-specialties .specialty-icon {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: none;
    border: 1px solid var(--focus-border);
    border-radius: 7px;
    background: var(--focus-soft);
    color: var(--focus-accent);
}
.focus-specialties .specialty-icon .lucide {
    width: 13px;
    height: 13px;
    stroke-width: 2;
}
.focus-specialties li > span {
    min-width: 0;
    flex: 1;
}
html[data-theme="dark"] .focus-specialties .specialty-icon {
    border-color: #356477;
}

/* Keep every specialty as a clear, separate category tile. */
.focus-specialties {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 20px;
    padding: 0;
    border: 0;
    background: transparent;
}
.focus-specialties li,
.focus-specialties li:last-child {
    min-height: 48px;
    padding: 9px 10px;
    border: 1px solid #dceff6;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 5px 14px rgba(25, 95, 135, .045);
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.focus-specialties li:hover {
    transform: translateY(-2px);
    border-color: var(--focus-accent);
    box-shadow: 0 8px 18px rgba(25, 95, 135, .09);
}
html[data-theme="dark"] .focus-specialties li,
html[data-theme="dark"] .focus-specialties li:last-child {
    border-color: #2a5364;
    background: #132f3e;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .1);
}
@media (max-width: 600px) {
    .focus-specialties {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 410px) {
    .focus-specialties {
        grid-template-columns: 1fr;
    }
}

/* Certificate system: turn the process into a living verification experience. */
.process-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 22%, rgba(245, 124, 32, .17), transparent 25%),
        radial-gradient(circle at 92% 82%, rgba(169, 220, 235, .15), transparent 28%),
        linear-gradient(135deg, #0d4f75, #195f87 54%, #124c70);
}
.process-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .16;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom right, black, transparent 72%);
}
.process-section::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    inset-inline-end: -150px;
    top: 14%;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(255, 255, 255, .035), 0 0 0 56px rgba(255, 255, 255, .025);
    pointer-events: none;
}
.process-grid {
    position: relative;
    z-index: 1;
    align-items: center;
}
.process-intro {
    position: relative;
}
.certificate-preview {
    position: relative;
    isolation: isolate;
    margin: 0 0 32px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(232, 248, 252, .94));
    color: #1f648e;
    box-shadow: 0 22px 45px rgba(3, 31, 52, .2), inset 0 1px 0 #ffffff;
    transform: rotate(-1.2deg);
    animation: certificate-preview-float 7s ease-in-out infinite;
}
.certificate-preview::before,
.certificate-preview::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(35, 143, 176, .16);
    border-radius: 50%;
    pointer-events: none;
}
.certificate-preview::before {
    width: 230px;
    height: 230px;
    top: -130px;
    inset-inline-end: -60px;
}
.certificate-preview::after {
    width: 170px;
    height: 170px;
    bottom: -110px;
    inset-inline-start: -45px;
    border-color: rgba(245, 124, 32, .18);
}
.certificate-preview-top,
.certificate-preview-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font: 700 9px "DM Sans", sans-serif;
    letter-spacing: 1.5px;
}
.certificate-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #e6f7ef;
    color: #198252;
    font-size: 8px;
    letter-spacing: .5px;
}
.certificate-status .lucide {
    width: 13px;
    height: 13px;
}
.certificate-preview-body {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 26px 0;
}
.certificate-seal {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    flex: none;
    border: 1px solid rgba(245, 124, 32, .4);
    border-radius: 50%;
    background: #fff4e9;
    color: #f57c20;
    box-shadow: 0 0 0 7px rgba(245, 124, 32, .08);
}
.certificate-seal .lucide {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}
.certificate-preview-title {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.certificate-preview-title small {
    color: #f57c20;
    font: 700 9px "DM Sans", sans-serif;
    letter-spacing: 2px;
}
.certificate-preview-title strong {
    margin-top: 4px;
    color: #1d638c;
    font: 900 22px/1.2 "DM Sans", sans-serif;
    letter-spacing: 1px;
}
.certificate-preview-title > span {
    margin-top: 5px;
    color: #6c9bb1;
    font-size: 11px;
}
.certificate-preview-bottom {
    padding-top: 13px;
    border-top: 1px dashed rgba(35, 143, 176, .28);
    color: #6c9bb1;
    letter-spacing: .8px;
}
.certificate-code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    direction: ltr;
}
.certificate-code .lucide {
    width: 14px;
    height: 14px;
    color: #f57c20;
}
.certificate-qr {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(35, 143, 176, .24);
    border-radius: 7px;
    background: #ffffff;
    color: #1f648e;
}
.certificate-qr .lucide {
    width: 20px;
    height: 20px;
}
.process-steps {
    position: relative;
    gap: 13px;
    padding: 9px 0;
}
.process-steps::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 42px;
    bottom: 42px;
    inset-inline-start: 71px;
    width: 1px;
    background: linear-gradient(to bottom, rgba(246, 179, 123, .8), rgba(169, 220, 235, .25));
}
.process-step {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 38px 45px minmax(0, 1fr);
    align-items: start;
    gap: 13px;
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 17px;
    background: rgba(7, 46, 70, .3);
    box-shadow: 0 12px 28px rgba(3, 31, 52, .1);
    transition: transform .2s, border-color .2s, background .2s;
}
.process-step:first-child {
    padding-top: 17px;
}
.process-step:hover {
    transform: translateX(-5px);
    border-color: rgba(246, 179, 123, .62);
    background: rgba(7, 46, 70, .48);
}
.process-step-number {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(246, 179, 123, .52);
    border-radius: 11px;
    background: rgba(246, 179, 123, .1);
    color: #f6b37b;
    font: 700 12px "DM Sans", sans-serif;
}
.process-step-icon {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(169, 220, 235, .26);
    border-radius: 14px;
    background: rgba(169, 220, 235, .1);
    color: #a9dceb;
}
.process-step-icon .lucide {
    width: 21px;
    height: 21px;
    stroke-width: 1.8;
}
.process-step strong {
    display: block;
    padding-top: 3px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
}
.process-step p {
    margin: 5px 0 0;
    color: #c5e7f3;
    font-size: 12px;
    line-height: 1.8;
}
html[data-theme="dark"] .process-section {
    background:
        radial-gradient(circle at 12% 22%, rgba(245, 124, 32, .14), transparent 25%),
        linear-gradient(135deg, #082f46, #0b415e 54%, #092f46);
}
html[data-theme="dark"] .certificate-preview {
    border-color: rgba(169, 220, 235, .25);
    background: linear-gradient(145deg, #173f50, #122f3d);
    color: #dff3f7;
}
html[data-theme="dark"] .certificate-preview-title strong,
html[data-theme="dark"] .certificate-qr {
    color: #dff3f7;
}
html[data-theme="dark"] .certificate-preview-title > span,
html[data-theme="dark"] .certificate-preview-bottom {
    color: #a8c7d3;
}
html[data-theme="dark"] .certificate-qr {
    border-color: #356477;
    background: #102c3a;
}
@keyframes certificate-preview-float {
    0%, 100% { transform: rotate(-1.2deg) translateY(0); }
    50% { transform: rotate(1deg) translateY(-6px); }
}
@media (max-width: 800px) {
    .certificate-preview {
        max-width: 560px;
        margin-inline: auto;
    }
    .process-steps::before {
        inset-inline-start: 71px;
    }
}
@media (max-width: 560px) {
    .certificate-preview {
        padding: 17px;
        margin-bottom: 27px;
    }
    .certificate-preview-title strong {
        font-size: 18px;
    }
    .certificate-preview-title > span {
        font-size: 10px;
    }
    .process-step {
        grid-template-columns: 34px 40px minmax(0, 1fr);
        gap: 9px;
        padding: 13px;
    }
    .process-step-number {
        width: 34px;
        height: 34px;
        font-size: 10px;
    }
    .process-step-icon {
        width: 40px;
        height: 40px;
    }
    .process-steps::before {
        inset-inline-start: 64px;
    }
    .process-step strong {
        font-size: 14px;
    }
    .process-step p {
        font-size: 11px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .certificate-preview { animation: none !important; transform: none; }
}

/* Training category cards: a soft colour ripple follows the pointer. */
.focus-card {
    --focus-ripple: rgba(245, 124, 32, .23);
}
.focus-card-computer {
    --focus-ripple: rgba(42, 134, 178, .23);
}
.focus-card-languages {
    --focus-ripple: rgba(107, 130, 216, .23);
}
.focus-card::before {
    z-index: 2;
}
.focus-card::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle 170px at var(--focus-pointer-x, 50%) var(--focus-pointer-y, 50%), var(--focus-ripple), transparent 72%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease;
}
.focus-card.is-pointer-active::after {
    opacity: 1;
}
.focus-card > * {
    position: relative;
    z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
    .focus-card::after { transition: none; }
}

/* Keep the category frame stable while hovering; only the ripple and lift respond. */
.focus-card:hover {
    border-color: #dceff6;
}
html[data-theme="dark"] .focus-card:hover {
    border-color: #2a5364;
}

/* Course cards use the same pointer ripple without changing their frame. */
.course-card {
    --course-ripple: rgba(245, 124, 32, .2);
    position: relative;
    overflow: hidden;
}
.course-card::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle 180px at var(--focus-pointer-x, 50%) var(--focus-pointer-y, 50%), var(--course-ripple), transparent 72%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease;
}
.course-card.is-pointer-active::after {
    opacity: 1;
}
.course-card > * {
    position: relative;
    z-index: 1;
}
.course-card:hover {
    border-color: #dbeff7;
}
html[data-theme="dark"] .course-card:hover {
    border-color: #2a5364;
}
@media (prefers-reduced-motion: reduce) {
    .course-card::after { transition: none; }
}

/* Partner cards: a polished spotlight replaces the coloured hover border. */
.partner-card {
    --partner-ripple: rgba(35, 143, 176, .18);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-color: var(--line);
    background: linear-gradient(145deg, #ffffff 0%, #f7fcfe 100%);
    transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s ease, background .28s ease;
}
.partner-card::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle 165px at var(--focus-pointer-x, 50%) var(--focus-pointer-y, 50%), var(--partner-ripple), transparent 72%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
}
.partner-card::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 150px;
    height: 150px;
    inset-inline-end: -70px;
    bottom: -78px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 124, 32, .14), transparent 68%);
    opacity: .65;
    pointer-events: none;
    transition: transform .35s ease, opacity .35s ease;
}
.partner-card.is-pointer-active::before { opacity: 1; }
.partner-card:hover {
    transform: translateY(-6px);
    border-color: var(--line);
    box-shadow: 0 18px 42px rgba(25, 95, 135, .13);
    background: linear-gradient(145deg, #ffffff 0%, #f1fbfe 100%);
}
.partner-card:hover::after { transform: scale(1.22); opacity: .9; }
.partner-card > * { position: relative; z-index: 1; }
.partner-card img {
    transition: transform .35s ease, filter .35s ease;
}
.partner-card:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 12px rgba(25, 95, 135, .12));
}
html[data-theme="dark"] .partner-card {
    border-color: #2a5364;
    background: linear-gradient(145deg, #132f3e 0%, #102b39 100%);
}
html[data-theme="dark"] .partner-card:hover {
    border-color: #2a5364;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
    background: linear-gradient(145deg, #163949 0%, #123140 100%);
}
@media (prefers-reduced-motion: reduce) {
    .partner-card::before,
    .partner-card::after { transition: none; }
    .partner-card,
    .partner-card img { transition: none; }
}

/* Certificate portal CTA: a distinct, trusted-looking gateway instead of a plain button. */
.certificate-portal-button {
    --portal-blue: #195f87;
    --portal-cyan: #238fb0;
    position: relative;
    isolation: isolate;
    min-width: 244px;
    min-height: 78px;
    padding: 11px 13px;
    gap: 11px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 18px;
    background: linear-gradient(135deg, var(--portal-blue), var(--portal-cyan));
    box-shadow: 0 15px 30px rgba(25, 95, 135, .2), inset 0 1px 0 rgba(255, 255, 255, .16);
    transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s ease, background .28s ease;
}
.certificate-portal-button::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 150px;
    height: 150px;
    inset-inline-start: -62px;
    top: -76px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    transition: transform .4s ease;
}
.certificate-portal-button::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .2) 48%, transparent 66%);
    transform: translateX(130%);
    transition: transform .6s ease;
    pointer-events: none;
}
.certificate-portal-button:hover {
    transform: translateY(-5px) scale(1.02);
    background: linear-gradient(135deg, #174f73, #2b9fbe);
    box-shadow: 0 21px 38px rgba(25, 95, 135, .28), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.certificate-portal-button:hover::before { transform: scale(1.5); }
.certificate-portal-button:hover::after { transform: translateX(-130%); }
.certificate-portal-button:focus-visible {
    outline: 3px solid rgba(245, 124, 32, .45);
    outline-offset: 4px;
}
.certificate-portal-icon,
.certificate-portal-arrow {
    display: grid;
    place-items: center;
    flex: none;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .12);
}
.certificate-portal-icon {
    width: 45px;
    height: 45px;
    border-radius: 14px;
    color: #ffd09e;
}
.certificate-portal-icon .lucide { width: 25px; height: 25px; stroke-width: 1.8; }
.certificate-portal-copy {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-align: start;
}
.certificate-portal-copy > span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
}
.certificate-portal-copy small {
    color: rgba(255, 255, 255, .74);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
}
.certificate-portal-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #ffffff;
    transition: transform .28s ease, background .28s ease;
}
.certificate-portal-arrow .lucide { width: 16px; height: 16px; stroke-width: 2.3; }
.certificate-portal-button:hover .certificate-portal-arrow {
    transform: translate(-2px, -2px);
    background: rgba(245, 124, 32, .92);
}
html[data-theme="dark"] .certificate-portal-button {
    border-color: rgba(174, 225, 235, .2);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .12);
}
@media (max-width: 560px) {
    .certificate-portal-button {
        width: 100%;
        min-width: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .certificate-portal-button,
    .certificate-portal-button::before,
    .certificate-portal-button::after,
    .certificate-portal-arrow { transition: none; }
}

/* Contact cards: keep the frame calm and use a soft interactive spotlight instead. */
.contact-card {
    --contact-ripple: rgba(35, 143, 176, .16);
    position: relative;
    isolation: isolate;
    border-color: #d8eef6;
    background: linear-gradient(145deg, #ffffff 0%, #f8fdff 100%);
    transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s ease, background .28s ease;
}
.contact-card::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle 155px at var(--focus-pointer-x, 50%) var(--focus-pointer-y, 50%), var(--contact-ripple), transparent 72%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .26s ease;
}
.contact-card.is-pointer-active::after { opacity: 1; }
.contact-card:hover,
a.contact-card:hover,
.contact-more-button:hover {
    transform: translateY(-5px);
    border-color: #d8eef6;
    background: linear-gradient(145deg, #ffffff 0%, #f2fbfe 100%);
    box-shadow: 0 17px 38px rgba(28, 124, 169, .13);
}
.contact-card > * { position: relative; z-index: 1; }
.contact-card .contact-icon,
.contact-card .contact-arrow {
    transition: transform .28s ease, background .28s ease, color .28s ease;
}
.contact-card:hover .contact-icon {
    transform: scale(1.07) rotate(-3deg);
}
.contact-card:hover .contact-arrow {
    transform: translate(-2px, -2px);
}
html[data-theme="dark"] .contact-card {
    border-color: #2a5364;
    background: linear-gradient(145deg, #132f3e 0%, #102b39 100%);
}
html[data-theme="dark"] .contact-card:hover,
html[data-theme="dark"] a.contact-card:hover,
html[data-theme="dark"] .contact-more-button:hover {
    border-color: #2a5364;
    background: linear-gradient(145deg, #163949 0%, #123140 100%);
    box-shadow: 0 17px 38px rgba(0, 0, 0, .22);
}
@media (prefers-reduced-motion: reduce) {
    .contact-card,
    .contact-card::after,
    .contact-card .contact-icon,
    .contact-card .contact-arrow { transition: none; }
}

/* FAQ WhatsApp CTA: a warm, recognizable contact card for unanswered questions. */
.faq-cta {
    gap: 22px;
}
.faq-cta-question {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
}
.faq-cta-question::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 5px rgba(245, 124, 32, .1);
}
.faq-whatsapp-button {
    --faq-wa-green: #25a95b;
    position: relative;
    isolation: isolate;
    min-width: 255px;
    min-height: 68px;
    padding: 10px 12px;
    gap: 11px;
    overflow: visible;
    border: 1px solid rgba(37, 169, 91, .28);
    border-radius: 16px;
    background: linear-gradient(135deg, #1f9f57, #2bc76d);
    color: #ffffff;
    box-shadow: 0 13px 28px rgba(37, 169, 91, .2), inset 0 1px 0 rgba(255, 255, 255, .2);
    text-align: start;
    transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s ease, background .28s ease;
}
.faq-whatsapp-button::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(115deg, transparent 26%, rgba(255, 255, 255, .2) 49%, transparent 70%);
    transform: translateX(125%);
    transition: transform .6s ease;
    pointer-events: none;
}
.faq-whatsapp-button::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -5px;
    border: 1px solid rgba(37, 169, 91, .3);
    border-radius: 20px;
    opacity: 0;
    pointer-events: none;
    animation: faq-whatsapp-ring 2.8s ease-out infinite;
}
.faq-whatsapp-button:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 169, 91, .28);
    background: linear-gradient(135deg, #18884a, #21b85e);
    color: #ffffff;
    box-shadow: 0 19px 35px rgba(37, 169, 91, .28), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.faq-whatsapp-button:hover::before { transform: translateX(-125%); }
.faq-whatsapp-icon,
.faq-whatsapp-arrow {
    display: grid;
    place-items: center;
    flex: none;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .14);
}
.faq-whatsapp-icon {
    width: 43px;
    height: 43px;
    border-radius: 13px;
}
.faq-whatsapp-icon .lucide { width: 24px; height: 24px; stroke-width: 1.9; }
.faq-whatsapp-copy {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.faq-whatsapp-copy > span {
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
}
.faq-whatsapp-copy small {
    color: rgba(255, 255, 255, .76);
    font-size: 10px;
    line-height: 1.2;
}
.faq-whatsapp-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: transform .28s ease, background .28s ease;
}
.faq-whatsapp-arrow .lucide { width: 15px; height: 15px; stroke-width: 2.3; }
.faq-whatsapp-button:hover .faq-whatsapp-arrow {
    transform: translate(-2px, -2px);
    background: rgba(255, 255, 255, .24);
}
@keyframes faq-whatsapp-ring {
    0% { opacity: .55; transform: scale(.96); }
    70%, 100% { opacity: 0; transform: scale(1.04); }
}
@media (max-width: 600px) {
    .faq-whatsapp-button {
        width: min(100%, 340px);
        min-width: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .faq-whatsapp-button,
    .faq-whatsapp-button::before,
    .faq-whatsapp-button::after,
    .faq-whatsapp-arrow { transition: none; }
    .faq-whatsapp-button::after { animation: none; opacity: .22; }
}

/* Premium footer: a layered closing section that gives the page a stronger finish. */
.footer {
    position: relative;
    overflow: hidden;
    padding: 82px 0 0;
    background:
        radial-gradient(circle at 8% 18%, rgba(245, 124, 32, .16), transparent 25%),
        radial-gradient(circle at 91% 8%, rgba(129, 220, 237, .17), transparent 30%),
        linear-gradient(135deg, #082d45 0%, #135b79 57%, #0c3a58 100%);
}
.footer > .container {
    position: relative;
    z-index: 2;
}
.footer-aurora {
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
}
.footer-aurora-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(2px);
    opacity: .62;
    animation: footer-orb-float 11s ease-in-out infinite;
}
.footer-aurora-orb-one {
    width: 300px;
    height: 300px;
    inset-inline-start: -145px;
    top: -120px;
    background: radial-gradient(circle, rgba(50, 180, 207, .22), transparent 68%);
}
.footer-aurora-orb-two {
    width: 230px;
    height: 230px;
    inset-inline-end: 8%;
    bottom: -150px;
    background: radial-gradient(circle, rgba(245, 124, 32, .17), transparent 68%);
    animation-delay: -4s;
}
.footer-aurora-grid {
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image: linear-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .18) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 72%);
}
.footer-main {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(180px, .72fr) minmax(290px, 1fr);
    gap: 20px;
    padding-bottom: 44px;
}
.footer-brand-panel,
.footer-links-panel,
.footer-contact-panel {
    position: relative;
    min-width: 0;
    padding: 27px;
    border: 1px solid rgba(196, 237, 246, .17);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .045));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 18px 50px rgba(3, 27, 43, .12);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}
.footer-brand-panel {
    overflow: hidden;
    padding: 31px;
}
.footer-brand-panel::after {
    content: "✦";
    position: absolute;
    inset-inline-end: 20px;
    bottom: -38px;
    color: rgba(255, 255, 255, .07);
    font-size: 150px;
    line-height: 1;
    pointer-events: none;
}
.footer-mark {
    display: block;
    margin-bottom: 16px;
    color: #f6b37b;
    font: 800 10px/1 "DM Sans", sans-serif;
    letter-spacing: 3px;
}
.footer-brand-panel .footer-brand {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
}
.footer-brand-panel .footer-brand .brand-symbol {
    width: 72px;
    height: 72px;
}
.footer-brand-panel > p {
    position: relative;
    z-index: 1;
    max-width: 340px;
    margin: 0 0 19px;
    color: #b8dce8;
    font-size: 13px;
    line-height: 1.9;
}
.footer-trust-line {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 7px 10px;
    border: 1px solid rgba(246, 179, 123, .25);
    border-radius: 999px;
    background: rgba(245, 124, 32, .08);
    color: #fbd0aa;
    font-size: 10px;
    font-weight: 800;
}
.footer-trust-icon {
    display: grid;
    place-items: center;
    color: #f6b37b;
}
.footer-trust-icon .lucide {
    width: 14px;
    height: 14px;
}
.footer-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}
.footer-heading::after {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: #f57c20;
}
.footer-links-panel .footer-links {
    min-width: 0;
    gap: 6px;
    font-size: 12px;
}
.footer-links-panel .footer-links a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #c8e6ef;
    transition: transform .24s ease, color .24s ease, background .24s ease, border-color .24s ease;
}
.footer-links-panel .footer-links a .lucide {
    width: 16px;
    height: 16px;
    color: #f6b37b;
    stroke-width: 1.8;
}
.footer-links-panel .footer-links a:hover {
    transform: translateX(-4px);
    border-color: rgba(196, 237, 246, .14);
    background: rgba(255, 255, 255, .09);
    color: #ffffff;
}
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(196, 237, 246, .11);
    border-radius: 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, .055);
    transition: transform .24s ease, background .24s ease, border-color .24s ease;
}
.footer-contact-item:hover {
    transform: translateY(-2px);
    border-color: rgba(246, 179, 123, .38);
    background: rgba(255, 255, 255, .11);
}
.footer-contact-icon {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    flex: none;
    border-radius: 11px;
    background: rgba(246, 179, 123, .15);
    color: #f6b37b;
}
.footer-contact-icon .lucide {
    width: 18px;
    height: 18px;
}
.footer-contact-item > span:nth-child(2) {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
}
.footer-contact-item small {
    color: #9fc8d6;
    font-size: 9px;
}
.footer-contact-item strong {
    overflow-wrap: anywhere;
    color: #ffffff;
    font: 700 12px/1.45 "DM Sans", Arial, sans-serif;
}
.footer-contact-arrow {
    width: 16px;
    height: 16px;
    flex: none;
    color: #f6b37b;
    transition: transform .24s ease;
}
.footer-contact-item:hover .footer-contact-arrow {
    transform: translate(-2px, -2px);
}
.footer-location-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 4px 0;
}
.footer-location {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #b8dce8;
    font-size: 10px;
    line-height: 1.7;
}
.footer-location .lucide {
    width: 15px;
    height: 15px;
    flex: none;
    margin-top: 2px;
    color: #f6b37b;
}
.footer .footer-socials {
    position: relative;
    z-index: 1;
    gap: 8px;
    margin-top: 0;
}
.footer .footer-socials a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(196, 237, 246, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: #d8f1f6;
    transition: transform .24s ease, color .24s ease, background .24s ease, border-color .24s ease;
}
.footer .footer-socials a:hover {
    transform: translateY(-3px);
    border-color: rgba(246, 179, 123, .5);
    background: #f57c20;
    color: #ffffff;
}
.footer-bottom {
    position: relative;
    z-index: 1;
    min-height: 66px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    border-top: 1px solid rgba(196, 237, 246, .16);
    padding: 18px 0;
    color: #b8dce8;
}
.footer-signature {
    color: #e8f8fb;
    font: 700 10px/1.6 "DM Sans", sans-serif;
    letter-spacing: .04em;
    white-space: nowrap;
}
.footer-bottom-note {
    color: #9fc8d6;
    font-size: 10px;
    line-height: 1.7;
    text-align: center;
}
.footer-bottom-mark {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border: 1px solid rgba(246, 179, 123, .4);
    border-radius: 50%;
    color: #f6b37b;
    font: 800 9px "DM Sans", sans-serif;
    letter-spacing: .08em;
}
html[data-theme="dark"] .footer {
    background:
        radial-gradient(circle at 8% 18%, rgba(245, 124, 32, .13), transparent 25%),
        radial-gradient(circle at 91% 8%, rgba(75, 181, 207, .13), transparent 30%),
        linear-gradient(135deg, #061f31 0%, #0a3c56 57%, #082b43 100%);
}
html[data-theme="dark"] .footer-brand-panel,
html[data-theme="dark"] .footer-links-panel,
html[data-theme="dark"] .footer-contact-panel {
    border-color: rgba(174, 225, 235, .16);
    background: linear-gradient(145deg, rgba(19, 58, 75, .78), rgba(11, 43, 61, .7));
}
@keyframes footer-orb-float {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(16px, 12px, 0) scale(1.06); }
}
@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: minmax(0, 1fr) minmax(180px, .8fr);
    }
    .footer-brand-panel {
        grid-column: 1 / -1;
    }
}
@media (max-width: 560px) {
    .footer {
        padding-top: 62px;
    }
    .footer-main {
        display: flex;
        flex-direction: column;
        gap: 13px;
        padding-bottom: 28px;
    }
    .footer-brand-panel,
    .footer-links-panel,
    .footer-contact-panel {
        padding: 22px;
        border-radius: 20px;
    }
    .footer-brand-panel .footer-brand .brand-symbol {
        width: 61px;
        height: 61px;
    }
    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .footer-bottom-note {
        text-align: start;
    }
    .footer-bottom-mark {
        align-self: flex-end;
    }
}
@media (prefers-reduced-motion: reduce) {
    .footer-aurora-orb { animation: none; }
    .footer-links-panel .footer-links a,
    .footer-contact-item,
    .footer-contact-arrow,
    .footer .footer-socials a { transition: none; }
}

/* Opening loader: a branded, lightweight first impression before the page appears. */
.site-loading {
    overflow: hidden;
}
.site-loader {
    position: fixed;
    z-index: 120;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 42%, rgba(52, 167, 195, .2), transparent 24%),
        radial-gradient(circle at 15% 90%, rgba(245, 124, 32, .12), transparent 28%),
        linear-gradient(145deg, #071f31 0%, #0a3d58 52%, #0b2941 100%);
    color: #ffffff;
    opacity: 1;
    visibility: visible;
    transition: opacity .62s ease, visibility .62s ease;
}
.site-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.site-loader::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image: linear-gradient(rgba(255, 255, 255, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .2) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(ellipse at center, #000 0%, transparent 76%);
}
.site-loader::after {
    content: "";
    position: absolute;
    width: 52vw;
    height: 52vw;
    min-width: 430px;
    min-height: 430px;
    max-width: 760px;
    max-height: 760px;
    border: 1px solid rgba(182, 235, 245, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(182, 235, 245, .025), 0 0 0 70px rgba(182, 235, 245, .02);
    pointer-events: none;
}
.site-loader-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: min(100% - 36px, 360px);
    text-align: center;
}
.site-loader-emblem {
    position: relative;
    width: 174px;
    height: 174px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
}
.site-loader-ring {
    position: absolute;
    display: block;
    border: 1px solid rgba(183, 235, 245, .36);
    border-radius: 50%;
    transform: rotate(-20deg);
    animation: site-loader-ring-spin 8s linear infinite;
}
.site-loader-ring-one {
    inset: 14px;
    border-inline-start-color: rgba(245, 124, 32, .9);
    border-block-end-color: rgba(245, 124, 32, .4);
}
.site-loader-ring-two {
    inset: 33px;
    border-color: rgba(183, 235, 245, .2);
    border-inline-end-color: rgba(245, 124, 32, .82);
    animation-direction: reverse;
    animation-duration: 5.5s;
}
.site-loader-orbit {
    position: absolute;
    inset: 3px;
    display: block;
    border-radius: 50%;
    animation: site-loader-orbit-spin 5.5s linear infinite;
}
.site-loader-orbit span {
    position: absolute;
    top: 11px;
    inset-inline-start: 50%;
    width: 8px;
    height: 8px;
    border: 2px solid #ffd09e;
    border-radius: 50%;
    background: #f57c20;
    box-shadow: 0 0 18px rgba(245, 124, 32, .85);
}
.site-loader-logo-wrap {
    position: relative;
    z-index: 1;
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 29px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .06));
    box-shadow: 0 18px 42px rgba(1, 19, 33, .28), inset 0 1px 0 rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    animation: site-loader-logo-breathe 2.8s ease-in-out infinite;
}
.site-loader-logo-wrap::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(246, 179, 123, .24);
    border-radius: 35px;
    pointer-events: none;
}
.site-loader-logo-wrap img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, .18));
}
.site-loader-wordmark {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 7px;
}
.site-loader-wordmark strong {
    color: #ffffff;
    font: 800 22px/1 "DM Sans", sans-serif;
    letter-spacing: 7px;
    text-indent: 7px;
}
.site-loader-wordmark span {
    color: #b7dce8;
    font-size: 11px;
    font-weight: 700;
}
.site-loader-progress {
    position: relative;
    width: min(100%, 220px);
    height: 3px;
    overflow: hidden;
    margin-top: 25px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
}
.site-loader-progress span {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 42%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f57c20, #ffd09e, #55c9dd);
    box-shadow: 0 0 15px rgba(245, 124, 32, .55);
    animation: site-loader-progress 1.6s ease-in-out infinite;
}
.site-loader-content p {
    margin: 14px 0 0;
    color: rgba(220, 244, 249, .72);
    font-size: 10px;
    letter-spacing: .02em;
}
.site-loader-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.site-loader-particles span {
    position: absolute;
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f6b37b;
    box-shadow: 0 0 16px rgba(245, 124, 32, .7);
    animation: site-loader-particle 4.8s ease-in-out infinite;
}
.site-loader-particles span:nth-child(1) { top: 22%; inset-inline-start: 20%; animation-delay: -.8s; }
.site-loader-particles span:nth-child(2) { top: 31%; inset-inline-end: 19%; width: 4px; height: 4px; animation-delay: -2.3s; }
.site-loader-particles span:nth-child(3) { bottom: 23%; inset-inline-start: 29%; width: 3px; height: 3px; animation-delay: -3.4s; }
.site-loader-particles span:nth-child(4) { bottom: 31%; inset-inline-end: 26%; width: 6px; height: 6px; background: #82dbe7; box-shadow: 0 0 16px rgba(130, 219, 231, .65); animation-delay: -1.6s; }
@keyframes site-loader-ring-spin {
    to { transform: rotate(340deg); }
}
@keyframes site-loader-orbit-spin {
    to { transform: rotate(360deg); }
}
@keyframes site-loader-logo-breathe {
    0%, 100% { transform: scale(1); box-shadow: 0 18px 42px rgba(1, 19, 33, .28), inset 0 1px 0 rgba(255, 255, 255, .2); }
    50% { transform: scale(1.045); box-shadow: 0 22px 50px rgba(1, 19, 33, .34), 0 0 28px rgba(73, 193, 215, .12), inset 0 1px 0 rgba(255, 255, 255, .24); }
}
@keyframes site-loader-progress {
    0% { transform: translateX(-125%); }
    50% { transform: translateX(105%); }
    100% { transform: translateX(260%); }
}
@keyframes site-loader-particle {
    0%, 100% { opacity: .25; transform: translate3d(0, 8px, 0) scale(.7); }
    50% { opacity: 1; transform: translate3d(0, -10px, 0) scale(1); }
}
@media (max-width: 560px) {
    .site-loader-emblem {
        width: 148px;
        height: 148px;
    }
    .site-loader-logo-wrap {
        width: 84px;
        height: 84px;
        border-radius: 25px;
    }
    .site-loader-logo-wrap img {
        width: 62px;
        height: 62px;
    }
    .site-loader-wordmark strong {
        font-size: 19px;
        letter-spacing: 5px;
        text-indent: 5px;
    }
    .site-loader-wordmark span { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .site-loader,
    .site-loader-ring,
    .site-loader-orbit,
    .site-loader-logo-wrap,
    .site-loader-progress span,
    .site-loader-particles span { animation: none; transition: none; }
    .site-loader-progress span { inset-inline-start: 29%; }
}

/* Compact white loader modal: keep the page visible behind a soft veil and spin the logo. */
.site-loader {
    background: rgba(7, 31, 49, .2);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}
.site-loader::before,
.site-loader::after,
.site-loader-particles {
    display: none;
}
.site-loader-content {
    width: min(100% - 40px, 286px);
    padding: 26px 24px 22px;
    border: 1px solid #e6f2f6;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(25, 95, 135, .22), 0 4px 16px rgba(25, 95, 135, .1);
    color: #195f87;
}
.site-loader-emblem {
    width: 112px;
    height: 112px;
    margin-bottom: 14px;
}
.site-loader-ring {
    border-color: #d8eef5;
    animation-duration: 7s;
}
.site-loader-ring-one {
    inset: 6px;
    border-inline-start-color: #f57c20;
    border-block-end-color: #f6b37b;
}
.site-loader-ring-two {
    inset: 20px;
    border-color: #e5f4f8;
    border-inline-end-color: #4ab6cc;
    animation-duration: 5s;
}
.site-loader-orbit {
    display: none;
}
.site-loader-logo-wrap {
    width: 78px;
    height: 78px;
    border: 1px solid #d7edf4;
    border-radius: 22px;
    background: linear-gradient(145deg, #ffffff, #edf8fb);
    box-shadow: 0 11px 25px rgba(25, 95, 135, .14), inset 0 1px 0 #ffffff;
    animation: site-loader-logo-spin 2.1s linear infinite;
}
.site-loader-logo-wrap::after {
    inset: -7px;
    border-color: rgba(245, 124, 32, .23);
    border-radius: 28px;
}
.site-loader-logo-wrap img {
    width: 57px;
    height: 57px;
}
.site-loader-wordmark strong {
    color: #195f87;
    font-size: 16px;
    letter-spacing: 4px;
    text-indent: 4px;
}
.site-loader-wordmark span {
    color: #6d9bad;
    font-size: 10px;
}
.site-loader-progress {
    width: 170px;
    height: 3px;
    margin-top: 18px;
    background: #e8f4f7;
}
.site-loader-progress span {
    background: linear-gradient(90deg, #f57c20, #f6b37b, #238fb0);
    box-shadow: 0 0 12px rgba(245, 124, 32, .36);
}
.site-loader-content p {
    margin-top: 11px;
    color: #82a5b3;
    font-size: 9px;
}
@keyframes site-loader-logo-spin {
    to { transform: rotate(360deg); }
}
@media (max-width: 560px) {
    .site-loader-content {
        width: min(100% - 36px, 270px);
        padding: 23px 20px 20px;
    }
    .site-loader-emblem {
        width: 100px;
        height: 100px;
    }
    .site-loader-logo-wrap {
        width: 70px;
        height: 70px;
        border-radius: 20px;
    }
    .site-loader-logo-wrap img {
        width: 51px;
        height: 51px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .site-loader-logo-wrap { animation: none; }
}

/* Make the loader emblem fully circular, including its spinning frame. */
.site-loader-logo-wrap,
.site-loader-logo-wrap::after,
.site-loader-logo-wrap img {
    border-radius: 50%;
}

/* Keep the page underneath from looking frozen while the compact modal is active. */
body > :not(.site-loader) { transition: opacity .35s ease; }
body.site-loading > :not(.site-loader) {
    visibility: hidden;
    opacity: 0;
}
.site-loader {
    background: rgba(248, 252, 254, .96);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.site-loader-content {
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* Shared section-heading system: title first, supporting copy directly below. */
.section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: initial;
    gap: 10px;
    margin-bottom: 38px;
    text-align: center;
}
.section-head > div {
    width: 100%;
    text-align: center;
}
.section-head h2 {
    margin: 0;
    text-align: center;
}
.section-head > p {
    width: min(100%, 700px);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.section-head > .schedule-switcher {
    margin-top: 4px;
}

@media (max-width: 560px) {
    .section-head {
        gap: 8px;
        margin-bottom: 28px;
    }
    .section-head > p {
        width: min(100%, 560px);
    }
}

/* Readable typography pass: make supporting copy comfortable across the public site. */
body {
    font-size: 16px;
    line-height: 1.9;
}
html[lang="en"] body {
    line-height: 1.8;
}
.topbar {
    font-size: 12px;
}
.brand small {
    font-size: 11px;
}
.desktop-nav a,
.nav-verify {
    font-size: 13px;
}
.lang-btn {
    font-size: 13px;
}
.eyebrow,
.section-kicker {
    font-size: 13px;
}
.hero-text p,
.hero-reference .hero-text p {
    font-size: 16px;
}
.btn {
    font-size: 14px;
}
.section-head > p {
    font-size: 17px;
    line-height: 2.1;
}
.section-copy > p,
.cta-box p,
.footer-main p {
    font-size: 17px;
}
.about-benefits-heading {
    font-size: 15px;
}
.value-label {
    font-size: 16px;
}
.focus-card-top .card-num {
    font-size: 13px;
}
.focus-card h3 {
    font-size: 28px;
}
.focus-card p,
.focus-specialties li {
    font-size: 16px;
}
.focus-specialties li {
    min-height: 54px;
    line-height: 1.6;
}
.focus-card .card-tag {
    font-size: 12px;
}
.process-section p,
.process-step p {
    font-size: 16px;
}
.process-step strong {
    font-size: 19px;
}
.footer-links,
.footer-contacts {
    font-size: 14px;
}
.footer-bottom,
.minimal-contacts {
    font-size: 12px;
}
.filter-tab,
.gallery-filter,
.view-toggle,
.course-search-row input,
.course-search-row select,
.courses-filter-heading p,
.courses-filter-label,
.courses-page-filters input,
.courses-page-filters select,
.courses-back-link,
.courses-results-head p {
    font-size: 14px;
}
.course-status {
    font-size: 11px;
}
.course-card h3 {
    font-size: 22px;
}
.course-card > p {
    font-size: 16px;
}
.course-meta-item span,
.course-next span,
.course-next small {
    font-size: 14px;
}
.course-meta-item strong,
.course-next strong,
.course-actions .btn {
    font-size: 16px;
}
.schedule-date span,
.schedule-month {
    font-size: 14px;
}
.schedule-info h3 {
    font-size: 21px;
}
.schedule-info p,
.schedule-actions .btn,
.calendar-add,
.calendar-item {
    font-size: 14px;
}
.schedule-seats span {
    font-size: 13px;
}
.partner-text-logo {
    font-size: 18px;
}
.partner-name,
.gallery-item > span:last-child {
    font-size: 14px;
}
.faq-intro p,
.faq-answer p,
.faq-cta {
    font-size: 16px;
}
.faq-question {
    font-size: 19px;
}
.contact-heading p {
    font-size: 17px;
}
.contact-label,
.contact-form label,
.registration-form label {
    font-size: 14px;
}
.contact-details strong {
    font-size: 19px;
}
.contact-email {
    font-size: 17px;
}
.verify-intro p {
    font-size: 16px;
}
.box-heading h2 {
    font-size: 24px;
}
.box-heading p,
.verify-box label,
.field-hint,
.verify-info,
.result-fields span,
.result-disclaimer {
    font-size: 14px;
}
.result-head h3 {
    font-size: 21px;
}
.result-fields strong {
    font-size: 16px;
}
.contact-modal-heading p,
.modal-heading p,
.drawer-lead {
    font-size: 14px;
}
.contact-modal-info small,
.contact-form label,
.registration-form label {
    font-size: 13px;
}
.contact-modal-info strong {
    font-size: 14px;
}
.field-error {
    font-size: 13px;
}

@media (max-width: 1050px) and (min-width: 801px) {
    .desktop-nav a {
        font-size: 12px;
    }
}

@media (max-width: 560px) {
    .section-head > p {
        font-size: 16px;
    }
    .section-copy > p,
    .cta-box p {
        font-size: 16px;
    }
    .focus-card h3 {
        font-size: 25px;
    }
    .hero-text p,
    .hero-reference .hero-text p {
        font-size: 15px;
    }
    .focus-card p,
    .focus-specialties li,
    .course-card > p,
    .faq-answer p,
    .verify-intro p {
        font-size: 15px;
    }
    .focus-specialties li {
        min-height: 52px;
    }
    .course-meta-item span,
    .course-next span,
    .course-next small {
        font-size: 13px;
    }
    .course-meta-item strong,
    .course-next strong {
        font-size: 15px;
    }
    .contact-heading p {
        font-size: 15px;
    }
}

/* Final responsive hero layout: keep copy, artwork, and stats balanced on narrow screens. */
@media (max-width: 800px) {
    .hero-reference .hero-content {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 0;
        padding-block: 42px 18px;
    }
    .hero-reference .hero-text {
        width: min(100%, 680px);
        max-width: 680px;
        margin-inline: auto;
        padding: 10px 0 0;
        text-align: center;
    }
    .hero-reference .eyebrow {
        justify-content: center;
    }
    .hero-reference h1 {
        max-width: 680px;
        margin: 18px auto 15px;
        font-size: clamp(38px, 8.5vw, 58px);
        line-height: 1.18;
    }
    .hero-reference .hero-text p {
        max-width: 650px;
        margin: 0 auto 24px;
        font-size: 16px;
        line-height: 1.9;
    }
    .hero-reference .hero-actions {
        justify-content: center;
    }
    .hero-reference .hero-art {
        display: grid;
        width: 100%;
        height: 420px;
        min-height: 420px;
        margin: 0;
        place-items: center;
        overflow: hidden;
    }
    .hero-glass-scene {
        width: 520px;
        height: 430px;
        transform: scale(.8);
        transform-origin: center center;
    }
    .hero-reference .hero-bottom {
        padding-bottom: 28px;
    }
}

@media (max-width: 560px) {
    .hero-reference .hero-content {
        width: min(100% - 28px, 1180px);
        padding-block: 54px 10px;
    }
    .hero-reference .hero-text {
        padding: 0 0 6px;
    }
    .hero-reference h1 {
        max-width: 100%;
        margin: 16px auto 14px;
        font-size: clamp(35px, 10vw, 46px);
        line-height: 1.2;
        letter-spacing: -1.5px;
    }
    .hero-reference .hero-text p {
        max-width: 370px;
        margin-bottom: 20px;
        font-size: 15px;
        line-height: 1.9;
    }
    .hero-reference .hero-actions {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    .hero-reference .hero-actions .btn {
        width: min(100%, 320px);
        min-height: 48px;
        padding-inline: 18px;
        font-size: 14px;
    }
    .hero-reference .hero-art {
        height: 330px;
        min-height: 330px;
        margin-top: -27px;
        overflow: visible;
    }
    .hero-glass-scene {
        width: 480px;
        height: 400px;
        transform: scale(.7);
    }
    .hero-reference .hero-bottom {
        padding-top: 32px;
        padding-bottom: 22px;
    }
    .hero-stat-bar {
        min-height: 88px;
        border-radius: 16px;
    }
    .hero-stat-item {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 12px 4px;
        text-align: center;
    }
    .hero-stat-icon {
        width: 30px;
        height: 30px;
        margin: 0 auto 2px;
    }
    .hero-stat-item strong {
        font-size: 16px;
    }
    .hero-stat-item small {
        margin-top: 0;
        font-size: 10px;
        line-height: 1.3;
        white-space: nowrap;
    }
}

@media (max-width: 380px) {
    .hero-glass-scene {
        transform: scale(.66);
    }
    .hero-stat-item small {
        font-size: 9px;
    }
}

/* Premium verification CTA in the main navigation. */
.nav-verify {
    position: relative;
    isolation: isolate;
    min-height: 44px;
    gap: 9px;
    padding: 7px 11px 7px 14px;
    overflow: hidden;
    border: 1px solid rgba(35, 143, 176, .9);
    border-radius: 14px;
    background: linear-gradient(135deg, #238fb0 0%, #195f87 100%);
    box-shadow: 0 9px 22px rgba(25, 95, 135, .2), inset 0 1px 0 rgba(255, 255, 255, .22);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nav-verify::before {
    position: absolute;
    z-index: -1;
    width: 80px;
    height: 80px;
    content: "";
    inset-inline-end: -28px;
    top: -32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}
.nav-verify > span:not(.nav-verify-icon) {
    position: relative;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -.1px;
}
.nav-verify-icon {
    display: grid;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    place-items: center;
    border: 1px solid rgba(255, 190, 126, .7);
    border-radius: 9px;
    background: linear-gradient(145deg, #ffb06f, #f57c20);
    color: #fff;
    box-shadow: 0 4px 10px rgba(245, 124, 32, .3);
}
.nav-verify-icon .lucide {
    width: 16px;
    height: 16px;
    stroke-width: 2.4;
}
.nav-verify-arrow {
    width: 15px;
    height: 15px;
    color: #bfeaf2;
    transition: transform .2s ease, color .2s ease;
}
.nav-verify:hover {
    transform: translateY(-2px);
    border-color: #f6b37b;
    background: linear-gradient(135deg, #2b9fbb 0%, #1a6b94 100%);
    box-shadow: 0 13px 28px rgba(25, 95, 135, .28), inset 0 1px 0 rgba(255, 255, 255, .26);
}
.nav-verify:hover .nav-verify-arrow {
    transform: translate(2px, -2px);
    color: #fff;
}
.nav-verify:focus-visible {
    outline: 3px solid rgba(245, 124, 32, .35);
    outline-offset: 3px;
}
html[data-theme="dark"] .nav-verify {
    border-color: #3e9ab1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .16);
}
html[data-theme="dark"] .nav-verify:hover {
    border-color: #ffb06f;
}

/* Capsule switcher for the light/dark theme control. */
.theme-toggle {
    width: 64px;
    height: 36px;
    display: block;
    flex: none;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #195f87;
    cursor: pointer;
}
.theme-toggle:hover {
    background: transparent;
    color: inherit;
}
.theme-toggle-track {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    direction: ltr;
    border: 1px solid rgba(169, 220, 235, .9);
    border-radius: 999px;
    background: linear-gradient(135deg, #fffaf4 0%, #dff5fb 100%);
    box-shadow: inset 0 2px 5px rgba(25, 95, 135, .12), 0 4px 12px rgba(25, 95, 135, .12);
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.theme-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffb06f, #f57c20);
    color: #fff;
    box-shadow: 0 4px 10px rgba(245, 124, 32, .28);
    transition: transform .25s cubic-bezier(.22, .8, .25, 1), background .2s ease, box-shadow .2s ease;
}
.theme-toggle .theme-icon {
    width: 16px;
    height: 16px;
}
.theme-toggle .theme-icon-sun {
    display: none;
}
.theme-toggle:hover .theme-toggle-track {
    border-color: #f4b27c;
    box-shadow: inset 0 2px 5px rgba(25, 95, 135, .12), 0 5px 15px rgba(245, 124, 32, .18);
}
.theme-toggle:focus-visible {
    outline: 3px solid rgba(245, 124, 32, .35);
    outline-offset: 3px;
}
html[data-theme="dark"] .theme-toggle-track {
    border-color: #3e7182;
    background: linear-gradient(135deg, #153e50 0%, #102c3a 100%);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, .22), 0 4px 12px rgba(0, 0, 0, .18);
}
html[data-theme="dark"] .theme-toggle-thumb {
    transform: translateX(28px);
    background: linear-gradient(145deg, #dff5fb, #7ec8d9);
    color: #164e6b;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
}
html[data-theme="dark"] .theme-icon-moon {
    display: none;
}
html[data-theme="dark"] .theme-icon-sun {
    display: block;
}
@media (max-width: 800px) {
    .theme-toggle {
        width: 56px;
        height: 34px;
    }
    .theme-toggle-thumb {
        width: 26px;
        height: 26px;
    }
    html[data-theme="dark"] .theme-toggle-thumb {
        transform: translateX(22px);
    }
}

/* Rich course details drawer: a clear overview followed by every available batch. */
.course-drawer {
    width: min(640px, 100%);
    padding: 42px 28px 30px;
    border-inline-start: 1px solid rgba(169, 220, 235, .52);
    background: radial-gradient(circle at 100% 0%, rgba(223, 245, 251, .75), transparent 34%), #ffffff;
}
.course-drawer-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.course-drawer-hero {
    display: block;
}
.course-drawer-hero.has-cover {
    display: grid;
    grid-template-columns: 138px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
}
.course-drawer-cover {
    width: 138px;
    height: 138px;
    overflow: hidden;
    border: 1px solid rgba(169, 220, 235, .72);
    border-radius: 20px;
    background: linear-gradient(145deg, #edf9fc, #d7f0f7);
    box-shadow: 0 12px 25px rgba(25, 95, 135, .12);
}
.course-drawer-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.course-drawer-hero-copy {
    min-width: 0;
}
.course-drawer-topline,
.course-drawer-section-head,
.course-drawer-batch-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.course-drawer-code {
    direction: ltr;
    color: var(--gold);
    font: 700 11px/1.3 "DM Sans", Arial, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.course-drawer-status,
.course-drawer-batch-status,
.course-drawer-count {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 9px;
    border: 1px solid #bde6ef;
    border-radius: 999px;
    background: #eaf9fc;
    color: #196b89;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
}
.course-drawer-status.soon,
.course-drawer-batch-status.waitlist,
.course-drawer-batch-status.full {
    border-color: #f4c49e;
    background: #fff2e8;
    color: #b86125;
}
.course-drawer-status.closed,
.course-drawer-batch-status.closed,
.course-drawer-batch-status.completed {
    border-color: #e5caca;
    background: #fff0f0;
    color: #a84c4c;
}
.course-drawer h2 {
    margin: 9px 0 5px;
    color: var(--ink);
    font-size: clamp(25px, 4vw, 34px);
    line-height: 1.25;
}
.course-drawer-field {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}
.course-drawer-field .lucide {
    width: 15px;
    height: 15px;
    color: var(--gold);
}
.course-drawer-description {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 15px 16px;
    border: 1px solid #d7edf4;
    border-radius: 17px;
    background: rgba(239, 250, 253, .78);
}
.course-drawer-description-icon,
.course-drawer-info-icon,
.course-drawer-metric-icon {
    display: grid;
    flex: none;
    place-items: center;
    border-radius: 11px;
    background: #ffffff;
    color: var(--gold);
    box-shadow: 0 5px 12px rgba(25, 95, 135, .08);
}
.course-drawer-description-icon {
    width: 32px;
    height: 32px;
}
.course-drawer-description-icon .lucide {
    width: 16px;
    height: 16px;
}
.course-drawer-description p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
    white-space: pre-line;
}
.course-drawer-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}
.course-drawer-metric {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 8px;
    padding: 11px 9px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(255, 255, 255, .72);
}
.course-drawer-metric-icon {
    width: 29px;
    height: 29px;
    border-radius: 9px;
    background: #fff5ed;
}
.course-drawer-metric-icon .lucide {
    width: 15px;
    height: 15px;
}
.course-drawer-metric > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
}
.course-drawer-metric small {
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.course-drawer-metric strong {
    overflow-wrap: anywhere;
    color: var(--ink);
    font-size: 12px;
    line-height: 1.45;
}
.course-drawer-section {
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.course-drawer-section-head {
    padding-bottom: 5px;
    border-bottom: 1px solid var(--line);
}
.course-drawer-section-head .section-kicker {
    margin: 0;
}
.course-drawer-count {
    min-width: 24px;
    justify-content: center;
    padding-inline: 7px;
    color: var(--gold);
    background: #fff5ed;
    border-color: #f4c49e;
    font-family: "DM Sans", Arial, sans-serif;
}
.course-drawer-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.course-drawer-info {
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
}
.course-drawer-info.wide {
    grid-column: 1 / -1;
}
.course-drawer-info-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
}
.course-drawer-info-icon {
    width: 27px;
    height: 27px;
    border-radius: 8px;
    background: #edf9fc;
}
.course-drawer-info-icon .lucide {
    width: 14px;
    height: 14px;
}
.course-drawer-info p {
    margin: 8px 0 0;
    color: var(--ink);
    font-size: 13px;
    line-height: 1.85;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.course-drawer-batches {
    gap: 12px;
}
.course-drawer-batch {
    padding: 14px;
    border: 1px solid #cfe9f1;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(239, 250, 253, .92), rgba(255, 255, 255, .92));
}
.course-drawer-batch + .course-drawer-batch {
    margin-top: 1px;
}
.course-drawer-batch-head > div:first-child {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}
.course-drawer-batch-index {
    display: grid;
    width: 32px;
    height: 32px;
    flex: none;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(145deg, #238fb0, #195f87);
    color: #ffffff;
    font: 800 12px/1 "DM Sans", Arial, sans-serif;
}
.course-drawer-batch-head strong {
    display: block;
    color: var(--ink);
    font-size: 13px;
    line-height: 1.4;
}
.course-drawer-batch-head small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.4;
}
.course-drawer-batch-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 12px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(169, 220, 235, .7);
}
.course-drawer-batch-detail {
    display: flex;
    min-width: 0;
    align-items: baseline;
    justify-content: space-between;
    gap: 9px;
}
.course-drawer-batch-detail span {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 5px;
    color: var(--muted);
    font-size: 10px;
}
.course-drawer-batch-detail span .lucide {
    width: 13px;
    height: 13px;
    color: var(--gold);
}
.course-drawer-batch-detail strong {
    max-width: 58%;
    overflow-wrap: anywhere;
    color: var(--ink);
    font: 700 11px/1.5 "DM Sans", "alhurra", sans-serif;
    text-align: end;
}
.course-drawer-empty {
    margin: 0;
    padding: 14px;
    border: 1px dashed #b9dce7;
    border-radius: 15px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}
.course-drawer .drawer-register {
    margin-top: 1px;
}
html[data-theme="dark"] .course-drawer {
    border-color: #2a5364;
    background: radial-gradient(circle at 100% 0%, rgba(25, 75, 91, .72), transparent 38%), #102c3a;
}
html[data-theme="dark"] .course-drawer h2,
html[data-theme="dark"] .course-drawer-metric strong,
html[data-theme="dark"] .course-drawer-info p,
html[data-theme="dark"] .course-drawer-batch-head strong,
html[data-theme="dark"] .course-drawer-batch-detail strong {
    color: #e4f3f8;
}
html[data-theme="dark"] .course-drawer-cover {
    border-color: #356477;
    background: #173f50;
}
html[data-theme="dark"] .course-drawer-description,
html[data-theme="dark"] .course-drawer-info,
html[data-theme="dark"] .course-drawer-metric,
html[data-theme="dark"] .course-drawer-batch {
    border-color: #2a5364;
    background: rgba(19, 47, 62, .84);
}
html[data-theme="dark"] .course-drawer-description-icon,
html[data-theme="dark"] .course-drawer-info-icon,
html[data-theme="dark"] .course-drawer-metric-icon {
    background: #173f50;
}
html[data-theme="dark"] .course-drawer-section-head,
html[data-theme="dark"] .course-drawer-batch-grid {
    border-color: #2a5364;
}
html[data-theme="dark"] .course-drawer-empty {
    border-color: #356477;
}
@media (max-width: 560px) {
    .course-drawer {
        padding: 48px 18px 24px;
    }
    .course-drawer-hero.has-cover {
        grid-template-columns: 94px minmax(0, 1fr);
        gap: 13px;
    }
    .course-drawer-cover {
        width: 94px;
        height: 94px;
        border-radius: 16px;
    }
    .course-drawer h2 {
        font-size: 25px;
    }
    .course-drawer-stats,
    .course-drawer-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .course-drawer-info.wide {
        grid-column: 1 / -1;
    }
    .course-drawer-batch-grid {
        grid-template-columns: 1fr;
    }
}

/* Readability pass: larger type and fewer visual containers inside the drawer. */
.course-drawer {
    font-size: 14px;
    line-height: 1.8;
}
.course-drawer-code {
    font-size: 12px;
}
.course-drawer-status,
.course-drawer-batch-status,
.course-drawer-count {
    min-height: 27px;
    padding: 5px 11px;
    font-size: 11px;
}
.course-drawer h2 {
    font-size: clamp(29px, 4.5vw, 37px);
}
.course-drawer-field {
    font-size: 13px;
}
.course-drawer-description {
    padding: 16px 17px;
}
.course-drawer-description p {
    font-size: 14px;
    line-height: 1.95;
}
.course-drawer-stats {
    padding-block: 13px;
    border-block: 1px solid var(--line);
    gap: 0;
}
.course-drawer-metric {
    min-height: 48px;
    padding: 5px 13px;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.course-drawer-metric + .course-drawer-metric {
    border-inline-start: 1px solid var(--line);
}
.course-drawer-metric-icon {
    width: 32px;
    height: 32px;
}
.course-drawer-metric small {
    font-size: 11px;
}
.course-drawer-metric strong {
    font-size: 15px;
    line-height: 1.55;
}
.course-drawer-section {
    gap: 13px;
}
.course-drawer-section-head .section-kicker {
    font-size: 11px;
    letter-spacing: .08em;
}
.course-drawer-info-grid {
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(255, 255, 255, .42);
}
.course-drawer-info {
    padding: 15px 17px;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.course-drawer-info:nth-child(odd):not(.wide) {
    border-inline-end: 1px solid var(--line);
}
.course-drawer-info:nth-child(n + 3) {
    border-top: 1px solid var(--line);
}
.course-drawer-info.wide {
    border-inline: 0;
}
.course-drawer-info-heading {
    font-size: 13px;
}
.course-drawer-info-icon {
    width: 30px;
    height: 30px;
}
.course-drawer-info p {
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.95;
}
.course-drawer-batch {
    padding: 16px;
}
.course-drawer-batch-head strong {
    font-size: 15px;
}
.course-drawer-batch-head small {
    font-size: 12px;
}
.course-drawer-batch-detail span {
    font-size: 12px;
}
.course-drawer-batch-detail strong {
    font-size: 13px;
}
.course-drawer-empty {
    font-size: 14px;
}
html[data-theme="dark"] .course-drawer-info-grid {
    border-color: #2a5364;
    background: rgba(19, 47, 62, .36);
}
html[data-theme="dark"] .course-drawer-metric + .course-drawer-metric,
html[data-theme="dark"] .course-drawer-info:nth-child(odd):not(.wide),
html[data-theme="dark"] .course-drawer-info:nth-child(n + 3) {
    border-color: #2a5364;
}
@media (max-width: 560px) {
    .course-drawer-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .course-drawer-metric:nth-child(odd) {
        border-inline-start: 0;
    }
    .course-drawer-metric:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }
    .course-drawer-info-grid {
        grid-template-columns: 1fr;
    }
    .course-drawer-info:nth-child(odd):not(.wide) {
        border-inline-end: 0;
    }
    .course-drawer-info:nth-child(n + 2) {
        border-top: 1px solid var(--line);
    }
    html[data-theme="dark"] .course-drawer-metric:nth-child(n + 3),
    html[data-theme="dark"] .course-drawer-info:nth-child(n + 2) {
        border-color: #2a5364;
    }
}

/* Keep numeric values Latin even when the surrounding card is Arabic RTL. */
.numeric-value {
    font-family: "DM Sans", Arial, sans-serif !important;
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum";
}
.card-num.numeric-value,
.course-meta-item strong.numeric-value,
.course-next small .numeric-value {
    direction: ltr;
    unicode-bidi: isolate;
}
.course-meta-item strong.numeric-value {
    text-align: end;
}
.course-next strong.numeric-value {
    direction: rtl;
    unicode-bidi: isolate;
}
.course-next small .numeric-value {
    display: inline-block;
    font-size: inherit;
    font-weight: 900;
}
