﻿:root {
    --navy: #0b1727;
    --navy2: #153554;
    --blue: #0874d1;
    --cyan: #25c7df;
    --ink: #172033;
    --muted: #617086;
    --soft: #f3f7fb;
    --line: #dce6ef;
    --white: #fff;
    --green: #188c5b;
    --shadow: 0 18px 45px rgba(20,43,72,.12);
    --radius: 20px;
    --max: 1180px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter,"Segoe UI",Arial,sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background: #fff
}

a {
    color: inherit;
    text-decoration: none
}

button, input, select, textarea {
    font: inherit
}

.containerNew {
    width: min(calc(100% - 36px),var(--max));
    margin: auto
}

.top {
    background: #07111d;
    color: #c9d7e6;
    font-size: .84rem
}

    .top .containerNew {
        min-height: 38px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px
    }

.top-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap
}

.header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid #e8edf2;
    backdrop-filter: blur(12px)
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 850
}

.mark {
    width: 47px;
    height: 47px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg,var(--blue),var(--cyan));
    box-shadow: 0 10px 24px rgba(8,116,209,.25)
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: .67rem;
    letter-spacing: .09em;
    text-transform: uppercase
}

.links {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: .93rem;
    font-weight: 650
}

    .links a:hover {
        color: var(--blue)
    }

.menu {
    display: none;
    border: 0;
    border-radius: 10px;
    padding: 10px 13px;
    background: var(--soft);
    font-weight: 750
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 750;
    cursor: pointer
}

.btn-primary {
    background: var(--blue);
    color: #fff
}

    .btn-primary:hover {
        background: #075ca5
    }

.btn-light {
    background: #fff;
    color: var(--navy)
}

.btn-outline {
    border-color: var(--line);
    background: #fff
}

.hero {
    color: #fff;
    background: radial-gradient(circle at 88% 15%,rgba(37,199,223,.25),transparent 24%),linear-gradient(120deg,var(--navy),#143b61);
    overflow: hidden
}

.hero-grid {
    min-height: 400px;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 38px;
    align-items: center;
    padding: 48px 0
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--blue);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase
}

    .eyebrow:before {
        content: "";
        width: 28px;
        height: 3px;
        background: var(--cyan);
        border-radius: 9px
    }

.hero .eyebrow {
    color: #9beef7
}

.hero h1, .page-hero h1 {
    font-size: clamp(2.8rem,6vw,5rem);
    line-height: 1;
    letter-spacing: -.025em;
    margin: 18px 0
}

    .hero h1 span {
        color: var(--cyan)
    }

.lead {
    font-size: 1.17rem;
    color: #d0ddea;
    max-width: 670px
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px
}

.panelNew {
    padding: 28px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 26px;
    background: rgba(255,255,255,.09);
    box-shadow: 0 30px 70px rgba(0,0,0,.22)
}

    .panelNew h2 {
        margin: 10px 0
    }

.mini {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    margin-top: 12px;
    border-radius: 14px;
    background: rgba(5,15,26,.45)
}

.icon {
    flex: 0 0 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #e7f4ff;
    color: var(--blue);
    font-weight: 900
}

.page-hero {
    padding: 85px 0;
    color: #fff;
    background: linear-gradient(120deg,var(--navy),#15416b)
}

    .page-hero h1 {
        font-size: clamp(2.5rem,5vw,4.2rem);
        max-width: 880px
    }

    .page-hero p {
        max-width: 750px;
        color: #d1dfed;
        font-size: 1.1rem
    }

.section {
    padding: 82px 0
}

.soft {
    background: var(--soft)
}

.heading {
    margin-bottom: 34px
}

    .heading h2 {
        font-size: clamp(2rem,4vw,3.15rem);
        line-height: 1.1;
        letter-spacing: -.04em;
        margin: 12px 0
    }

    .heading p {
        color: var(--muted);
        max-width: 720px
    }

.grid {
    display: grid;
    gap: 20px
}

.grid-2 {
    grid-template-columns: repeat(2,1fr)
}

.grid-3 {
    grid-template-columns: repeat(3,1fr)
}

.grid-4 {
    grid-template-columns: repeat(4,1fr)
}

.grid-5 {
    grid-template-columns: repeat(5,1fr)
}

.card {
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 5px 18px rgba(20,43,72,.04);
    transition: .2s
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow);
        border-color: #b9d9f2
    }

    .card h3 {
        margin: 15px 0 7px;
        line-height: 1.25
    }

    .card p {
        color: var(--muted);
        margin: 0
    }

.link {
    display: inline-block;
    margin-top: 18px;
    color: var(--blue);
    font-weight: 750
}

.tag {
    display: inline-block;
    border-radius: 99px;
    background: #e9f8f2;
    color: var(--green);
    font-size: .72rem;
    font-weight: 820;
    padding: 5px 9px;
    text-transform: uppercase
}

