/* ============================================================

   RESET & BASE

   ============================================================ */

* {

    box-sizing: border-box;

}


@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');



body {

    margin: 0;

    font-family: "Roboto", sans-serif;

    color: #2b2b2b;

    background: #ffffff;

    font-size: 14px;

    max-width: 1200px;

    margin: 0 auto;

}



a {

    color: #2f6db5;

    text-decoration: none;

}

a:hover {

    text-decoration: underline;

}



/* ============================================================

   HEADER

   ============================================================ */

.header-wrap {

    max-width: 1200px;

    margin: 0 auto;

    padding: 30px 20px 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 20px;

    position: relative;

}



.logo-block {

    display: flex;

    align-items: center;

    gap: 14px;

}

.logo-block img {

    height: 100px;

    width: auto;

}



.logo-text-block {

    line-height: 1.3;

}

.logo-text {

    font-size: 26px;

    font-weight: bold;

    color: #163a6b;

}

.logo-tagline {

    font-size: 10px;

    letter-spacing: 0.5px;

    color: #6b6b6b;

    margin-top: 2px;

}



/* ============================================================

   MOBILE MENU TOGGLE (Hamburger)

   ============================================================ */

.menu-toggle {

    display: none;

    width: 44px;

    height: 44px;

    border: 1px solid #d8d8d8;

    border-radius: 4px;

    background: #fff;

    cursor: pointer;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 4px;

    flex-shrink: 0;

}

.menu-toggle span {

    display: block;

    width: 22px;

    height: 2px;

    background: #333;

    transition: transform 0.2s ease, opacity 0.2s ease;

}

.menu-toggle.open span:nth-child(1) {

    transform: translateY(6px) rotate(45deg);

}

.menu-toggle.open span:nth-child(2) {

    opacity: 0;

}

.menu-toggle.open span:nth-child(3) {

    transform: translateY(-6px) rotate(-45deg);

}



/* ============================================================

   NAVIGATION

   ============================================================ */

.nav-block {

    display: flex;

    flex-direction: column;

}



.nav-top {

    display: flex;

    border: 1px solid #d8d8d8;

    border-radius: 4px 4px 0 0;

    overflow: hidden;

}

.nav-top a {

    padding: 12px 30px;

    color: #555;

    font-size: 13px;

    letter-spacing: 0.5px;

    border-right: 1px solid #e2e2e2;

    white-space: nowrap;

}

.nav-top a:last-child {

    border-right: none;

}

.nav-top a:hover {

    background: #f5f5f5;

    text-decoration: none;

}



.nav-sub {

    display: flex;

    border: 1px solid #d8d8d8;

    border-top: none;

    border-radius: 0 0 4px 4px;

}

.nav-sub a {

    flex: 1;

    text-align: center;

    padding: 10px 14px;

    font-size: 12px;

    letter-spacing: 0.5px;

    border-right: 1px solid #e2e2e2;

}

.nav-sub a:last-child {

    border-right: none;

}

.nav-sub a.active {

    color: #94c01e;

    font-weight: bold;

}



/* ============================================================

   MAIN LAYOUT

   ============================================================ */

.main-wrap {

    max-width: 1200px;

    margin: 0 auto;

    padding: 30px 20px 60px;

    display: flex;

    gap: 40px;

    align-items: flex-start;

    flex-wrap: wrap;

}



.content-col {

    flex: 1 1 600px;

    min-width: 300px;

}

.side-col {

    flex: 0 0 260px;

}



/* ---- Intro tagline ---- */

.intro-tagline {

    font-size: 24px;

    font-weight: 300;

    color: #163a6b;

    margin: 0 0 12px;

    line-height: 1.3;

}

.intro-tagline strong {

    font-weight: 700;

}



/* ---- Content paragraphs ---- */

.content-col p {

    line-height: 1.7;

    color: #3a3a3a;

    margin: 0 0 16px;

    font-size: 13px;

}

.content-col p a {

    color: #94c01e;

}



/* ---- Tab buttons (category) ---- */

.tab-buttons {

    display: flex;

    gap: 4px;

    margin-bottom: 24px;

}

.tab-buttons button {

    flex: 1;

    padding: 22px 10px;

    background: #f4f4f4;

    border: 1px solid #dcdcdc;

    font-size: 15px;

    font-weight: bold;

    color: #2b2b2b;

    cursor: pointer;

}

.tab-buttons button:hover {

    background: #ebebeb;

}



/* ---- Image row (cards) ---- */

.image-row {

    display: flex;

    gap: 20px;

    margin: 20px 0 26px;

    flex-wrap: wrap;

}

.image-card {

    flex: 1 1 260px;

}

