/* ==========================================================================
   Tasueh (تسويات) design system
   Header, footer and the tsw_* page-builder home sections.

   Everything is prefixed "tsw-" so it never collides with Bootstrap or the
   older edu-/legacy styles that still serve other pages.

   NOTE ON !important: custom.css (imported by style.css) forces font-size and
   line-height on every h1-h6 / p / li / a via !important. Any rule below that
   sizes one of those tags therefore needs !important too, or it silently loses.

   RTL: layout uses logical properties (margin-inline, inset-inline, etc.) so the
   Arabic (dir="rtl") build mirrors without separate rules. Directional icons
   carry .tsw-flip-rtl.
   ========================================================================== */

:root {
    --tsw-primary: #6411f0;
    --tsw-primary-hover: #520bd0;
    --tsw-primary-soft: #f1eaff;
    --tsw-violet: #6d28d9;
    --tsw-deep: #33064d;
    --tsw-topbar: #3d0a54;
    --tsw-footer: #1b0a36;
    --tsw-navy: #0f172a;
    --tsw-heading: #111827;
    --tsw-text: #4b5563;
    --tsw-muted: #6b7280;
    --tsw-line: #e7e5e4;
    --tsw-line-soft: #eceef2;
    --tsw-bg: #ffffff;
    --tsw-bg-muted: #f1f2f4;
    --tsw-bg-soft: #f7f8fa;
    --tsw-card-warm: #faf8f5;
    --tsw-amber: #fbbf24;
    --tsw-amber-dark: #f59e0b;
    --tsw-green: #059669;
    --tsw-radius: 16px;
    --tsw-radius-sm: 10px;
    --tsw-shadow: 0 18px 50px -20px rgba(17, 24, 39, 0.25);
    --tsw-section-py: clamp(56px, 7vw, 110px);
    --tsw-font: "Inter", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Calmer global heading scale (overrides custom.css defaults). */
:root {
    --base-h1-size: clamp(1.7rem, 2.8vw, 2.4rem);
    --base-h2-size: clamp(1.5rem, 2.4vw, 2.1rem);
    --base-h3-size: clamp(1.3rem, 2vw, 1.7rem);
}

html[lang="ar"] {
    --tsw-font: "IBM Plex Sans Arabic", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body {
    background: var(--tsw-bg);
}

.tsw,
.tsw-topbar,
.tsw-header,
.tsw-footer,
.tsw-mobile-menu,
.tsw-drawer {
    font-family: var(--tsw-font);
    color: var(--tsw-text);
    -webkit-font-smoothing: antialiased;
}

.tsw *,
.tsw-header *,
.tsw-footer * {
    box-sizing: border-box;
}

.tsw h1, .tsw h2, .tsw h3, .tsw h4, .tsw h5,
.tsw-footer h5, .tsw-drawer h3, .tsw-drawer h4 {
    font-family: var(--tsw-font);
    color: var(--tsw-heading);
    margin: 0;
}

.tsw p, .tsw ul, .tsw ol, .tsw-footer p, .tsw-footer ul {
    margin: 0;
}

.tsw ul, .tsw ol, .tsw-footer ul, .tsw-header ul, .tsw-mobile-menu ul {
    padding: 0;
    list-style: none;
}

.tsw a, .tsw-footer a, .tsw-header a, .tsw-topbar a {
    text-decoration: none;
}

.tsw img {
    max-width: 100%;
    display: block;
}

.tsw-container {
    width: min(100% - 32px, 1420px);
    margin-inline: auto;
}

[dir="rtl"] .tsw-flip-rtl {
    transform: scaleX(-1);
}

/* ----- Shared: sections, headings, badges, buttons ----------------------- */

.tsw-section {
    padding-block: var(--tsw-section-py);
    background: var(--tsw-bg);
}

.tsw-section--muted {
    background: var(--tsw-bg-muted);
}

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

.tsw-heading {
    max-width: 800px;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.tsw-heading--center {
    margin-inline: auto;
    text-align: center;
}

.tsw-kicker,
.tsw-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 13px;
    border-radius: 999px;
    background: var(--tsw-primary-soft);
    color: var(--tsw-violet);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.tsw-kicker--dot::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.tsw-badge {
    font-size: 15px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 500;
    padding: 6px 16px;
}

.tsw .tsw-heading__title {
    font-size: clamp(1.55rem, 2.6vw, 2.2rem) !important;
    line-height: 1.18 !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tsw .tsw-heading__desc {
    margin-top: 12px;
    font-size: clamp(0.95rem, 1.3vw, 1.1rem) !important;
    line-height: 1.65 !important;
    color: var(--tsw-text);
}

.tsw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 26px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-family: var(--tsw-font);
    font-size: 17px !important;
    font-weight: 500;
    line-height: 1.2 !important;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
    cursor: pointer;
}

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

.tsw-btn--primary {
    background: var(--tsw-primary);
    color: #fff !important;
}

.tsw-btn--primary:hover {
    background: var(--tsw-primary-hover);
    box-shadow: 0 10px 24px -10px rgba(100, 17, 240, .7);
}

.tsw-btn--outline {
    border-color: #4f46e5;
    color: #3b82f6 !important;
    background: transparent;
}

.tsw-btn--outline:hover {
    background: rgba(79, 70, 229, .12);
}

.tsw-btn--link {
    padding-inline: 4px;
    color: var(--tsw-amber) !important;
    text-decoration: underline !important;
    text-underline-offset: 5px;
    font-weight: 600;
}

.tsw-btn--amber {
    background: linear-gradient(180deg, #fcc419, var(--tsw-amber-dark));
    color: #fff !important;
    font-weight: 600;
    border-radius: 10px;
    padding-inline: 38px;
    min-height: 56px;
}

.tsw-btn--amber:hover {
    box-shadow: 0 12px 28px -12px rgba(245, 158, 11, .9);
}

.tsw-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tsw-primary) !important;
    font-weight: 600;
    font-size: 16px !important;
    white-space: nowrap;
}

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

.tsw-gradient-text {
    background: linear-gradient(90deg, #c026d3 0%, #f97316 29%, #7c3aed 33%, #6d28d9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ----- Top bar ----------------------------------------------------------- */

.tsw-topbar {
    background: var(--tsw-topbar);
    color: #fff;
    font-size: 15px;
}

.tsw-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    min-height: 46px;
}

.tsw-topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 0;
    padding: 6px 2px;
    color: #fff !important;
    font: inherit;
    font-size: 15px !important;
    cursor: pointer;
}

.tsw-topbar__link img {
    border-radius: 2px;
    object-fit: cover;
}

.tsw-topbar__caret {
    font-size: 12px;
}

.tsw-topbar__sep {
    opacity: .6;
}

.tsw-dropdown {
    border-radius: 12px;
    border: 1px solid var(--tsw-line-soft);
    box-shadow: var(--tsw-shadow);
    padding: 6px;
    font-family: var(--tsw-font);
}

.tsw-dropdown .dropdown-item {
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 15px !important;
}

.tsw-dropdown .dropdown-item:active {
    background: var(--tsw-primary);
}

/* ----- Header ------------------------------------------------------------ */

.tsw-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #f0f1f3;
    padding: 0;
    border-bottom: 1px solid rgba(17, 24, 39, .05);
}

.tsw-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 92px;
}

.tsw-header__logo {
    flex-shrink: 0;
    display: inline-flex;
}

.tsw-header__logo img {
    height: 64px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.tsw-nav {
    flex: 1;
    display: none;
    justify-content: center;
}

.tsw-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(6px, 1.2vw, 22px);
    margin: 0;
}

.tsw-nav__item {
    position: relative;
}

.tsw .tsw-nav__link,
.tsw-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 2px;
    color: #4b5563 !important;
    font-size: 16.5px !important;
    font-weight: 400;
    white-space: nowrap;
    transition: color .2s ease;
}

.tsw-nav__link i {
    font-size: 12px;
    transition: transform .2s ease;
}

.tsw-nav__link:hover,
.tsw-nav__link.is-active {
    color: var(--tsw-primary) !important;
}

.tsw-nav__sub {
    position: absolute;
    top: 100%;
    inset-inline-start: -14px;
    min-width: 300px;
    padding: 8px !important;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--tsw-line-soft);
    box-shadow: var(--tsw-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 20;
}

.tsw-nav__item--has-sub:hover .tsw-nav__sub,
.tsw-nav__item--has-sub:focus-within .tsw-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tsw-nav__item--has-sub:hover .tsw-nav__link i {
    transform: rotate(180deg);
}

.tsw-nav__sub a {
    display: block;
    white-space: nowrap;
    padding: 9px 14px;
    border-radius: 9px;
    color: var(--tsw-heading) !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
}

.tsw-nav__sub a:hover {
    background: var(--tsw-primary-soft);
    color: var(--tsw-primary) !important;
}

.tsw-header__actions {
    margin-inline-start: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tsw-header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid #dcdfe5;
    background: #fff;
    color: var(--tsw-heading);
    font-size: 26px;
    cursor: pointer;
}

@media (min-width: 1200px) {
    .tsw-nav {
        display: flex;
    }

    .tsw-header__actions {
        margin-inline-start: 0;
    }

    .tsw-header__toggle {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .tsw-header__inner {
        min-height: 72px;
        gap: 12px;
    }

    .tsw-header__logo img {
        height: 48px;
    }

    .tsw-header__cta {
        display: none;
    }
}

/* Mobile menu (offcanvas) */
.tsw-mobile-menu {
    max-width: 88vw;
}

.tsw-mobile-menu .offcanvas-header {
    border-bottom: 1px solid var(--tsw-line-soft);
}

.tsw-mobile-menu .tsw-header__logo img {
    height: 48px;
}

.tsw-mobile-nav {
    margin: 0;
}

.tsw-mobile-nav > li {
    border-bottom: 1px solid var(--tsw-line-soft);
}

.tsw-mobile-nav__link {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    background: none;
    border: 0;
    color: var(--tsw-heading) !important;
    font: inherit;
    font-size: 16px !important;
    font-weight: 500;
    text-align: start;
}

.tsw-mobile-nav__link i {
    transition: transform .2s ease;
}

.tsw-mobile-nav__link:not(.collapsed) i {
    transform: rotate(180deg);
}

.tsw-mobile-nav__sub {
    padding-bottom: 10px !important;
}

.tsw-mobile-nav__sub a {
    display: block;
    padding: 8px 14px;
    color: var(--tsw-text) !important;
    font-size: 15px !important;
}

.tsw-mobile-menu__cta {
    width: 100%;
    margin-top: 24px;
}

/* ----- Hero -------------------------------------------------------------- */

.tsw-hero {
    position: relative;
    color: #fff;
    padding-block: clamp(56px, 8vw, 104px);
    background:
        linear-gradient(90deg, rgba(8, 8, 12, .93) 0%, rgba(8, 8, 12, .8) 45%, rgba(8, 8, 12, .55) 100%),
        var(--tsw-hero-bg, radial-gradient(ellipse at 70% 40%, rgba(146, 96, 25, .45), transparent 55%)),
        #0b0b0f;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.tsw-hero__grid {
    display: grid;
    gap: clamp(36px, 5vw, 64px);
    align-items: center;
}

@media (min-width: 992px) {
    .tsw-hero__grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }
}

.tsw-hero__kicker {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--tsw-amber);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.tsw .tsw-hero__title {
    color: #fff;
    font-size: clamp(1.75rem, 3.2vw, 2.65rem) !important;
    line-height: 1.12 !important;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: clamp(22px, 3vw, 40px);
}

.tsw .tsw-hero__desc {
    max-width: 680px;
    color: #f3f4f6;
    font-size: clamp(0.98rem, 1.25vw, 1.1rem) !important;
    line-height: 1.6 !important;
    font-weight: 500;
}

.tsw-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 20px;
    margin-top: clamp(26px, 3.5vw, 42px);
}

/* Hub card */
.tsw-hero__card-wrap {
    display: flex;
    justify-content: flex-end;
}

.tsw-hub-card {
    width: 100%;
    max-width: 566px;
    background: #fff;
    color: var(--tsw-heading);
    border-radius: 18px;
    padding: clamp(18px, 2.2vw, 26px);
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
}

.tsw-hub-card__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--tsw-line-soft);
}

.tsw-hub-card__logo {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--tsw-violet);
    color: #fff;
    font-size: 14px;
}

.tsw-hub-card__titles {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tsw-hub-card__titles strong {
    font-size: 14px;
    font-weight: 700;
}

.tsw-hub-card__titles span {
    font-size: 13px;
    color: var(--tsw-muted);
}

.tsw-hub-card__badge {
    margin-inline-start: auto;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: var(--tsw-green);
    font-size: 12px;
    font-weight: 600;
}

.tsw-hub-card__badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.tsw-hub-card__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.tsw-hub-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px;
    border-radius: 12px;
    background: #f6f5f3;
    border: 1px solid #ebe8e3;
}

