/* Our Work / Sectors page — matched to SOPLWebsite/Sectors.aspx */

.work-page .section-title {
    font-size: 2.7rem;
    font-weight: 800;
    color: #d76931;
}

.work-page .section-title span {
    color: #d76931;
}

.work-header.sopl-page-hero,
.work-page .work-header {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.work-header .overlay,
.work-header .sopl-page-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.work-header .container {
    position: relative;
    z-index: 2;
}

.work-header h1 {
    font-size: 3.3rem;
    font-weight: 700;
}

.work-header p {
    font-size: 1.2rem;
}

.sector-nav {
    background: linear-gradient(180deg, #f4f7f8 0%, #eef3f4 100%);
}

.sector-btn {
    height: 150px;
    border: none;
    border-radius: 18px;
    color: #fff;
    font-weight: 700;
    padding: 22px 18px;
    transition: 0.35s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    width: 100%;
    cursor: pointer;
}

.sector-btn i {
    font-size: 34px;
}

.sector-btn span {
    font-size: 15px;
    line-height: 1.45;
    max-width: 100%;
}

.sector-btn:hover,
.sector-btn.active {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    color: #fff;
    filter: brightness(1.05);
}

/* Alternating sector button colors */
.sector-btn-orange {
    background: #e75311;
}

.sector-btn-teal {
    background: #114c54;
}

.sector-btn-orange:hover,
.sector-btn-orange.active {
    background: #cf4a0f;
}

.sector-btn-teal:hover,
.sector-btn-teal.active {
    background: #0d3d44;
}

/* Keep theme accents for sector detail panes */
.agriculture { background: #e75311; }
.climate { background: #114c54; }
.health { background: #e75311; }
.education { background: #114c54; }
.governance { background: #e75311; }
.gender { background: #114c54; }

#agriculture { --theme: #e75311; }
#climate { --theme: #114c54; }
#social { --theme: #e75311; }
#skills { --theme: #114c54; }
#governance { --theme: #e75311; }
#gender { --theme: #114c54; }

.sector-pane {
    display: none;
}

.sector-pane.is-open {
    display: block;
}

.sector-heading {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1f2937;
}

.sector-intro {
    font-size: 17px;
    color: #585858;
}

/* Left column: image fills height; Areas card overlays and sticks while projects scroll */
.sector-sidebar {
    position: relative;
    height: 100%;
    min-height: 480px;
    border-radius: 22px;
    background-color: #e8eef2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 28px 22px;
    overflow: visible;
}

.area-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 100px;
    z-index: 2;
}

.area-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--theme);
}

.area-card h3::after {
    content: "";
    width: 70px;
    height: 3px;
    background: var(--theme);
    display: block;
    margin-top: 12px;
}

.area-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.area-list li {
    font-size: 18px;
    position: relative;
    padding-left: 38px;
    margin-bottom: 18px;
    color: #444;
    line-height: 1.6;
    transition: 0.3s;
}

.area-list li:hover {
    color: var(--theme);
    transform: translateX(5px);
}

.area-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: var(--theme);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
}

.project-title-main {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1f2937;
}

.project-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 25px;
    transition: 0.35s;
    border-left: 5px solid var(--theme);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.project-number {
    min-width: 70px;
    font-size: 42px;
    font-weight: 700;
    color: var(--theme);
    line-height: 1;
}

.project-content h4 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 25px;
}

.project-meta label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--theme);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.project-meta span {
    color: #444;
}

.project-description label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--theme);
    font-weight: 700;
    letter-spacing: 1px;
}

.project-description p {
    margin-top: 10px;
    color: #555;
    line-height: 1.9;
}

.work-page .our-approach {
    background: #fff;
}

.work-page .section-subtitle {
    max-width: 760px;
    color: #6c757d;
    font-size: 1.05rem;
    line-height: 1.8;
}

.work-page .approach-process {
    position: relative;
}

.work-page .approach-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    height: 100%;
    border: 1px solid #edf0f3;
    transition: 0.35s;
    position: relative;
}

.work-page .approach-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.work-page .approach-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dcf1f4, #2a7a7e);
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-page .approach-icon i {
    color: #fff;
    font-size: 28px;
}

.work-page .approach-card h5 {
    font-weight: 700;
    margin-bottom: 12px;
    color: #20303c;
}

.work-page .approach-card p {
    font-size: 0.93rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.work-page .approach-card::after {
    content: "➜";
    position: absolute;
    right: -26px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    color: #b97243;
}

.work-page .approach-process .col-lg:last-child .approach-card::after {
    display: none;
}

@media (max-width: 991px) {
    .sector-sidebar {
        min-height: 360px;
        margin-bottom: 24px;
    }

    .area-card {
        position: relative;
        top: 0;
    }

    .project-card {
        display: block;
    }

    .project-number {
        margin-bottom: 20px;
    }

    .work-page .approach-card::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .work-header {
        min-height: 380px;
    }

    .work-header h1 {
        font-size: 2rem;
    }

    .work-page .section-title {
        font-size: 2rem;
    }
}
