/* ==========================================================
   IBIMA CBO — CAREERS PAGE
   careers.css

   Controls ONLY the Careers page.
   Designed for:
   - Desktop
   - Laptop
   - Tablet
   - Mobile
========================================================== */


/* ==========================================================
   01. CAREERS HERO
========================================================== */

.careers-hero {

    position: relative;

    min-height: 460px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(3,25,77,0.98) 0%,
            rgba(3,25,77,0.94) 35%,
            rgba(3,25,77,0.72) 62%,
            rgba(3,25,77,0.30) 100%
        ),
        url("../images/about-mission.jpg")
        center center /
        cover no-repeat;
}


/* ==========================================================
   HERO PATTERN
========================================================== */

.careers-hero-pattern {

    position: absolute;

    inset: 0;

    opacity: 0.12;

    background-image:
        radial-gradient(
            circle,
            rgba(255,255,255,0.35) 1px,
            transparent 1px
        );

    background-size: 22px 22px;

    pointer-events: none;
}


/* ==========================================================
   HERO GREEN CURVE
========================================================== */

.careers-hero::after {

    content: "";

    position: absolute;

    left: -5%;

    bottom: -55px;

    width: 110%;

    height: 95px;

    background: #ffffff;

    border-radius:
        50% 50% 0 0 /
        70% 70% 0 0;

    border-top:
        8px solid var(--ibima-green);

    z-index: 2;
}


/* ==========================================================
   HERO CONTAINER
========================================================== */

.careers-hero .container {

    position: relative;

    z-index: 3;
}


/* ==========================================================
   HERO CONTENT
========================================================== */

.careers-hero-content {

    width: 65%;

    padding:
        85px 0
        100px;
}


.careers-hero-text {

    max-width: 720px;
}


/* ==========================================================
   HERO LABEL
========================================================== */

.careers-hero-label {

    display: inline-block;

    margin-bottom: 12px;

    color: var(--ibima-green);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* ==========================================================
   HERO TITLE
========================================================== */

.careers-hero-text h1 {

    margin: 0;

    color: #ffffff;

    font-size: 52px;

    line-height: 1.12;

    font-weight: 800;

    letter-spacing: -0.8px;
}


/* ==========================================================
   HERO LINE
========================================================== */

.careers-hero-line {

    width: 82px;

    height: 4px;

    margin:
        16px 0
        20px;

    border-radius: 10px;

    background: var(--ibima-green);
}


/* ==========================================================
   HERO DESCRIPTION
========================================================== */

.careers-hero-text p {

    max-width: 650px;

    margin: 0 0 28px;

    color:
        rgba(255,255,255,0.94);

    font-size: 17px;

    line-height: 1.75;
}


/* ==========================================================
   HERO BUTTONS
========================================================== */

.careers-hero-buttons {

    display: flex;

    align-items: center;

    gap: 13px;

    flex-wrap: wrap;
}


.careers-btn-primary,
.careers-btn-secondary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 46px;

    padding:
        0 22px;

    border-radius: 6px;

    font-size: 13px;

    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}


.careers-btn-primary {

    color: #ffffff;

    background: var(--ibima-green);
}


.careers-btn-primary:hover {

    color: var(--ibima-navy);

    background: #ffffff;

    transform:
        translateY(-2px);
}


.careers-btn-secondary {

    color: #ffffff;

    background: transparent;

    border:
        1px solid
        rgba(255,255,255,0.55);
}


.careers-btn-secondary:hover {

    color: var(--ibima-navy);

    background: #ffffff;

    border-color: #ffffff;

    transform:
        translateY(-2px);
}



/* ==========================================================
   02. GENERAL SECTION HEADING
========================================================== */

.careers-section-heading {

    max-width: 780px;

    margin:
        0 auto
        55px;

    text-align: center;
}