.image-card .thumb {

    width: 100%;

    aspect-ratio: 16/10;

    border-radius: 3px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: rgba(255, 255, 255, 0.85);

    font-size: 13px;

    letter-spacing: 1px;

    object-fit: cover;

}

.image-card .caption {

    margin-top: 8px;

    font-size: 13px;

    font-weight: bold;

    color: #4a8f2f;

}



/* ---- Service category pills ---- */

.service-pills {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin: 18px 0 22px;

}

.service-pills span {

    background: #f0f5fb;

    padding: 6px 16px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: 600;

    color: #163a6b;

    letter-spacing: 0.3px;

}



/* ---- Service grid (2 columns) ---- */

.service-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 24px 30px;

    margin: 24px 0 28px;

}

.service-grid .col h4 {

    font-size: 14px;

    font-weight: 700;

    color: #163a6b;

    margin: 0 0 6px;

    letter-spacing: 0.3px;

}

.service-grid .col ul {

    list-style: none;

    padding: 0;

    margin: 0;

}

.service-grid .col ul li {

    font-size: 13px;

    color: #3a3a3a;

    padding: 3px 0;

    border-bottom: 1px solid #f0f0f0;

}

.service-grid .col ul li:last-child {

    border-bottom: none;

}

.service-grid .col ul li a {

    color: #2f6db5;

}



/* ---- Downloads list (multi-column) ---- */

.downloads-list {

    columns: 2 180px;

    column-gap: 30px;

    margin: 12px 0 20px;

    padding: 0;

    list-style: none;

}

.downloads-list li {

    font-size: 12px;

    padding: 4px 0;

    break-inside: avoid;

}

.downloads-list li a {

    color: #2f6db5;

}



/* ---- News items ---- */

.news-item {

    border-top: 1px solid #eaeaea;

    padding: 18px 0 14px;

}

.news-item:first-of-type {

    border-top: none;

    padding-top: 0;

}

.news-item h4 {

    font-size: 14px;

    font-weight: 700;

    color: #163a6b;

    margin: 0 0 4px;

}

.news-item .meta {

    font-size: 11px;

    color: #888;

    margin-bottom: 6px;

}

.news-item p {

    font-size: 13px;

    margin: 0 0 6px;

    color: #3a3a3a;

    line-height: 1.6;

}

.news-item a {

    color: #94c01e;

    font-weight: 600;

    font-size: 12px;

}



.news-archive-link {

    display: block;

    margin: 10px 0 0;

    font-weight: 600;

    font-size: 13px;

}

.news-archive-link a {

    color: #163a6b;

}

.news-archive-link a:hover {

    color: #94c01e;

    text-decoration: none;

}



/* ---- Services heading ---- */

.services-heading {

    font-size: 16px;

    font-weight: 700;

    color: #163a6b;

    margin: 28px 0 10px;

    padding-bottom: 6px;

    border-bottom: 2px solid #eaeaea;

}

.services-heading a {

    color: #163a6b;

}

.services-heading a:hover {

    text-decoration: none;

    color: #94c01e;

}



/* ---- Regulations heading & menu ---- */

.regs-heading {

    font-size: 16px;

    font-weight: 700;

    color: #163a6b;

    margin: 24px 0 10px;

    padding-bottom: 6px;

    border-bottom: 2px solid #eaeaea;

}

.regs-heading a {

    color: #163a6b;

}

.regs-heading a:hover {

    text-decoration: none;

    color: #94c01e;

}



.regs-menu {

    list-style: none;

    padding: 0;

    margin: 0 0 16px;

}

.regs-menu li {

    padding: 4px 0;

    border-bottom: 1px solid #f0f0f0;

    font-size: 13px;

}

.regs-menu li:last-child {

    border-bottom: none;

}

.regs-menu li a {

    color: #2f6db5;

}

.regs-menu li a:hover {

    color: #94c01e;

}



/* ---- Contact form ---- */

.contact-form {

    margin-top: 28px;

    border-top: 1px solid #e5e5e5;

    padding-top: 24px;

}

.contact-form h3 {

    font-size: 18px;

    font-weight: 700;

    color: #163a6b;

    margin: 0 0 16px;

}



.form-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px 20px;

}

.form-grid .full {

    grid-column: 1 / -1;

}

.form-grid label {

    display: block;

    font-size: 12px;

    font-weight: 600;

    color: #444;

    margin-bottom: 3px;

}

.form-grid input,

.form-grid select,

.form-grid textarea {

    width: 100%;

    padding: 8px 10px;

    border: 1px solid #d0d0d0;

    border-radius: 3px;

    font-size: 13px;

    background: #fafafa;

}

