:root {
    --industrial-yellow: #F2B705;
    --steel-gray: #2F343A;
    --safety-orange: #FF6B00;
    --bg-light: #F3F5F7;
    --white: #FFFFFF;
    --text: #1F242A;
    --navy: #0F2747;
    --navy-soft: #1E3A66;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Barlow', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: 'Rajdhani', sans-serif;
    margin-top: 0;
    color: var(--steel-gray);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1140px, 92%);
    margin: 0 auto;
}

.site-header {
    background: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #d8e0ea;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 84px;
    padding: 0.5rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: var(--navy);
    min-height: 64px;
    margin-right: 30px;
    padding: 0.2rem 0;
}

.brand-logo {
    height: clamp(112px, 9.6vw, 128px);
    width: auto;
    display: block;
    object-fit: contain;
    filter: none;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    column-gap: 0.9rem;
    row-gap: 0.45rem;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--navy);
    font-weight: 600;
    padding: 0.35rem 0.55rem;
    border-radius: 0.25rem;
}

.main-nav a:hover {
    background: #eaf0f8;
    color: var(--navy-soft);
}

.main-nav .nav-cta {
    background: var(--industrial-yellow);
    color: #111;
    border: 1px solid #d39d00;
    margin-left: 0.45rem;
    padding: 0.4rem 0.85rem;
    border-radius: 0.45rem;
    font-weight: 700;
}

.main-nav .nav-cta:hover {
    background: #ffd24d;
    color: #111;
}

.hero {
    position: relative;
    min-height: 72vh;
    color: var(--white);
    overflow: hidden;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    background: rgba(15, 39, 71, 0.7);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.hero-nav:hover {
    background: rgba(15, 39, 71, 0.92);
}

.hero-nav-prev {
    left: 14px;
}

.hero-nav-next {
    right: 14px;
}

.hero-carousel .carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.hero-slide {
    position: relative;
    min-width: 100%;
    min-height: 72vh;
    display: grid;
    place-items: center;
    scroll-snap-align: start;
    background:
        linear-gradient(rgba(31, 36, 42, 0.68), rgba(31, 36, 42, 0.76)),
        radial-gradient(circle at top right, rgba(255, 107, 0, 0.36), transparent 40%),
        var(--hero-img) center/cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
    max-width: 760px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--industrial-yellow);
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.1;
}

.hero p {
    font-size: 1.1rem;
    max-width: 60ch;
}

.hero h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 3.5vw, 3.1rem);
    line-height: 1.15;
    margin-bottom: 0.8rem;
}

.hero-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.2rem;
    border-radius: 0.35rem;
    font-weight: 700;
}

