﻿:root {
    --ink: #102033;
    --muted: #536779;
    --paper: #ffffff;
    --soft: #f7fbff;
    --line: #d8e7f2;
    --blue: #0877d8;
    --green: #69bd23;
    --cyan: #00aee8;
    --coral: #ff6f61;
    --amber: #ffc247;
    --violet: #7557e6;
    --charcoal: #102033;
    --sun: #fff7dc;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 44%, #fffdf4 100%);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    background: var(--paper);
    padding: 10px 14px;
    z-index: 100;
}

.skip-link:focus {
    left: 10px;
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.top-strip {
    background: linear-gradient(90deg, #e7f8ff, #fff7dc, #ecffe4);
    color: var(--ink);
    font-size: 0.92rem;
}

.strip-inner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.strip-contact {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.strip-contact a {
    color: #075e9f;
    text-decoration: none;
    font-weight: 800;
}

.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 10px 28px rgba(16, 32, 51, 0.06);
}

.nav-shell {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    flex: 0 0 auto;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--blue), var(--green), var(--amber));
    color: #ffffff;
    font-weight: 800;
    font-size: 1.8rem;
    border-radius: 8px;
}

.brand strong {
    display: block;
    font-size: 1.2rem;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-left: auto;
}

.main-nav a {
    text-decoration: none;
    color: var(--ink);
    padding: 9px 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.94rem;
}

.main-nav a:hover,
.main-nav a.active {
    background: linear-gradient(135deg, #e8f5ff, #fff6d8);
    color: #075e9f;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 8px;
    padding: 10px 12px;
    font-weight: 700;
}

.hero-home {
    min-height: 72vh;
    color: var(--ink);
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82), rgba(255, 247, 220, 0.44)), url("assets/online-training-hero.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 88px 0 72px;
}

.hero-copy {
    max-width: 720px;
    text-shadow: none;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--green);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.9rem;
}

.hero-copy h1,
.sub-hero h1 {
    margin: 0;
    font-size: 3.4rem;
    line-height: 1.04;
}

.hero-copy p {
    max-width: 650px;
    font-size: 1.15rem;
    margin: 22px 0;
}

.hero-actions,
.modal-actions,
.contact-actions,
.split-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
}

.button.primary {
    background: var(--green);
    color: #07111d;
}

.button.secondary {
    background: var(--blue);
    color: #ffffff;
}

.button.whatsapp {
    background: #22c55e;
    color: #07111d;
}

.button.light {
    background: #ffffff;
    color: var(--ink);
}

