.project-home {
    background-image: url('../../images/webSite/about/bg-joinProject.png');
    background-size: cover;
    padding: 60px 0;
}

.project-home-title {
    /* line-height: 153.6px; */
    font-size: 40px;
    font-weight: bold;
    /* margin-bottom: 20px; */
    color: #245AA5;

}

.project-home-text {
    font-weight: 500;
    text-align: center;
        margin-bottom: 36px;
    font-size: 22px;
    color: #303030;
    line-height: 40px;
}

.donation-card {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.donation-card {
    box-shadow: 0px 4px 26px 0px #00000040;
    /* background: linear-gradient(180deg, #BDCEE8 0%, #BDCEEA 100%); */
    background: linear-gradient(180deg, #FFBE6D 0%, #FFC277 100%);

    padding: 40px;
    height: 100%;
}

.donation-card h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    line-height: 33.6px;
}
.donation-card p {
    font-size: 18px;
    font-weight: 500;
    line-height: 25.6px;
    text-align: center;
    color: #fff;
}
.donation-card-blue {
    box-shadow: 0px 4px 26px 0px #00000040;
    background: #97B3DA;
}
.donation-card-green-1 {
    box-shadow: 0px 4px 26px 0px #00000040;
    background: #CBE7A1;
}

.donation-card .btn-custom {
    background: #fff;
    /* background: linear-gradient(180deg, rgba(36, 90, 165, 0.25) 0%, #245AA5 100%); */
    transition: background 0.3s ease;
    border: none;
    padding: 10px;
    color: rgb(45, 95, 120);
    font-weight: bold;
    box-shadow: 0px 4px 4px 0px #00000040;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
}
.donation-card .btn-custom:hover {
    color: #fff;
    /* background: linear-gradient(90deg, #245AA5 0%, rgba(36, 90, 165, 0.25) 100%); */
    background: rgb(45, 95, 120);

}

/* Adjust font sizes for smaller screens */
@media (max-width: 768px) {
    .project-home-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .project-home-text {
        font-size: 1rem;
    }

    .donation-card h3 {
        font-size: 1.2rem;
    }

    .donation-card p {
        font-size: 0.9rem;
    }
}


/* ----------volunteer-home------------------- */
.volunteer-home .card-img-top{
    width: 35%;
}

.volunteer-home .volunteer-card{
    box-shadow: 0px 4px 4px 0px #00000040;
    background: #F5FFE6;
    padding: 30px;
    height: 100%;
}
.volunteer-home .volunteer-home-title,
.partnership-home .partnership-home-title,
.partnership-benefits-title,
.partnership-how-to-join-title{
    color: #245AA5;
    font-size: 36px;
    font-weight: bold;
    line-height: 76.8px;
    text-align: left;
}

.volunteer-home h3 {
    font-size: 28px;
    font-weight: 500;
    line-height: 33.6px;
    margin-top: 16px;
    color: #245AA5;
}
.volunteer-home p {
    font-size: 18px;
    font-weight: 500;
    line-height: 21.6px;
    text-align: center;
    color: #303030;
}
.volunteer-home .volunteer-home-text,
.partnership-home .partnership-home-text{
   font-size: 20px;
    font-weight: 500;
    line-height: 41.52px;
    text-align: center;
    color: #303030;
}
@media (max-width: 768px) {
    .volunteer-home .volunteer-home-title,
    .partnership-home .partnership-home-title,
    .partnership-benefits-title,
    .partnership-how-to-join-title,
    .success-stories .success-stories-title,
    .orphan-care .orphan-content h2{
        font-size: 30px
    }

    .volunteer-home .card-img-top{
        width: 23%;
    }
}

/* ---------end-volunteer-home------------- */


.partnership-home img {
    width: 29%;
}
.partnership-home .partnership-card {
       background-size: cover;
    background-position: center;
    border: 1px solid;
    border-image-source: radial-gradient(82.71% 261.03% at 3.06% 115.75%, #FFFFFF 0%, rgba(103, 103, 103, 0.750969) 63.85%,
    rgba(103, 103, 103, 0.61) 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as
    expected */;
    box-shadow: 0px 4px 26px 0px #00000040;
    padding: 22px;
    height: 100%;
    border-radius: 16px;
}

.partnership-home h3 {
     color: #245AA5;
    font-size: 28px;
    font-weight: 500;
    line-height: 33.6px;
    margin-top: 15px;
}

.partnership-home P {
    color: #030202;
    font-size: 18px;
    font-weight: 500;
    line-height: 21.6px;
    text-align: center;
}

/*  */


/* .partnership-benefits-title {
color: #294182;
font-weight: bold;
margin-bottom: 20px;
} */

.benefit-card {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 20px;
    border: 1px solid;
    border-image-source: radial-gradient(82.71% 261.03% at 3.06% 115.75%, #FFFFFF 0%, rgba(103, 103, 103, 0.750969) 63.85%,
    rgba(103, 103, 103, 0.61) 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as
    expected */;
    box-shadow: 0px 4px 26px 0px #00000040;
}

.benefit-card-content {
    flex: 1;
    padding: 10px 20px;
}

.rtl .benefit-card h3 {
    color: #294182;
    font-weight: bold;
    text-align: right;
}
.ltr .benefit-card h3 {
    color: #294182;
    font-weight: bold;
    text-align: left;
}
.rtl .benefit-card p {
    color: #303030;
    margin-top: 10px;
    text-align: right;
    font-size: 22px;
}
.ltr .benefit-card p {
    color: #303030;
    margin-top: 10px;
    text-align: left;
    font-size: 22px;
}

/* .benefit-card-image {
flex-shrink: 0;
width: 120px;
margin-left: 20px;
} */

.benefit-card-image img {
    width: 300%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 26px 0px #00000040;
}





.how-to-join-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 20px;
    border: 1px solid;
    border-image-source: radial-gradient(82.71% 261.03% at 3.06% 115.75%, #FFFFFF 0%, rgba(103, 103, 103, 0.750969) 63.85%,
    rgba(103, 103, 103, 0.61) 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as
    expected */;
    box-shadow: 0px 4px 26px 0px #00000040;
}

.how-to-join-text {
    color: #303030;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 500;
    line-height: 71.68px;
    text-align: center;
}

.join-button {
    background-color:  rgb(45, 95, 120); ;
    transition: background 0.3s ease;
    border: none;
    padding: 14px 32px;
    color: white;
    font-weight: bold;
    box-shadow: 0px 4px 4px 0px #00000040;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgb(45, 95, 120);
}

.join-button:hover {
background-color: white;
color: rgb(45, 95, 120);

}
@media (max-width: 768px) {
    .how-to-join-text{
        line-height: 46.68px;
        font-size: 18px
    }
}


.form-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    .form-container {
        background: #fff;
        padding: 20px;
        border-radius: 8px;
        width: 90%;
        max-width: 400px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        position: relative;
    }

    .form-container h3 {
        margin-bottom: 20px;
        text-align: center;
    }

    .form-group {
        margin-bottom: 7px;
    }

    .form-group label {
        display: block;
        margin-bottom: 5px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

    .form-group button {
        width: 100%;
        padding: 10px;
        background-color: #007bff;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

    .close-button {
        position: absolute;
        top: 10px;
        right: 13px;
        font-size: 20px;
        font-weight: bold;
        color: #333;
        cursor: pointer;
    }
         .modal.card {
   background: #fff;
   padding: 20px;
   border-radius: 8px;
   width: 90%;
   max-width: 500px;

 }

.model .card {
    position: relative;
    background: #ffffff;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease;
}