.tsw-hub-stat__label {
    font-size: 13px;
    color: var(--tsw-text);
}

.tsw-hub-stat__value {
    font-family: "Times New Roman", Times, serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--tsw-heading);
}

.tsw-hub-stat__note {
    font-size: 11.5px;
    color: var(--tsw-violet);
}

.tsw-hub-stat__note--up {
    color: var(--tsw-green);
}

.tsw-hub-progress {
    margin-top: 20px;
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(120deg, #5b21b6, #6d28d9);
    color: #fff;
}

.tsw-hub-progress__top,
.tsw-hub-progress__ends {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
}

.tsw-hub-progress__top strong {
    color: var(--tsw-amber);
    font-weight: 600;
}

.tsw-hub-progress__bar {
    height: 6px;
    margin: 16px 0 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    overflow: hidden;
}

.tsw-hub-progress__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.tsw-hub-progress__ends {
    font-size: 11.5px;
    color: rgba(255, 255, 255, .78);
}

.tsw-hub-card__list {
    display: grid;
    gap: 8px;
    margin-top: 20px !important;
}

.tsw-hub-card__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f9fafb;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

.tsw-hub-card__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #fef3c7;
    color: #b45309;
    font-size: 11px;
}

.tsw-hub-card__icon--alt {
    background: var(--tsw-primary-soft);
    color: var(--tsw-violet);
}

.tsw-hub-card__item {
    flex: 1;
    min-width: 0;
    font-weight: 500;
}

.tsw-hub-card__status {
    font-size: 11.5px;
    color: #9ca3af;
}

@media (max-width: 991.98px) {
    .tsw-hero__card-wrap {
        justify-content: center;
    }
}

@media (max-width: 479.98px) {
    .tsw-hub-card__head {
        flex-wrap: wrap;
    }

    .tsw-hub-card__badge {
        margin-inline-start: 48px;
    }

    .tsw-hub-card__stats {
        grid-template-columns: 1fr;
    }

    .tsw-hero__actions .tsw-btn {
        width: 100%;
    }
}

/* ----- About ------------------------------------------------------------- */

.tsw-about__grid {
    display: grid;
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}

@media (min-width: 992px) {
    .tsw-about__grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    }
}

.tsw-about__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
}

.tsw .tsw-about__title {
    font-size: clamp(1.75rem, 3vw, 2.6rem) !important;
    line-height: 1.2 !important;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 18px;
}

.tsw-richtext p,
.tsw-richtext {
    color: var(--tsw-muted);
    font-size: clamp(0.95rem, 1.1vw, 1.05rem) !important;
    line-height: 1.6 !important;
}

.tsw-richtext p + p {
    margin-top: 22px;
}

.tsw-richtext a,
.tsw-richtext strong {
    color: #1d6ae5 !important;
    font-weight: 700;
    font-size: inherit !important;
}

/* ----- Vision & Mission -------------------------------------------------- */

.tsw-vm__grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
    .tsw-vm__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tsw-vm__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(28px, 3vw, 40px) clamp(20px, 2.5vw, 34px);
    background: #fff;
    border-radius: 18px;
}

.tsw-vm__icon {
    font-size: 54px;
    line-height: 1;
    color: var(--tsw-heading);
    margin-bottom: 36px;
}

.tsw .tsw-vm__title {
    width: 100%;
    padding: 10px 20px;
    border-radius: 12px;
    background: var(--tsw-deep);
    color: #fff;
    font-size: clamp(1.25rem, 1.8vw, 1.6rem) !important;
    line-height: 1.3 !important;
    font-weight: 600;
}

.tsw-vm__divider {
    position: relative;
    display: block;
    width: min(100%, 346px);
    height: 11px;
    margin-block: 36px;
}

.tsw-vm__divider::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, #d1d5db 0 43%, transparent 43% 57%, #d1d5db 57% 100%);
}

.tsw-vm__divider::after {
    content: "";
    position: absolute;
    inset-inline-start: calc(50% - 5.5px);
    top: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--tsw-deep);
}

.tsw .tsw-vm__text {
    max-width: 640px;
    color: #374151;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem) !important;
    line-height: 1.6 !important;
}

/* ----- What We Offer ----------------------------------------------------- */

.tsw-offerings__grid {
    display: grid;
    gap: 26px;
}

@media (min-width: 768px) {
    .tsw-offerings__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .tsw-offerings__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.tsw-offer-card {
    --tsw-accent: var(--tsw-violet);
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: 16px;
    background: var(--tsw-card-warm);
    border: 1px solid #e3e6ee;
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.tsw-offer-card:hover {
    transform: translateY(-3px);
    border-color: #d6cdfa;
    box-shadow: var(--tsw-shadow);
}

.tsw-accent--orange { --tsw-accent: #f59e0b; }
.tsw-accent--purple { --tsw-accent: #8b5cf6; }
.tsw-accent--green { --tsw-accent: #10b981; }
.tsw-accent--amber { --tsw-accent: #d97706; }
.tsw-accent--blue { --tsw-accent: #3b82f6; }
.tsw-accent--red { --tsw-accent: #e11d48; }

.tsw-offer-card__num {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #ede9fe;
    color: var(--tsw-violet);
    font-family: "Times New Roman", Times, serif;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 24px;
}

.tsw .tsw-offer-card__title {
    font-size: clamp(1.1rem, 1.4vw, 1.25rem) !important;
    line-height: 1.45 !important;
    font-weight: 600;
    max-width: 92%;
}

.tsw .tsw-offer-card__subtitle {
    margin-top: 4px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
    color: var(--tsw-muted);
    font-style: italic;
    font-size: 13.5px !important;
    line-height: 1.3 !important;
}

.tsw-offer-card__list {
    display: grid;
    gap: 6px;
    margin-block: 24px 30px !important;
}

.tsw .tsw-offer-card__list li {
    position: relative;
    padding-inline-start: 14px;
    color: #374151;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.tsw-offer-card__list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: .62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tsw-accent);
}

.tsw .tsw-offer-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tsw-violet) !important;
    font-weight: 600;
    font-size: 13.5px !important;
}

.tsw-offer-card__link i {
    font-size: 11px;
    transition: transform .2s ease;
}

.tsw-offer-card__link:hover i {
    transform: translateX(3px);
}

[dir="rtl"] .tsw-offer-card__link:hover i {
    transform: scaleX(-1) translateX(3px);
}

/* ----- Who We Serve ------------------------------------------------------ */

/* Cards in a row stretch to the tallest one; the footer label sits at the bottom. */
.tsw-audiences__grid {
    display: grid;
    gap: 22px;
    align-items: stretch;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .tsw-audiences__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .tsw-audiences__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.tsw-aud-card {
    --aud-bg: #f6efe4;
    --aud-border: #e9d9bb;
    --aud-title: #4a3216;
    --aud-text: #7a5b33;
    --aud-pill: #efe3cf;
    --aud-pill-text: #3f2a12;
    --aud-dot: #d97706;
    --aud-icon-bg: #f3dfc1;
    --aud-icon: #d97706;
    --aud-eyebrow: #9a7a52;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: 18px;
    background: var(--aud-bg);
    border: 2px solid var(--aud-border);
    box-shadow: 0 6px 20px -12px rgba(0, 0, 0, .18);
}

.tsw-aud-card--dark {
    --aud-bg: #111a2e;
    --aud-border: #111a2e;
    --aud-title: #fff;
    --aud-text: #e5e7eb;
    --aud-pill: #1d2840;
    --aud-pill-text: #f3f4f6;
    --aud-dot: #fbbf24;
    --aud-icon-bg: #1d2840;
    --aud-icon: #fbbf24;
    --aud-eyebrow: #9ca3af;
}

.tsw-aud-card--purple {
    --aud-bg: #f6f0ff;
    --aud-border: #d9c5fb;
    --aud-title: #6d28d9;
    --aud-text: #1f2937;
    --aud-pill: #e7d8fd;
    --aud-pill-text: #4b5563;
    --aud-dot: #6d28d9;
    --aud-icon-bg: #e4d2fd;
    --aud-icon: #6d28d9;
    --aud-eyebrow: #a78bfa;
}

.tsw-aud-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid color-mix(in srgb, var(--aud-border) 70%, transparent);
}

.tsw-aud-card--dark .tsw-aud-card__head {
    border-bottom-color: #253250;
}

.tsw-aud-card__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--aud-icon-bg);
    color: var(--aud-icon);
    font-size: 16px;
}

.tsw-aud-card__eyebrow {
    display: block;
    color: var(--aud-eyebrow);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tsw .tsw-aud-card__title {
    color: var(--aud-title);
    font-size: clamp(1.05rem, 1.4vw, 1.2rem) !important;
    line-height: 1.35 !important;
    font-weight: 600;
}

.tsw .tsw-aud-card__desc {
    color: var(--aud-text);
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin-bottom: 18px;
}

.tsw-aud-card__list {
    display: grid;
    gap: 10px;
}

.tsw .tsw-aud-card__list li {
    position: relative;
    padding: 11px 14px;
    padding-inline-start: 28px;
    border-radius: 10px;
    background: var(--aud-pill);
    color: var(--aud-pill-text);
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    font-weight: 500;
}

.tsw-aud-card--dark .tsw-aud-card__list li {
    border: 1px solid #2c3954;
}

.tsw-aud-card__list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 13px;
    top: 1.15em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--aud-dot);
}

.tsw-aud-card__foot {
    margin-top: auto;
    padding-top: 26px;
    color: var(--aud-eyebrow);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tsw-aud-card--purple .tsw-aud-card__foot {
    color: var(--tsw-violet);
}

/* ----- Programs ---------------------------------------------------------- */

.tsw-programs .tsw-heading {
    max-width: 780px;
}

.tsw-programs__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 6px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--tsw-line-soft);
}

/* Tabs wrap onto new lines (no sideways scrolling, especially on mobile). */
.tsw-programs__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
}

@media (max-width: 575.98px) {
    .tsw-programs__tabs .tsw-tab {
        padding: 7px 12px;
        font-size: 14px;
        background: #f3f4f6;
    }

    .tsw-programs__tabs .tsw-tab.is-active {
        background: var(--tsw-navy);
    }
}

.tsw-programs__tabs::-webkit-scrollbar {
    display: none;
}

.tsw-tab {
    flex-shrink: 0;
    padding: 8px 16px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #1f2937;
    font-family: var(--tsw-font);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.tsw-tab span {
    color: #9ca3af;
    font-size: 12.5px;
}

.tsw-tab:hover {
    background: #f3f4f6;
}

.tsw-tab.is-active {
    background: var(--tsw-navy);
    color: #fff;
}

.tsw-tab.is-active span {
    color: #d1d5db;
}

.tsw-programs__search {
    position: relative;
    flex: 0 1 288px;
    min-width: 220px;
    margin: 0;
}

.tsw-programs__search i {
    position: absolute;
    inset-inline-start: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
}

.tsw-programs__search input {
    width: 100%;
    height: 40px;
    padding-inline: 40px 12px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: #fff;
    font-family: var(--tsw-font);
    font-size: 14px;
    color: var(--tsw-heading);
}

.tsw-programs__search input:focus {
    outline: none;
    border-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .18);
}

.tsw-programs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
    gap: 16px;
}

@media (min-width: 1200px) {
    .tsw-programs__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.tsw-program-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    min-height: 132px;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    font-family: var(--tsw-font);
    text-align: start;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tsw-program-card[hidden] {
    display: none;
}

.tsw-program-card:hover,
.tsw-program-card:focus-visible {
    border-color: #c4b5fd;
    box-shadow: 0 12px 30px -16px rgba(91, 33, 182, .45);
    transform: translateY(-2px);
    outline: none;
}

.tsw-program-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: auto;
    padding-bottom: 22px;
}

.tsw-program-card__arrow {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #f0f0f3;
    background: #fafafa;
    color: #6b7280;
    font-size: 10px;
    transition: background-color .2s ease, color .2s ease;
}

.tsw-arrow-diag {
    transform: rotate(45deg);
}

[dir="rtl"] .tsw-arrow-diag {
    transform: rotate(-45deg);
}

.tsw-program-card:hover .tsw-program-card__arrow {
    background: var(--tsw-primary);
    color: #fff;
}

.tsw-program-card__title {
    color: var(--tsw-heading);
    font-size: 15.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tsw-program-card__subtitle {
    color: #9ca3af;
    font-size: 12.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 575.98px) {
    .tsw-programs__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .tsw-program-card {
        min-height: 120px;
        padding: 12px;
    }

    .tsw-program-card__title,
    .tsw-program-card__subtitle {
        white-space: normal;
    }

    .tsw-program-card__title {
        font-size: 14px;
    }

    .tsw-programs__search {
        flex-basis: 100%;
    }
}

.tsw-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.4;
}