.form-grid textarea {

    resize: vertical;

    min-height: 80px;

}

.form-grid .submit-row {

    grid-column: 1 / -1;

    display: flex;

    gap: 12px;

    align-items: center;

    padding-top: 4px;

}

.form-grid .submit-row button {

    padding: 10px 30px;

    background: #163a6b;

    color: #fff;

    border: none;

    border-radius: 3px;

    font-weight: 700;

    font-size: 14px;

    cursor: pointer;

}

.form-grid .submit-row button:hover {

    background: #1f4a82;

}

.form-grid .submit-row small {

    font-size: 11px;

    color: #777;

}



/* ============================================================

   SIDEBAR

   ============================================================ */

.side-heading {

    font-size: 14px;

    font-weight: 700;

    color: #163a6b;

    margin: 0 0 10px;

    padding-bottom: 6px;

    border-bottom: 2px solid #eaeaea;

}

.side-heading a {

    color: #163a6b;

}

.side-heading a:hover {

    text-decoration: none;

    color: #94c01e;

}



.side-menu {

    list-style: none;

    padding: 0;

    margin: 0 0 16px;

}

.side-menu li {

    padding: 5px 0;

    border-bottom: 1px solid #f0f0f0;

    font-size: 13px;

}

.side-menu li:last-child {

    border-bottom: none;

}

.side-menu li a {

    color: #2f6db5;

}

.side-menu li a:hover {

    color: #94c01e;

}



.side-section {

    margin-bottom: 20px;

}



/* ---- Search ---- */

.search-box {

    display: flex;

    margin-bottom: 20px;

}

.search-box input {

    flex: 1;

    padding: 8px 10px;

    border: 1px solid #ccc;

    border-right: none;

    font-size: 13px;

    min-width: 0;

}

.search-box button {

    padding: 8px 16px;

    border: 1px solid #ccc;

    background: #f0f0f0;

    cursor: pointer;

    font-size: 13px;

}



/* ---- Contact button ---- */

.contact-btn {

    display: block;

    text-align: center;

    padding: 16px;

    border: 1px solid #d9b95c;

    color: #a9822a;

    font-weight: bold;

    letter-spacing: 1px;

    margin-bottom: 24px;

    border-radius: 2px;

}

.contact-btn:hover {

    background: #fdf7e8;

    text-decoration: none;

}



/* ---- Certificate lookup ---- */

.cert-lookup {

    border: 1px solid #e0e0e0;

    padding: 16px;

    border-radius: 3px;

    margin-bottom: 20px;

}

.cert-lookup h4 {

    margin: 0 0 10px;

    font-size: 13px;

    color: #333;

}

.cert-lookup label {

    display: block;

    font-size: 12px;

    margin-bottom: 6px;

    color: #555;

}

.cert-lookup .row {

    display: flex;

    gap: 8px;

}

.cert-lookup input {

    flex: 1;

    padding: 7px 8px;

    border: 1px solid #ccc;

    font-size: 13px;

    min-width: 0;

}

.cert-lookup button {

    padding: 7px 14px;

    border: 1px solid #ccc;

    background: #f0f0f0;

    cursor: pointer;

    font-size: 12px;

}



/* ---- Certificate preview ---- */

.cert-preview {

    border: 1px solid #e0e0e0;

    border-radius: 3px;

    width: 100%;

    height: 260px;

    display: flex;

    padding: 4px;

    align-items: center;

    justify-content: center;

    box-sizing: border-box;

}

.cert-preview img {

    object-fit: contain;

    aspect-ratio: 1/1;

    width: 100%;

    height: 100%;

}



/* ---- LinkedIn box ---- */

.linkedin-box {

    margin-top: 20px;

    padding: 12px 14px;

    border: 1px solid #e0e0e0;

    border-radius: 3px;

    text-align: center;

    font-size: 13px;

}

.linkedin-box a {

    color: #163a6b;

    font-weight: 600;

}

.linkedin-box a:hover {

    color: #94c01e;

    text-decoration: none;

}



/* ---- Placeholder helper ---- */

.placeholder-img {

    background: #eef3f9;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #7a8fa6;

    font-size: 11px;

    letter-spacing: 0.5px;

    text-transform: uppercase;

}



/* ============================================================

   FOOTER

   ============================================================ */

footer {

    border-top: 1px solid #e5e5e5;

    padding: 20px;

}

.footer-inner {

    max-width: 1200px;

    margin: 0 auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    font-size: 12px;

    color: #777;

}

.footer-links {

    display: flex;

    gap: 20px;

    flex-wrap: wrap;

}

