body {
    font-family: 'Ubuntu', sans-serif;
    overflow-x: hidden;
}

* {
    scroll-behavior: smooth;
}

.dm-sans {
    font-family: 'DM Sans', sans-serif;
}

.progression-grey{
    height: 7px;
    width: 100%;
    background: #F0EEEE;
    border-radius: 5px;
    position: absolute;
}
.progression-yellow{
    height: 7px;
    background: #FF9800;
    border-radius: 5px;
    position: absolute;
}

.progression-green{
    height: 7px;
    background: #4B7435;
    border-radius: 5px;
    position: absolute;
}

.color-grey{
    color: #7b7d8c;
}

.color-green{
    color: #4B7435;
}

.navbar-nav .nav-item .login-btn {
    background-color: #80B03B;
    border: 1px solid #80B03B;
    width: 120px;
    border-radius: 20px;
    text-align: center;
}

.navbar-nav .nav-item .login-btn:hover {
    background-color: #4B7435;
    border: 1px solid white;
    color: white;
    position: relative;
}

.nav-logo {
    margin-left: 10px;
    height: auto;
    width: 80px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.navbar {
    background-color: #4B7435;
    padding: 0px 0;
    z-index: 3;
}

.nav-link {
    color: rgb(255, 255, 255);
    font-weight: 550;
    font-size: 16px;
}

.nav-btn {
    cursor: pointer;
    align-items: center;
    background-color: #80B03B;
    border: none;
    border-radius: 8px;
    width: 100px;
    height: 32px;
    color: white;
    font-weight: 500;
    font-size: 16px;
}

.nav-btn:hover {
    background-color: #63931E;
}

.navbar-nav .nav-link:hover {
    color: #000000;
}

.navbar-nav {
    margin: 0;
    /* Remove default margin */
    padding: 0;
    /* Remove default padding */
    list-style: none;
    /* Remove bullet points */
}

.nav-item {
    margin: 0 8px;
    /* Add horizontal margin */
    /* display: flex;
    justify-content: center;
    align-items: center; */
}

.btn-toggle {
    background-color: #80B03B;
    /* Set the background color */
    color: #80B03B;
    border: none;
    padding: 14.4px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    /* Add transition effect */
}

.btn-toggle:hover {
    background-color: #80B03B;
    background-color: #80B03B;
    padding: 8px 10px;
}

navbar-toggler {
    color: white;
}

.hero {
    height: 45vh;
    min-height: 350px;
}

section.hero .title {
    color: white !important;
    margin-top: 40px;
    font-size: 38px;
    font-weight: bold;
    z-index: 1;
    position: relative;
}

section.hero {
    padding-top: 5%;
    padding-bottom: 5%;
}

section.hero .text {
    color: white !important;
    z-index: 2;
    position: relative;
    margin-top: 20px;
    font-weight: 380 !important;
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 60px
}

.btn-01 {
    color: white;
    background-color: #80B03B;
    padding: 10px 30px;
    border-radius: 8px;
    border: none;
}

.info-01 {
    padding-top: 40px;
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4B7435;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    display: none;
    width: 45px;
    z-index: 3;
}

.text-info {
    color: #000000 !important;
}

.img-leaflong {
    width: 180px;
    height: auto;
    margin-top: -12px;
}

.footer-content {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    padding: 50px;
    margin: auto;
}

.footer-bg {
    background-color: #4B7435;
    height: 350px;
    width: 100%;
}

.footer-logo {
    width: 200px;
}

.f-menu {
    display: grid;
    grid-template-columns: auto;
    row-gap: 10px;
    font-weight: 300;
}

.social-icons {
    display: inline-block;
    font-size: 20px;
}

.social-icons a {
    text-decoration: none;
    /* Removes underline */
    display: inline-block;
    /* Ensures the anchor takes up only the space it needs */
    transition: transform 0.3s ease;
    /* Smooth transition for the animation */
    margin-right: 12px;
}

/* CSS for the hover effect - scaling up the icons slightly */
.social-icons a:hover {
    transform: scale(1.1);
    /* Scale up the icons by 10% on hover */
}

.social-icon {
    width: 40px;
}

.copyright {
    display: flex;
    justify-content: center;
    color: white;
}


@media (max-width: 385px) {
    .footer-content {
        max-width: 1200px;
        display: grid;
        grid-template-columns: auto;
        row-gap: 40px;
        justify-content: center;
        padding: 50px;
        margin: auto;
    }

    .footer-bg {
        background-color: #4B7435;
        height: 700px;
        width: 100%;
    }

    .btn-toggle {
        padding: 5px 10px;
    }

    .navbar-nav {
        padding-bottom: 10px;
    }

    /* .nav-item {
        justify-content: flex-start;
    } */

    .nav-link,
    .nav-btn {
        font-size: 12px;
    }

    section.hero .title {
        margin-top: 70px;
        font-size: 4vh;
    }

    /* section.hero .text {
        font-size: 14px;
        margin-bottom: 60px;
        line-height: 20px;
    } */

    .btn-01 {
        padding: 6px 20px;
        font-size: 12px;
    }

    .box-01 {
        margin-left: 16px;
    }

    section.hero .title {
        margin-top: 60px;
    }

    /* section.hero .text {
        font-size: 10px;
    } */

    .hero {
        height: 32vh;
    }

}

@media (min-width: 384px) and (max-width: 575.98px) {
    .footer-content {
        max-width: 1200px;
        display: grid;
        grid-template-columns: auto;
        row-gap: 40px;
        justify-content: center;
        padding: 50px;
        margin: auto;
    }

    .footer-bg {
        background-color: #4B7435;
        height: 610px;
        width: 100%;
    }

    .btn-toggle {
        padding: 5px 10px;
    }

    .navbar-nav {
        padding-bottom: 10px;
    }

    /* .nav-item {
        justify-content: flex-start;
    } */

    .nav-link,
    .nav-btn {
        font-size: 12px;
    }

    section.hero .title {
        margin-top: 70px;
        font-size: 4vh;
    }

    /* section.hero .text {
        font-size: 14px;
        margin-bottom: 60px;
        line-height: 20px;
    } */

    .btn-01 {
        padding: 6px 20px;
        font-size: 12px;
    }

    .box-01 {
        margin-left: 16px;
    }

    section.hero .title {
        margin-top: 70px;
    }

    /* section.hero .text {
        font-size: 12px;
    } */

    .hero {
        height: 36vh;
    }

}

@media (min-width: 576px) and (max-width: 767.98px) {
    .footer-content {
        max-width: 1200px;
        display: grid;
        grid-template-columns: auto;
        row-gap: 40px;
        justify-content: center;
        padding: 50px;
        margin: auto;
    }

    .footer-bg {
        background-color: #4B7435;
        height: 610px;
        width: 100%;
    }

    .btn-toggle {
        padding: 9px 16px;
    }

    .navbar-nav {
        padding-bottom: 11px;
    }

    /* .nav-item {
        justify-content: flex-start;
    } */

    .nav-link,
    .nav-btn {
        font-size: 13px;
    }

    section.hero .title {
        margin-top: 50px;
        font-size: 4vh;
    }

    /* section.hero .text {
        font-size: 20px;
        margin-bottom: 80px;
        line-height: 24px;
    } */

    section.hero .title {
        margin-top: 70px;
    }

    /* section.hero .text {
        font-size: 16px;
    } */

    .hero {
        height: 40vh;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .footer-content {
        max-width: 1200px;
        display: grid;
        grid-template-columns: auto;
        row-gap: 40px;
        justify-content: center;
        padding: 50px;
        margin: auto;
    }

    .footer-bg {
        background-color: #4B7435;
        height: 610px;
        width: 100%;
    }

    .btn-toggle {
        padding: 10px 18px;
    }

    .navbar-nav {
        padding-bottom: 12px;
    }

    /* .nav-item {
        justify-content: flex-start;
    } */

    .nav-link,
    .nav-btn {
        font-size: 14px;
    }

    nav-btn {
        width: 90x;
        height: 28px;
    }

    section.hero .title {
        margin-top: 200px;
        font-size: 5vh;
    }

    /* section.hero .text {
        font-size: 22px;
        margin-bottom: 60px
    } */

    section.hero .title {
        margin-top: 50px;
    }

    /* section.hero .text {
        font-size: 22px;
    } */

    .hero {
        height: 44vh;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .btn-toggle {
        padding: 10px 20px !important;
    }

    section.hero .title {
        margin-top: 60px;
    }

    /* section.hero .text {
        font-size: 28px;
    } */

    .hero {
        height: 50vh;
    }
}

/* pluggin 1 */
.search-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.search-donations {
    font-family: "DM Sans", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #f3f8f7;
    border-radius: 60px;
    box-shadow: 0 4px 4px 0 rgba(130, 134, 157, 0.08);
    color: #9ea1b4;
    font-size: 18px;
    font-weight: 400;
    gap: 20px;
    letter-spacing: 0.36px;
    margin-top: 40px;
    padding: 10px 28px;
    background: #D9E9E1;
    color: #4B7435;
}

.btn-project {
    font-family: "DM Sans", sans-serif;
    background-color: #f3f8f7;
    border-radius: 60px;
    box-shadow: 0 4px 4px 0 rgba(130, 134, 157, 0.08);
    font-size: 18px;
    margin-top: 49px;
    font-weight: 400;
    letter-spacing: 0.36px;
    max-width: 100%;
    padding: 10px 15px;
    min-width: 200px;
    background: #4B7435;
    color: #D9E9E1;
}

.btn-project>option{
    background: white;
    color: black;
}
.btn-project>option:hover{
    background: #4B7435;
    color: #D9E9E1;
}

.search-input::placeholder {
    color: #4B7435;
}
.search-input {
    border: none;
    outline: none;
    background: none;
    flex: 1;
    font-size: 18px;
    color: #4B7435;
}
.search-text {
    flex: 1;
    font-family: "DM Sans", sans-serif;
}

.search-icon {
    height: 24px;
    object-fit: contain;
    width: 24px;
}

.filter-container-main {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-container {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    margin-top: 40px;
    gap: 10px;
    font-size: 16px;
    color: #4B7435;
    font-weight: 400;
    line-height: 140%;
    padding: 0 20px;
}

@media (max-width: 991px) {
    .filter-container {
        flex-wrap: wrap;
    }
}

.filter-item {
    font-family: DM Sans, sans-serif;
    border-radius: 32px;
    border: 1px solid #4B7435;
    justify-content: center;
    padding: 8px 16px;
    white-space: nowrap;
    background: white;
}

.carousel-before{
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    left: -20px;
    font-size: 60px;
    width: fit-content;
    color: #4B7435;
}
.carousel-next{
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    right: -20px;
    font-size: 60px;
    width: fit-content;
    color: #4B7435;
}

.filter-item-active,
.filter-item:hover {
    background-color: #4B7435;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 991px) {
    .filter-item-active {
        white-space: initial;
    }
}

/* pluggin 2 */
.image-grid {
    display: flex;
    gap: 20px;
}

@media (max-width: 991px) {
    .image-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
}

.image-column {
    display: flex;
    flex-direction: column;
    line-height: normal;
    width: 100%;
    margin-left: 0;
    box-shadow: 0 2px 4px 0 rgb(0 0 0 / 20%);
    border-radius: 15px
}

.image-column:hover {
    box-shadow: 0 2px 4px 0 rgba(0 0 0 / 40%);
}

@media (max-width: 991px) {
    .image-column {
        width: 100%;
    }
}

.project-image {
    aspect-ratio: 1.56;
    object-fit: cover;
    width: 100%;
    flex-grow: 1;
    border-radius: 15px 15px 0px 0px;
}

.project-card {
    /* background-color: #fff; */
    display: flex;
    width: 100%;
    flex-grow: 1;
    flex-direction: column;
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
    margin: 0 auto;
    padding: 20px;
}

.project-meta {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

@media (max-width: 991px) {
    .project-meta {
        margin-right: 6px;
    }
}

.project-date {
    color: #999ca9;
    font-family: DM Sans, sans-serif;
}

.project-donations {
    color: #4B7435;
    font-family: DM Sans, sans-serif;
}

.project-title {
    color: #0f111d;
    font: 700 20px DM Sans, sans-serif;
    min-height: 55px;
    display: flex;
    align-items: center;
}

.project-title p{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-description {
    color: #7b7d8c;
    text-align: justify;
    font-family: DM Sans, sans-serif;
    line-height: 24px;
    margin-top: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    min-height: 50px;
}

@media (max-width: 991px) {
    .project-description {
        margin-right: 5px;
    }
}

.donate-button:disabled, .donate-button:disabled:hover {
    border: 1px solid rgb(197, 197, 197);
    background-color: rgb(197, 197, 197);
    color: white;
}
.donate-button {
    font-family: DM Sans, sans-serif;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    border: 1px solid #4B7435;
    background-color: #fff;
    margin-top: 24px;
    color: #4B7435;
    padding: 12px 15px;
    text-align: center;
    text-decoration: none;
}
.donate-button:hover {
    color: #fff;
    background-color: #80b03b;
    border: 1px solid #80b03b;
}

.pagination {
    align-self: center;
    display: flex;
    margin-top: 38px;
    width: 100%;
    gap: 20px;
    font-size: 18px;
    color: #4B7435;
    font-weight: 500;
    line-height: 117%;
    justify-content: space-between;
}

@media (max-width: 991px) {
    .pagination {
        flex-wrap: wrap;
    }
}

.pagination-links {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
    justify-content: space-between;
    padding: 0 1px;
}

@media (max-width: 991px) {
    .pagination-links {
        white-space: initial;
    }
}

.pagination-arrow {
    aspect-ratio: 1;
    object-fit: contain;
    width: 24px;
    align-self: stretch;
    margin: auto 0;
}

.pagination-number {
    font-family: DM Sans, sans-serif;
    align-self: stretch;
    margin: auto 0;
}

.pagination-current {
    font-family: DM Sans, sans-serif;
    border-radius: 23px;
    background-color: #4B7435;
    display: flex;
    align-items: center;
    color: #fff;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0 11px;
}

@media (max-width: 991px) {
    .pagination-current {
        white-space: initial;
    }
}

.pagination-ellipsis {
    font-family: DM Sans, sans-serif;
    letter-spacing: 1.44px;
    align-self: stretch;
    margin: auto 0;
}

.pagination-actions {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin: auto 0;
}

.pagination-see-all {
    font-family: DM Sans, sans-serif;
}

.pagination-arrow-right {
    aspect-ratio: 1.89;
    object-fit: contain;
    width: 20px;
    stroke-width: 1px;
    stroke: #4B7435;
    margin: auto 0;
}

.h5 {
    font-size: 2rem;
}

.h3 {
    font-size: 3rem;
}

.image-column.Recommended{
    position: relative;
}
.image-column.Recommended::after{
    content: 'Recommended';
    padding: 5px 10px;
    background: #4B7435;
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 15px 0px 0px 0px;
}

@media only screen and (max-width: 481px){
    .btn-project{
        margin-top: 20px;
    }

    section.hero .text {
        font-size: 14px;
        line-height: 18px;
    }

    .donate-button{
        padding: 5px 15px;
    }

    
    .footer-content{
        max-width: unset;
        display: grid;
        grid-template-columns: auto;
        row-gap: 30px;
        justify-content: unset;
        padding: 20px 30px;
        margin: auto;
    }
    .footer-bg{
        background-color: #4B7435;
        height: fit-content;
        width: 100%;
    }
}

@media only screen and (min-width: 481px) and (max-width: 768px){
    .donate-button{
        padding: 5px 15px;
    }
    section.hero .text {
        font-size: 18px;
        line-height: 24px
    }
    .footer-content{
        max-width: unset;
        display: grid;
        grid-template-columns: auto;
        row-gap: 30px;
        justify-content: unset;
        padding: 20px 30px;
        margin: auto;
    }
    .footer-bg{
        background-color: #4B7435;
        height: fit-content;
        width: 100%;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1024px)  {
    section.hero .text {
        font-size: 18px;
        line-height: 24px
    }
}
@media only screen and (min-width: 1025px) and (max-width: 1360px)  {
    section.hero .text {
        font-size: 22px;
        line-height: 26px
    }
}