/* =========================================================
   Design tokens
   ========================================================= */
:root {
    --primary-color: #69b342;
    --primary-color-dark: #4c8730;
    --primary-color-darker: #2b4f1b;
    --primary-color-light: #93cc72;
    --primary-color-lighter: #eef8e8;

    --accent-color: #34c0cf;
    --accent-color-dark: #1e748a;
    --accent-color-darker: #0d4657;
    --accent-color-light: #74d7e1;

    --text-color: #22282a;
    --text-muted: #6b7280;
    --bg-page: #f2f4f3;
    --bg-panel: #ffffff;
    --bg-gray: #f6f7f8;
    --border-color: #e6e8e6;
    --border-dark: #022822;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;

    --shadow-sm: 0 1px 3px rgba(20, 30, 20, 0.08);
    --shadow-md: 0 6px 20px rgba(20, 30, 20, 0.09);
    --shadow-lg: 0 16px 40px rgba(20, 30, 20, 0.14);

    --transition: all 0.2s ease;

    --hero-max-height: 250px;
    --footer-max-height: 120px;
    --sidebar-width: 30%;
    --content-width: 70%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Exo 2", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-color: var(--bg-page);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--primary-color-light);
    color: var(--primary-color-darker);
}

:focus-visible {
    outline: 3px solid var(--accent-color-light);
    outline-offset: 2px;
}

/* Headings use shades of the primary color, site-wide */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-color-dark);
    font-weight: 600;
    line-height: 1.3;
}

.right-container h2 {
    padding-bottom: 12px;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--primary-color-lighter);
}

p {
    margin: 0 0 14px;
}

a {
    color: var(--accent-color-dark);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color-darker);
}

/* =========================================================
   Hero header (banner + logo/title, no nav menu)
   ========================================================= */
.site-hero {
    position: relative;
    max-height: var(--hero-max-height);
    min-height: 150px;
    height: 25vw;
    background-color: var(--primary-color-darker);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    isolation: isolate;
}

.site-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 20, 12, 0.35) 0%, rgba(6, 20, 12, 0.15) 45%, rgba(6, 20, 12, 0.55) 100%);
    z-index: 0;
}

.site-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 20px 0;
}

.site-hero-brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(14px, 2.4vw, 26px);
    text-decoration: none;
}

/* Logo contains white artwork, so it gets its own white-shade badge
   to stay readable against any part of the banner photo */