.careers-section-heading > span {

    display: inline-block;

    margin-bottom: 9px;

    color: var(--ibima-green);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.careers-section-heading h2 {

    margin: 0;

    color: var(--ibima-navy);

    font-size: 37px;

    line-height: 1.2;

    font-weight: 800;

    letter-spacing: -0.3px;
}


.careers-section-heading p {

    max-width: 690px;

    margin:
        0 auto;

    color: #667085;

    font-size: 16px;

    line-height: 1.75;
}


/* ==========================================================
   HEADING LINE
========================================================== */

.heading-line {

    width: 65px;

    height: 4px;

    margin:
        15px auto
        18px;

    border-radius: 10px;

    background: var(--ibima-green);
}


.heading-line.left {

    margin-left: 0;

    margin-right: 0;
}



/* ==========================================================
   03. WHY IBIMA
========================================================== */

.careers-why {

    padding:
        90px 0
        100px;

    background: #ffffff;
}


/* ==========================================================
   BENEFITS GRID
========================================================== */

.careers-benefits-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;

    align-items: stretch;
}


/* ==========================================================
   BENEFIT CARD
========================================================== */

.career-benefit-card {

    position: relative;

    display: flex;

    flex-direction: column;

    padding:
        30px 26px
        28px;

    background: #ffffff;

    border:
        1px solid #e5eaf0;

    border-radius: 15px;

    box-shadow:
        0 8px 28px
        rgba(3,25,77,0.055);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.career-benefit-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background: var(--ibima-green);

    transform:
        scaleX(0);

    transform-origin: left;

    transition:
        transform 0.3s ease;
}


.career-benefit-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(3,25,77,0.12);

    box-shadow:
        0 18px 40px
        rgba(3,25,77,0.11);
}


.career-benefit-card:hover::before {

    transform:
        scaleX(1);
}


/* ==========================================================
   BENEFIT ICON
========================================================== */