.btn-primary {
    background: var(--industrial-yellow);
    color: #111;
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.section {
    padding: 4rem 0;
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.section-alt {
    background: var(--bg-light);
}

.trusted {
    border-top: 6px solid var(--industrial-yellow);
}

.split-content {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(250px, 380px) minmax(0, 1fr);
    align-items: center;
}

.section-media {
    margin: 0;
    border-radius: 0.65rem;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(25, 31, 38, 0.14);
}

.section-media img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
}

.card-grid {
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.card {
    background: var(--white);
    border: 1px solid #d9dde2;
    border-top: 4px solid var(--industrial-yellow);
    border-radius: 0.5rem;
    padding: 1.1rem;
    box-shadow: 0 8px 20px rgba(25, 31, 38, 0.06);
}

.program-card {
    padding: 0;
    overflow: hidden;
}

.program-card > h2,
.program-card > h3,
.program-card > p,
.program-card > a,
.program-card > .tag,
.program-card > .meta {
    padding-left: 1rem;
    padding-right: 1rem;
}

.program-card > .tag {
    margin-top: 0.9rem;
}

.program-card > .meta,
.program-card > a {
    margin-bottom: 1rem;
}

.card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
}

.card-carousel {
    margin-top: 1.25rem;
}

.image-card {
    min-width: min(320px, 85vw);
    max-width: 360px;
    background: var(--white);
    border: 1px solid #d9dde2;
    border-radius: 0.55rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(25, 31, 38, 0.08);
    scroll-snap-align: start;
}

.image-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.image-card-body {
    padding: 1rem;
}

.compact-card img {
    height: 190px;
}

.meta {
    color: #4e5560;
    font-size: 0.95rem;
    font-weight: 600;
}

.text-link {
    font-weight: 700;
    color: var(--safety-orange);
}

.tag {
    display: inline-block;
    background: #fff4e9;
    color: #8f3d00;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.feature-grid {
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
}

.feature-grid article {
    padding: 1rem;
    background: var(--bg-light);
    border-left: 4px solid var(--safety-orange);
    border-radius: 0.4rem;
}

.feature-with-image {
    border-left: none;
    border-top: 4px solid var(--safety-orange);
}

.feature-with-image img {
    width: 100%;
    height: 145px;
    object-fit: cover;
    border-radius: 0.35rem;
    margin-bottom: 0.65rem;
}

.testimonial-grid {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.testimonial-grid blockquote {
    margin: 0;
    background: var(--white);
    border-left: 4px solid var(--industrial-yellow);
    border-radius: 0.4rem;
    padding: 1rem;
}

.testimonial-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin-bottom: 0.65rem;
    border: 2px solid #d9dde2;
}

.testimonial-grid footer {
    margin-top: 0.8rem;
    font-weight: 700;
}

.testimonial-grid span {
    display: block;
    color: #5e6570;
    font-weight: 500;
}

.cta-box {
    background: linear-gradient(130deg, #2f343a, #424952);
    color: var(--white);
    padding: 2rem;
    border-radius: 0.7rem;
}

.cta-with-image {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr minmax(220px, 360px);
    align-items: center;
}

.cta-with-image img {
    width: 100%;
    height: 100%;
    max-height: 250px;
    border-radius: 0.55rem;
    object-fit: cover;
}

.cta-box h2 {
    color: var(--white);
}

.page-hero {
    background: linear-gradient(120deg, #2f343a, #575f6b);
    color: var(--white);
    padding: 4rem 0;
}

.page-hero-image {
    position: relative;
    background:
        linear-gradient(rgba(31, 36, 42, 0.7), rgba(31, 36, 42, 0.74)),
        var(--page-hero-image) center/cover no-repeat;
}

.continuing-hero {
    min-height: 48vh;
    display: flex;
    align-items: center;
}

.continuing-hero-clean {
    min-height: 36vh;
    display: flex;
    align-items: center;
}

.hero-supporting-line {
    margin-top: 0.8rem;
    max-width: 860px;
    color: #e5e7eb;
}

.continuing-layout {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.continuing-panel {
    background: #fff;
    border: 1px solid #d9dde2;
    border-top: 4px solid var(--industrial-yellow);
    border-radius: 0.55rem;
    padding: 1.1rem;
    box-shadow: 0 8px 20px rgba(25, 31, 38, 0.06);
}

.continuing-panel.wide {
    max-width: 980px;
}

.continuing-intro {
    display: grid;
    gap: 0.75rem;
}

.continuing-progression {
    display: grid;
    gap: 0.9rem;
}

.progression-visual-card {
    margin: 0.35rem auto 0;
    width: min(100%, 860px);
    background: #ffffff;
    border: 1px solid #d9dde2;
    border-radius: 0.65rem;
    padding: 1rem;
    box-shadow: 0 10px 26px rgba(23, 32, 41, 0.08);
}

.progression-visual-card img {
    width: min(100%, 760px);
    height: auto;
    margin: 0 auto;
    display: block;
}

.progression-visual-card figcaption {
    margin-top: 0.8rem;
    text-align: center;
    font-weight: 700;
    color: #344152;
}

.progression-note {
    margin: 0;
    color: #475569;
}

.cert-level-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.continuing-list {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.35rem;
}

.continuing-list li {
    color: #344152;
}

.list-grid {
    margin-top: 0.95rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.technical-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.list-item {
    background: #fff;
    border: 1px solid #d9dde2;
    border-left: 4px solid var(--industrial-yellow);
    border-radius: 0.5rem;
    padding: 0.8rem 0.9rem;
    font-weight: 600;
    color: #223042;
}

.section-closing-line {
    margin: 1rem 0 0;
}

.catalog-hero {
    background: linear-gradient(120deg, #1f2937, #334155);
    color: #fff;
    padding: 4rem 0;
}

.catalog-hero h1 {
    color: #fff;
}

.catalog-total {
    margin-top: 1rem;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.catalog-card {
    background: #fff;
    border: 1px solid #d9dde2;
    border-radius: 0.55rem;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(25, 31, 38, 0.05);
}

.catalog-card h2 {
    margin-bottom: 0.7rem;
    font-size: 1.2rem;
}

.catalog-list {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.4rem;
}

.catalog-list li {
    color: #344152;
}

.catalog-cta {
    text-align: center;
}

.benefits-grid {
    margin-top: 1rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.benefit-card {
    background: #fff;
    border: 1px solid #d9dde2;
    border-radius: 0.55rem;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(25, 31, 38, 0.06);
}

.benefit-icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #fef3c7;
    border: 1px solid #f4d35e;
    color: #5b4400;
    font-size: 0.76rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.page-hero h1 {
    color: var(--white);
}

.two-col {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.contact-form {
    background: var(--bg-light);
    border-radius: 0.45rem;
    padding: 1rem;
    display: grid;
    gap: 0.45rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.65rem;
    border: 1px solid #b9c0c8;
    border-radius: 0.3rem;
    font: inherit;
}

.validation-highlight {
    background: linear-gradient(180deg, #f7fafc, #edf2f7);
    border-top: 1px solid #d9e0ea;
    border-bottom: 1px solid #d9e0ea;
}

.validation-highlight-card {
    background: #ffffff;
    border: 1px solid #d8e0ea;
    border-left: 5px solid var(--industrial-yellow);
    border-radius: 0.7rem;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.25rem;
    align-items: center;
}

.home-validation-form {
    display: grid;
    gap: 0.55rem;
}

.home-validation-form label {
    font-weight: 700;
    color: var(--steel-gray);
    font-size: 0.95rem;
}

.home-validation-form input {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #b9c2ce;
    border-radius: 0.4rem;
    font: inherit;
    text-transform: uppercase;
}

.validation-page-wrap {
    max-width: 860px;
}

.validation-card {
    background: #fff;
    border: 1px solid #d8e0ea;
    border-radius: 0.8rem;
    box-shadow: 0 12px 28px rgba(26, 34, 43, 0.08);
    padding: 2rem;
}

.validation-subtitle {
    margin-top: 0.25rem;
    color: #4f5c6c;
}

.validation-form {
    margin-top: 1.2rem;
    display: grid;
    gap: 0.55rem;
    max-width: 520px;
}

.validation-form.compact {
    max-width: none;
    grid-template-columns: 1fr auto;
    align-items: end;
}

.validation-form label {
    font-weight: 700;
    color: var(--steel-gray);
}

.validation-form input {
    width: 100%;
    padding: 0.7rem 0.8rem;
    border: 1px solid #b9c2ce;
    border-radius: 0.45rem;
    font: inherit;
    text-transform: uppercase;
}

.field-error {
    margin: 0;
    color: #b42318;
    font-size: 0.86rem;
}

.result-card {
    margin-top: 1.25rem;
    border: 1px solid #d4dde7;
    border-radius: 0.65rem;
    padding: 1.1rem 1.2rem;
    background: #fff;
}

.result-card.verified {
    border-color: #9adbb6;
    background: #effcf5;
}

.result-card.expired {
    border-color: #f3abab;
    background: #fff2f2;
}

.result-card.revoked {
    border-color: #f3abab;
    background: #fff1f1;
}

.result-card.pending {
    border-color: #f2d58c;
    background: #fff8e8;
}

.result-card.not-found {
    border-color: #f3abab;
    background: #fff4f4;
}

.result-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.result-head h2 {
    margin: 0;
}

.status-pill {
    display: inline-block;
    border-radius: 999px;
    padding: 0.2rem 0.62rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.status-valid {
    background: #d7f8e4;
    color: #05603a;
}

.status-expired {
    background: #ffdede;
    color: #8e1b1b;
}

.status-revoked {
    background: #ffdede;
    color: #8e1b1b;
}

.status-pending {
    background: #fff1c2;
    color: #8a5a00;
}

.result-grid {
    margin-top: 0.85rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.1rem;
}

.result-grid dt {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #5d6a79;
}

.result-grid dd {
    margin: 0.15rem 0 0;
    font-weight: 600;
    color: #1f2937;
}

.verified-note {
    margin: 1rem 0 0;
    color: #05603a;
    font-weight: 700;
}

.site-footer {
    background: #FFFFFF;
    color: var(--navy);
    padding: 3rem 0 1rem;
    border-top: 1px solid #d8e0ea;
}

.footer-brand {
    display: block;
    margin-bottom: 0.65rem;
}

.footer-logo {
    height: clamp(80px, 6.4vw, 100px);
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-tagline {
    margin: 0 0 0.35rem;
    color: var(--navy-soft);
    font-weight: 600;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.footer-grid h4,
.footer-grid h5 {
    color: var(--navy);
}

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

.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-links a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eef3fa;
    color: var(--navy);
    font-weight: 700;
}

.copyright {
    text-align: center;
    margin-top: 1.5rem;
    color: #5f7392;
    font-size: 0.9rem;
}

@media (max-width: 860px) {
    .main-nav {
        gap: 0.45rem;
    }

    .main-nav a {
        font-size: 0.9rem;
    }
}

@media (max-width: 560px) {
    .nav-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
        min-height: 78px;
        padding: 0.45rem 0;
    }

    .brand {
        min-height: 48px;
        margin-right: 18px;
    }

    .brand-logo {
        height: clamp(80px, 20vw, 96px);
    }

    .hero,
    .hero-slide {
        min-height: 64vh;
    }

    .hero-nav {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .image-card {
        min-width: 82vw;
    }
}

@media (max-width: 900px) {
    .split-content,
    .cta-with-image,
    .validation-highlight-card {
        grid-template-columns: 1fr;
    }

    .validation-form.compact {
        grid-template-columns: 1fr;
    }

    .result-grid {
        grid-template-columns: 1fr;
    }

    .continuing-layout {
        grid-template-columns: 1fr;
    }

    .cert-level-grid {
        grid-template-columns: 1fr;
    }

    .list-grid,
    .technical-grid {
        grid-template-columns: 1fr;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
    }
}
