/* =========================================
   ABOUT PAGE
   ========================================= */

:root {
    --gold-color: #d4af37;
}

/* ---- Active link in the header ---- */
#umuri-header-root .umuri-nav-links > li > a.active {
    color: var(--accent-color) !important;
    box-shadow: 0 3px 0 var(--accent-color) !important;
}

/* ---- Masthead (banner image kept) ---- */
.ab-masthead {
    margin-top: 170px; /* clears the desktop header */
    padding: 90px 0 80px;
    background-image:
        linear-gradient(rgba(88, 27, 24, 0.82), rgba(88, 27, 24, 0.82)),
        url('../img/Delivering Football Drills/Gatunda Sector/1I3A0372.JPG');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.ab-crumbs {
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.ab-crumbs a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ab-crumbs a:hover { color: #fff; }

.ab-crumbs span {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.45);
}

.ab-masthead h1 {
    margin: 0 0 10px;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}

.ab-masthead p {
    margin: 0;
    max-width: 560px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

/* ---- Sections ---- */
.ab-section { padding: 70px 0; }

.ab-tint {
    background: #f7f3f0;
    border-top: 1px solid #e6ddd8;
    border-bottom: 1px solid #e6ddd8;
}

.ab-head {
    margin-bottom: 36px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--primary-color);
}

.ab-head h2 {
    margin: 0 0 4px;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
}

.ab-head p {
    margin: 0;
    max-width: 820px;
    font-size: 15px;
    line-height: 1.7;
    color: #6b5f5b;
}

.ab-link {
    display: inline-block;
    padding-bottom: 2px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 2px solid var(--accent-color);
    transition: color 0.2s ease;
}

.ab-link:hover { color: var(--accent-color); }

.ab-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent-color);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.ab-btn:hover { background: #fff; color: var(--primary-color); }

/* ---- Intro ---- */
.ab-intro {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 56px;
    align-items: start;
}

.ab-intro h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--primary-color);
}

.ab-intro p {
    margin: 0;
    font-size: 17px;
    line-height: 1.85;
    color: #444;
}

/* ---- How it works ---- */
.ab-works {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #ddd3ce;
}

.ab-work {
    padding: 28px 26px 30px;
    border-left: 1px solid #ddd3ce;
    border-bottom: 1px solid #ddd3ce;
    background: #fff;
}

.ab-work:first-child { border-left: none; padding-left: 0; background: transparent; }
.ab-work:first-child,
.ab-work:nth-child(2),
.ab-work:nth-child(3),
.ab-work:nth-child(4) { background: transparent; }

.ab-work-num {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-color);
}

.ab-work h3 {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--primary-color);
}

.ab-work ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ab-work li {
    padding: 8px 0;
    border-top: 1px solid #e6ddd8;
    font-size: 14px;
    color: #555;
}

/* ---- Theory of change ---- */
.ab-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.ab-split-text h2 {
    margin: 0 0 16px;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--primary-color);
}

.ab-split-text p {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.85;
    color: #444;
}

.ab-split-media img {
    display: block;
    width: 100%;
    height: auto;
}

/* SDG */
.ab-sdg {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 56px;
    padding-top: 36px;
    border-top: 1px solid #e6e6e6;
}

.ab-sdg-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ab-sdg-num {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
}

.ab-sdg-num.sdg-3 { background: #4c9f38; }
.ab-sdg-num.sdg-4 { background: #c5192d; }
.ab-sdg-num.sdg-5 { background: #ff3a21; }

.ab-sdg-item strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
}

.ab-sdg-item em {
    display: block;
    margin-top: 2px;
    font-style: normal;
    font-size: 12px;
    color: #888;
}

/* ---- Get involved band ---- */
.ab-involve {
    padding: 56px 0;
    background: var(--primary-color);
    color: #fff;
}

.ab-involve-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

.ab-involve h2 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 700;
    color: #fff;
}

.ab-involve p {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
}

/* ---- Vision 2030 ---- */
.ab-vision {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid #e6e6e6;
    border-left: 1px solid #e6e6e6;
}

.ab-vision-item {
    display: flex;
    gap: 16px;
    padding: 26px 24px;
    border-right: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
}

.ab-vision-item > i {
    flex-shrink: 0;
    width: 24px;
    margin-top: 3px;
    font-size: 20px;
    color: var(--accent-color);
    text-align: center;
}

.ab-vision-item h3 {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--primary-color);
}

.ab-vision-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

.ab-note {
    margin: 32px 0 0;
    padding: 20px 24px;
    border-left: 4px solid var(--accent-color);
    background: #f7f3f0;
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

/* ---- Values ---- */
.ab-values {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
}

.ab-value {
    padding-top: 18px;
    border-top: 3px solid var(--primary-color);
}

.ab-value > i {
    margin-bottom: 14px;
    font-size: 22px;
    color: var(--accent-color);
}

.ab-value h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.ab-value p {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: #555;
}

/* ---- Timeline ---- */
.ab-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 28px;
}

.ab-step { display: flex; flex-direction: column; }

.ab-step-media {
    overflow: hidden;
    margin-bottom: 14px;
    background: #e8e0dc;
}

.ab-step-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ab-step:hover .ab-step-media img { transform: scale(1.03); }

.ab-step-year {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-color);
}

.ab-step h3 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.ab-step p {
    margin: 0 0 12px;
    font-size: 14px;
    color: #666;
}

.ab-step-btn {
    align-self: flex-start;
    margin-top: auto;
    padding: 0 0 2px;
    border: none;
    border-bottom: 2px solid var(--accent-color);
    background: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    transition: color 0.2s ease;
}

.ab-step-btn:hover { color: var(--accent-color); }

/* ---- Partners ---- */
.ab-partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 28px 48px;
}

.ab-partners img {
    height: 70px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
}

/* ---- Timeline popup ---- */
.ab-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(30, 12, 10, 0.78);
}

.ab-modal.open { display: flex; }

.ab-modal-box {
    position: relative;
    width: 100%;
    max-width: 760px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
}

.ab-modal-box img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.ab-modal-text { padding: 28px 32px 34px; }

.ab-modal-text h3 {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.ab-modal-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.85;
    color: #444;
}

.ab-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ab-modal-close:hover { background: var(--accent-color); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .ab-masthead { margin-top: 70px; } /* mobile header is 70px tall */

    .ab-works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-work:first-child { padding-left: 26px; }
    .ab-work:nth-child(odd) { border-left: none; padding-left: 0; }

    .ab-values,
    .ab-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
    .ab-intro,
    .ab-split { grid-template-columns: 1fr; gap: 28px; }

    .ab-vision { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-sdg { grid-template-columns: 1fr; }
    .ab-involve-grid { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 768px) {
    .ab-masthead { padding: 56px 0 50px; }
    .ab-masthead h1 { font-size: 28px; }

    .ab-section { padding: 48px 0; }
    .ab-intro h2,
    .ab-split-text h2 { font-size: 24px; }
    .ab-intro p { font-size: 16px; }

    .ab-works,
    .ab-vision,
    .ab-values,
    .ab-timeline { grid-template-columns: 1fr; }

    .ab-work,
    .ab-work:first-child,
    .ab-work:nth-child(odd) { padding: 22px 0; border-left: none; }

    .ab-modal-box img { height: 200px; }
    .ab-modal-text { padding: 22px 20px 26px; }
}