.overlay {
    background-image:
        linear-gradient(to bottom, rgba(8, 44, 44, 0.3), rgba(0, 0, 0, 0.5)),
        url('/static/images/cooperation/header_bg.png');
    background-size: cover;
    background-position: center;
    /* display: flex
; */
    /* flex-wrap: wrap; */
    /* gap: 30px;
    max-width: 1440px;
    height: 750px;
    border-radius: 15px; */
    /* align-content: center;
    padding: 40px 20px; */
    /* justify-content: center; */
    /* overflow: visible;
    margin: auto; */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* push content to the right */
    justify-content: flex-end;
    /* push content to the bottom */
    height: 800px;
    /* set fixed height so flex knows where bottom is */
    box-sizing: border-box;
    max-width: 80%;
    margin: auto;
}

[lang="en"] .overlay {
    align-items: flex-end;
}

.section-title {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 16px 24px;
    width: 37%;
    max-width: 80%;
    min-height: 80%;
    max-height: 90%;
    align-content: center;
    text-align: center;
}

.section-title h1 {
    margin: 0;
    font-size: 72px;
    font-weight: bold;
    color: #004044 !important;
}

.header-info {
    max-width: 1440px;
    margin: auto;
}

.header-info p {
    font-size: 32px;
}

.header-info h2 {
    font-size: 48px;
    color: #005E60;
    font-weight: bold;
}

.header-info ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    padding-right: 0;
    margin-right: 0;
}

.header-info li {
    font-size: 32px;
    font-weight: 800;
}

.container-fluid {
    padding: 0;
}

.banner {
    background-image:
        linear-gradient(to bottom, #1d3840, #ffffff2c),
        url('/static/images/cooperation/banner.png');
    background-size: cover;
    background-position: center;
    width: 100%;
    justify-content: center;
}

.banner h1 {
    color: #C8FF08;
    font-size: 128px;
    font-weight: bold;
    text-align: center;
    padding-top: 200px;
}

.button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    padding-bottom: 200px;
}

.custom-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #D3FF00;
    color: #087375;
    padding: 24px 24px;
    border-radius: 9999px;
    font-size: 32px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;

}

.coo-section-header {
    background-image:
        url('/static/images/cooperation/banner.png');
    background-size: cover;
    background-position: center;
    padding: 500px 20px 40px;
    color: white;
    position: relative;
    text-align: center;
}




.coo-section-title {
    position: absolute;
    bottom: 0px;
    /* distance from bottom of header */
    right: 250px;
    /* transform: translateX(-50%); */
    background: white;
    color: #004747;
    /* or any fixed width like 600px */
    white-space: normal;
    /* allows wrapping */
    word-break: break-word;
    /* breaks long words if needed */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    height: 300px;
    align-content: center;
    padding: 20px;
}

.coo-section-header h1 {
    font-size: 50px;
    font-weight: bold;

    margin: 0;

}

.projects-section {
    /* text-align: center; */
    position: relative;
    max-width: 1650px;
    margin: auto;

}

.projects-overlay {

    background-image:
        url('/static/images/cooperation/programs_bg.png');
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    gap: 30px;
    /* max-width: 1400px; */
    /* height: 600px; */
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    padding: 40px 20px;
    justify-content: center;
    margin-top: 100px;
}



.project-info {
    max-width: 95%;
    background: #77727283;
    border-radius: 12px;
    padding: 30px 30px 0 110px;
    line-height: 1.8;
    padding-inline: 1.5rem;
    /* align-content: center; */
}

.project-info h1 {
    font-size: 64px;
    color: #C8FF08;
    margin-bottom: 15px;
    font-weight: bold;
}

.project-info h2 {
    font-size: 24px;
    color: #caff00;
    margin-bottom: 15px;
    font-weight: bold;
}

.project-info h3 {
    font-size: 20px;
    color: #caff00;
    margin-bottom: 10px;
    font-weight: 700;
}

.project-info p {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 300;
}

.card {
    background: #494949a2;
    border-radius: 12px;
    padding: 30px;
    margin: 20px;
    flex: 1 1 300px;
    max-width: 400px;
    flex-direction: column;
    align-items: center;
}

.section-banner {
    background-image: url('/static/images/cooperation/co-bg.png');
    background-size: cover;
    background-position: center;
    width: 90%;
    color: white;
    text-align: right;
    /* aligns text inside the box */
    border-radius: 20px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* push content to the right */
    justify-content: flex-end;
    /* push content to the bottom */
    height: 400px;
    /* set fixed height so flex knows where bottom is */
    box-sizing: border-box;
}

[lang="en"] .section-banner {
    align-items: flex-end;
}

.section-banner-content {
    background-color: #2F647A;
    padding: 16px 24px;
    width: 45%;
    max-width: 80%;
    min-height: 50%;
    max-height: 70%;
    align-content: center;
}

.section-banner-content h2 {
    font-size: 40px;
    color: #C8FF08;
    font-weight: bold;
}

[lang="en"] .section-banner-content h2 {
    font-size: 32px;
}

strong {
    font-weight: 800;
}

.blue-text {
    color: #40D9FF !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.fs-40 {
    font-size: 40px !important;
}

.w-99 {
    width: 99%;
}

@media (max-width: 1024px) {
    .header-info {
        max-width: 90%;
    }
    
}

@media (max-width: 512px) {
    .coo-section-header {
        padding: 180px 20px 40px;
    }
    

    .overlay {
        height: 200px;
    }

   

    .section-title {
        width: 50%;
    }
    .section-title h1 {
        font-size: 20px;
    }

     .coo-section-title {
        width: 50%;
        height: 100px;
        right: 110px;
    }
    .coo-section-title h1 {
        font-size: 20px;
    }

    

    .header-info {
        max-width: 90%;
    }

    .header-info h2 {
        font-size: 28px;
    }

    .header-info p {
        font-size: 18px;
    }

    .header-info li {
        font-size: 17px;
    }

    .banner h1 {
        font-size: 50px;
    }

    .custom-button {
        font-size: 16px;
    }

    .project-info h1 {
    font-size: 32px;
}

.project-info h2 {
    font-size: 20px;
}

.project-info h3 {
    font-size: 18px;
}

.project-info p {
    font-size: 18px;
}

.card{
    margin: 6px;
    padding: 20px;
}

.section-banner-content h2 {
    font-size: 18px;
}

[lang="en"] .section-banner-content h2 {
    font-size: 17px;
}

.fs-40 {
    font-size: 30px !important;
}

}