:root {
    --brand: #087f8c;
    --brand-dark: #075d68;
    --brand-light: #e8f7f8;
    --ink: #14252b;
    --muted: #65777d;
    --surface: #f6f9fa;
    --border: #e5edef;
    --white: #ffffff;
    --accent: #f2b84b;
    --radius: 22px;
    --shadow: 0 20px 60px rgba(20, 37, 43, .09);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "DM Sans", sans-serif;
    line-height: 1.65;
}

h1,
h2,
h3,
h4,
.navbar-brand {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    letter-spacing: -.035em;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1180px;
}

/* --------------------------------------------------
   NAV
-------------------------------------------------- */

.navbar {
    padding: 18px 0;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(229,237,239,.8);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 1.35rem;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #13a7a9);
    box-shadow: 0 8px 22px rgba(8,127,140,.25);
}

.brand-mark i {
    font-size: 1.35rem;
}

.navbar-nav {
    gap: 6px;
}

.nav-link {
    padding: 9px 13px !important;
    color: #4f6268 !important;
    font-weight: 600;
    border-radius: 10px;
}

.nav-link:hover {
    color: var(--brand) !important;
    background: var(--brand-light);
}

.btn {
    border-radius: 12px;
    padding: 11px 19px;
    font-weight: 700;
    transition: .2s ease;
}

.btn-primary {
    border: 0;
    background: var(--brand);
    box-shadow: 0 8px 20px rgba(8,127,140,.2);
}

.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.btn-outline-dark {
    border-color: #d9e3e5;
}

.btn-outline-dark:hover {
    background: var(--ink);
    border-color: var(--ink);
}

/* --------------------------------------------------
   HERO
-------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 100px;
    background:
        radial-gradient(circle at 85% 15%, rgba(19,167,169,.17), transparent 30%),
        radial-gradient(circle at 10% 80%, rgba(242,184,75,.12), transparent 27%),
        linear-gradient(180deg, #f8fbfb 0%, #fff 100%);
}

.hero::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    right: -180px;
    top: 30px;
    border: 1px solid rgba(8,127,140,.08);
    border-radius: 50%;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    margin-bottom: 22px;
    border-radius: 999px;
    color: var(--brand-dark);
    background: var(--brand-light);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.eyebrow span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16b6a3;
}

.hero h1 {
    max-width: 700px;
    margin-bottom: 25px;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: .98;
}

.hero h1 .highlight {
    color: var(--brand);
}

.hero-copy {
    max-width: 610px;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 1.18rem;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Dashboard mockup */

.dashboard-wrap {
    position: relative;
}

.dashboard {
    position: relative;
    padding: 18px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(210,224,226,.8);
    border-radius: 28px;
    box-shadow: var(--shadow);
    transform: rotate(1deg);
}

.dashboard-window {
    overflow: hidden;
    border-radius: 18px;
    background: #f7fafa;
    border: 1px solid var(--border);
}

.window-top {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 13px 16px;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.window-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d5e0e2;
}

.dashboard-content {
    padding: 22px;
}

.dash-title {
    margin-bottom: 20px;
    font-size: 1.15rem;
    font-weight: 800;
}

.progress-card {
    padding: 17px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 15px;
}

.progress-card-header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    font-size: .85rem;
    font-weight: 700;
}

.progress {
    height: 7px;
    border-radius: 20px;
    background: #e8eff0;
}

