/* =====================================================
   css/toolkit.css  –  TOOLKIT project page
   (page layout + content, plus the shared banner and
   sidebar styles so the page works on its own)
   ===================================================== */

:root {
    --navy: #0b2352;
    --gold: #e1a80b;
    --transition: .25s ease;
    --tk-text: #1f3a68;
    --tk-muted: #5b6b86;
    --tk-border: #d8e1ee;
    --tk-bg: #f5f8fc;
}


/* =========================
   PAGE BANNER
========================= */

.page-banner {
    position: relative;
    width: 100%;
    height: 315px;
    overflow: hidden;
    background: #0b2352;
}

.banner-flex {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.banner-media {
    position: absolute;
    top: 0;
    right: 0;
    width: 82%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.banner-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.banner-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 40px 40px 70px;
    background: rgba(11, 35, 82, 0.88);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.banner-text::after {
    content: "";
    position: absolute;
    top: 0;
    right: -100px;
    width: 150px;
    height: 100%;
    background: rgba(11, 35, 82, 0.88);
    clip-path: polygon(35% 0, 100% 0, 65% 100%, 0 100%);
    z-index: -1;
}

.banner-text h1 {
    margin: 0 0 22px 0;
    color: #ffffff;
    font-size: 36px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 1px;
}

.banner-text p {
    margin: 0 0 22px 0;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
    max-width: 90%;
}

.banner-text .breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    background: none;
    padding: 0;
    margin: 0;
}

.banner-text .breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.banner-text .breadcrumb a:hover {
    color: #e1a80b;
}

.banner-text .breadcrumb .sep {
    color: #ffffff;
}

.banner-text .breadcrumb .current {
    color: #e1a80b;
    font-weight: 600;
}


/* =========================
   PAGE LAYOUT
========================= */

.tk-section {
    padding: 40px 0 60px;
    background: #fbfcff;
}

.tk-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;   /* content | sidebar (right) */
    gap: 36px;
    align-items: start;
}

.tk-main {
    min-width: 0;
}


/* =========================
   SIDEBAR
========================= */

.sidebar-menu {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}

.sidebar-menu h3 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 20px;
    background: var(--navy);
}

.sidebar-menu h3.gold-edge {
    border-left: 4px solid var(--gold);
}

.sidebar-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 500;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}

.sidebar-menu ul li a i:first-child {
    color: var(--navy);
    width: 18px;
    text-align: center;
}

.sidebar-menu ul li a:hover {
    background: #f5f7fb;
    color: var(--navy);
}

.sidebar-menu ul li.active a {
    background: var(--navy);
    color: var(--gold);
    font-weight: 700;
}

.sidebar-menu ul li.active a i:first-child {
    color: var(--gold);
}

.sidebar-menu ul li a .arrow {
    margin-left: auto;
    font-size: 11px;
    color: var(--navy);
    opacity: .6;
}

.sidebar-menu ul li.active a .arrow {
    color: var(--gold);
    opacity: 1;
}


/* =========================
   HEADINGS
========================= */

.tk-heading {
    position: relative;
    margin: 40px 0 22px;
    padding-bottom: 12px;
    color: var(--navy);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.tk-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 4px;
    border-radius: 2px;
    background: var(--gold);
}

.tk-sub {
    margin: 26px 0 12px;
    color: var(--navy);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}


/* =========================
   HERO + INTRO
========================= */

.tk-hero {
    margin-bottom: 22px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(11, 35, 82, 0.12);
    width: 100%;
}

.tk-hero img {
    display: block;
    width: 25%;
    height: auto;
    object-fit: cover;
}

.tk-intro {
    margin: 0;
    color: var(--tk-text);
    font-size: 15px;
    line-height: 1.8;
}


/* =========================
   PROJECT OBJECTIVES
========================= */

.tk-objectives {
    display: flex;
    background: #fff;
    border: 1px solid var(--tk-border);
    border-top: 3px solid var(--gold);
    border-radius: 8px;
}

.obj-item {
    flex: 1;
    padding: 22px 14px 22px;
    text-align: center;
    border-right: 1px solid var(--tk-border);
}

.obj-item:last-child {
    border-right: 0;
}

