:root {
    --brand-yellow: #FCB923;
    --brand-yellow-dark: #edaa19;
    --brand-navy: #2D3E55;
    --brand-navy-dark: #203149;
    --brand-navy-light: #445875;
    --brand-light-blue: #769AAB;
    --neutral-gray: #F4F4F4;
    --neutral-dark-gray: #696969;
    --white: #FFFFFF;
    --black: #1C1C1C;

}


#hero {
    background-color: var(--white);
    color: var(--black);
}

nav {
    border-bottom: 1px solid #00000015;

}

.hero {
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}

.hero-top img {
    width: 100%;
}

.hero-middle {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    text-align: center;
}

.hero-p {
    width: 70%;
}

.stat>.stat-desc {
    color: #7e7e7e;
}

.nav-links li .dropdown {
    background-color: var(--white);
    border: 1px solid var(--neutral-gray);
    box-shadow: 0 1.25rem 2.5rem -0.625rem rgba(0, 0, 0, 0.2);
}

.nav-links li .dropdown li a {
    color: var(--black);
    border-bottom: 1px solid #00000014;
}

.hamburger span {
    background-color: var(--brand-navy);
}

.sidebar {
    background-color: var(--white);
}

/* ------------------------------------Why join us------------------------------------ */
.container-navy {
    background-color: var(--brand-navy);
    color: var(--white);
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 3rem;
}

.container-navy-left {
    grid-column: span 4;
    background-color: #DCE5EA;
    border-radius: 1.5rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--black);
}

.container-navy-left-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.container-navy-right {
    grid-column: span 8;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.container-navy-right-inner {
    grid-column: span 8;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.container-navy-right-inner-item {
    display: flex;
    gap: 1rem;
}

.container-navy-right-inner-item-icon {
    padding-top: 0.4rem;
}

/* Jobs Section */

.jobs {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 5rem;
}

.jobs-left {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: start;
    align-items: start;
}

.jobs-right {
    grid-column: span 8;
}

.job-item{
    border-top: solid 1px var(--brand-navy-light);
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    cursor: pointer;
}

.a-block {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s ease, opacity 0.3s ease;
}

.job-item.active .a-block {
    max-height: 1000px; /* big enough for content */
    opacity: 1;
}

.job-title-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.text-brand-yellow {
    font-family: 'Host Grotesk', sans-serif;
    color: var(--brand-yellow);
    font-weight: 500;
}

.job-title-container span {
    background-color: #EFEFEF;
    color: #8A8A8A;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.5rem;
    width: fit-content;
}

.job-cta-container {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 1rem;
}

.whatsapp-icon-container{
    width: 3.5rem;
    height: 3.5rem;
    background-color: #D7EBD7;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;

}

.whatsapp-icon-container:hover{
    background-color: #c3d8c3;
}

.whatsapp-icon-container:active {
    transform: scale(0.8);
}

.email-icon-container{
    width: 3.5rem;
    height: 3.5rem;
    background-color: #E5EBF7;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.email-icon-container:hover{
    background-color: #d6e5f7;
}

.email-icon-container:active {
    transform: scale(0.8);
}






/* ------------------------------------Media Queries------------------------------------ */

/* Large screens */
@media (max-width: 1360px) {

    /* Why join us Section */
    .container-navy {
        grid-template-columns: repeat(12, 1fr);
    }

    .container-navy-left {
        grid-column: span 5;
    }

    .container-navy-right {
        grid-column: span 7;
    }

    /* Job section */
    .job-left {
        grid-column: span 5;
    }

    .job-right {
        grid-column: span 7;
    }
}

/* Small laptops */
@media (max-width: 1024px) {

    .hero {
        gap: 3rem;
    }

    .half-card {
        gap: 4rem;
    }

    /* Why join us Section */
    .container-navy {
        grid-template-columns: repeat(12, 1fr);
    }

    .container-navy-left {
        grid-column: span 6;
    }

    .container-navy-right {
        grid-column: span 6;
    }

    /* Job section */
    .job-left {
        grid-column: span 6;
    }

    .job-right {
        grid-column: span 6;
    }
}

/* Tablets */
@media (max-width: 768px) {

    .hero-top {
        gap: 2rem;
    }

    .hero-top-p {
        flex-direction: column;
    }

    .hero-p {
        width: 100%;
    }

    .hero-bottom {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Feature Section */

    .features-left {
        width: 100%;
    }

    .features-right {
        grid-template-columns: repeat(1, 1fr);
    }

    /* Why join us Section */
    .container-navy {
        /* grid-template-columns: repeat(12, 1fr); */
        display: flex;
        flex-direction: column;
    }

    .container-navy-left {
        /* grid-column: span 12; */
        width: 100%;
    }

    .container-navy-right {
        /* grid-column: span 12; */
        width: 100%;
    }

    /* Job section */
    .jobs {
        /* grid-template-columns: repeat(12, 1fr); */
        display: flex;
        flex-direction: column;
    }

    .job-left {
        /* grid-column: span 5; */
        width: 100%;
    }

    .job-right {
        /* grid-column: span 7; */
        width: 100%;
    }

    .q-block {
        flex-direction: column;
        gap: 1.2rem;
    }

    .job-cta-container {
        justify-content: start;
        width: 100%;
    }

    .job-cta-container > svg {
        margin-left: auto;
    }

    .job-title-container {
        width: 100%;
        
    }

}

/* Mobile */
@media (max-width: 480px) {

    .hero {
        gap: 1.5rem;
    }

    .half-card {
        padding: 1.5rem;
        gap: 2rem;
    }

    .container-navy {
        padding: 2rem 1.5rem;
    }

    .container-navy-left {
        padding: 1.5rem;
    }
}