.tsw-tag--green { background: #ecfdf5; color: #047857; }
.tsw-tag--indigo { background: #eef2ff; color: #4338ca; }
.tsw-tag--blue { background: #eff6ff; color: #1d4ed8; }
.tsw-tag--teal { background: #f0fdfa; color: #0f766e; }
.tsw-tag--violet { background: #f5f3ff; color: #6d28d9; }

.tsw .tsw-programs__empty {
    padding: 40px 0;
    text-align: center;
    color: var(--tsw-muted);
}

/* Program drawer */
.tsw-drawer {
    width: min(440px, 92vw) !important;
}

.tsw-drawer .offcanvas-header {
    padding: 22px 26px 10px;
}

.tsw-drawer .offcanvas-body {
    padding: 10px 26px 30px;
}

.tsw .tsw-drawer__title,
.tsw-drawer .tsw-drawer__title {
    font-size: 1.6rem !important;
    line-height: 1.25 !important;
    font-weight: 700;
}

.tsw-drawer .tsw-drawer__subtitle {
    margin-top: 6px;
    color: var(--tsw-violet);
    font-weight: 500;
    font-size: 15px !important;
}

.tsw-drawer .tsw-drawer__desc {
    margin-top: 18px;
    color: var(--tsw-text);
    font-size: 15px !important;
    line-height: 1.65 !important;
}

.tsw-drawer .tsw-drawer__req-title {
    margin-top: 26px;
    margin-bottom: 12px;
    font-size: 1rem !important;
    font-weight: 700;
}

.tsw-drawer__req {
    display: grid;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.tsw-drawer .tsw-drawer__req li {
    position: relative;
    padding: 10px 14px;
    padding-inline-start: 38px;
    border-radius: 10px;
    background: #f8f7fc;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.tsw-drawer__req li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    inset-inline-start: 14px;
    top: 10px;
    color: var(--tsw-violet);
    font-size: 12px;
}

.tsw-drawer__cta {
    width: 100%;
    margin-top: 28px;
}

/* ----- How We Work ------------------------------------------------------- */

.tsw-method__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 40px;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.tsw-method__head .tsw-heading {
    margin-bottom: 0;
}

.tsw .tsw-method .tsw-heading__title {
    font-size: clamp(1.55rem, 2.6vw, 2.2rem) !important;
}

.tsw .tsw-method .tsw-heading__desc {
    font-size: 15px !important;
}

.tsw-method__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
    gap: 13px;
    counter-reset: none;
}

.tsw .tsw-step {
    display: flex;
    flex-direction: column;
    min-height: 154px;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: var(--tsw-card-warm);
    font-size: inherit !important;
    line-height: inherit !important;
}

.tsw-step__num {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #5b21b6;
    color: #fff;
    font-family: "Times New Roman", Times, serif;
    font-size: 13px;
    margin-bottom: 18px;
}

.tsw-step--accent .tsw-step__num {
    background: #d97706;
}

.tsw-step--final .tsw-step__num {
    background: #4c1d95;
}

.tsw-step__title {
    color: var(--tsw-heading);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
}

.tsw-step__label {
    margin-top: auto;
    padding-top: 16px;
    color: #9ca3af;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tsw-step--final .tsw-step__label {
    color: var(--tsw-green);
    font-weight: 700;
}

/* ----- Partnerships ------------------------------------------------------ */

.tsw-partners__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 38px;
}

.tsw-partners__head .tsw-heading {
    margin-bottom: 0;
    max-width: 560px;
}

.tsw .tsw-partners .tsw-heading__desc {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.tsw-partners__nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tsw-partners__nav[hidden] {
    display: none;
}

.tsw-pill-btn,
.tsw-round-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    color: var(--tsw-heading);
    font-family: var(--tsw-font);
    font-size: 16px;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.tsw-pill-btn {
    padding-inline: 24px;
}

.tsw-round-btn {
    width: 44px;
}

.tsw-pill-btn:hover,
.tsw-round-btn:hover {
    background: var(--tsw-primary);
    border-color: var(--tsw-primary);
    color: #fff;
}

.tsw-partners__track {
    --cols: 2;
    --gap: 16px;
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: auto;
    grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
    gap: var(--gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.tsw-partners__track::-webkit-scrollbar {
    display: none;
}

.tsw-partners__track--two-rows {
    grid-template-rows: repeat(2, auto);
    row-gap: 22px;
}

/* Mobile: no sideways carousel — a plain 2-column grid, nav buttons hidden. */
@media (max-width: 767.98px) {
    .tsw-partners__track,
    .tsw-partners__track--two-rows {
        grid-auto-flow: row;
        grid-template-rows: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-columns: auto;
        overflow: visible;
        scroll-snap-type: none;
    }

    .tsw-partners__nav {
        display: none !important;
    }
}

/* Room for the hover lift + shadow inside the scroll container. */
.tsw-partners__track {
    padding: 8px 4px 18px;
    margin: -8px -4px -18px;
}

@media (min-width: 576px) { .tsw-partners__track { --cols: 3; } }
@media (min-width: 992px) { .tsw-partners__track { --cols: 4; --gap: 20px; } }
@media (min-width: 1200px) { .tsw-partners__track { --cols: 5; } }

.tsw-partner-card {
    position: relative;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 14px 14px 22px;
    border-radius: 20px;
    border: 1px solid #ece9f7;
    background: #fff;
    box-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 24px -14px rgba(91, 33, 182, .18);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

/* Thin brand accent that slides in on hover. */
.tsw-partner-card::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .3s ease;
}

.tsw-partner-card:hover {
    transform: translateY(-6px);
    border-color: #ddd6fe;
    box-shadow: 0 2px 4px rgba(17, 24, 39, .04), 0 22px 40px -18px rgba(91, 33, 182, .38);
}

.tsw-partner-card:hover::after {
    transform: scaleX(1);
}

.tsw-partner-card__logo {
    display: grid;
    place-items: center;
    width: 100%;
    height: 132px;
    padding: 18px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 50% 40%, #fff 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(160deg, #f7f5ff 0%, #f1edfd 100%);
}

.tsw-partner-card__logo img {
    max-height: 96px;
    max-width: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}

.tsw-partner-card:hover .tsw-partner-card__logo img {
    transform: scale(1.06);
}

.tsw-partner-card__name {
    padding-inline: 6px;
    color: var(--tsw-heading);
    font-size: clamp(.98rem, 1.15vw, 1.1rem);
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    transition: color .3s ease;
}

.tsw-partner-card:hover .tsw-partner-card__name {
    color: #6d28d9;
}

/* ----- Why Us ------------------------------------------------------------ */

.tsw-why__grid {
    display: grid;
    gap: clamp(32px, 5vw, 64px);
}

@media (min-width: 992px) {
    .tsw-why__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
        align-items: stretch;
    }
}

.tsw-why .tsw-heading {
    margin-bottom: 30px;
}

.tsw .tsw-why__subtitle {
    font-size: 1.1rem !important;
    font-weight: 600;
    padding-bottom: 20px;
    margin-bottom: 38px;
    border-bottom: 1px solid #e5e7eb;
}

.tsw-why__list {
    display: grid;
    gap: 16px 20px;
}

@media (min-width: 576px) {
    .tsw-why__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tsw-why-item {
    display: flex;
    gap: 14px;
    padding: 18px 16px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.tsw-why-item__check {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f3e8ff;
    color: var(--tsw-violet);
    font-size: 11px;
}

.tsw .tsw-why-item__title {
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 600;
}

.tsw .tsw-why-item__text {
    margin-top: 2px;
    color: var(--tsw-text);
    font-size: 12.5px !important;
    line-height: 1.4 !important;
}

.tsw-why__media {
    min-height: 360px;
}

.tsw-why__media img {
    width: 100%;
    height: 100%;
    max-height: 820px;
    object-fit: cover;
    border-radius: 24px;
}

@media (max-width: 991.98px) {
    .tsw-why__media img {
        aspect-ratio: 4 / 3;
        height: auto;
    }
}

/* ----- Impact ------------------------------------------------------------ */

.tsw-impact {
    border-bottom: 1px solid var(--tsw-line-soft);
}

.tsw .tsw-impact .tsw-heading__desc {
    font-size: 16px !important;
}

.tsw-impact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
    gap: 16px;
    max-width: 1216px;
    margin-inline: auto;
}

@media (min-width: 1200px) {
    .tsw-impact__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.tsw-impact-card {
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: var(--tsw-card-warm);
    transition: transform .2s ease, box-shadow .2s ease;
}

.tsw-impact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--tsw-shadow);
}

.tsw-impact-card__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-bottom: 22px;
    font-size: 17px;
}

.tsw-impact-card__icon--purple {
    background: #ede9fe;
    color: #6d28d9;
}

.tsw-impact-card__icon--amber {
    background: #fef3c7;
    color: #b45309;
}

.tsw .tsw-impact-card__title {
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 600;
}

.tsw .tsw-impact-card__text {
    margin-top: 6px;
    color: var(--tsw-text);
    font-size: 13px !important;
    line-height: 1.55 !important;
}

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

.tsw-cta-section {
    padding-top: clamp(60px, 9vw, 130px);
}

.tsw-cta {
    max-width: 1280px;
    margin-inline: auto;
    padding: clamp(48px, 7vw, 84px) clamp(20px, 5vw, 64px);
    border-radius: 24px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(circle at 90% 0%, rgba(147, 51, 234, .55), transparent 40%),
        radial-gradient(circle at 15% 80%, rgba(124, 58, 237, .6), transparent 45%),
        linear-gradient(135deg, #4c1d95 0%, #5b21b6 45%, #2e1065 80%, #0f172a 100%);
}

.tsw .tsw-cta__title {
    max-width: 640px;
    margin-inline: auto;
    color: #fff;
    font-size: clamp(1.55rem, 2.6vw, 2.2rem) !important;
    line-height: 1.12 !important;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.tsw .tsw-cta__desc {
    max-width: 650px;
    margin: 28px auto 40px;
    color: rgba(255, 255, 255, .85);
    font-size: clamp(0.98rem, 1.3vw, 1.2rem) !important;
    line-height: 1.6 !important;
}

.tsw .tsw-cta__note {
    margin-top: 36px;
    color: rgba(255, 255, 255, .55);
    font-size: 13px !important;
}

/* ----- Footer ------------------------------------------------------------ */

.tsw-footer {
    background: var(--tsw-footer);
    color: #d1d5db;
    padding-top: clamp(48px, 6vw, 72px);
}

.tsw-footer__grid {
    display: grid;
    gap: 36px 32px;
    padding-bottom: 40px;
}

@media (min-width: 576px) {
    .tsw-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tsw-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (min-width: 992px) {
    .tsw-footer__grid {
        grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    }

    .tsw-footer__brand {
        grid-column: auto;
    }
}

.tsw-footer__logo img {
    height: 72px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.tsw-footer .tsw-footer__address {
    max-width: 330px;
    margin-top: 28px;
    color: #e5e7eb;
    font-size: 15px !important;
    line-height: 1.45 !important;
}

.tsw-footer__contact {
    display: grid;
    gap: 14px;
    margin-top: 26px !important;
}

.tsw-footer .tsw-footer__contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px !important;
}

.tsw-footer__contact i {
    font-size: 20px;
    color: #fff;
}

.tsw-footer .tsw-footer__contact a {
    color: #fff !important;
    font-size: 15px !important;
    letter-spacing: .02em;
}

.tsw-footer .tsw-footer__title {
    color: #fff;
    font-size: 16px !important;
    font-weight: 600;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.tsw-footer__links {
    display: grid;
    gap: 12px;
}

.tsw-footer .tsw-footer__links a {
    color: #b8b3c7 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    transition: color .2s ease;
}

.tsw-footer .tsw-footer__links a:hover {
    color: #fff !important;
}

.tsw-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 28px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.tsw-footer .tsw-footer__copy {
    color: #fff;
    font-size: 15px !important;
}

.tsw-footer .tsw-footer__copy a,
.tsw-footer__copy span {
    color: #3b82f6 !important;
    font-weight: 600;
    font-size: inherit !important;
}

.tsw-footer__social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.tsw-footer .tsw-footer__social a {
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1 !important;
    transition: opacity .2s ease;
}

.tsw-footer__social a i {
    color: inherit !important;
}

.tsw-footer__social a:hover {
    opacity: .75;
}

@media (max-width: 575.98px) {
    .tsw-footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Inner pages (About us, and shared pieces for future pages)
   ========================================================================== */

/* ----- Page banner ------------------------------------------------------- */

/* Breadcrumb banner: same light lavender style as .tsw-page-hero (purple glow
   at the right corners, faint dots on the left). bg_image shows under a veil. */
.tsw-page-banner,
.tsw-form-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(52px, 6vw, 76px);
    text-align: center;
    color: var(--tsw-heading);
    background:
        radial-gradient(ellipse 45% 90% at 100% 0%, rgba(196, 167, 245, .95), transparent 70%),
        radial-gradient(ellipse 40% 90% at 100% 100%, rgba(214, 190, 250, .8), transparent 70%),
        radial-gradient(ellipse 35% 80% at 0% 100%, rgba(225, 208, 252, .6), transparent 70%),
        linear-gradient(rgba(246, 240, 255, .82), rgba(246, 240, 255, .82)),
        var(--tsw-banner-bg, none),
        linear-gradient(160deg, #f4eeff 0%, #efe6fd 55%, #e9dcfc 100%);
    background-size: cover;
    background-position: center;
}

.tsw-page-banner::before,
.tsw-form-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(rgba(124, 92, 200, .22) 1.2px, transparent 1.4px);
    background-size: 18px 18px;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .5) 20%, transparent 45%);
    mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .5) 20%, transparent 45%);
}

[dir="rtl"] .tsw-page-banner::before,
[dir="rtl"] .tsw-form-hero::before {
    -webkit-mask-image: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, .5) 20%, transparent 45%);
    mask-image: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, .5) 20%, transparent 45%);
}

.tsw .tsw-page-banner__title {
    color: var(--tsw-heading);
    font-size: clamp(1.7rem, 2.8vw, 2.4rem) !important;
    line-height: 1.2 !important;
    font-weight: 700;
}

.tsw-page-banner__crumbs,
.tsw-form-hero__crumbs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    font-size: 16px;
    color: #6d28d9;
}