.site-hero-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 1.6vw, 16px);
    border-radius: var(--radius-lg);
    background: rgba(250, 251, 250, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.site-hero-logo {
    width: clamp(80px, 10vw, 150px);
    height: auto;
    display: block;
}

/* Title stays on a separate dark glass panel, since white text needs
   a dark backdrop rather than the light one the logo badge uses */
/* .site-hero-title-badge {
    display: inline-flex;
    align-items: center;
    padding: clamp(12px, 2vw, 20px) clamp(18px, 3.2vw, 32px);
    border-radius: var(--radius-lg);
    background: rgba(8, 24, 15, 0.5);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    backdrop-filter: blur(10px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: var(--transition);
} */

.site-hero-title {
    color: #fff;
    font-size: clamp(1.05rem, 2.6vw, 1.7rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    max-width: 320px;
}

.bread-crumb {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(6px);
    /* backdrop-filter: blur(6px); */
    color: var(--text-color);
    font-size: 1.05rem;
}

.bread-crumb a {
    text-decoration: none;
    color: var(--text-color);
}

.active-link a {
    text-decoration: none;
    color: var(--accent-color-dark);
    font-weight: 600;
}

.links-icon {
    color: var(--accent-color-dark);
}

/* =========================================================
   Layout shell: 30% sidebar / 70% content on desktop
   ========================================================= */
.content-shell {
    margin-top: 32px;
    margin-bottom: 80px;
}

.content-row {
    align-items: flex-start;
}

.sidebar-col {
    font-family: inherit;
}

.sidebar-col,
.offcanvas-body {
    position: relative;
}

.sidebar-col .side-nav {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: sticky;
    top: 20px;
}

.content-col {
    min-width: 0;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: clamp(20px, 4vw, 40px);
}

@media (min-width: 768px) {
    .sidebar-col {
        flex: 0 0 var(--sidebar-width);
        max-width: var(--sidebar-width);
    }

    .content-col {
        flex: 0 0 var(--content-width);
        max-width: var(--content-width);
    }
}

@media only screen and (max-width: 991px) {
    .content-col {
        margin-top: 25px;
    }
}

@media only screen and (max-width: 767px) {
    .content-shell {
        margin-top: 20px;
        margin-bottom: 50px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .content-row {
        --bs-gutter-x: 0px;
    }

    .content-col {
        padding: 20px;
        margin-top: 18px;
    }

    .site-hero {
        height: 150px;
    }

    .site-hero-inner {
        padding: 10px 0;
    }

    .bread-crumb {
        padding: 8px 0;
        font-size: 0.95rem;
    }
}

@media only screen and (max-width: 420px) {
    .content-shell {
        padding-left: 12px;
        padding-right: 12px;
    }

    .content-col {
        padding: 16px;
    }
}

/* =========================================================
   Mobile hamburger trigger + off-canvas sidebar
   ========================================================= */
.mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
    padding: 13px 18px;
    background: var(--bg-panel);
    color: var(--primary-color-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    font-size: 1rem;
    font-weight: 600;
}

.mobile-nav-toggle i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-color-lighter);
    color: var(--primary-color-dark);
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus {
    color: var(--primary-color-darker);
    border-color: var(--primary-color-light);
}

.offcanvas .side-nav {
    width: 100%;
    box-shadow: none;
    border: none;
}

.offcanvas-header {
    background: linear-gradient(120deg, var(--primary-color-dark), var(--accent-color-dark));
    color: #fff;
}

.offcanvas-header .offcanvas-title {
    color: #fff;
}

.offcanvas-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* =========================================================
   Sidebar navigation
   ========================================================= */
.nav-header {
    background: linear-gradient(120deg, var(--primary-color-dark), var(--accent-color-dark));
    color: white;
    margin: 0;
    padding: 18px 20px;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.side-nav-item {
    position: relative;
    padding: 0;
    border-bottom: 1px solid var(--border-color);
}

.side-nav-item:last-child {
    border-bottom: none;
}

.side-nav-item a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.side-nav-item a i {
    width: 18px;
    text-align: center;
    color: var(--accent-color-dark);
    transition: var(--transition);
}

.side-nav-item.active {
    border-left: none;
    background-color: var(--primary-color-lighter);
}

.side-nav-item.active a {
    font-weight: 700;
    color: var(--primary-color-darker);
    border-left-color: var(--primary-color);
}

.side-nav-item.active a i {
    color: var(--primary-color-dark);
}

.side-nav-item:hover:not(.active) {
    background-color: var(--bg-gray);
}

.side-nav-item:hover:not(.active) a {
    border-left-color: var(--accent-color-light);
    padding-left: 23px;
}

.archived-section {
    margin: 4px 0 14px 20px;
}

.archived-section ul {
    list-style: none;
    padding-left: 12px;
    margin: 0;
    border-left: 2px solid var(--border-color);
}

.archived-section li {
    margin-bottom: 2px;
    padding: 0;
}

.archived-section li a {
    font-size: 0.92rem;
    color: var(--text-muted);
    text-decoration: none;
    padding: 7px 12px;
    display: block;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.archived-section li a:hover {
    color: var(--accent-color-dark);
    background: var(--bg-gray);
}

.archived-section li a.active {
    color: var(--primary-color-dark);
    font-weight: 700;
    background: var(--primary-color-lighter);
}

/* =========================================================
   Content area
   ========================================================= */
.career-heading {
    background: linear-gradient(120deg,
            var(--accent-color-darker) 0%,
            var(--accent-color-dark) 45%,
            var(--accent-color) 100%);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    color: #fff;
}

.deadline {
    color: var(--accent-color-darker);
}

.right-container {
    width: 100%;
}

.right-container h5 {
    color: var(--primary-color-dark);
    margin-top: 22px;
    margin-bottom: 8px;
}

.leadership-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.leadership-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 28px;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 26px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.leadership-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.leadership-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color-light);
}

.leadership-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color-lighter);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.leadership-name {
    margin: 0 0 8px;
    color: var(--primary-color-dark);
    font-size: 1.3rem;
}

.leadership-title {
    display: inline-block;
    margin: 0;
    padding: 5px 16px;
    border-radius: 999px;
    background: var(--primary-color-lighter);
    color: var(--primary-color-dark);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.leadership-grid-featured .leadership-img {
    width: 160px;
    height: 160px;
    border-width: 5px;
}

.leadership-grid-featured .leadership-name {
    font-size: 1.55rem;
}

.leadership-grid-featured .leadership-title {
    background: var(--accent-color-light);
    color: var(--accent-color-darker);
}

@media only screen and (max-width: 480px) {
    .leadership-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 22px;
        gap: 18px;
    }

    .leadership-card::before {
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        width: 100%;
        height: 5px;
    }

    .leadership-img {
        width: 110px;
        height: 110px;
    }

    .leadership-grid-featured .leadership-img {
        width: 130px;
        height: 130px;
    }
}

.bods {
    margin-top: 25px;
}

.bods-desc {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.bods-desc:last-child {
    border-bottom: none;
}

.bods-content {
    width: 100%;
}

.bods-desc p {
    width: 75%;
    text-align: justify;
    padding-right: 0;
}

.bods-img {
    width: 25%;
    flex-shrink: 0;
}

.bods-img img {
    width: 100%;
    height: 200px;
    /* object-fit: cover; */
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.info {
    width: 100%;
    margin-bottom: 50px;
    border-collapse: collapse;
}

.info tr {
    border-bottom: 1px solid var(--border-color);
}

.info-heading {
    font-weight: 700;
    width: 250px;
    padding-top: 12px;
    padding-bottom: 12px;
    vertical-align: top;
}

td.info-heading {
    color: var(--primary-color-dark);
}

.info td {
    padding-top: 12px;
    padding-bottom: 12px;
    vertical-align: top;
}

.SECP {
    margin-top: 25px;
}

.section-label {
    color: var(--primary-color-dark);
    font-weight: 700;
    margin-top: 22px;
    margin-bottom: 8px;
}

.doc-list {
    list-style: none;
    margin: 0 0 10px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--border-color);
}

.doc-list li {
    padding: 4px 0;
}

.doc-list li::before {
    content: "\f15c";
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    color: var(--accent-color-dark);
    margin-right: 8px;
}

.content-col details {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 10px;
    background: var(--bg-gray);
    transition: var(--transition);
}

.content-col details[open] {
    background: var(--bg-panel);
    box-shadow: var(--shadow-sm);
}

.content-col summary {
    color: var(--accent-color-dark);
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 0;
}

.content-col details[open] summary {
    margin-bottom: 10px;
}

.content-col summary::marker {
    color: var(--primary-color);
}

.pm-img-banner {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

@media only screen and (max-width: 767px) {
    .bods-desc {
        flex-flow: column nowrap;
    }

    .bods-desc p {
        width: 100%;
        padding-right: 0;
    }

    .bods-img {
        width: 100%;
    }
}

@counter-style hb-new-list-style {
    system: extends lower-alpha;
    suffix: ").  ";
}

.hb-container ol {
    list-style: hb-new-list-style;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
}

.btn-view-desc {
    background-color: var(--bg-panel);
    color: var(--accent-color-dark);
    border: 1px solid var(--accent-color);
    margin-right: 10px;
}

.btn-view-desc:hover {
    background-color: var(--accent-color-light);
    border-color: var(--accent-color-light);
    color: var(--accent-color-darker);
}

.btn-apply {
    background-color: var(--accent-color);
    color: #fff;
    border: 1px solid var(--accent-color);
}

.btn-apply:hover,
.btn-apply:focus,
.btn-apply:active {
    background-color: var(--accent-color-dark);
    border-color: var(--accent-color-dark);
    color: #fff;
}

.btn-primary {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-color-darker);
    border-color: var(--primary-color-darker);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.blinking-text {
    font-size: 14px;
    animation: blink 1s infinite;
}

@media (prefers-reduced-motion: reduce) {
    .blinking-text {
        animation: none;
    }
}

.tender-card {
    border-radius: var(--radius-md);
    border-color: var(--border-color) !important;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.tender-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color) !important;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
    width: 100%;
    max-height: var(--footer-max-height);
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, var(--primary-color-darker), var(--accent-color-darker));
    color: #fff;
    overflow: hidden;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
}

.site-footer-inner {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
    width: 100%;
    padding: 14px 0;
}

.site-footer-copy {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

.site-footer-badges {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-footer-badges a {
    display: inline-flex;
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.site-footer-badges a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.site-footer-badges img {
    height: 40px;
    width: auto;
    display: block;
    background: #fff;
    padding: 3px;
}

@media only screen and (max-width: 767px) {
    .site-footer .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media only screen and (max-width: 575px) {
    .site-footer {
        max-height: none;
    }

    .site-footer-inner {
        flex-flow: column nowrap;
        align-items: flex-start;
        gap: 12px;
        padding: 20px 0;
    }

    .site-footer-copy {
        font-size: 0.85rem;
    }
}

@media only screen and (max-width: 420px) {
    .site-footer .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}