.progress-bar {
    border-radius: 20px;
    background: var(--brand);
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.stat {
    padding: 15px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 15px;
}

.stat strong {
    display: block;
    font-size: 1.25rem;
    font-family: "Manrope", sans-serif;
}

.stat span {
    color: var(--muted);
    font-size: .72rem;
}

.floating-badge {
    position: absolute;
    right: -25px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border-radius: 15px;
    background: var(--ink);
    color: #fff;
    box-shadow: var(--shadow);
    font-size: .85rem;
    font-weight: 700;
}

.floating-badge i {
    color: #5ee4c7;
    font-size: 1.2rem;
}

/* --------------------------------------------------
   TRUST STRIP
-------------------------------------------------- */

.trust-strip {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.trust-strip-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.trust-label {
    color: #8a9a9e;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.trust-items {
    display: flex;
    align-items: center;
    gap: 35px;
    color: #708186;
    font-weight: 700;
}

/* --------------------------------------------------
   GENERAL SECTIONS
-------------------------------------------------- */

.section {
    padding: 105px 0;
}

.section-soft {
    background: var(--surface);
}

.section-heading {
    max-width: 680px;
    margin-bottom: 55px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 16px;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.05;
}

.section-heading p {
    color: var(--muted);
    font-size: 1.08rem;
}

/* --------------------------------------------------
   FEATURE CARDS
-------------------------------------------------- */

.feature-card {
    height: 100%;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    transition: .25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(8,127,140,.25);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 55px;
    height: 55px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 16px;
    color: var(--brand);
    background: var(--brand-light);
    font-size: 1.45rem;
}

.feature-card h3 {
    margin-bottom: 11px;
    font-size: 1.25rem;
    letter-spacing: -.02em;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
}

/* --------------------------------------------------
   PLATFORM SECTION
-------------------------------------------------- */

.platform-panel {
    padding: 55px;
    overflow: hidden;
    border-radius: 32px;
    background: var(--ink);
    color: #fff;
}

.platform-panel h2 {
    max-width: 600px;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.platform-panel p {
    max-width: 580px;
    color: #b8c8cc;
}

.check-list {
    padding: 0;
    margin: 30px 0 0;
    list-style: none;
}

.check-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 13px;
    color: #dce7e9;
}

.check-list i {
    color: #5ee4c7;
}

.platform-visual {
    position: relative;
    min-height: 330px;
}

.visual-card {
    position: absolute;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
}

.visual-card.one {
    width: 250px;
    top: 10px;
    left: 30px;
}

.visual-card.two {
    width: 230px;
    right: 5px;
    top: 90px;
}

.visual-card.three {
    width: 270px;
    left: 85px;
    bottom: 0;
}

.mini-line {
    height: 7px;
    margin-bottom: 9px;
    border-radius: 10px;
    background: rgba(255,255,255,.14);
}

.mini-line.short {
    width: 55%;
}

.mini-line.green {
    width: 78%;
    background: #28c6a9;
}

/* --------------------------------------------------
   COURSES
-------------------------------------------------- */

.course-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 30px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    transition: .25s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.course-number {
    position: absolute;
    right: 20px;
    top: 12px;
    color: #edf3f4;
    font-family: "Manrope", sans-serif;
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
}

.course-icon {
    position: relative;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border-radius: 15px;
    color: var(--brand);
    background: var(--brand-light);
    font-size: 1.35rem;
}

.course-card h3 {
    position: relative;
    font-size: 1.25rem;
}

.course-card p {
    position: relative;
    color: var(--muted);
    font-size: .94rem;
}

.course-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--brand);
    font-weight: 800;
}

/* --------------------------------------------------
   PARTNER CTA
-------------------------------------------------- */

.partner-box {
    position: relative;
    overflow: hidden;
    padding: 65px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 90% 20%, rgba(255,255,255,.18), transparent 28%),
        linear-gradient(135deg, var(--brand), #075f6a);
    color: #fff;
}

.partner-box h2 {
    max-width: 650px;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.partner-box p {
    max-width: 620px;
    color: rgba(255,255,255,.8);
}

.partner-box .btn {
    background: #fff;
    color: var(--brand-dark);
    border: 0;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */

footer {
    padding: 65px 0 25px;
    background: #101d21;
    color: #fff;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
}

footer p {
    color: #91a5aa;
    max-width: 400px;
}

footer h5 {
    margin-bottom: 17px;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: #91a5aa;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 55px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #71868b;
    font-size: .82rem;
}

/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */

@media (max-width: 991.98px) {
    .hero {
        padding: 75px 0;
    }

    .dashboard-wrap {
        margin-top: 55px;
    }

    .trust-strip-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .trust-items {
        flex-wrap: wrap;
        gap: 18px 25px;
    }

    .platform-panel {
        padding: 38px 28px;
    }

    .platform-visual {
        margin-top: 35px;
    }
}

@media (max-width: 575.98px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section {
        padding: 75px 0;
    }

    .floating-badge {
        right: 8px;
    }

    .dashboard {
        transform: none;
    }

    .partner-box {
        padding: 40px 28px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* ==================================================
   ADDITIONS FOR INNER PAGES (e-ltd views)
================================================== */

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    padding: .6rem 1rem;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
}

.skip-link:focus {
    top: 1rem;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.navbar-brand img {
    height: 55px;
    width: auto;
}

.nav-link.active {
    color: var(--brand) !important;
    background: var(--brand-light);
}

/* Page header */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 70px;
    background:
        radial-gradient(circle at 85% 15%, rgba(19,167,169,.17), transparent 30%),
        radial-gradient(circle at 10% 80%, rgba(242,184,75,.12), transparent 27%),
        linear-gradient(180deg, #f8fbfb 0%, #fff 100%);
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    max-width: 800px;
    margin-bottom: 14px;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.02;
}

.page-hero .lead {
    max-width: 640px;
    margin: 0;
    color: var(--muted);
    font-size: 1.15rem;
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0 0 18px;
    list-style: none;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 600;
}

.crumbs li + li::before {
    content: "/";
    margin-right: 6px;
    color: #b3c2c6;
}

.crumbs a {
    color: var(--brand);
}

/* Body copy */

.prose p,
.prose li {
    color: #3e5157;
    font-size: 1.05rem;
}

.prose p {
    max-width: 68ch;
}

.prose h2 {
    margin: 0 0 18px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.prose h3 {
    margin: 32px 0 12px;
    font-size: 1.35rem;
}

.check-list.dark li {
    color: #3e5157;
}

.check-list.dark i {
    color: var(--brand);
}

.media-frame {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.media-frame img {
    display: block;
    width: 100%;
    height: auto;
}

/* Cards with images */

.course-card.has-image {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.course-card .course-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--brand-light);
}

.course-card .course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-card .course-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 26px 28px 28px;
}

.course-card .course-body p {
    flex: 1;
}

/* Course detail */

.module-list {
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: module;
}

.module-list li {
    position: relative;
    padding: 16px 18px 16px 64px;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #fff;
    font-weight: 600;
}

.module-list li::before {
    counter-increment: module;
    content: counter(module);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--brand);
    background: var(--brand-light);
    font-family: "Manrope", sans-serif;
    font-weight: 800;
}

.side-card {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
}

.side-card h2 {
    margin-bottom: 14px;
    font-size: 1.1rem;
}

.side-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.side-links li + li {
    border-top: 1px solid var(--border);
}

.side-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    color: var(--ink);
    font-weight: 600;
}

.side-links a:hover {
    color: var(--brand);
}

.provider-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: .9rem;
    font-weight: 600;
}

/* People */

.person-card {
    height: 100%;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
}

.person-card img {
    width: 88px;
    height: 88px;
    margin-bottom: 18px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--brand-light);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--border);
}