.tsw .tsw-page-banner__crumbs a,
.tsw .tsw-form-hero__crumbs a {
    color: #4b5563 !important;
    font-size: 16px !important;
}

.tsw .tsw-page-banner__crumbs a:hover,
.tsw .tsw-form-hero__crumbs a:hover {
    color: #6d28d9 !important;
}

/* ----- Shared inner-page typography --------------------------------------- */

.tsw .tsw-display-title {
    font-size: clamp(1.5rem, 2.4vw, 2.1rem) !important;
    line-height: 1.22 !important;
    font-weight: 700;
    letter-spacing: .005em;
    margin-bottom: 20px;
}

.tsw .tsw-lead {
    color: var(--tsw-text);
    font-size: clamp(0.95rem, 1.1vw, 1.05rem) !important;
    line-height: 1.65 !important;
}

.tsw-heading--narrow {
    max-width: 640px;
}

.tsw-richtext--body p,
.tsw-richtext--body {
    color: #4b5563;
    letter-spacing: .01em;
    line-height: 1.7 !important;
}

.tsw-richtext--body p + p {
    margin-top: 16px;
}

/* ----- Split (text + image) ---------------------------------------------- */

.tsw-split__grid {
    display: grid;
    gap: clamp(32px, 5vw, 90px);
}

@media (min-width: 992px) {
    .tsw-split__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    }

    .tsw-split__grid--center {
        align-items: center;
    }
}

.tsw-split__media img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .tsw-split__media img {
        max-height: 520px;
    }
}

/* ----- Vision & mission glass cards --------------------------------------- */

.tsw-glow-section {
    background:
        radial-gradient(circle at 12% 35%, rgba(167, 139, 250, .35), transparent 32%),
        radial-gradient(circle at 92% 70%, rgba(134, 189, 150, .3), transparent 35%),
        #fafafb;
    padding-block: clamp(64px, 9vw, 140px);
}

.tsw-glass-grid {
    display: grid;
    gap: 40px;
    max-width: 1284px;
    margin-inline: auto;
}

@media (min-width: 768px) {
    .tsw-glass-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tsw-glass-card {
    padding: clamp(28px, 3.4vw, 46px);
    border-radius: 24px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(17, 24, 39, .08);
    box-shadow: 0 30px 60px -30px rgba(17, 24, 39, .3);
}

.tsw-glass-card .tsw-kicker {
    font-size: 11.5px;
    margin-bottom: 18px;
}

.tsw .tsw-glass-card__title {
    color: #3b82f6;
    font-size: clamp(1.6rem, 2.3vw, 2rem) !important;
    line-height: 1.25 !important;
    font-weight: 700;
    margin-bottom: 24px;
}

.tsw .tsw-glass-card__text {
    color: #4b5563;
    font-size: 16px !important;
    line-height: 1.7 !important;
}

/* ----- Objectives (badge checks) ----------------------------------------- */

.tsw-badge-checks {
    display: grid;
    gap: 16px;
    margin-top: 40px !important;
}

.tsw .tsw-badge-checks li {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #1f2937;
    font-weight: 600;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.tsw-badge-checks__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #ede9fe;
}

.tsw-badge-checks__icon i {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #8b5cf6;
    color: #fff;
    font-size: 10px;
}

/* ----- Values ------------------------------------------------------------ */

.tsw-value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 20px;
}

@media (min-width: 1200px) {
    .tsw-value-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.tsw-value-card {
    padding: 20px 20px 28px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(17, 24, 39, .04);
    transition: transform .2s ease, box-shadow .2s ease;
}

.tsw-value-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--tsw-shadow);
}

.tsw-value-card__icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 6px;
    background: #ede9fe;
    color: #7c3aed;
    font-size: 18px;
    margin-bottom: 26px;
}

.tsw .tsw-value-card__title {
    font-size: 18px !important;
    line-height: 1.3 !important;
    font-weight: 600;
    margin-bottom: 14px;
}

.tsw .tsw-value-card__text {
    color: #4b5563;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

/* ----- Target beneficiaries ---------------------------------------------- */

/* Cards in a row stretch to the tallest one (About, Training, Contact). */
.tsw-benef-grid {
    display: grid;
    gap: 20px;
    align-items: stretch;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .tsw-benef-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .tsw-benef-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.tsw-benef-card {
    padding: 24px 24px 30px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.tsw .tsw-benef-card__title {
    padding: 12px 16px;
    border-radius: 6px;
    color: #fff;
    text-align: center;
    font-size: 20px !important;
    line-height: 1.4 !important;
    font-weight: 600;
    margin-bottom: 28px;
}

.tsw-fill--indigo { background: #4f46e5; }
.tsw-fill--purple { background: #8b5cf6; }
.tsw-fill--amber { background: #f59e0b; }
.tsw-fill--green { background: #10b981; }

/* Green-tick checklist (beneficiaries, why us) */
.tsw-checklist {
    display: grid;
    gap: 22px;
}

.tsw .tsw-checklist li {
    position: relative;
    padding-inline-start: 40px;
    color: #1f2937;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.tsw-checklist li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    inset-inline-start: 2px;
    top: 0;
    color: #10b981;
    font-size: 17px;
}

.tsw-checklist--lg {
    margin-top: 48px !important;
}

/* ----- Partner sectors --------------------------------------------------- */

.tsw-sector-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.tsw-sector-card {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    min-height: 240px;
    padding: 24px 18px 30px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    text-align: center;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.tsw-sector-card:hover {
    border-color: #c4b5fd;
    box-shadow: var(--tsw-shadow);
}

.tsw-sector-card__icon {
    display: grid;
    place-items: center;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    border: 1px solid #c4b5fd;
    background: #f5f3ff;
    color: #8b5cf6;
    font-size: 40px;
}

.tsw-sector-card__name {
    color: #374151;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

@media (max-width: 575.98px) {
    .tsw-sector-card {
        flex-basis: 140px;
        min-height: 0;
        gap: 18px;
    }

    .tsw-sector-card__icon {
        width: 72px;
        height: 72px;
        font-size: 28px;
    }

    .tsw-sector-card__name {
        font-size: 14px;
    }
}

/* ----- About: Our Partners (compact icon cards) ------------------------- */

.tsw-partner-chips {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 16px;
}

@media (min-width: 1200px) {
    .tsw-partner-chips {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.tsw-partner-chip {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 84px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid #ece9f7;
    background: #fff;
    box-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 22px -16px rgba(91, 33, 182, .25);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.tsw-partner-chip:hover {
    transform: translateY(-3px);
    border-color: #ddd6fe;
    box-shadow: 0 2px 4px rgba(17, 24, 39, .04), 0 16px 30px -16px rgba(91, 33, 182, .38);
}

.tsw-partner-chip__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(145deg, #f5f3ff, #ede9fe);
    color: #7c3aed;
    font-size: 19px;
    transition: background .25s ease, color .25s ease;
}

.tsw-partner-chip:hover .tsw-partner-chip__icon {
    background: linear-gradient(145deg, #8b5cf6, #6d28d9);
    color: #fff;
}

.tsw-partner-chip__name {
    color: #374151;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 575.98px) {
    .tsw-partner-chips {
        gap: 10px;
    }

    .tsw-partner-chip {
        min-height: 0;
        padding: 12px 14px;
    }

    .tsw-partner-chip__icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .tsw-partner-chip__name {
        font-size: 14px;
    }
}

/* ----- Future vision ----------------------------------------------------- */

.tsw-future {
    padding: clamp(40px, 5vw, 60px) clamp(20px, 5vw, 60px);
    border-radius: 24px;
    text-align: center;
    background:
        radial-gradient(ellipse 60% 40% at 20% 20%, rgba(76, 29, 149, .55), transparent 70%),
        radial-gradient(ellipse 50% 60% at 80% 80%, rgba(76, 29, 149, .5), transparent 70%),
        repeating-radial-gradient(ellipse at 30% 0%, rgba(255, 255, 255, .025) 0 40px, transparent 40px 90px),
        #1e0b4a;
}

.tsw .tsw-future__title {
    color: #10b981;
    font-size: clamp(1.5rem, 2.4vw, 2.1rem) !important;
    line-height: 1.2 !important;
    font-weight: 700;
    margin-bottom: 40px;
}

.tsw .tsw-future__text {
    max-width: 800px;
    margin-inline: auto;
    color: #e5e7eb;
    font-size: 16px !important;
    line-height: 1.65 !important;
}

.tsw .tsw-future__text + .tsw-future__text {
    margin-top: 38px;
}

.tsw .tsw-future__title--light {
    color: #fff;
}

.tsw .tsw-future__link {
    display: inline-block;
    margin-top: 48px;
    color: #3b82f6 !important;
    font-size: 17px !important;
    font-weight: 600;
    text-decoration: underline !important;
    text-underline-offset: 4px;
}

.tsw-future__btn {
    margin-top: 44px;
}

.tsw .tsw-future__link:hover {
    color: #60a5fa !important;
}

/* ==========================================================================
   Service pages (Individual Services, and future service pages)
   ========================================================================== */

.tsw .tsw-service-block__heading {
    max-width: 720px;
    margin: 0 auto clamp(40px, 6vw, 90px);
    text-align: center;
}

@media (min-width: 992px) {
    .tsw-service-block--reverse .tsw-split__media {
        order: -1;
    }
}

.tsw .tsw-accent-title {
    color: #8b5cf6;
    font-size: clamp(1.45rem, 2.2vw, 2rem) !important;
    line-height: 1.25 !important;
    font-weight: 700;
    margin-bottom: 16px;
}

.tsw .tsw-accent-title--blue {
    color: #3b82f6;
}

.tsw .tsw-lead--ruled {
    padding-bottom: 28px;
    margin-bottom: 32px;
    border-bottom: 1px solid #d1d5db;
}

.tsw-checklist--compact {
    gap: 20px;
}

.tsw-checklist--blue li::before {
    color: #3b82f6;
}

.tsw .tsw-checklist--light li {
    color: #d1d5db;
}

.tsw .tsw-ruled-subtitle {
    color: var(--tsw-heading);
    font-size: 20px !important;
    line-height: 1.4 !important;
    font-weight: 600;
    padding-bottom: 18px;
    margin: 32px 0 32px;
    border-bottom: 1px solid #d1d5db;
}

/* Service card grid (Business Services) */
.tsw-service-cards {
    display: grid;
    gap: 22px;
    align-items: start;
}

@media (min-width: 768px) {
    .tsw-service-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .tsw-service-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.tsw-service-card {
    padding: 24px 24px 28px;
    border-radius: 16px;
    border: 1px solid #d6d3d1;
    background: #fff;
    scroll-margin-top: 110px;
    transition: box-shadow .25s ease, border-color .25s ease;
}

.tsw-service-card:hover {
    border-color: #c4b5fd;
    box-shadow: var(--tsw-shadow);
}

.tsw-service-card__head {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.tsw-service-card__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    border: 1px solid #ddd6fe;
    background: #f5f3ff;
    color: #8b5cf6;
    font-size: 38px;
}

.tsw .tsw-service-card__title {
    font-size: clamp(1.2rem, 1.6vw, 1.55rem) !important;
    line-height: 1.25 !important;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.tsw .tsw-service-card__subtitle {
    color: #8b5cf6;
    font-size: 20px !important;
    line-height: 1.5 !important;
    font-weight: 600;
    margin-bottom: 12px;
}

.tsw .tsw-service-card__desc {
    color: var(--tsw-text);
    font-size: 16px !important;
    line-height: 1.65 !important;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

@media (max-width: 575.98px) {
    .tsw-service-card__icon {
        width: 64px;
        height: 64px;
        font-size: 26px;
    }

    .tsw-service-card__head {
        gap: 14px;
    }
}

/* ==========================================================================
   Empowerment Programs page
   ========================================================================== */

.tsw-section--flush-top {
    padding-top: 0;
}

.tsw .tsw-display-title--ruled {
    padding-bottom: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid #e5e7eb;
}

.tsw .tsw-display-title--narrow {
    max-width: 640px;
}

/* Inner-page hero: light lavender gradient (purple glow top-right and
   bottom-right) with a faint dot pattern on the left. An uploaded bg_image
   is shown under a light veil so the dark text stays readable. */
.tsw-page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(64px, 7vw, 112px);
    color: var(--tsw-heading);
    background:
        radial-gradient(ellipse 55% 60% at 100% 0%, rgba(196, 167, 245, .95), transparent 70%),
        radial-gradient(ellipse 50% 55% at 100% 100%, rgba(214, 190, 250, .85), transparent 70%),
        radial-gradient(ellipse 60% 70% at 15% 60%, rgba(250, 246, 255, .9), transparent 75%),
        linear-gradient(rgba(246, 240, 255, .82), rgba(246, 240, 255, .82)),
        var(--tsw-banner-bg, none),
        linear-gradient(160deg, #f4eeff 0%, #efe6fd 55%, #e9dcfc 100%);
    background-size: cover;
    background-position: center;
}

/* Faint dot grid, fading out toward the right. */
.tsw-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(rgba(124, 92, 200, .22) 1.2px, transparent 1.4px);
    background-size: 18px 18px;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .6) 25%, transparent 55%);
    mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .6) 25%, transparent 55%);
}

[dir="rtl"] .tsw-page-hero::before {
    -webkit-mask-image: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, .6) 25%, transparent 55%);
    mask-image: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, .6) 25%, transparent 55%);
}

/* Hero placed under the breadcrumb banner: plain white so the two don't merge. */
.tsw-page-hero--after-banner {
    background: #fff;
    padding-block: clamp(56px, 6vw, 96px);
}

.tsw-page-hero--after-banner::before {
    display: none;
}

.tsw-page-hero .tsw-split__media img {
    border-radius: 22px;
    box-shadow: 0 30px 60px -28px rgba(91, 33, 182, .45), 0 0 0 1px rgba(255, 255, 255, .6);
}

.tsw-page-hero__crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
    color: #6d28d9;
    font-size: 16px;
}

.tsw .tsw-page-hero__crumbs a {
    color: #4b5563 !important;
    font-size: 16px !important;
}

.tsw .tsw-page-hero__crumbs a:hover {
    color: #6d28d9 !important;
}

.tsw .tsw-page-hero__title {
    color: var(--tsw-heading);
    font-size: clamp(1.5rem, 2.4vw, 2.1rem) !important;
    line-height: 1.22 !important;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: .01em;
    text-wrap: balance;
}

.tsw-page-hero__text,
.tsw .tsw-page-hero__text p {
    color: #4b5563;
    font-size: 16px !important;
    line-height: 1.7 !important;
    letter-spacing: .01em;
}

.tsw-page-hero__text p + p {
    margin-top: 16px;
}

/* Objective pill cards */
.tsw-pill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 20px;
    margin-top: 30px;
}

@media (min-width: 1200px) {
    .tsw-pill-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.tsw-pill-card {
    display: flex;
    align-items: center;
    min-height: 100px;
    padding: 20px 30px;
    border-radius: 20px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
    font-size: 16px;
    line-height: 1.6;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.tsw-pill-card:hover {
    border-color: #c4b5fd;
    box-shadow: 0 10px 30px -18px rgba(91, 33, 182, .5);
}

/* Compact service card (core programs) */
.tsw-service-card--compact .tsw-service-card__head {
    align-items: flex-start;
    gap: 14px;
}

.tsw-service-card--compact .tsw-service-card__icon {
    width: 72px;
    height: 72px;
    font-size: 26px;
}

.tsw .tsw-service-card--compact .tsw-service-card__title {
    font-size: 20px !important;
    margin-bottom: 8px;
}

.tsw-service-card__tag {
    display: block;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.tsw .tsw-service-card__text {
    color: var(--tsw-text);
    font-size: 16px !important;
    line-height: 1.65 !important;
    margin-bottom: 26px;
}

.tsw .tsw-service-card__list-title {
    font-size: 16px !important;
    font-weight: 700;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

/* Navy section with dark cards (community programs) */
.tsw-navy-section {
    background: #141a2b;
}

.tsw-navy-section .tsw-display-title {
    color: #fff;
    max-width: 800px;
}

.tsw .tsw-navy-section .tsw-lead {
    color: #d1d5db;
    border-bottom-color: rgba(255, 255, 255, .85);
}

.tsw-dark-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 20px;
}

@media (min-width: 1200px) {
    .tsw-dark-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.tsw-dark-card {
    padding: 24px 24px 28px;
    border-radius: 20px;
    border: 1px solid #2d3548;
    background: #1b2233;
    transition: border-color .2s ease, transform .2s ease;
}

.tsw-dark-card:hover {
    border-color: #6d28d9;
    transform: translateY(-3px);
}

.tsw-dark-card__icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: #374151;
    color: #8b5cf6;
    font-size: 26px;
    margin-bottom: 30px;
}

.tsw .tsw-dark-card__title {
    color: #fff;
    font-size: 20px !important;
    line-height: 1.35 !important;
    font-weight: 600;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #374151;
}

.tsw .tsw-dark-card__text {
    color: #9ca3af;
    font-size: 16px !important;
    line-height: 1.65 !important;
}

/* ----- Empowerment Programs page: smaller icons, smooth equal-height cards -- */

/* Every card the same height: all rows sized to the tallest card. */
#core-programs .tsw-service-cards,
#community-programs .tsw-dark-cards,
#program-objectives .tsw-pill-grid {
    align-items: stretch;
    grid-auto-rows: 1fr;
}

#core-programs .tsw-service-card {
    display: flex;
    flex-direction: column;
    padding: 22px 22px 24px;
    border-radius: 20px;
    border: 1px solid #ece9f7;
    box-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 10px 26px -18px rgba(91, 33, 182, .28);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

#core-programs .tsw-service-card:hover {
    transform: translateY(-4px);
    border-color: #ddd6fe;
    box-shadow: 0 2px 4px rgba(17, 24, 39, .04), 0 22px 40px -20px rgba(91, 33, 182, .4);
}

#core-programs .tsw-service-card__head {
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom-color: #f1eef9;
}

#core-programs .tsw-service-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 0;
    background: linear-gradient(145deg, #f5f3ff, #ede9fe);
    color: #7c3aed;
    font-size: 18px;
    transition: background .3s ease, color .3s ease;
}

#core-programs .tsw-service-card:hover .tsw-service-card__icon {
    background: linear-gradient(145deg, #8b5cf6, #6d28d9);
    color: #fff;
}

.tsw #core-programs .tsw-service-card__title {
    font-size: 18px !important;
    line-height: 1.3 !important;
    margin-bottom: 4px;
}

#core-programs .tsw-service-card__tag {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

.tsw #core-programs .tsw-service-card__text {
    font-size: 15px !important;
    margin-bottom: 20px;
}

.tsw #core-programs .tsw-service-card__list-title {
    font-size: 15px !important;
    border-bottom-color: #f1eef9;
}

#core-programs .tsw-checklist--compact {
    gap: 12px;
}

.tsw #core-programs .tsw-checklist li {
    font-size: 15px !important;
}