.hero-proof {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.hero-proof span {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(8, 119, 216, 0.16);
    border-radius: 8px;
    padding: 9px 12px;
    box-shadow: 0 10px 28px rgba(16, 32, 51, 0.08);
}

.section {
    padding: 72px 0;
}

.section.tight {
    padding: 44px 0;
}

.section.white {
    background: var(--paper);
}

.section.dark {
    background: linear-gradient(135deg, #e8f7ff, #fff7dc 52%, #edffe8);
    color: var(--ink);
}

.section-head {
    max-width: 760px;
    margin-bottom: 28px;
}

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

.section-head h2,
.contact-band h2 {
    margin: 0 0 12px;
    font-size: 2.2rem;
    line-height: 1.14;
}

.section-head p,
.contact-band p {
    margin: 0;
    color: var(--muted);
}

.dark .section-head p {
    color: var(--muted);
}

.grid {
    display: grid;
    gap: 18px;
}

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

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

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

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    min-width: 0;
    box-shadow: 0 14px 34px rgba(16, 32, 51, 0.07);
}

.dark .card {
    background: rgba(255, 255, 255, 0.9);
    border-color: #d8e7f2;
}

.card h3 {
    margin: 0 0 10px;
    font-size: 1.22rem;
}

.card p {
    color: var(--muted);
    margin: 0 0 14px;
}

.dark .card p {
    color: var(--muted);
}

.card ul,
.module-list {
    padding-left: 19px;
    margin: 12px 0 0;
}

.card li,
.module-list li {
    margin: 7px 0;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 9px;
    border-radius: 8px;
    background: #edf7ff;
    color: #075e9f;
    font-weight: 800;
    font-size: 0.85rem;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin-top: 10px;
    color: #075e9f;
    font-weight: 800;
    text-decoration: none;
}

.feature-link:hover {
    text-decoration: underline;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.image-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(16, 32, 51, 0.08);
}

.image-card img,
.media-panel img,
.course-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-card img {
    aspect-ratio: 4 / 3;
}

.image-card div {
    padding: 16px;
}

.image-card h3 {
    margin: 0 0 8px;
}

.image-card p {
    margin: 0;
    color: var(--muted);
}

.media-panel {
    min-height: 320px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 18px 45px rgba(16, 32, 51, 0.12);
}

.visual-band {
    background: linear-gradient(135deg, #ffffff, #e8f7ff 45%, #fff7dc);
}

.exam-note {
    border-left: 4px solid var(--amber);
    background: #fff9e8;
    padding: 14px 16px;
    border-radius: 8px;
    color: #594300;
}

.tools-callout {
    background: linear-gradient(135deg, #e8f7ff, #ecffe4, #fff7dc);
    border: 1px solid #cdeedb;
    border-radius: 8px;
    padding: 24px;
}

.sub-hero {
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(232, 247, 255, 0.82), rgba(255, 247, 220, 0.42)), url("assets/online-training-hero.png");
    background-size: cover;
    background-position: center;
    color: var(--ink);
    padding: 78px 0 70px;
}

.sub-hero p {
    max-width: 720px;
    font-size: 1.1rem;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    font-size: 0.92rem;
}

.breadcrumb a {
    color: #075e9f;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 28px;
    align-items: start;
}

.panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(16, 32, 51, 0.07);
}

.panel h2,
.panel h3 {
    margin-top: 0;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.stat {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
}

.stat strong {
    display: block;
    font-size: 1.7rem;
    color: var(--blue);
}

.timeline {
    display: grid;
    gap: 14px;
    counter-reset: steps;
}

.timeline-item {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px 18px 18px 58px;
}

.timeline-item::before {
    counter-increment: steps;
    content: counter(steps);
    position: absolute;
    left: 18px;
    top: 18px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--cyan);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.course-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.course-table th,
.course-table td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.course-table th {
    background: #eaf6ff;
}

.course-table tr:last-child td {
    border-bottom: 0;
}

.contact-form {
    display: grid;
    gap: 12px;
}

.contact-form label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.chatbot-form input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 13px;
    font: inherit;
    background: #ffffff;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.form-status {
    min-height: 24px;
    color: #0f7a37;
    font-weight: 700;
}

.contact-band {
    background: #eafaf0;
    border-top: 1px solid #cdeedb;
    border-bottom: 1px solid #cdeedb;
    padding: 44px 0;
}

.contact-band-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 26px;
    align-items: center;
}

.contact-actions {
    justify-content: flex-end;
}

.quick-actions {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 45;
    display: flex;
    gap: 8px;
}

.quick-actions a {
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--charcoal);
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(8, 17, 31, 0.22);
}

.chatbot {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 50;
}

.chatbot-toggle {
    min-width: 76px;
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: var(--blue);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(8, 17, 31, 0.24);
    cursor: pointer;
}

.chatbot-panel {
    width: 340px;
    max-width: calc(100vw - 28px);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(8, 17, 31, 0.24);
    overflow: hidden;
    margin-bottom: 10px;
}

.chatbot-panel:not([hidden]) {
    display: flex;
    flex-direction: column;
}

.chatbot-head {
    background: var(--charcoal);
    color: #ffffff;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.chatbot-head small {
    display: block;
    color: #b8c8d9;
}

.chatbot-head button,
.modal-close {
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1.05rem;
    cursor: pointer;
}

.chatbot-messages {
    max-height: 250px;
    overflow: auto;
    padding: 14px;
    display: grid;
    gap: 10px;
    background: #f8fbff;
    flex: 1 1 auto;
}

.message {
    padding: 10px 12px;
    border-radius: 8px;
    max-width: 92%;
}

.message.bot {
    background: #ffffff;
    border: 1px solid var(--line);
}

