:root {
   --color-primary: #00478F;
   --color-primary-text: #fff;

    --color-primary-light: #CADBFF;
    --color-primary-light-2: ;
    --color-primary-light-text: #1e1e1e;

    --color-accent: #E4572E;
    --color-accent-text: #fff;
    
}


body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    background: #fff;
}
.career-hero {
    position: relative;
    width: 100vw;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.career-hero img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.image-gradient{
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(0, 71, 143, 0.65) 50%, rgba(0, 71, 143, 0.85) 100%);
    z-index: 2;
}


.career-hero-overlay {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    max-width: 90vw;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1.2s ease-out 0.3s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.career-hero-overlay h1,
.career-hero-overlay p,
.career-hero-overlay .career-btn {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1.2s ease-out forwards;
}

.career-hero-overlay h1 {
    animation-delay: 0.4s;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.career-hero-overlay p {
    animation-delay: 0.6s;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.career-hero-overlay .contact-btn {
    animation-delay: 0.8s;
    padding: 0.8em 2em;
    font-size: 1.1rem;
    background: var(--color-accent);
    color: var(--color-accent-text);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.2s;
}

.career-hero-overlay .contact-btn:hover {
    background: #e65c00;
}




/* Career Container */ 

.career-container{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 36px;
    padding: 24px 128px 64px 128px;

}

.career-post-container{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    
    padding: 24px 24px;

    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);

    height: 300px;

    position: relative;
}

.career-post-container h1{
    color: var(--color-primary);
    margin: 0px;
    font-size: 1.7rem;
    height: 3.4rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.career-post-container .career-cateogry{
    font-size: 0.8rem;
    font-weight: 800;
    color: #02264a;
    font-family: 'Inter', sans-serif;
    margin-bottom: 8px;
    margin-left: 4px;
}

.career-post-container h3{
    margin: 0px;
}

.career-post-container p{
    margin: 0px;
    justify-self: start;
    font-size: 1rem;
    color: var(--color-primary-light-text);
    height: 7rem;
    line-height: 130%;
}

.career-fields{
    display: flex;
    flex-direction: row;
    gap: 4px;
    
}

.career-fields h5{
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-accent);
}


.career-title-desc {
        width: 100%;
        text-align: center;
        margin-top: 64px;
        margin-bottom: 24px;
        z-index: 2;
        align-items: center;
        justify-content: center;

        display: flex;
        flex-direction: column;
    }

.career-title-desc h1 {
        font-size: 2.5rem;
        color: var(--color-primary);
        margin-bottom: 16px;
    }
.career-title-desc p {
        font-size: 1.2rem;
        color: #3a506b;
        margin: 0;
        width: 70%;
    }


.apply-now{

    padding: 4px;

    border-radius: 50%;
    
    border: 2px solid var(--color-accent);

    position: absolute;
    bottom: 16px;
    right: 16px;
    
}

.apply-now svg{
    transform: rotate(150deg);
    color: var(--color-primary);
}

.apply-now a{
    
}

.apply-now:hover {
    background: #ebf1ff;
    cursor: pointer;
    border: 2px solid var(--color-primary);
    
}


@media (max-width: 900px){
    .career-container{
        grid-template-columns: repeat(1, 1fr);
    }
}