/* Community programs (dark cards) */
#community-programs .tsw-dark-card {
    display: flex;
    flex-direction: column;
    padding: 22px 22px 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .07);
    background: linear-gradient(160deg, #1f2740 0%, #19203a 100%);
    box-shadow: 0 18px 36px -24px rgba(0, 0, 0, .6);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

#community-programs .tsw-dark-card:hover {
    transform: translateY(-4px);
    border-color: rgba(167, 139, 250, .45);
    box-shadow: 0 24px 44px -24px rgba(109, 40, 217, .55);
}

#community-programs .tsw-dark-card__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    background: rgba(139, 92, 246, .16);
    color: #a78bfa;
    font-size: 18px;
    transition: background .3s ease, color .3s ease;
}

#community-programs .tsw-dark-card:hover .tsw-dark-card__icon {
    background: #7c3aed;
    color: #fff;
}

.tsw #community-programs .tsw-dark-card__title {
    font-size: 18px !important;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom-color: rgba(255, 255, 255, .08);
}

.tsw #community-programs .tsw-dark-card__text {
    font-size: 15px !important;
}

/* Objective cards */
#program-objectives .tsw-pill-card {
    border-color: #ece9f7;
    box-shadow: 0 8px 24px -18px rgba(91, 33, 182, .3);
}

/* Step cards (Program Delivery Framework) */
.tsw-step-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    grid-auto-rows: 1fr;
    gap: 18px;
    counter-reset: none;
}

@media (min-width: 1200px) {
    .tsw-step-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.tsw .tsw-step-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px 22px 24px;
    border-radius: 18px;
    border: 1px solid #ece9f7;
    background: #fff;
    box-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 10px 26px -18px rgba(91, 33, 182, .28);
    font-size: inherit !important;
    line-height: inherit !important;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.tsw .tsw-step-card:hover {
    transform: translateY(-4px);
    border-color: #ddd6fe;
    box-shadow: 0 2px 4px rgba(17, 24, 39, .04), 0 20px 36px -18px rgba(91, 33, 182, .4);
}

/* Dashed connector to the next card (desktop, not after the last of a row). */
@media (min-width: 1200px) {
    .tsw .tsw-step-card:not(:nth-child(4n)):not(:last-child)::after {
        content: "";
        position: absolute;
        top: 41px;
        inset-inline-start: calc(100% + 2px);
        width: 14px;
        border-top: 2px dashed #c4b5fd;
    }
}

.tsw-step-card__num {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(145deg, #8b5cf6, #6d28d9);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 8px 16px -8px rgba(109, 40, 217, .7);
}

.tsw-step-card__title {
    color: var(--tsw-heading);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
}

/* Phones: compact rows, number beside the title. */
@media (max-width: 575.98px) {
    .tsw-step-cards {
        grid-auto-rows: auto;
        gap: 10px;
    }

    .tsw .tsw-step-card {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 14px 16px;
        border-radius: 14px;
    }

    .tsw-step-card__num {
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .tsw-step-card__title {
        font-size: 15px;
    }
}

/* Numbered framework steps */
.tsw-number-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 20px;
    padding: clamp(36px, 5vw, 100px) clamp(16px, 3vw, 40px) !important;
    border-radius: 24px;
    border: 1px solid #d1d5db;
}

@media (min-width: 992px) {
    .tsw-number-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 80px;
    }
}

.tsw .tsw-number-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
    text-align: center;
    font-size: inherit !important;
}

.tsw-number-step__num {
    display: grid;
    place-items: center;
    width: clamp(80px, 8vw, 120px);
    height: clamp(80px, 8vw, 120px);
    border-radius: 50%;
    background: #141a2b;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 700;
}

.tsw-number-step__title {
    max-width: 240px;
    color: #374151;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

@media (max-width: 575.98px) {
    .tsw-number-step {
        gap: 18px;
    }

    .tsw-number-step__title {
        font-size: 14px;
    }
}

/* Coloured highlight cards (partnerships / impact) */
.tsw-color-cards {
    display: grid;
    gap: 22px;
}

@media (min-width: 992px) {
    .tsw-color-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tsw-color-card {
    padding: clamp(28px, 3.5vw, 50px);
    border-radius: 24px;
    background: #3b82f6;
    color: #fff;
}

.tsw-color-card--green {
    background: #10b981;
    color: #1f2937;
}

.tsw-color-card--purple {
    background: #6d28d9;
}

.tsw .tsw-color-card__title {
    color: inherit;
    font-size: clamp(1.5rem, 2.3vw, 2rem) !important;
    line-height: 1.2 !important;
    font-weight: 700;
    margin-bottom: 16px;
}

.tsw .tsw-color-card__text {
    color: inherit;
    opacity: .9;
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin-bottom: 36px;
}

.tsw .tsw-color-card .tsw-checklist li {
    color: inherit;
}

.tsw-color-card--blue .tsw-checklist li::before {
    color: #10b981;
}

.tsw-color-card--green .tsw-checklist li::before {
    color: #1f2937;
}

@media (min-width: 576px) {
    .tsw-checklist--cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
    }
}

/* ==========================================================================
   Training & Qualification page
   ========================================================================== */

.tsw-btn--square {
    border-radius: 6px;
    font-size: 18px !important;
    padding-inline: 24px;
}

.tsw-page-hero__btn {
    margin-top: 40px;
}

.tsw .tsw-display-title--blue {
    color: #3b82f6;
}

.tsw .tsw-lead--tight {
    max-width: 720px;
}

.tsw .tsw-display-title--narrow-ruled {
    max-width: none;
}

.tsw-section--sky {
    background: #eaf2fd;
}

/* Objectives with empty checkbox markers, in a dashed frame */
.tsw-box-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 26px 28px;
    margin-top: 30px !important;
    padding: 26px 28px !important;
    border-radius: 10px;
    border: 1px dashed #e5e7eb;
}

