/* =========================================
   Able Jobs Hub - able-jobs.css
   Colours now match the CEE (green) theme.
   All classes are prefixed with "aj-" so they
   never clash with styles.css / cee.css / genesis-lms.css
========================================= */

:root {
    --aj-green: #1faa59;
    --aj-green-dark: #168a46;
    --aj-green-soft: #e6f6df;
    --aj-navy: #14235e;
    --aj-ink: #171717;
    --aj-muted: #5f6675;
    --aj-line: #e9e9ef;
    --aj-bg: #f6f8fb;
    --aj-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.aj-hero,
.aj-section {
    font-family: var(--aj-font);
}

/* ---------- Scroll reveal ---------- */
.aj-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.aj-reveal--right {
    transform: translateX(32px);
}
.aj-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Buttons ---------- */
.aj-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.aj-btn--primary {
    background: var(--aj-navy);
    color: #fff;
    box-shadow: 0 8px 20px rgba(20, 35, 94, 0.25);
}
.aj-btn--primary:hover {
    background: var(--aj-green);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(31, 170, 89, 0.3);
}
.aj-btn--ghost {
    color: var(--aj-navy);
    border-color: var(--aj-navy);
    background: transparent;
}
.aj-btn--ghost:hover {
    background: var(--aj-navy);
    color: #fff;
    transform: translateY(-3px);
}
.aj-btn:focus-visible {
    outline: 3px solid var(--aj-green);
    outline-offset: 3px;
}

/* ---------- Hero ---------- */
.aj-hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 100px;
    background:
        radial-gradient(circle at 85% 20%, rgba(31, 170, 89, 0.16), transparent 45%),
        linear-gradient(180deg, #f1faee 0%, #ffffff 100%);
}
.aj-hero::after {
    /* soft wave, echoing the landing-page card */
    content: "";
    position: absolute;
    left: -5%;
    bottom: -60px;
    width: 110%;
    height: 120px;
    background: linear-gradient(180deg, #e6f6df, #b4dca4);
    opacity: 0.6;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    z-index: 0;
}
.aj-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}
.aj-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--aj-green-dark);
    background: #fff;
    border: 1px solid #cfe9c6;
    border-radius: 50px;
    margin-bottom: 22px;
}
.aj-hero__title {
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--aj-navy);
    margin: 0 0 14px;
}
.aj-hero__subtitle {
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 700;
    line-height: 1.4;
    color: var(--aj-green-dark);
    margin: 0 0 14px;
}
.aj-hero__intro {
    font-size: 17px;
    line-height: 1.7;
    color: var(--aj-muted);
    max-width: 520px;
    margin: 0 0 26px;
}
.aj-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}
.aj-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--aj-navy);
    background: #fff;
    border: 1px solid var(--aj-line);
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(20, 35, 94, 0.06);
}
.aj-chip i {
    color: var(--aj-green);
}
.aj-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.aj-hero__logo {
    display: flex;
    justify-content: center;
}
.aj-hero__logo-card {
    width: 100%;
    max-width: 360px;
    padding: 36px;
    background: #fff;
    border: 1px solid var(--aj-line);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(20, 30, 70, 0.12);
}
.aj-hero__logo-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ---------- Section basics ---------- */
.aj-section {
    padding: 90px 0;
}
.aj-head {
    margin-bottom: 28px;
}
.aj-head--center {
    text-align: center;
    margin-bottom: 50px;
}
.aj-head__title {
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--aj-ink);
    margin: 0 0 14px;
}
.aj-head__line {
    display: block;
    width: 60px;
    height: 4px;
    border-radius: 4px;
    background: var(--aj-green);
}
.aj-head--center .aj-head__line {
    margin: 0 auto;
}
.aj-head--light .aj-head__title {
    color: #fff;
}
.aj-head--light .aj-head__line {
    background: #8fe3b0;
}

/* ---------- Overview ---------- */
.aj-lead {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.55;
    color: var(--aj-navy);
    margin: 0;
}
.aj-prose p {
    font-size: 16.5px;
    line-height: 1.85;
    color: var(--aj-muted);
    margin: 0 0 20px;
    max-width: 70ch;
}
.aj-prose p:last-child {
    margin-bottom: 0;
}

/* ---------- Capabilities (7 cards: last one centred) ---------- */
.aj-capabilities {
    background: var(--aj-bg);
}
.aj-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 26px;
}
.aj-card {
    grid-column: span 2;
    position: relative;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid var(--aj-line);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(20, 30, 70, 0.06);
    transition: opacity 0.7s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.aj-card:last-child:nth-child(3n + 1) {
    grid-column: 3 / span 2;
}
.aj-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(20, 30, 70, 0.12);
}
.aj-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--aj-green), var(--aj-green-dark));
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(31, 170, 89, 0.3);
}
.aj-card h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--aj-navy);
    margin: 0 0 12px;
}
.aj-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--aj-muted);
    margin: 0;
}

/* ---------- Purpose & Impact ---------- */
.aj-impact__box {
    position: relative;
    overflow: hidden;
    padding: 70px 50px;
    text-align: center;
    background: linear-gradient(135deg, var(--aj-navy) 0%, #1c3a8a 100%);
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(20, 35, 94, 0.3);
}
.aj-impact__box::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(31, 170, 89, 0.5), transparent 70%);
}
.aj-impact__text,
.aj-impact__tagline {
    position: relative;
    z-index: 1;
}
.aj-impact__text {
    max-width: 780px;
    margin: 0 auto 32px;
    font-size: 17px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.88);
}
.aj-impact__tagline {
    max-width: 760px;
    margin: 0 auto;
    padding-top: 28px;
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .aj-hero {
        padding: 70px 0 90px;
    }
    .aj-hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .aj-hero__logo {
        order: -1;
    }
    .aj-hero__logo-card {
        max-width: 280px;
        padding: 24px;
    }
    .aj-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .aj-card,
    .aj-card:last-child:nth-child(3n + 1) {
        grid-column: auto;
    }
    .aj-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
    .aj-section {
        padding: 70px 0;
    }
}

@media (max-width: 600px) {
    .aj-grid {
        grid-template-columns: 1fr;
    }
    .aj-card:last-child:nth-child(odd) {
        grid-column: auto;
    }
    .aj-hero__intro {
        font-size: 16px;
    }
    .aj-hero__actions .aj-btn {
        width: 100%;
        justify-content: center;
    }
    .aj-impact__box {
        padding: 50px 24px;
        border-radius: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aj-reveal,
    .aj-card,
    .aj-btn {
        transition: none;
    }
}

/* ---------- Visit Website button (green) ---------- */
.aj-btn--site {
    background: #1faa59;
    color: #fff;
    box-shadow: 0 8px 20px rgba(31, 170, 89, 0.3);
}
.aj-btn--site:hover {
    background: #168a46;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(31, 170, 89, 0.35);
}