.searchbox {
    display: grid;
    grid-template-columns: 1fr 180px 150px;
    gap: 10px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    margin-top: -35px;
    position: relative;
    z-index: 4
}

.field {
    width: 100%;
    min-height: 50px;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff
}

    .field:focus {
        outline: 3px solid rgba(8,116,209,.12);
        border-color: var(--blue)
    }

textarea.field {
    min-height: 145px;
    resize: vertical
}

.course-row, .schedule-row {
    display: grid;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    margin-bottom: 12px
}

.course-row {
    grid-template-columns: 1fr auto
}

.schedule-row {
    grid-template-columns: 1.4fr .8fr .5fr .7fr auto
}

    .schedule-row strong {
        display: block
    }

.filterbar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px
}

.filter {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 9px 15px;
    cursor: pointer
}

    .filter.active {
        background: var(--navy);
        color: #fff
    }

.notice {
    padding: 18px;
    border-left: 4px solid var(--cyan);
    border-radius: 8px;
    background: #edfaff;
    color: #285166
}

.form-card {
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow)
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.full {
    grid-column: 1/-1
}

.label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700
}

.error {
    color: #b42318;
    font-size: .83rem
}

.success {
    display: none;
    margin-top: 15px;
    padding: 14px;
    border-radius: 10px;
    background: #eaf8f2;
    color: #13704a
}

.quiz-option {
    display: block;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin: 9px 0;
    cursor: pointer
}

    .quiz-option:hover {
        border-color: var(--blue);
        background: #f2f8fe
    }

.price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--navy)
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center
}

.checklist {
    list-style: none;
    padding: 0
}

    .checklist li {
        margin: 12px 0
    }

        .checklist li:before {
            content: "✓";
            color: var(--green);
            font-weight: 900;
            margin-right: 10px
        }

.cta {
    padding: 42px;
    border-radius: 26px;
    color: #fff;
    background: linear-gradient(120deg,var(--navy),#17466f);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px
}

.footer {
    padding: 62px 0 22px;
    background: #07111d;
    color: #bdcbd9
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3,1fr);
    gap: 45px
}

.footer h3 {
    color: #fff
}

.footer-list {
    display: grid;
    gap: 9px
}

.foot-bottom {
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    color: #8296aa;
    font-size: .82rem
}

.hidden {
    display: none !important
}

@media(max-width:950px) {
    .links {
        display: none
    }

    .menu {
        display: block
    }

    .links.open {
        display: grid;
        position: absolute;
        left: 18px;
        right: 18px;
        top: 68px;
        padding: 18px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: var(--shadow)
    }

    .hero-grid, .split {
        grid-template-columns: 1fr
    }

    .grid-5 {
        grid-template-columns: repeat(3,1fr)
    }

    .grid-4, .grid-3 {
        grid-template-columns: repeat(2,1fr)
    }

    .schedule-row {
        grid-template-columns: 1fr 1fr
    }

    .searchbox {
        grid-template-columns: 1fr 1fr
    }

        .searchbox input {
            grid-column: 1/-1
        }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:640px) {
    .section {
        padding: 62px 0
    }

    .top .containerNew {
        justify-content: center
    }

    .top .top-note {
        display: none
    }

    .hero-grid {
        min-height: auto;
        padding: 66px 0 85px
    }

    .hero h1 {
        font-size: 3.1rem
    }

    .grid-5, .grid-4, .grid-3, .grid-2, .form-grid, .searchbox {
        grid-template-columns: 1fr
    }

        .searchbox input {
            grid-column: auto
        }

    .schedule-row, .course-row {
        grid-template-columns: 1fr
    }

    .cta {
        display: block
    }

        .cta .btn {
            margin-top: 20px
        }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .foot-bottom {
        display: block
    }
}

/* Course catalogue tiles styled to echo the current AJ Training course-box layout */
.course-logo-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px
}

.course-logo-card {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    text-align: center;
    box-shadow: 0 4px 15px rgba(20,43,72,.07);
    transition: .2s
}

    .course-logo-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow);
        border-color: #a9cfea
    }

.course-logo-head {
    height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f9fc;
    border-bottom: 1px solid var(--line)
}

.course-logo {
    width: 74px;
    height: 74px;
    object-fit: contain
}

.course-logo-fallback {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: white;
    font-size: 27px;
    font-weight: 900
}

.course-logo-body {
    padding: 18px
}

    .course-logo-body h3 {
        margin: 0 0 4px;
        font-size: 1.08rem
    }

    .course-logo-body p {
        margin: 0;
        color: var(--muted);
        font-size: .86rem
    }

.course-logo-card .course-arrow {
    position: absolute;
    right: 13px;
    bottom: 11px;
    color: var(--blue);
    font-weight: 900
}

@media(max-width:900px) {
    .course-logo-grid {
        grid-template-columns: repeat(3,1fr)
    }
}

@media(max-width:640px) {
    .course-logo-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .course-logo-head {
        height: 100px
    }

    .course-logo {
        width: 62px;
        height: 62px
    }
}