@media (min-width: 1200px) {
    .tsw-box-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.tsw .tsw-box-list li {
    position: relative;
    padding-inline-start: 40px;
    color: #374151;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.tsw-box-list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 2px solid #9ca3af;
}

/* Stacked service card: icon above title, bullet list */
.tsw-service-card--stacked .tsw-service-card__icon {
    width: 72px;
    height: 72px;
    font-size: 26px;
    margin-bottom: 40px;
}

.tsw .tsw-service-card--stacked .tsw-service-card__title {
    font-size: 20px !important;
    margin-bottom: 10px;
}

.tsw .tsw-service-card__tag--ruled {
    font-size: 14px !important;
    line-height: 1.55 !important;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.tsw-dot-list {
    display: grid;
    gap: 6px;
}

.tsw .tsw-dot-list li {
    position: relative;
    padding-inline-start: 24px;
    color: #4b5563;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.tsw-dot-list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 10px;
    top: .7em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #4b5563;
}

/* Pill tags (guidance services) */
.tsw-tag-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 14px;
}

.tsw .tsw-tag-pills li {
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #4b5563;
    font-size: 16px !important;
    line-height: 1.5 !important;
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.tsw .tsw-tag-pills li:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

/* Single-row numbered steps with vertical dividers (desktop) */
.tsw-number-steps--row {
    border: 0;
    border-top: 1px solid #e5e7eb;
    border-radius: 0;
    margin-top: 24px !important;
    padding: 20px 0 0 !important;
    gap: 40px 0;
}

.tsw-number-steps--row .tsw-number-step {
    gap: 26px;
    padding-inline: 10px;
}

@media (min-width: 992px) {
    .tsw-number-steps--row {
        grid-template-columns: repeat(var(--steps, 7), minmax(0, 1fr));
    }

    .tsw-number-steps--row .tsw-number-step + .tsw-number-step {
        border-inline-start: 1px solid #e5e7eb;
    }

    .tsw-number-steps--row .tsw-number-step__num {
        width: clamp(72px, 6.5vw, 120px);
        height: clamp(72px, 6.5vw, 120px);
    }
}

/* ==========================================================================
   Training Program Request Form
   ========================================================================== */

/* Same order as the page banner: title first, breadcrumb below. */
.tsw-form-hero > .tsw-container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.tsw .tsw-form-hero__title {
    margin-top: 0;
    margin-bottom: 2px;
    color: var(--tsw-heading);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem) !important;
    font-weight: 700;
}

.tsw-form-section {
    background:
        radial-gradient(ellipse 45% 40% at 50% 40%, rgba(196, 181, 253, .18), transparent 70%),
        #fff;
}

.tsw-form-wrap {
    width: min(100% - 32px, 940px);
    margin-inline: auto;
}

.tsw .tsw-form-title {
    font-size: clamp(1.55rem, 2.4vw, 2rem) !important;
    line-height: 1.2 !important;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.tsw-form {
    display: grid;
    gap: 40px;
    margin-top: 50px;
}

.tsw-form-card {
    min-width: 0;
    margin: 0;
    padding: clamp(22px, 3vw, 32px);
    border: 0;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 4px 30px -12px rgba(17, 24, 39, .12);
}

/* A floated legend renders inside the fieldset box instead of on its border. */
.tsw-form-card__title {
    float: left;
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--tsw-heading);
    font-size: 18px;
    font-weight: 600;
}

.tsw .tsw-form-card__sub {
    clear: both;
    margin: 2px 0 26px;
    color: #4b5563;
    font-size: 12px !important;
}

.tsw-field-row {
    display: grid;
    gap: 0 16px;
}

@media (min-width: 768px) {
    .tsw-field-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tsw-field {
    margin-bottom: 20px;
}

.tsw-field > label,
.tsw-field__label,
.tsw-field__head label {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
}

.tsw-field__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.tsw-req {
    color: #ef4444;
}

.tsw-optional {
    color: #6b7280;
    font-size: 11px;
    font-weight: 400;
}

.tsw-field__hint {
    display: block;
    margin-top: 8px;
    color: #4b5563;
    font-size: 12px;
}

.tsw-counter {
    color: #6b7280;
    font-size: 12px;
}

.tsw-input {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 4px;
    background: #eef3fe;
    border: 1px solid #e3eafb;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.tsw-input:focus-within,
.tsw-textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .15);
}

.tsw-input > i {
    position: absolute;
    inset-inline-start: 14px;
    color: #6b7280;
    font-size: 14px;
    pointer-events: none;
}

.tsw-input input,
.tsw-input select {
    width: 100%;
    height: 44px;
    padding-inline: 40px 14px;
    border: 0;
    background: transparent;
    color: #111827;
    font-family: var(--tsw-font);
    font-size: 14px;
    outline: none;
}

.tsw-input input::placeholder,
.tsw-textarea::placeholder {
    color: #9ca3af;
}

.tsw-input--select select {
    appearance: none;
    cursor: pointer;
}

.tsw-input--select::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    inset-inline-end: 14px;
    color: #6b7280;
    pointer-events: none;
}

.tsw-input--prefixed input {
    padding-inline-start: 12px;
}

.tsw-input__prefix {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 14px;
    border-inline-end: 1px solid #d6dff5;
    background: #e3e9f8;
    border-start-start-radius: 4px;
    border-end-start-radius: 4px;
    color: #111827;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.tsw-textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #e3eafb;
    background: #eef3fe;
    color: #111827;
    font-family: var(--tsw-font);
    font-size: 14px;
    resize: vertical;
    outline: none;
}

.tsw-form.was-validated :invalid:not(fieldset) {
    border-color: #ef4444;
}

.tsw-form.was-validated .tsw-input:has(:invalid) {
    border-color: #ef4444;
}

/* Participant size cards */
.tsw-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

@media (min-width: 576px) {
    .tsw-choice-grid {
        grid-template-columns: repeat(4, minmax(0, 110px));
    }
}

.tsw-choice {
    margin: 0;
    cursor: pointer;
}

.tsw-choice input,
.tsw-segment__item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tsw-choice__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 9px 6px;
    border-radius: 4px;
    background: #eef3fe;
    color: #111827;
    transition: background-color .2s ease, color .2s ease;
}

.tsw-choice__box strong {
    font-size: 14px;
}

.tsw-choice__box small {
    font-size: 11px;
    color: #4b5563;
}

.tsw-choice input:checked + .tsw-choice__box {
    background: #3b3be0;
    color: #fff;
}

.tsw-choice input:checked + .tsw-choice__box small {
    color: #e0e7ff;
}

.tsw-choice input:focus-visible + .tsw-choice__box,
.tsw-segment__item input:focus-visible + span {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

/* Delivery method segmented control */
.tsw-segment {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border-radius: 4px;
    background: #e3e9f8;
}

.tsw-segment__item {
    margin: 0;
    cursor: pointer;
}

.tsw-segment__item span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 36px;
    border-radius: 4px;
    color: #374151;
    font-size: 14px;
    transition: background-color .2s ease;
}

.tsw-segment__item input:checked + span {
    background: #fff;
    color: #1e1b4b;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(17, 24, 39, .1);
}

.tsw-segment__item input:checked + span i {
    color: #3b3be0;
}

/* Actions */
.tsw-form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
}

.tsw-form-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 36px;
    padding: 0 18px;
    border: 0;
    border-radius: 4px;
    font-family: var(--tsw-font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.tsw-form-btn--ghost {
    background: #e3e9f8;
    color: #1f2937;
}

.tsw-form-btn--ghost:hover {
    background: #d6dff5;
}

.tsw-form-btn--primary {
    height: 44px;
    padding: 0 26px;
    background: #3b3be0;
    color: #fff;
}

.tsw-form-btn--primary:hover {
    background: #2f2fc0;
    transform: translateY(-1px);
}

.tsw .tsw-form-note {
    margin-top: 24px;
    color: #374151;
    font-size: 12px !important;
}

.tsw-form-note i {
    color: #059669;
    margin-inline-end: 4px;
}

@media (max-width: 575.98px) {
    .tsw-form-btn--primary {
        width: 100%;
    }
}

/* ==========================================================================
   Employment & Flexible Work page
   ========================================================================== */

/* Hero photo collage: wide photo on top, blue block + photo below */
.tsw-hero-collage {
    display: grid;
    grid-template-columns: minmax(0, 0.38fr) minmax(0, 1fr);
    gap: 16px 20px;
    max-width: 500px;
    width: 100%;
    margin-inline-start: auto;
}

.tsw-hero-collage img {
    width: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.tsw-hero-collage__main {
    grid-column: 1 / -1;
    aspect-ratio: 494 / 316;
}

.tsw-hero-collage__block {
    border-radius: 16px;
    background: #3b82f6;
}

.tsw-hero-collage__side {
    aspect-ratio: 328 / 234;
}

@media (max-width: 991.98px) {
    .tsw-hero-collage {
        margin-inline: auto;
    }
}

.tsw .tsw-section-title {
    font-size: clamp(1.55rem, 2.4vw, 2.1rem) !important;
    line-height: 1.2 !important;
    font-weight: 700;
    margin-bottom: 14px;
}

.tsw-tag-pills--spaced {
    margin-top: 26px !important;
    max-width: 620px;
}

.tsw-color-card--amber {
    background: #f59e0b;
    color: #1f2937;
}

.tsw-color-card--amber .tsw-checklist li::before {
    color: #1f2937;
}

.tsw .tsw-color-card__text--ruled {
    padding-bottom: 26px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(31, 41, 55, .3);
}

/* Flat (unboxed) form variant with numbered step headers */
.tsw-form--flat {
    gap: 0;
}

.tsw-form--flat .tsw-input,
.tsw-form--flat .tsw-textarea {
    background: #fff;
    border-color: #d1d5db;
}

.tsw-step-head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 8px;
    margin: 20px 0 24px;
    border-bottom: 1px solid #e5e7eb;
}

.tsw-step-head:first-of-type {
    margin-top: 0;
}

.tsw-step-head__num {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: #3b82f6;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.tsw .tsw-step-head h3 {
    color: #3b82f6;
    font-size: 18px !important;
    font-weight: 600;
}

.tsw-step-head__count {
    margin-inline-start: auto;
    color: #4b5563;
    font-size: 11px;
    font-weight: 600;
}

/* Multi-select chips */
.tsw-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tsw-chip {
    margin: 0;
    cursor: pointer;
}

.tsw-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tsw-chip span {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 6px;
    background: #eef3fe;
    color: #374151;
    font-size: 13px;
    transition: background-color .2s ease, color .2s ease;
}

.tsw-chip input:checked + span {
    background: #3b82f6;
    color: #fff;
}

.tsw-chip input:focus-visible + span {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

/* File drop zone (label.tsw-dropzone: must out-rank `.tsw-field > label`) */
.tsw-field > label.tsw-dropzone,
.tsw-dropzone {
    position: relative;
    display: flex;
    margin-bottom: 0;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 30px 16px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    background: #fff;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease;
}

.tsw-dropzone input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.tsw-dropzone.is-dragging,
.tsw-dropzone:hover {
    border-color: #6366f1;
    background: #f5f7ff;
}

.tsw-dropzone.has-file {
    border-color: #10b981;
    background: #f0fdf4;
}

.tsw-dropzone.is-error {
    border-color: #ef4444;
}

.tsw-dropzone__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(17, 24, 39, .1);
    color: #1d3bd6;
    font-size: 20px;
}

.tsw-dropzone strong {
    color: #111827;
    font-size: 14px;
    font-weight: 500;
    word-break: break-all;
}

.tsw-dropzone small {
    color: #4b5563;
    font-size: 12px;
}

.tsw-form-actions--end {
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
}

.tsw-form-btn--text {
    background: transparent;
    color: #374151;
}

.tsw-form-btn--text:hover {
    color: #111827;
}

.tsw-form-btn--deep {
    background: #1d3bd6;
    min-width: 260px;
}

/* ==========================================================================
   Strategic Partnerships page
   ========================================================================== */

.tsw-section--tight {
    padding-bottom: 0;
}

/* Dashed vision banner */
.tsw-dashed-banner {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 24px;
    border-radius: 16px;
    border: 1.5px dashed #a78bfa;
    background: #efe8fb;
}

.tsw-dashed-banner__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 160px;
    height: 160px;
    border-radius: 12px;
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    box-shadow: 0 18px 40px -16px rgba(91, 33, 182, .35);
    color: #8b5cf6;
    font-size: 54px;
}

.tsw .tsw-dashed-banner__title {
    color: #8b5cf6;
    font-size: clamp(1.5rem, 2.5vw, 2.1rem) !important;
    line-height: 1.15 !important;
    font-weight: 700;
    margin-bottom: 14px;
}