.footer-links a {

    color: #94c01e;

}

.certificate_table tbody tr:nth-child(2) td:nth-child(odd) {
    background-color: #f2f2f2;
}


.certificate_table td {
    border: 1px solid #ddd;
    font-size: 12px;
}


/* ====== JUSTIFIED TEXT FOR PARAGRAPHS & LIST ITEMS ====== */
.content-col p,
.content-col li {
    text-align: justify;
}

.content-col p {
    margin-bottom: 1.2em;
}

/* ====== HEADING STYLING ====== */
.content-col h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #003366;
    margin: 1.8em 0 0.3em 0;
    padding-bottom: 0.2em;
    border-bottom: 2px solid #e6e6e6;
}

.content-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #163a6b;
    margin: 1.2em 0 0.4em 0;
}

/* ====== CUSTOM LIST WITH ICONS ====== */
ul.icon-list {
    list-style: none;
    padding-left: 0;
    margin: 1em 0 1.5em 0;
    font-size: 13px;
}

ul.icon-list li {
    position: relative;
    padding-left: 2.4em;
    margin-bottom: 0.9em;
    line-height: 1.6;
}

/* Checkmark icon before each list item */
ul.icon-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0.1em;
    color: #008000;
    font-size: 1.2em;
    font-weight: bold;
}

/* Make the <strong> inside list items stand out */
ul.icon-list li strong {
    color: #163a6b;
    font-weight: 700;
}

ul.icon-list li {
    color: #3a3a3a;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 640px) {
    .content-col p,
    .content-col li {
        text-align: left; /* Better for small screens */
    }
    .content-col h3 {
        font-size: 1.2rem;
    }
    ul.icon-list li {
        padding-left: 1.8em;
    }

    .certificate_table tbody {
        display: flex;
    }

    .certificate_table tbody tr {
        display: flex;
        flex-direction: column;
        width: 50%;
    }

    .certificate_table td {
    width: 100%;
    min-height: 36px;
    }
}



/* ============================================================

   RESPONSIVE — TABLET (≤ 900px)

   ============================================================ */

@media (max-width: 900px) {

    .main-wrap {

        gap: 24px;

        padding: 24px 16px 40px;

    }

    .side-col {

        flex: 1 1 100%;

        order: 2;

    }

    .content-col {

        flex: 1 1 100%;

        order: 1;

    }

}



/* ============================================================

   RESPONSIVE — MOBILE (≤ 640px)

   ============================================================ */

@media (max-width: 640px) {

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

    .header-wrap {

        padding: 16px 16px;

        align-items: center;

        position: relative;

    }

    .logo-block img {

        height: 70px;

    }



    /* ---- Hamburger: show ---- */

    .menu-toggle {

        display: flex;

    }



    /* ---- Navigation: slide-down ---- */

    .nav-block {

        position: absolute;

        top: 100%;

        left: 0;

        right: 0;

        background: #fff;

        border: 1px solid #e0e0e0;

        border-top: none;

        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);

        max-height: 0;

        overflow: hidden;

        transition: max-height 0.3s ease;

        z-index: 30;

    }

    .nav-block.open {

        max-height: 600px;

    }

    .nav-top,

    .nav-sub {

        flex-direction: column;

        border-radius: 0;

    }

    .nav-top a,

    .nav-sub a {

        border-right: none;

        border-bottom: 1px solid #eee;

        text-align: left;

        padding: 14px 18px;

        white-space: normal;

    }

    .nav-sub a {

        text-align: left;

    }



    /* ---- Tab buttons: stacked ---- */

    .tab-buttons {

        flex-direction: column;

    }

    .tab-buttons button {

        padding: 16px 10px;

    }



    /* ---- Image row: stacked ---- */

    .image-row {

        flex-direction: column;

    }



    /* ---- Service grid: 1 column ---- */

    .service-grid {

        grid-template-columns: 1fr;

        gap: 16px;

    }



    /* ---- Downloads: 1 column ---- */

    .downloads-list {

        columns: 1;

    }



    /* ---- Form: 1 column ---- */

    .form-grid {

        grid-template-columns: 1fr;

    }

    .form-grid .full {

        grid-column: 1;

    }

    .form-grid .submit-row {

        grid-column: 1;

        flex-wrap: wrap;

    }



    /* ---- Certificate preview: smaller ---- */

    .cert-preview {

        width: 100%;

        height: 200px;

    }



    /* ---- Footer: stacked ---- */

    .footer-inner {

        flex-direction: column;

        align-items: center;

        justify-content: center;

    }

    .footer-links {

        justify-content: center;

        margin-bottom: 15px;

        row-gap: 15px;

    }

}