.message.user {
    background: #e1f4ff;
    justify-self: end;
}

.chatbot-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px;
}

.chatbot-quick button {
    border: 1px solid var(--line);
    background: #ffffff;
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
}

.chatbot-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 0 14px 14px;
}

.chatbot-form button {
    border: 0;
    border-radius: 8px;
    padding: 0 14px;
    background: var(--green);
    font-weight: 800;
    cursor: pointer;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.contact-modal.is-open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 17, 31, 0.7);
}

.modal-card {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    background: #ffffff;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 22px 80px rgba(0, 0, 0, 0.28);
}

.modal-card h2 {
    margin: 0 0 12px;
    font-size: 2rem;
}

.modal-close {
    position: absolute;
    right: 12px;
    top: 10px;
    color: var(--ink);
}

.site-footer {
    background: var(--charcoal);
    color: #eaf2fb;
    padding: 54px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 28px;
}

.footer-brand {
    color: #ffffff;
}

.footer-brand small,
.site-footer p {
    color: #b8c8d9;
}

.footer-links {
    columns: 2;
}

.footer-links a {
    display: block;
    color: #eaf2fb;
    text-decoration: none;
    margin: 0 0 8px;
}

.footer-bottom {
    border-top: 1px solid #24354c;
    margin-top: 34px;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: #b8c8d9;
    font-size: 0.92rem;
}

@media (max-width: 980px) {
    .nav-shell {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        display: none;
        width: 100%;
        margin-left: 0;
        padding-top: 8px;
    }

    .main-nav.is-open {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid.three,
    .grid.four,
    .image-grid,
    .footer-grid,
    .stat-row,
    .split,
    .contact-band-grid {
        grid-template-columns: 1fr;
    }

    .contact-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 24px, 1160px);
    }

    .strip-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 10px 0;
    }

    .strip-contact {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        width: 100%;
    }

    .nav-shell {
        min-height: auto;
        gap: 12px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        font-size: 1.5rem;
    }

    .brand strong {
        font-size: 1.05rem;
    }

    .main-nav.is-open {
        grid-template-columns: 1fr;
    }

    .hero-home {
        min-height: auto;
        padding: 48px 0 46px;
        background-position: 58% center;
    }

    .sub-hero {
        padding: 54px 0 48px;
    }

    .hero-copy h1,
    .sub-hero h1 {
        font-size: 2.3rem;
    }

    .hero-copy p,
    .sub-hero p {
        font-size: 1rem;
    }

    .section {
        padding: 48px 0;
    }

    .section.tight {
        padding: 34px 0;
    }

    .section-head h2,
    .contact-band h2 {
        font-size: 1.75rem;
    }

    .card,
    .panel {
        padding: 18px;
    }

    .hero-actions,
    .modal-actions,
    .contact-actions,
    .split-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .button,
    .modal-actions .button,
    .contact-actions .button,
    .split-actions .button {
        width: 100%;
    }

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

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

    .media-panel {
        min-height: 220px;
    }

    .course-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .course-table th,
    .course-table td {
        min-width: 160px;
    }

    .contact-band {
        padding: 34px 0;
    }

    .quick-actions {
        left: 12px;
        right: 96px;
        bottom: 12px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-actions a {
        text-align: center;
        padding-left: 8px;
        padding-right: 8px;
    }

    .chatbot {
        right: 12px;
        bottom: 12px;
    }

    .chatbot-panel {
        width: calc(100vw - 24px);
        max-height: calc(100vh - 112px);
        margin-bottom: 72px;
    }

    .chatbot-messages {
        max-height: 38vh;
    }

    .modal-card {
        padding: 22px;
    }

    .modal-card h2 {
        font-size: 1.65rem;
    }

    .footer-links {
        columns: 1;
    }

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

@media (max-width: 420px) {
    .hero-copy h1,
    .sub-hero h1 {
        font-size: 2rem;
    }

    .section-head h2,
    .contact-band h2,
    .modal-card h2 {
        font-size: 1.5rem;
    }

    .quick-actions {
        right: 88px;
    }

    .quick-actions a,
    .chatbot-toggle {
        min-height: 44px;
        font-size: 0.9rem;
    }
}