.tsw .tsw-dashed-banner__text {
    color: #4b5563;
    font-size: 16px !important;
    line-height: 1.65 !important;
}

@media (max-width: 767.98px) {
    .tsw-dashed-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .tsw-dashed-banner__icon {
        width: 88px;
        height: 88px;
        font-size: 32px;
    }
}

.tsw .tsw-service-card__title--ruled {
    padding-bottom: 22px;
    margin-bottom: 22px !important;
    border-bottom: 1px solid #e5e7eb;
}

.tsw .tsw-service-card__small {
    color: #6b7280;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

/* Lavender impact panel with photo */
.tsw-color-card--lavender {
    background: #a78bfa;
    color: #1f2937;
}

.tsw-color-card--lavender .tsw-checklist li::before {
    color: #1f2937;
}

.tsw-color-card--lavender .tsw-color-card__text--ruled {
    border-bottom-color: #7c3aed;
}

.tsw-impact-panel {
    display: grid;
    gap: 30px;
    align-items: center;
}

@media (min-width: 992px) {
    .tsw-impact-panel {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 40px;
    }
}

.tsw-impact-panel__img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

/* Outlined CTA */
.tsw-outline-cta {
    max-width: 1306px;
    margin-inline: auto;
    padding: clamp(36px, 5vw, 64px) clamp(20px, 5vw, 64px);
    border-radius: 24px;
    border: 2px dashed #8b5cf6;
    text-align: center;
}

.tsw .tsw-outline-cta__title {
    max-width: 640px;
    margin: 0 auto 36px;
    color: #8b5cf6;
    font-size: clamp(1.55rem, 2.6vw, 2.2rem) !important;
    line-height: 1.15 !important;
    font-weight: 700;
}

.tsw .tsw-outline-cta__text {
    max-width: 1040px;
    margin-inline: auto;
    color: #4b5563;
    font-size: 16px !important;
    line-height: 1.65 !important;
}

.tsw-outline-cta__btn {
    margin-top: 34px;
}

/* ==========================================================================
   Methodology & How We Work page
   ========================================================================== */

.tsw .tsw-page-hero__title--wide {
    max-width: 960px;
}

.tsw-glass-row {
    display: grid;
    gap: 18px;
    margin-top: 6px;
}

@media (min-width: 768px) {
    .tsw-glass-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.tsw .tsw-glass-row__card {
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 10px 30px -20px rgba(91, 33, 182, .35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #4b5563;
    font-size: 16px !important;
    line-height: 1.65 !important;
}

/* Short intro text, but the divider under it spans the full width. */
.tsw .tsw-mth-lead {
    max-width: none;
    padding-inline-end: 50%;
}

@media (max-width: 991.98px) {
    .tsw .tsw-mth-lead {
        padding-inline-end: 0;
    }
}

.tsw-stages {
    margin-top: 10px !important;
}

@media (min-width: 992px) {
    .tsw-stages--columns {
        columns: 2;
        column-gap: 24px;
    }
}

.tsw .tsw-mth-paragraph + .tsw-mth-paragraph {
    margin-top: 18px;
}

.tsw .tsw-color-card__subtitle {
    color: inherit;
    font-size: 18px !important;
    font-weight: 600;
    padding-top: 18px;
    margin: 6px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, .35);
}

.tsw-color-card--blue .tsw-checklist li::before {
    color: #fff;
}

/* Even grid (9 principles = 3 x 3) instead of the flex-wrap used for partners. */
.tsw-sector-grid--compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 992px) {
    .tsw-sector-grid--compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.tsw-sector-grid--compact .tsw-sector-card {
    flex-direction: row;
    justify-content: flex-start;
    text-align: start;
    min-height: 0;
    gap: 18px;
    padding: 18px 20px;
}

.tsw-sector-grid--compact .tsw-sector-card__icon {
    width: 72px;
    height: 72px;
    font-size: 28px;
}

.tsw .tsw-stage {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding-block: 24px;
    break-inside: avoid;
    font-size: inherit !important;
    line-height: inherit !important;
}

.tsw-stage__num {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #141a2b;
    color: #fff;
    font-size: 40px;
    font-weight: 700;
}

.tsw .tsw-stage__title {
    margin-top: 6px;
    color: #374151;
    font-size: 24px !important;
    line-height: 1.3 !important;
    font-weight: 600;
    margin-bottom: 14px;
}

.tsw .tsw-stage__text {
    color: #374151;
    font-size: 16px !important;
    line-height: 1.55 !important;
}

.tsw-dot-list--muted {
    margin-top: 16px !important;
}

.tsw .tsw-dot-list--muted li {
    color: #6b7280;
    line-height: 1.5 !important;
}

@media (max-width: 575.98px) {
    .tsw .tsw-stage {
        gap: 16px;
    }

    .tsw-stage__num {
        width: 64px;
        height: 64px;
        font-size: 22px;
    }

    .tsw .tsw-stage__title {
        margin-top: 0;
        font-size: 19px !important;
    }
}

/* ==========================================================================
   Contact Us page
   ========================================================================== */

.tsw-contact-grid {
    display: grid;
    gap: 32px;
    align-items: start;
}

@media (min-width: 1200px) {
    .tsw-contact-grid {
        grid-template-columns: minmax(0, 1fr) 380px;
        gap: 40px;
    }
}

.tsw-contact-grid .tsw-form {
    margin-top: 30px;
    gap: 24px;
}

.tsw-field-row--first {
    margin-top: 18px;
}

.tsw-contact-aside {
    display: grid;
    gap: 18px;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .tsw-contact-aside {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tsw-info-card {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.tsw .tsw-info-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px !important;
    font-weight: 700;
    margin-bottom: 12px;
}

.tsw-info-card__title i {
    color: #6d28d9;
}

.tsw .tsw-info-card__text {
    color: var(--tsw-text);
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 14px;
}

.tsw .tsw-info-card__note {
    margin-top: 16px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fef3c7;
    color: #92400e;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.tsw-info-card .tsw-checklist {
    gap: 10px;
}

.tsw .tsw-info-card .tsw-checklist li {
    font-size: 14px !important;
}

.tsw-info-card--accent {
    background: #f5f3ff;
    border-color: #ddd6fe;
}

.tsw-hours {
    display: grid;
    gap: 8px;
    margin: 0;
}

.tsw-hours div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f9fafb;
    font-size: 14px;
}

.tsw-hours dt {
    font-weight: 600;
    color: #374151;
}

.tsw-hours dd {
    margin: 0;
    color: #4b5563;
    text-align: end;
}

.tsw-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tsw .tsw-social-row a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f5f3ff;
    color: #6d28d9 !important;
    font-size: 18px !important;
    transition: background-color .2s ease, color .2s ease;
}

.tsw-social-row a i {
    color: inherit !important;
}

.tsw .tsw-social-row a:hover {
    background: #6d28d9;
    color: #fff !important;
}

.tsw .tsw-color-card__note {
    margin-top: 26px;
    color: inherit;
    opacity: .85;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* ==========================================================================
   FAQ page
   ========================================================================== */

.tsw-faq-wrap {
    width: min(100% - 32px, 980px);
    margin-inline: auto;
}

.tsw-faq-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 30px 0 34px;
}

/* 9 categories: wrap the tabs instead of scrolling them. */
.tsw-faq-toolbar .tsw-programs__tabs {
    flex-wrap: wrap;
    overflow: visible;
}

.tsw-faq-toolbar .tsw-tab {
    background: #f3f4f6;
}

.tsw-faq-toolbar .tsw-tab.is-active {
    background: var(--tsw-navy);
}

.tsw-faq-group + .tsw-faq-group {
    margin-top: 36px;
}

.tsw-faq-group[hidden] {
    display: none;
}

.tsw .tsw-faq-group__title {
    color: #6d28d9;
    font-size: 18px !important;
    font-weight: 700;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
}

.tsw-faq-item {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.tsw-faq-item + .tsw-faq-item {
    margin-top: 10px;
}

.tsw-faq-item[hidden] {
    display: none;
}

.tsw-faq-item[open] {
    border-color: #c4b5fd;
    box-shadow: 0 10px 30px -20px rgba(91, 33, 182, .5);
}

.tsw-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    color: var(--tsw-heading);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.tsw-faq-item summary::-webkit-details-marker {
    display: none;
}

.tsw-faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f5f3ff;
    color: #6d28d9;
    font-size: 18px;
    font-weight: 500;
    transition: transform .2s ease;
}

.tsw-faq-item[open] summary::after {
    content: "−";
}

.tsw-faq-item__body {
    padding: 0 20px 20px;
}

.tsw .tsw-faq-item__body p {
    color: var(--tsw-text);
    font-size: 15px !important;
    line-height: 1.7 !important;
}

.tsw-faq-item__body .tsw-dot-list {
    margin-top: 10px !important;
}

.tsw .tsw-faq-item__body .tsw-dot-list li {
    font-size: 15px !important;
}

/* ==========================================================================
   Media Center page
   ========================================================================== */

.tsw-media-duo {
    display: grid;
    gap: 22px;
}

@media (min-width: 992px) {
    .tsw-media-duo {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tsw-color-card--navy {
    background: #141a2b;
    color: #fff;
}

.tsw-color-card--navy .tsw-checklist li::before {
    color: #fbbf24;
}

.tsw-subscribe {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.tsw-subscribe input {
    flex: 1 1 220px;
    height: 48px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid #374151;
    background: #1b2233;
    color: #fff;
    font-family: var(--tsw-font);
    font-size: 15px;
}

.tsw-subscribe input:focus {
    outline: none;
    border-color: #a78bfa;
}

.tsw-subscribe button {
    height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 10px;
    background: #fbbf24;
    color: #1f2937;
    font-family: var(--tsw-font);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.tsw .tsw-subscribe__msg {
    flex-basis: 100%;
    font-size: 14px !important;
    min-height: 1.4em;
}

.tsw-subscribe__msg.is-ok {
    color: #6ee7b7;
}

.tsw-subscribe__msg.is-error {
    color: #fca5a5;
}

.tsw-color-card__btn {
    margin-top: 28px;
    background: #1f2937 !important;
}

/* Image with a stat badge on top (Who Benefits) */
.tsw-stat-media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.tsw-stat-media img {
    filter: brightness(.5);
    aspect-ratio: 700 / 680;
}

.tsw-stat-badge {
    position: absolute;
    inset-inline-end: 6%;
    bottom: 8%;
    width: min(60%, 420px);
    padding: clamp(24px, 4vw, 70px) 20px;
    border-radius: 20px;
    background: #3b82f6;
    color: #fff;
    text-align: center;
}

.tsw-stat-badge__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 2vw, 34px);
}

.tsw-stat-badge__row strong {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1;
    font-weight: 700;
}

.tsw-stat-badge__icon {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.tsw-stat-badge__label {
    display: block;
    margin-top: 10px;
    font-size: clamp(1.1rem, 2vw, 2.2rem);
    line-height: 1.2;
    font-weight: 500;
}

/* Dark full-width band with an edge-bleeding image (Why Choose) */
.tsw-dark-band {
    position: relative;
    padding-block: clamp(64px, 7vw, 122px);
    background: #1e0a4a;
    overflow: hidden;
}

.tsw .tsw-dark-band__title {
    color: #fff;
    font-size: clamp(1.8rem, 2.8vw, 2.6rem) !important;
    line-height: 1.25 !important;
    font-weight: 700;
    margin-bottom: 20px;
}

.tsw .tsw-dark-band__text {
    color: #e5e7eb;
    font-size: 16px !important;
    line-height: 1.65 !important;
}

.tsw .tsw-dark-band__subtitle {
    color: #10b981;
    font-size: 20px !important;
    font-weight: 600;
    padding-bottom: 18px;
    margin: 40px 0 32px;
    border-bottom: 1px solid rgba(255, 255, 255, .8);
}

.tsw-dark-band__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 992px) {
    .tsw-dark-band__grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        gap: 90px;
    }

    .tsw-dark-band__media {
        position: absolute;
        top: clamp(64px, 7vw, 122px);
        bottom: clamp(64px, 7vw, 122px);
        inset-inline-end: 0;
        width: calc(50% - 8px);
    }

    .tsw-dark-band__media img {
        border-start-start-radius: 24px;
        border-end-start-radius: 24px;
    }
}

@media (max-width: 991.98px) {
    .tsw-dark-band__media {
        width: min(100% - 32px, 1420px);
        margin: 40px auto 0;
    }

    .tsw-dark-band__media img {
        border-radius: 20px;
        max-height: 420px;
    }
}

/* Guidance & Coaching cards (Training page) */
.tsw .tsw-guide-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 14px;
    margin: 32px 0 0 !important;
    padding: 0 !important;
    list-style: none;
}

@media (min-width: 992px) {
    .tsw .tsw-guide-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }
}

.tsw .tsw-guide-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 20px;
    border-radius: 18px;
    border: 1px solid #e3ebf8;
    background: #fff;
    box-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 10px 26px -18px rgba(37, 99, 235, .3);
    font-size: inherit !important;
    line-height: inherit !important;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.tsw .tsw-guide-card:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 2px 4px rgba(17, 24, 39, .04), 0 20px 36px -18px rgba(37, 99, 235, .45);
}