.person-card h3 {
    margin-bottom: 4px;
    font-size: 1.25rem;
}

.person-card .role {
    display: block;
    margin-bottom: 12px;
    color: var(--brand);
    font-weight: 700;
    font-size: .9rem;
}

.person-card p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
}

/* Forms */

.form-card {
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.form-label {
    font-weight: 700;
    font-size: .92rem;
}

.form-control,
.form-select {
    padding: 12px 14px;
    border-radius: 12px;
    border-color: #d5e1e3;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 .25rem rgba(8,127,140,.15);
}

.validation-summary-valid {
    display: none;
}

.validation-summary-errors ul {
    margin: 6px 0 0;
    padding-left: 1.1rem;
}

.field-validation-error {
    display: block;
    margin-top: 6px;
    color: #b42318;
    font-size: .88rem;
    font-weight: 600;
}

.input-validation-error {
    border-color: #b42318 !important;
}

.contact-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.contact-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.contact-list li:last-child {
    border-bottom: 0;
}

.contact-list .feature-icon {
    flex: none;
    width: 44px;
    height: 44px;
    margin: 0;
    font-size: 1.1rem;
    border-radius: 13px;
}

.contact-list strong {
    display: block;
}

.contact-list a {
    color: var(--brand);
    font-weight: 600;
}

.success-panel {
    padding: 36px;
    border-radius: var(--radius);
    background: var(--brand-light);
    border: 1px solid rgba(8,127,140,.2);
}

.success-panel i {
    color: var(--brand);
    font-size: 2rem;
}

/* Auth pages */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 40px 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(19,167,169,.17), transparent 30%),
        radial-gradient(circle at 10% 80%, rgba(242,184,75,.12), transparent 27%),
        linear-gradient(180deg, #f8fbfb 0%, #fff 100%);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 38px 36px;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow);
}

.auth-card .auth-logo {
    display: block;
    height: 40px;
    width: auto;
    margin-bottom: 26px;
}

.auth-card h1 {
    margin-bottom: 8px;
    font-size: 1.8rem;
}

.auth-card .auth-intro {
    margin-bottom: 24px;
    color: var(--muted);
}

.auth-footer {
    margin-top: 22px;
    text-align: center;
    color: var(--muted);
    font-size: .92rem;
}

.auth-footer a {
    color: var(--brand);
    font-weight: 600;
}

.account-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--ink);
    font-weight: 600;
    text-align: left;
    transition: .2s ease;
}

.account-option:hover {
    border-color: var(--brand);
    background: var(--brand-light);
    color: var(--ink);
}

.account-option i {
    color: var(--brand);
    font-size: 1.3rem;
}

.account-option small {
    display: block;
    color: var(--muted);
    font-weight: 500;
}

footer .footer-links span {
    color: #91a5aa;
}

footer .footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 15px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
    .feature-card:hover, .course-card:hover, .btn-primary:hover { transform: none; }
}

@media (max-width: 575.98px) {
    .row.g-5 { --bs-gutter-x: 1.5rem; }
    .page-hero { padding: 56px 0 48px; }
    .form-card, .auth-card { padding: 28px 22px; }
}

