/* ==========================================================
   Project: MICGTAN Website
   Brand Color: Blue, Gold, Cyan, White & Black
   Developer: Otegbeye Samuel (a.k.a Khodex)
   Contact: +2349099784140, +2348134540801
   Facebook: https://fb.com/donkhodex
   Date: November 24th, 2026
   ========================================================== */
.khodex-history-page {
    --history-navy: #09213d;
    --history-blue: #087f9f;
    --history-cyan: #16b4c2;
    --history-gold: #c9a227;
    --history-text: #18314b;
    --history-muted: #718197;
    overflow: hidden;
    color: var(--history-text);
}
.khodex-history-page img { max-width: 100%; }
.khodex-history-page p { line-height: 1.9; }
.khodex-history-label {
    color: var(--history-blue);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2.4px;
    margin-bottom: 17px;
}
.khodex-history-label--light { color: #75dce3; }
.khodex-history-title {
    color: var(--history-navy);
    font-size: clamp(30px, 3.8vw, 46px);
    line-height: 1.13;
    font-weight: 850;
    letter-spacing: -1.2px;
    margin: 0 0 22px;
}
.khodex-history-title span { color: var(--history-blue); }

/* HERO */
.khodex-history-hero {
    min-height: 555px;
    position: relative;
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    background: var(--history-navy);
}
.khodex-history-hero__photo,
.khodex-history-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.khodex-history-hero__photo {
    background: url("../images/nigeria-china-trade-partnership.jpeg") center 43%/cover no-repeat;
    transform: scale(1.02);
}
.khodex-history-hero__shade {
    background: linear-gradient(90deg, rgba(4,20,39,.94), rgba(4,20,39,.77) 48%, rgba(4,20,39,.25));
}
.khodex-history-hero__content {
    padding-top: 80px;
    padding-bottom: 85px;
    color: #fff;
}
.khodex-history-kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #8be1e5;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
}
.khodex-history-kicker span { width: 28px; height: 2px; background: var(--history-gold); }
.khodex-history-hero h1 {
    color: #fff;
    font-size: clamp(39px, 5.4vw, 68px);
    line-height: 1.06;
    font-weight: 850;
    letter-spacing: -2px;
    margin: 0 0 22px;
}
.khodex-history-hero h1 em { color: #83dce3; font-style: normal; }
.khodex-history-hero__content > p {
    max-width: 590px;
    color: rgba(255,255,255,.78);
    font-size: 15px;
    margin-bottom: 27px;
}
.khodex-history-hero__route {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.4px;
}
.khodex-history-hero__route span { display: inline-flex; align-items: center; gap: 8px; }
.khodex-history-hero__route img { width: 23px; height: 16px; border-radius: 2px; object-fit: cover; }
.khodex-history-hero__route > i { color: var(--history-gold); font-size: 16px; }
.khodex-history-hero__seal {
    position: absolute;
    right: max(6%, calc((100vw - 1320px)/2));
    bottom: 0;
    width: 160px;
    height: 125px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--history-navy);
    background: var(--history-gold);
    border-radius: 18px 18px 0 0;
}
.khodex-history-hero__seal strong { font-size: 38px; font-weight: 900; line-height: 1; }
.khodex-history-hero__seal span { font-size: 9px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; margin-top: 8px; }