.tsw .tsw-guide-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #7c3aed);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 8px 18px -8px rgba(59, 130, 246, .6);
}

.tsw .tsw-guide-card__title {
    color: #1f2937;
    font-size: 16px !important;
    line-height: 1.45 !important;
    font-weight: 600;
}

@media (max-width: 575px) {
    .tsw .tsw-guide-card {
        padding: 16px 14px;
        gap: 10px;
    }

    .tsw .tsw-guide-card__icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 10px;
    }

    .tsw .tsw-guide-card__title {
        font-size: 14.5px !important;
    }
}

/* Step cards, centred variant (Training methodology): flex so an uneven last row sits in the middle. */
.tsw .tsw-step-cards--centered {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.tsw .tsw-step-cards--centered > .tsw-step-card {
    flex: 0 1 100%;
}

@media (min-width: 576px) {
    .tsw .tsw-step-cards--centered > .tsw-step-card {
        flex-basis: calc((100% - 18px) / 2);
    }
}

@media (min-width: 992px) {
    .tsw .tsw-step-cards--centered > .tsw-step-card {
        flex-basis: calc((100% - 36px) / 3);
    }
}

@media (min-width: 1200px) {
    .tsw .tsw-step-cards--centered > .tsw-step-card {
        flex-basis: calc((100% - 54px) / 4);
    }
}

/* Business Services: smaller card icons (scoped; other pages keep the base size). */
#business-services .tsw-service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    font-size: 22px;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}

#business-services .tsw-service-card:hover .tsw-service-card__icon {
    background: linear-gradient(145deg, #8b5cf6, #6d28d9);
    border-color: transparent;
    color: #fff;
}

#business-services .tsw-service-card__head {
    gap: 16px;
}

@media (max-width: 575.98px) {
    #business-services .tsw-service-card__icon {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        font-size: 19px;
    }

    #business-services .tsw-service-card__head {
        gap: 12px;
    }
}

/* Business Services: cards in the same row share one height. */
#business-services .tsw-service-cards {
    align-items: stretch;
}

#business-services .tsw-service-card {
    height: 100%;
}

/* Business Services: every regular card shares one height (explicit 1fr rows);
   a lone last card (Industries) spans the full width with its list in columns. */
@media (min-width: 768px) {
    #business-services .tsw-service-cards {
        grid-template-rows: repeat(var(--rows-2, 1), 1fr);
        grid-auto-rows: auto;
    }

    #business-services .tsw-service-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    #business-services .tsw-service-card:last-child:nth-child(odd) .tsw-checklist {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 32px;
    }

    #business-services .tsw-service-card:last-child:nth-child(odd) .tsw-checklist li {
        break-inside: avoid;
    }
}

@media (min-width: 1200px) {
    #business-services .tsw-service-cards {
        grid-template-rows: repeat(var(--rows-3, 1), 1fr);
    }

    /* Reset the 2-column rule, then apply the 3-column one. */
    #business-services .tsw-service-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    #business-services .tsw-service-card:last-child:nth-child(odd) .tsw-checklist {
        grid-template-columns: none;
    }

    #business-services .tsw-service-card:last-child:nth-child(3n+1) {
        grid-column: 1 / -1;
    }

    #business-services .tsw-service-card:last-child:nth-child(3n+1) .tsw-checklist {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 32px;
    }
}

/* Guide cards: 5-per-row variant (Strategic Partnerships beneficiaries, 10 items = 2 rows). */
@media (min-width: 768px) and (max-width: 991.98px) {
    .tsw .tsw-guide-cards--five {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .tsw .tsw-guide-cards--five {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 18px;
    }
}

/* Mini cards (Employment target beneficiaries): 2-col compact rows, icon beside text. */
.tsw .tsw-mini-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 12px;
    margin: 26px 0 0 !important;
    padding: 0 !important;
    list-style: none;
}

.tsw .tsw-mini-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #e3ebf8;
    background: #fff;
    box-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 20px -16px rgba(37, 99, 235, .3);
    font-size: inherit !important;
    line-height: inherit !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.tsw .tsw-mini-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 2px 4px rgba(17, 24, 39, .04), 0 16px 28px -16px rgba(37, 99, 235, .45);
}

.tsw .tsw-mini-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(145deg, #eff6ff, #ede9fe);
    color: #4f46e5;
    font-size: 14px;
    transition: background .25s ease, color .25s ease;
}

.tsw .tsw-mini-card:hover .tsw-mini-card__icon {
    background: linear-gradient(135deg, #3b82f6, #7c3aed);
    color: #fff;
}

.tsw .tsw-mini-card__title {
    color: #1f2937;
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 600;
}

@media (max-width: 420px) {
    .tsw .tsw-mini-cards {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: auto;
    }
}

/* ==========================================================================
   Deep purple top bar + breadcrumb banner (client demo, Nov 2026)
   ========================================================================== */

:root {
    --tsw-topbar: #3d006b;
    --tsw-banner: #3d006b;
}

.tsw-topbar__inner {
    gap: 12px;
    min-height: 54px;
}

/* Light pill buttons: language toggle + account dropdown. */
.tsw-topbar__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: #ebe5f5;
    color: #1f1235 !important;
    font: inherit;
    font-size: 14.5px !important;
    font-weight: 600;
    line-height: 1 !important;
    cursor: pointer;
    transition: background-color .2s ease, box-shadow .2s ease;
}

.tsw-topbar__pill:hover,
.tsw-topbar__pill[aria-expanded="true"] {
    background: #fff;
    box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .45);
}

.tsw-topbar__pill:focus-visible {
    outline: 2px solid #c4b5fd;
    outline-offset: 2px;
}

.tsw-topbar__pill-icon {
    font-size: 16px;
    color: #3b2a55;
}

.tsw-topbar__pill-icon--user {
    font-size: 18px;
    color: #6411f0;
}

.tsw-topbar__pill .tsw-topbar__caret {
    font-size: 11px;
    color: #6b6280;
}

/* Breadcrumb banner: deep purple with soft violet glows (top-left, bottom-right). */
.tsw-page-banner,
.tsw-form-hero {
    padding-block: clamp(46px, 5vw, 64px);
    color: #fff;
    background:
        radial-gradient(ellipse 22% 85% at 12% 15%, rgba(124, 58, 237, .55), transparent 70%),
        radial-gradient(ellipse 18% 75% at 93% 95%, rgba(124, 58, 237, .45), transparent 70%),
        linear-gradient(rgba(61, 0, 107, .9), rgba(61, 0, 107, .9)),
        var(--tsw-banner-bg, none),
        var(--tsw-banner);
    background-size: cover;
    background-position: center;
}

[dir="rtl"] .tsw-page-banner,
[dir="rtl"] .tsw-form-hero {
    background:
        radial-gradient(ellipse 22% 85% at 88% 15%, rgba(124, 58, 237, .55), transparent 70%),
        radial-gradient(ellipse 18% 75% at 7% 95%, rgba(124, 58, 237, .45), transparent 70%),
        linear-gradient(rgba(61, 0, 107, .9), rgba(61, 0, 107, .9)),
        var(--tsw-banner-bg, none),
        var(--tsw-banner);
    background-size: cover;
    background-position: center;
}

/* No dot texture on the dark banner. */
.tsw-page-banner::before,
.tsw-form-hero::before {
    content: none;
}

.tsw .tsw-page-banner__title,
.tsw .tsw-form-hero__title {
    color: #fff !important;
}

.tsw-page-banner__crumbs,
.tsw-form-hero__crumbs {
    color: rgba(255, 255, 255, .92);
    font-size: 15px;
}

.tsw .tsw-page-banner__crumbs a,
.tsw .tsw-form-hero__crumbs a,
.tsw .tsw-page-banner__crumbs span,
.tsw .tsw-form-hero__crumbs span {
    color: rgba(255, 255, 255, .92) !important;
    font-size: 15px !important;
}

.tsw .tsw-page-banner__crumbs a:hover,
.tsw .tsw-form-hero__crumbs a:hover {
    color: #fff !important;
    text-decoration: underline;
}

@media (max-width: 575.98px) {
    .tsw-topbar__inner {
        min-height: 50px;
        gap: 8px;
    }

    .tsw-topbar__pill {
        height: 34px;
        padding: 0 14px;
        font-size: 13.5px !important;
    }
}

/* Methodology: Guiding Principles cards. The icon never shrinks and the text wraps
   inside the card; on phones the icon sits above the text. */
#guiding-principles .tsw-sector-grid--compact {
    gap: 16px;
    grid-auto-rows: 1fr;
}

#guiding-principles .tsw-sector-card {
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 16px;
    border-color: #ece9f7;
    box-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 10px 26px -18px rgba(91, 33, 182, .28);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

#guiding-principles .tsw-sector-card:hover {
    transform: translateY(-4px);
    border-color: #ddd6fe;
    box-shadow: 0 2px 4px rgba(17, 24, 39, .04), 0 20px 36px -18px rgba(91, 33, 182, .4);
}

#guiding-principles .tsw-sector-card__icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(145deg, #f5f3ff, #ede9fe);
    color: #7c3aed;
    font-size: 20px;
    transition: background .3s ease, color .3s ease;
}

#guiding-principles .tsw-sector-card:hover .tsw-sector-card__icon {
    background: linear-gradient(145deg, #8b5cf6, #6d28d9);
    color: #fff;
}

#guiding-principles .tsw-sector-card__name {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #1f2937;
    font-size: 16px;
    line-height: 1.45;
}

@media (max-width: 575.98px) {
    #guiding-principles .tsw-sector-grid--compact {
        gap: 12px;
    }

    #guiding-principles .tsw-sector-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 14px;
    }

    #guiding-principles .tsw-sector-card__icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    #guiding-principles .tsw-sector-card__name {
        font-size: 14.5px;
        overflow-wrap: break-word;
    }
}

/* 2-column layouts: rows size to their own content, and a lone last card spans both columns. */
@media (max-width: 991.98px) {
    #guiding-principles .tsw-sector-grid--compact {
        grid-auto-rows: auto;
    }

    #guiding-principles .tsw-sector-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
    }
}

/* ==========================================================================
   Legal pages (Privacy Policy, Terms & Conditions)
   ========================================================================== */

.tsw-legal-section {
    background:
        radial-gradient(ellipse 50% 30% at 50% 0%, rgba(196, 181, 253, .16), transparent 70%),
        #fff;
}

.tsw-legal {
    max-width: 860px;
    margin-inline: auto;
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid #ece9f7;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 18px 40px -28px rgba(91, 33, 182, .35);
}

.tsw .tsw-legal__updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #f5f3ff;
    color: #6d28d9;
    font-size: 14px !important;
    font-weight: 600;
}

.tsw .tsw-legal__intro {
    margin-bottom: 8px;
    padding-bottom: 24px;
    border-bottom: 1px solid #ece9f7;
    color: #374151;
    font-size: 17px !important;
    line-height: 1.75 !important;
}

.tsw .tsw-legal__body h2 {
    margin: 30px 0 12px;
    color: var(--tsw-heading);
    font-size: clamp(1.1rem, 1.6vw, 1.3rem) !important;
    line-height: 1.35 !important;
    font-weight: 700;
}

.tsw .tsw-legal__body p,
.tsw .tsw-legal__body li {
    color: #4b5563;
    font-size: 16px !important;
    line-height: 1.75 !important;
}

.tsw .tsw-legal__body p {
    margin-bottom: 12px;
}

.tsw .tsw-legal__body ul {
    margin: 0 0 14px !important;
    padding-inline-start: 22px !important;
    list-style: disc;
}

.tsw .tsw-legal__body li {
    margin-bottom: 6px;
}

.tsw .tsw-legal__body li::marker {
    color: #7c3aed;
}

.tsw .tsw-legal__body strong {
    color: #1f2937;
}

.tsw .tsw-legal__body a {
    color: #6d28d9 !important;
    font-size: inherit !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 575.98px) {
    .tsw .tsw-legal__intro {
        font-size: 15.5px !important;
    }

    .tsw .tsw-legal__body p,
    .tsw .tsw-legal__body li {
        font-size: 15px !important;
    }
}

/* Legacy style.css strips list markers; restore them in legal text. */
.tsw .tsw-legal__body ul {
    list-style: disc outside !important;
}

.tsw .tsw-legal__body li {
    display: list-item !important;
    list-style: inherit !important;
}

/* Top bar sits above the sticky header (z-index 1030) so the account dropdown
   is not hidden behind it, mostly visible on mobile where the menu is short. */
.tsw-topbar {
    position: relative;
    z-index: 1040;
}

.tsw-topbar .tsw-dropdown {
    min-width: 180px;
    margin-top: 6px !important;
}