.career-benefit-icon {

    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 20px;

    border-radius: 14px;

    color: var(--ibima-green);

    background:
        var(--ibima-green-light, #eaf7f0);

    font-size: 23px;
}


/* ==========================================================
   BENEFIT TITLE
========================================================== */

.career-benefit-card h3 {

    margin:
        0 0
        10px;

    color: var(--ibima-navy);

    font-size: 20px;

    line-height: 1.3;

    font-weight: 800;
}


/* ==========================================================
   BENEFIT DESCRIPTION
========================================================== */

.career-benefit-card p {

    margin: 0;

    color: #667085;

    font-size: 14px;

    line-height: 1.7;
}



/* ==========================================================
   04. CURRENT OPPORTUNITIES
========================================================== */

.careers-opportunities {

    padding:
        90px 0
        100px;

    background: #f5f8fb;
}


/* ==========================================================
   OPPORTUNITIES LIST
========================================================== */

.career-opportunities-list {

    display: flex;

    flex-direction: column;

    gap: 20px;
}


/* ==========================================================
   OPPORTUNITY CARD
========================================================== */

.career-opportunity-card {

    position: relative;

    display: grid;

    grid-template-columns:
        74px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 25px;

    padding:
        27px 30px;

    background: #ffffff;

    border:
        1px solid #e3e8ef;

    border-radius: 15px;

    box-shadow:
        0 7px 25px
        rgba(3,25,77,0.045);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.career-opportunity-card:hover {

    transform:
        translateY(-4px);

    border-color:
        rgba(8,116,67,0.25);

    box-shadow:
        0 15px 35px
        rgba(3,25,77,0.09);
}


/* ==========================================================
   OPPORTUNITY ICON
========================================================== */

.career-opportunity-icon {

    width: 74px;

    height: 74px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 16px;

    color: var(--ibima-green);

    background:
        #eaf7f0;

    font-size: 27px;
}


/* ==========================================================
   OPPORTUNITY TYPE
========================================================== */

.career-opportunity-type {

    display: inline-block;

    margin-bottom: 6px;

    color: var(--ibima-green);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


/* ==========================================================
   OPPORTUNITY TITLE
========================================================== */

.career-opportunity-content h3 {

    margin:
        0 0
        8px;

    color: var(--ibima-navy);

    font-size: 22px;

    line-height: 1.3;

    font-weight: 800;
}


/* ==========================================================
   OPPORTUNITY DESCRIPTION
========================================================== */

.career-opportunity-content p {

    max-width: 760px;

    margin:
        0 0
        13px;

    color: #667085;

    font-size: 14px;

    line-height: 1.65;
}


/* ==========================================================
   CAREER META
========================================================== */

.career-meta {

    display: flex;

    align-items: center;

    gap: 20px;

    flex-wrap: wrap;
}


.career-meta span {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #667085;

    font-size: 13px;

    font-weight: 600;
}


.career-meta i {

    color: var(--ibima-green);

    font-size: 13px;
}


/* ==========================================================
   OPPORTUNITY ACTION
========================================================== */

.career-opportunity-action {

    display: flex;

    align-items: center;

    justify-content: flex-end;
}


.career-view-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-width: 135px;

    min-height: 43px;

    padding:
        0 17px;

    color: #096921;

    background:
        var(--ibima-navy);

    border-radius: 6px;

    font-size: 12px;

    font-weight: 800;

    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.career-view-btn:hover {

    color: #ffffff;

    background:
        var(--ibima-green);

    transform:
        translateX(3px);
}



/* ==========================================================
   05. AREAS OF WORK
========================================================== */

.careers-areas {

    padding:
        95px 0;

    background: #ffffff;
}


.careers-areas-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 75px;

    align-items: center;
}


.careers-areas-content {

    max-width: 620px;
}


.careers-areas-content > span {

    display: inline-block;

    margin-bottom: 9px;

    color: var(--ibima-green);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.careers-areas-content h2 {

    margin: 0;

    color: var(--ibima-navy);

    font-size: 37px;

    line-height: 1.25;

    font-weight: 800;
}


.careers-areas-content p {

    margin:
        0 0
        17px;

    color: #667085;

    font-size: 16px;

    line-height: 1.75;
}



/* ==========================================================
   AREAS LIST
========================================================== */

.careers-areas-list {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}


.careers-areas-list > div {

    display: flex;

    align-items: center;

    gap: 13px;

    min-height: 76px;

    padding:
        15px 17px;

    color: var(--ibima-navy);

    background:
        #f5f8fb;

    border:
        1px solid #e5ebf1;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.4;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.careers-areas-list > div:hover {

    background:
        #eaf7f0;

    border-color:
        rgba(8,116,67,0.20);

    transform:
        translateY(-3px);
}


.careers-areas-list i {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 37px;

    height: 37px;

    flex-shrink: 0;

    border-radius: 9px;

    color: var(--ibima-green);

    background: #ffffff;

    font-size: 15px;
}



/* ==========================================================
   06. SPONTANEOUS APPLICATION
========================================================== */

.careers-application {

    position: relative;

    overflow: hidden;

    padding:
        65px 0;

    background:
        var(--ibima-navy);
}


.careers-application::before {

    content: "";

    position: absolute;

    top: -150px;

    right: -110px;

    width: 360px;

    height: 360px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.045);
}


.careers-application::after {

    content: "";

    position: absolute;

    bottom: -180px;

    left: -130px;

    width: 390px;

    height: 390px;

    border-radius: 50%;

    border:
        35px solid
        rgba(255,255,255,0.025);
}


/* ==========================================================
   APPLICATION CONTENT
========================================================== */

.careers-application-content {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 30px;
}


/* ==========================================================
   APPLICATION ICON
========================================================== */

.careers-application-icon {

    width: 72px;

    height: 72px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 16px;

    color: var(--ibima-green);

    background:
        rgba(255,255,255,0.10);

    font-size: 27px;
}


/* ==========================================================
   APPLICATION TEXT
========================================================== */

.careers-application-text span {

    display: block;

    margin-bottom: 7px;

    color: var(--ibima-green);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.8px;
}


.careers-application-text h2 {

    margin:
        0 0
        8px;

    color: #000000;

    font-size: 28px;

    line-height: 1.25;

    font-weight: 800;
}


.careers-application-text p {

    max-width: 700px;

    margin: 0;

    color:
        rgba(0, 0, 0, 0.78);

    font-size: 15px;

    line-height: 1.7;
}


/* ==========================================================
   APPLICATION BUTTON
========================================================== */

.careers-application-action {

    display: flex;

    justify-content: flex-end;
}


.careers-apply-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-height: 45px;

    padding:
        0 21px;

    color: #ffffff;

    background:
        var(--ibima-green);

    border-radius: 6px;

    font-size: 12px;

    font-weight: 800;

    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.careers-apply-btn:hover {

    color: var(--ibima-navy);

    background: #ffffff;

    transform:
        translateY(-2px);
}



/* ==========================================================
   07. FINAL CAREERS CTA
========================================================== */

.careers-cta {

    position: relative;

    overflow: hidden;

    padding:
        75px 0;

    background:
         #ffffff;
}


.careers-cta-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;
}


.careers-cta-text {

    max-width: 720px;
}


.careers-cta-text span {

    display: block;

    margin-bottom: 8px;

    color: var(--ibima-green);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}


.careers-cta-text h2 {

    margin:
        0 0
        9px;

    color: var(--ibima-navy);

    font-size: 34px;

    line-height: 1.25;

    font-weight: 800;
    color: #000000;
    
}


.careers-cta-text p {

    margin: 0;

    color: #526070;

    font-size: 16px;

    line-height: 1.7;
}


.careers-cta-buttons {

    display: flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}


.careers-cta-buttons .careers-btn-primary {

    color: #ffffff;

    background:
        var(--ibima-green);
}


.careers-cta-buttons .careers-btn-secondary {

    color: var(--ibima-navy);

    border-color:
        rgba(3,25,77,0.30);
}


.careers-cta-buttons .careers-btn-secondary:hover {

    color: #286139;

    background:
        var(--ibima-navy);

    border-color:
        var(--ibima-navy);
}



/* ==========================================================
   08. LARGE DESKTOP
========================================================== */

@media (min-width: 1400px) {

    .careers-benefits-grid {

        gap: 28px;
    }


    .career-benefit-card {

        padding:
            32px 29px
            30px;
    }


    .career-opportunity-card {

        padding:
            30px 34px;
    }


    .careers-areas-grid {

        gap: 90px;
    }

}



/* ==========================================================
   09. SMALL DESKTOP / TABLET
========================================================== */

@media (max-width: 1200px) {

    .careers-hero-content {

        width: 72%;
    }


    .careers-benefits-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .careers-areas-grid {

        gap: 45px;
    }


    .careers-areas-content h2 {

        font-size: 32px;
    }

}



/* ==========================================================
   10. TABLET
========================================================== */

@media (max-width: 992px) {

    /* HERO */

    .careers-hero {

        min-height: 430px;
    }


    .careers-hero-content {

        width: 80%;

        padding:
            75px 0
            90px;
    }


    .careers-hero-text h1 {

        font-size: 45px;
    }


    /* OPPORTUNITIES */

    .career-opportunity-card {

        grid-template-columns:
            68px
            minmax(0, 1fr);

        gap: 22px;
    }


    .career-opportunity-action {

        grid-column: 2;

        justify-content: flex-start;

        margin-top: 5px;
    }


    /* AREAS */

    .careers-areas-grid {

        grid-template-columns:
            1fr;

        gap: 45px;
    }


    .careers-areas-content {

        max-width: 760px;
    }


    /* APPLICATION */

    .careers-application-content {

        grid-template-columns:
            auto
            1fr;
    }


    .careers-application-action {

        grid-column: 2;

        justify-content: flex-start;
    }


    /* CTA */

    .careers-cta-content {

        align-items: flex-start;

        flex-direction: column;

        gap: 25px;
    }

}



/* ==========================================================
   11. MOBILE
========================================================== */

@media (max-width: 768px) {

    /* ======================================================
       HERO
    ====================================================== */

    .careers-hero {

        min-height: 400px;

        background:
            linear-gradient(
                90deg,
                rgba(3,25,77,0.97),
                rgba(3,25,77,0.82)
            ),
            url("../images/about-mission.jpg")
            center center /
            cover no-repeat;
    }


    .careers-hero::after {

        bottom: -45px;

        height: 75px;

        border-top-width: 6px;
    }


    .careers-hero-content {

        width: 100%;

        padding:
            65px 0
            75px;
    }


    .careers-hero-text h1 {

        font-size: 37px;
    }


    .careers-hero-text p {

        font-size: 15px;

        line-height: 1.7;
    }


    .careers-hero-buttons {

        width: 100%;
    }


    .careers-hero-buttons a {

        flex: 1;

        min-width: 145px;
    }



    /* ======================================================
       GENERAL HEADINGS
    ====================================================== */

    .careers-section-heading {

        margin-bottom: 40px;
    }


    .careers-section-heading h2 {

        font-size: 30px;
    }


    .careers-section-heading p {

        font-size: 15px;
    }



    /* ======================================================
       WHY IBIMA
    ====================================================== */

    .careers-why {

        padding:
            65px 0
            75px;
    }


    .careers-benefits-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 17px;
    }


    .career-benefit-card {

        padding:
            23px 19px
            22px;
    }


    .career-benefit-icon {

        width: 52px;

        height: 52px;

        margin-bottom: 16px;

        font-size: 21px;
    }


    .career-benefit-card h3 {

        font-size: 18px;
    }


    .career-benefit-card p {

        font-size: 13px;

        line-height: 1.6;
    }



    /* ======================================================
       OPPORTUNITIES
    ====================================================== */

    .careers-opportunities {

        padding:
            65px 0
            75px;
    }


    .career-opportunity-card {

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 17px;

        padding:
            24px 20px;
    }


    .career-opportunity-icon {

        width: 58px;

        height: 58px;

        font-size: 22px;

        border-radius: 13px;
    }


    .career-opportunity-content h3 {

        font-size: 20px;
    }


    .career-opportunity-content p {

        font-size: 14px;
    }


    .career-opportunity-action {

        width: 100%;

        margin-top: 2px;
    }


    .career-view-btn {

        width: 100%;
    }



    /* ======================================================
       AREAS
    ====================================================== */

    .careers-areas {

        padding:
            70px 0;
    }


    .careers-areas-content h2 {

        font-size: 30px;
    }


    .careers-areas-content p {

        font-size: 15px;
    }


    .careers-areas-list {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }


    .careers-areas-list > div {

        min-height: 72px;

        padding:
            13px;

        font-size: 13px;
    }



    /* ======================================================
       APPLICATION
    ====================================================== */

    .careers-application {

        padding:
            55px 0;
    }


    .careers-application-content {

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }


    .careers-application-icon {

        width: 62px;

        height: 62px;

        font-size: 24px;
    }


    .careers-application-text h2 {

        font-size: 25px;
    }


    .careers-application-text p {

        font-size: 14px;
    }


    .careers-application-action {

        width: 100%;
    }


    .careers-apply-btn {

        width: 100%;
    }



    /* ======================================================
       FINAL CTA
    ====================================================== */

    .careers-cta {

        padding:
            60px 0;
    }


    .careers-cta-content {

        gap: 24px;
    }


    .careers-cta-text h2 {

        font-size: 28px;
    }


    .careers-cta-text p {

        font-size: 15px;
    }


    .careers-cta-buttons {

        width: 100%;

        flex-wrap: wrap;
    }


    .careers-cta-buttons a {

        flex: 1;

        min-width: 145px;

        text-align: center;
    }

}



