.career-opportunities-block {
    padding: 120px 0 0;
}

.career-opportunities-block .career-content {
    border-radius: 12px;
    background: #F1F0FD;
    padding: 0;
}

.career-opportunities-block .main-title {
    margin-bottom: 20px !important;
}

.career-opportunities-block .description {
    text-align: center;
    margin: auto;
}

.career-opportunities-block .career-opp-header {
    margin-bottom: 40px;
}
.career-opportunities-block .subtitle {
    text-align: center;
 
}

.career-opportunities-block .career-items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;           
    position: relative;
}
.career-opportunities-block .career-content{
    width: 100%;
    min-height: 324px;
}
.career-opportunities-block .career-explore{
    max-width: 286px;
    min-height: 324px;
}
.career-opportunities-block .main-content{
    display: flex;
    gap: 21px;
}
.career-opportunities-block .career-item {
    position: relative;
    padding: 28px;  
}

.career-opportunities-block .career-item:not(:nth-child(3n))::after {
    content: "";
    position: absolute;
    right: 0px;          
    top: 28px; 
    bottom:28px;          
    height:auto;        
    width: 2px;
    background: #D5D3FF;
}


.career-opportunities-block .career-items-grid .career-item:nth-child(3n) {
    border-right: none;
}

.career-opportunities-block .item-title {
    color: #000;
    font-size: 23px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    margin-bottom: 12px;
}

.career-opportunities-block .item-description {
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.32px;
    margin: 0;
}

.career-opportunities-block .cta-box {
    padding: 40px 26px;
    border-radius: 12px;
    background: linear-gradient(143deg, #554FF8 37.3%, #55E1D9 98.5%);
    color: #fff;
    text-align: left;
    width: 286px;
    height: 324px;
}

.career-opportunities-block .cta-title {
    color: #FFF;
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 38px;
    margin-bottom: 11px;
}

.career-opportunities-block .cta-description {
    margin-bottom: 30px;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    opacity: 0.9;
    margin-bottom: 45px;
}

.career-opportunities-block .cta-button {
    background-color: #1A1A1A;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 5px 14px;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.career-opportunities-block .cta-button:hover {
    background: #FFF;
    color: #000;
}

.career-opportunities-block .cta-button img {
    width: 10px;
    height: 10px;
}
.career-opportunities-block .cta-button:hover img {
   filter:brightness(0);
}


@media (max-width: 1199.98px){
    .career-opportunities-block {
        padding: 80px 0 0;
    }
    .career-opportunities-block .main-content{
    display: block;
    gap: 22px;
}

    .career-opportunities-block .career-opp-header  {
       margin-bottom: 32px;
    }

    .cta-box {
        margin-top: 24px;
        width: 100%;
        height: auto;
    }
    .career-opportunities-block .cta-box {
        width: 100%;
        height: 192px;
        padding: 26px;
         margin-top: 22px;
    }

    .career-opportunities-block .item-title{
        font-size: 22px;
    }
    .career-opportunities-block .cta-title{
        margin-bottom: 12px;
    }
    .career-opportunities-block .cta-description{
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {

    .career-opportunities-block {
        padding: 60px 0 0;
    }

    /* 2 column grid */
    .career-opportunities-block .career-items-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    /* Vertical lines band */
    .career-opportunities-block .career-item::after {
        display: none !important;
    }

    /* Horizontal line — har row ke baad */
    .career-opportunities-block .career-item {
        border-right: none;
        stroke-width: 2px;
        border-bottom: none;
        padding: 28px;
        position: relative;
    }
        .career-opportunities-block .career-item::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 28px;
        right: 28px;
        height: 2px;
        background: #D5D3FF;
        display: block;
        }

    /* Last 2 items (last row) ka border hatao */
    .career-opportunities-block .career-items-grid .career-item:nth-last-child(-n+1) {
        border-bottom: none;
    }
     .career-opportunities-block .career-items-grid .career-item:nth-last-child(-n+1)::before {
        display: none;
    }

    /* CTA box full width */
    .career-opportunities-block .cta-box {
        width: 100%;
        height: auto;
        padding: 24px 17px;
        margin-top: 20px;
    }

    .career-opportunities-block .item-title {
        font-size: 20px;
    }

    .career-opportunities-block .item-description {
        font-size: 16px;
    }
        .career-opportunities-block .career-opp-header {
        margin-bottom: 20px;
    }
}