.obj-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-size: 24px;
    line-height: 56px;
}

.obj-item h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
}

.obj-item p {
    margin: 0;
    color: var(--tk-muted);
    font-size: 12.5px;
    line-height: 1.55;
}


/* =========================
   PROJECT DETAILS
========================= */

.tk-details {
    margin: 0;
    padding: 0 6px;
}

.tk-details .row-item {
    display: grid;
    grid-template-columns: 210px 20px minmax(0, 1fr);
    gap: 6px;
    padding: 7px 0;
    color: var(--tk-text);
    font-size: 14px;
    line-height: 1.6;
}

.tk-details dt {
    margin: 0;
    color: var(--navy);
    font-weight: 700;
}

.tk-details dt::after {
    content: "";
}

.tk-details dd {
    grid-column: 3;
    margin: 0;
}

/* colon between label and value */
.tk-details .row-item::before {
    content: ":";
    grid-column: 2;
    grid-row: 1;
    color: var(--tk-muted);
}

.tk-details dt {
    grid-column: 1;
    grid-row: 1;
}

.tk-details dd {
    grid-row: 1;
}


/* =========================
   ABOUT THE PROJECT
========================= */

.tk-about {
    margin-top: 26px;
    padding-top: 6px;
    border-top: 1px solid var(--tk-border);
    color: var(--tk-text);
    font-size: 14.5px;
    line-height: 1.8;
}

.tk-list {
    margin: 0 0 14px;
    padding-left: 22px;
    list-style: disc;
}

.tk-list li {
    margin-bottom: 8px;
}

.tk-list-inner {
    margin: 8px 0 0;
    list-style: circle;
}

.tk-link {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 4px;
    background: var(--navy);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}

.tk-link:hover {
    background: var(--gold);
    color: var(--navy);
}

.tk-table-wrap {
    overflow-x: auto;
}

.tk-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 13.5px;
}

.tk-table th {
    padding: 10px 12px;
    background: var(--navy);
    color: #fff;
    text-align: left;
    border: 1px solid var(--navy);
}

.tk-table td {
    padding: 9px 12px;
    border: 1px solid var(--tk-border);
    vertical-align: middle;
}


/* =========================
   PROJECT HIGHLIGHTS
========================= */

.tk-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.hl-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--tk-border);
    border-top: 3px solid var(--gold);
    border-radius: 8px;
    padding: 10px;
}

.hl-card img {
    display: block;
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
}

.hl-card h3 {
    margin: 12px 0 6px;
    color: var(--navy);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.hl-card p {
    flex: 1;
    margin: 0 0 12px;
    color: var(--tk-muted);
    font-size: 12.5px;
    line-height: 1.55;
}

.learn-more {
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 4px;
    background: var(--navy);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}

.learn-more i {
    margin-left: 5px;
    font-size: 11px;
}

.learn-more:hover {
    background: var(--gold);
    color: var(--navy);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1199px) {
    .tk-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .tk-layout {
        grid-template-columns: 1fr;
    }

    .cbhe-side {
        order: 2;
    }

    .tk-objectives,
    .tk-partners {
        flex-wrap: wrap;
    }

    .obj-item {
        flex: 1 1 50%;
        border-bottom: 1px solid var(--tk-border);
    }

    .tk-partners .partner {
        flex: 1 1 33%;
        border-bottom: 1px solid var(--tk-border);
    }

    /* banner on tablets / phones */
    .page-banner {
        height: auto;
        min-height: 315px;
    }

    .banner-media {
        width: 100%;
    }

    .banner-text {
        position: relative;
        width: 100%;
        padding: 40px 24px;
        background: rgba(11, 35, 82, 0.88);
    }

    .banner-text::after {
        display: none;
    }
}

@media (max-width: 600px) {
    .banner-text h1 {
        font-size: 28px;
    }

    .obj-item,
    .tk-partners .partner {
        flex: 1 1 100%;
        border-right: 0;
    }

    .tk-highlights {
        grid-template-columns: 1fr;
    }

    .tk-details .row-item {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .tk-details .row-item::before {
        display: none;
    }

    .tk-details dt,
    .tk-details dd {
        grid-column: 1;
        grid-row: auto;
    }
}