/* ==========================================================
   12. SMALL MOBILE
========================================================== */

@media (max-width: 540px) {

    /* BENEFITS */

    .careers-benefits-grid {

        grid-template-columns:
            1fr;
    }


    .career-benefit-card {

        padding:
            25px 22px;
    }


    .career-benefit-card h3 {

        font-size: 20px;
    }


    .career-benefit-card p {

        font-size: 14px;
    }


    /* AREAS */

    .careers-areas-list {

        grid-template-columns:
            1fr;
    }


    .careers-areas-list > div {

        min-height: 65px;
    }


    /* HERO BUTTONS */

    .careers-hero-buttons {

        flex-direction: column;

        align-items: stretch;
    }


    .careers-hero-buttons a {

        width: 100%;

        flex: none;
    }


    /* FINAL CTA BUTTONS */

    .careers-cta-buttons {

        flex-direction: column;

        align-items: stretch;
    }


    .careers-cta-buttons a {

        width: 100%;

        flex: none;
    }

}



/* ==========================================================
   13. VERY SMALL PHONES
========================================================== */

@media (max-width: 380px) {

    .careers-hero {

        min-height: 380px;
    }


    .careers-hero-text h1 {

        font-size: 32px;
    }


    .careers-hero-text p {

        font-size: 14px;
    }


    .careers-section-heading h2 {

        font-size: 27px;
    }


    .careers-areas-content h2 {

        font-size: 27px;
    }


    .careers-application-text h2 {

        font-size: 23px;
    }


    .careers-cta-text h2 {

        font-size: 26px;
    }

}