/* INTRO + PERIOD CARDS */
.khodex-history-intro { padding: 85px 0 95px; background: #f4f8fa; }
.khodex-history-intro__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 65px;
    align-items: end;
    margin-bottom: 45px;
}
.khodex-history-intro__grid > p {
    color: var(--history-muted);
    font-size: 14px;
    margin: 0 0 5px;
}
.khodex-history-periods { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.khodex-history-period {
    position: relative;
    min-height: 205px;
    padding: 27px 26px;
    background: #fff;
    border: 1px solid #e5edf2;
    box-shadow: 0 12px 35px rgba(9,33,61,.045);
}
.khodex-history-period__number { color: var(--history-gold); font-size: 12px; font-weight: 900; }
.khodex-history-period__rule { width: 42px; height: 2px; background: var(--history-blue); margin: 17px 0; }
.khodex-history-period h3 { color: var(--history-navy); font-size: 19px; font-weight: 800; margin-bottom: 9px; }
.khodex-history-period p { color: var(--history-muted); font-size: 12px; margin: 0; }

/* NIGERIA HISTORY */
.khodex-history-nigeria { padding: 100px 0; background: #fff; }
.khodex-history-image-frame { position: relative; padding: 0 25px 25px 0; }
.khodex-history-image-frame::after {
    content: ""; position: absolute; right: 0; bottom: 0; width: 72%; height: 70%;
    border: 2px solid var(--history-gold); z-index: 0;
}
.khodex-history-image-frame img {
    position: relative; z-index: 1; display: block; width: 100%; height: 450px;
    object-fit: cover; border-radius: 5px 55px 5px 5px;
    box-shadow: 0 20px 50px rgba(9,33,61,.13);
}
.khodex-history-image-tag {
    position: absolute; z-index: 2; left: -14px; bottom: 48px;
    display: flex; align-items: center; gap: 10px; padding: 14px 19px;
    color: #fff; background: var(--history-navy); font-size: 9px;
    font-weight: 900; letter-spacing: 1.5px; box-shadow: 0 10px 25px rgba(9,33,61,.2);
}
.khodex-history-image-tag i { color: #79dce2; font-size: 18px; }
.khodex-history-nigeria .col-lg-6 > p,
.khodex-history-bilateral .col-lg-6 > p {
    color: var(--history-muted); font-size: 14px; margin-bottom: 14px;
}
.khodex-history-callout {
    display: flex; align-items: center; gap: 14px; padding: 17px 19px;
    margin-top: 25px; border-left: 3px solid var(--history-gold); background: #f5f8fa;
}
.khodex-history-callout > i { color: var(--history-blue); font-size: 24px; }
.khodex-history-callout b, .khodex-history-callout small { display: block; }
.khodex-history-callout b { color: var(--history-navy); font-size: 12px; }
.khodex-history-callout small { color: var(--history-muted); font-size: 11px; margin-top: 4px; }

/* TIMELINE */
.khodex-history-timeline {
    padding: 85px 0 95px;
    color: #fff;
    background: radial-gradient(circle at 90% 0%, rgba(22,180,194,.16), transparent 30%), linear-gradient(125deg,#071b34,#0b3150 65%,#075b76);
}
.khodex-history-timeline__heading { text-align: center; margin-bottom: 58px; }
.khodex-history-timeline__heading h2 {
    color: #fff; font-size: clamp(30px,4vw,45px); line-height: 1.15; font-weight: 850; margin: 0;
}
.khodex-history-timeline__heading h2 span { color: #7cdee4; }
.khodex-history-timeline__track {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 35px; position: relative;
}
.khodex-history-timeline__track::before {
    content: ""; position: absolute; top: 7px; left: 8%; right: 8%; height: 1px;
    background: rgba(255,255,255,.25);
}
.khodex-history-timeline__item { position: relative; padding-top: 34px; }
.khodex-history-timeline__dot {
    position: absolute; top: 0; left: 0; width: 15px; height: 15px;
    background: var(--history-gold); border: 4px solid rgba(255,255,255,.18); border-radius: 50%;
    box-sizing: content-box;
}
.khodex-history-timeline__date { color: #7cdee4; font-size: 10px; font-weight: 900; letter-spacing: 1.6px; margin-bottom: 12px; }
.khodex-history-timeline__item h3 { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 9px; }
.khodex-history-timeline__item p { max-width: 300px; color: rgba(255,255,255,.68); font-size: 12px; margin: 0; }

/* BILATERAL */
.khodex-history-bilateral { padding: 100px 0; background: #f4f8fa; }
.khodex-history-bilateral__visual { position: relative; padding: 0 0 28px 25px; }
.khodex-history-bilateral__visual::before {
    content: ""; position: absolute; left: 0; bottom: 0; width: 75%; height: 70%;
    border: 2px solid var(--history-gold);
}
.khodex-history-bilateral__visual > img {
    position: relative; display: block; z-index: 1; width: 100%; height: 380px;
    object-fit: cover; border-radius: 55px 5px 5px 5px;
    box-shadow: 0 20px 50px rgba(9,33,61,.12);
}
.khodex-history-bilateral__caption {
    position: absolute; z-index: 2; right: 18px; bottom: 0;
    padding: 17px 22px; color: #fff; background: var(--history-navy);
    box-shadow: 0 10px 30px rgba(9,33,61,.18);
}
.khodex-history-bilateral__caption span,
.khodex-history-bilateral__caption strong { display: block; }
.khodex-history-bilateral__caption span { color: #7cdee4; font-size: 9px; letter-spacing: 1.5px; font-weight: 900; margin-bottom: 6px; }
.khodex-history-bilateral__caption strong { font-size: 16px; }
.khodex-history-bilateral__caption i { color: var(--history-gold); margin: 0 6px; }
.khodex-history-date-card {
    display: flex; align-items: center; gap: 16px; position: relative;
    padding: 19px 20px; margin-top: 26px; background: #fff;
    border: 1px solid #e5edf2; box-shadow: 0 10px 30px rgba(9,33,61,.045);
}
.khodex-history-date-card__day { color: var(--history-blue); font-size: 42px; line-height: 1; font-weight: 900; }
.khodex-history-date-card strong, .khodex-history-date-card span { display: block; }
.khodex-history-date-card strong { color: var(--history-navy); font-size: 14px; }
.khodex-history-date-card span { color: var(--history-muted); font-size: 11px; margin-top: 4px; }
.khodex-history-date-card > i { margin-left: auto; color: #e4eaf0; font-size: 30px; }

/* SHOWCASE */
.khodex-history-trade-showcase { padding: 95px 0; background: #fff; }
.khodex-history-showcase-heading {
    display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 38px;
}
.khodex-history-showcase-heading > p { max-width: 390px; color: var(--history-muted); font-size: 13px; margin: 0 0 5px; }
.khodex-history-chart-card, .khodex-history-partnership-card {
    height: 100%; margin: 0; background: #fff; border: 1px solid #e6edf2;
    box-shadow: 0 15px 40px rgba(9,33,61,.07); overflow: hidden;
}
.khodex-history-chart-card img {
    display: block; width: 100%; height: 440px; object-fit: contain; background: #f8fafb; padding: 10px;
}
.khodex-history-chart-card figcaption, .khodex-history-partnership-card figcaption { padding: 20px 23px 22px; }
.khodex-history-chart-card figcaption span,
.khodex-history-partnership-card figcaption span {
    display: block; color: var(--history-blue); font-size: 9px; font-weight: 900; letter-spacing: 1.6px; margin-bottom: 7px;
}
.khodex-history-chart-card figcaption strong,
.khodex-history-partnership-card figcaption strong { display: block; color: var(--history-navy); font-size: 17px; font-weight: 800; }
.khodex-history-chart-card figcaption small,
.khodex-history-partnership-card figcaption small { display: block; color: var(--history-muted); font-size: 10px; margin-top: 7px; line-height: 1.6; }
.khodex-history-partnership-card img { display: block; width: 100%; height: 245px; object-fit: cover; }
.khodex-history-trade-note {
    display: flex; gap: 11px; margin-top: 17px; padding: 15px 17px;
    background: #f4f8fa; border-left: 3px solid var(--history-gold);
}
.khodex-history-trade-note i { color: var(--history-blue); }
.khodex-history-trade-note p { color: var(--history-muted); font-size: 10px; line-height: 1.7; margin: 0; }

/* CTA */
.khodex-history-cta { padding: 0 0 95px; background: #fff; }
.khodex-history-cta__inner {
    display: flex; align-items: center; gap: 30px; padding: 42px 48px;
    color: #fff; background: radial-gradient(circle at 90% 0%,rgba(22,180,194,.22),transparent 30%),linear-gradient(115deg,#09213d,#075b78);
    border-radius: 6px 42px 6px 6px;
}
.khodex-history-cta__flags { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.khodex-history-cta__flags img { width: 36px; height: 25px; object-fit: cover; border-radius: 3px; }
.khodex-history-cta__flags i { color: var(--history-gold); }
.khodex-history-cta__text { flex: 1; min-width: 0; }
.khodex-history-cta__text > span { color: #7cdee4; font-size: 9px; font-weight: 900; letter-spacing: 1.7px; }
.khodex-history-cta__text h2 { color: #fff; font-size: clamp(24px,3vw,35px); line-height: 1.15; font-weight: 850; margin: 9px 0; }
.khodex-history-cta__text p { color: rgba(255,255,255,.68); font-size: 11px; margin: 0; }
.khodex-history-cta__button {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 13px;
    padding: 16px 21px; color: var(--history-navy) !important; background: #e6c66b;
    text-decoration: none !important; font-size: 11px; font-weight: 900;
    border-radius: 3px 18px 3px 3px; transition: .25s ease;
}
.khodex-history-cta__button:hover { color: #fff !important; background: var(--history-blue); transform: translateY(-3px); }

/* RESPONSIVE */
@media (max-width: 991px) {
    .khodex-history-intro__grid { gap: 30px; }
    .khodex-history-image-frame img { height: 390px; }
    .khodex-history-cta__inner { flex-wrap: wrap; }
}
@media (max-width: 767px) {
    .khodex-history-hero { min-height: 520px; }
    .khodex-history-hero__shade { background: linear-gradient(90deg,rgba(4,20,39,.94),rgba(4,20,39,.68)); }
    .khodex-history-hero__content { padding: 65px 12px 105px; }
    .khodex-history-hero h1 { font-size: clamp(36px,9vw,49px); letter-spacing: -1px; }
    .khodex-history-hero__content > p { font-size: 13px; }
    .khodex-history-hero__seal { right: 18px; width: 115px; height: 88px; }
    .khodex-history-hero__seal strong { font-size: 28px; }
    .khodex-history-hero__seal span { font-size: 8px; }
    .khodex-history-intro, .khodex-history-nigeria, .khodex-history-bilateral,
    .khodex-history-trade-showcase { padding: 65px 0; }
    .khodex-history-intro__grid { display: block; margin-bottom: 30px; }
    .khodex-history-intro__grid > p { margin-top: 15px; }
    .khodex-history-periods { grid-template-columns: 1fr; gap: 12px; }
    .khodex-history-period { min-height: 0; padding: 22px; }
    .khodex-history-period__rule { margin: 12px 0; }
    .khodex-history-image-frame { margin: 0 8px 10px 12px; }
    .khodex-history-image-frame img { height: 285px; border-top-right-radius: 38px; }
    .khodex-history-timeline { padding: 65px 0; }
    .khodex-history-timeline__heading { text-align: left; margin-bottom: 35px; }
    .khodex-history-timeline__track { display: block; padding-left: 28px; }
    .khodex-history-timeline__track::before { top: 5px; bottom: 10px; left: 7px; right: auto; width: 1px; height: auto; }
    .khodex-history-timeline__item { padding: 0 0 30px; }
    .khodex-history-timeline__dot { top: 0; left: -28px; width: 12px; height: 12px; }
    .khodex-history-bilateral__visual { margin: 0 8px 10px 0; }
    .khodex-history-bilateral__visual > img { height: 275px; border-top-left-radius: 38px; }
    .khodex-history-showcase-heading { display: block; }
    .khodex-history-showcase-heading > p { margin-top: 12px; }
    .khodex-history-chart-card img { height: auto; max-height: 440px; }
    .khodex-history-partnership-card img { height: 210px; }
    .khodex-history-cta { padding-bottom: 65px; }
    .khodex-history-cta__inner { display: block; padding: 29px 24px; border-top-right-radius: 30px; }
    .khodex-history-cta__flags { margin-bottom: 20px; }
    .khodex-history-cta__button { margin-top: 22px; }
}
@media (max-width: 380px) {
    .khodex-history-title { font-size: 29px; }
    .khodex-history-hero__route { gap: 10px; }
    .khodex-history-date-card { gap: 11px; padding: 15px; }
    .khodex-history-date-card__day { font-size: 35px; }
}
