#WhyChooseUs{
    width: 100%;
    background-color: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: 70px;
}

.whychooseuscontainer .Sectiontitle{
    font-size: 3rem;
    list-style: 3rem;
    color: var(--dark);
}

.whychooseuscontainer{
    width: 100%;
    background-color: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 80px;
    overflow: hidden;
}
.SixReasons{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    width: 100%;
    max-width: 800px;
    padding: 0 10px;
}
.reasoncard{
    border-block-end: 2px dashed var(--dark);
    position: relative;
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(to bottom, transparent 50%, var(--background-shade) 50%);
    background-size: 100% 200%;
    background-position: 0% 0%;
    transition: all 0.3s;
}
.Upper{
    width: 100%;
    padding: 30px 0;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.Reasontitle{
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: var(--black);
}
.reasondescription{
    font-family: "Quicksand", serif;
    font-size: 1.2rem;
    line-height: 1.4rem;
    text-align: justify;
    font-weight: 200;
    color: var(--dark);
}
.reasoncard:hover{
    background-position: 0% 100%;
}
.reasoncard:hover .Upper{
    transform: scale(0.98);
}

.WhyChooseUsAnimation{
    opacity: 0;
    z-index: 999;
    pointer-events: none;
    width: 302px;
    height: 402px;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: -500px;
    overflow: hidden;
     border: 1px solid var(--black);
    -webkit-box-shadow: -5px 5px 20px #00000044;
    background-color: var(--dark);
}
#allanimations{
    width: 300px;
    height: 2400px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transform: translateY(-800px);
}
.animcard{
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--primary-green);
}
.animcard img{
    width: 100%;
    height: 100%;
}

@media (max-width: 1000px) {
    #WhyChooseUs{
        padding: 50px 10px;
    }
    
    .whychooseuscontainer .Sectiontitle{
        font-family: "Quicksand", serif;
        width: 100%;
        text-align: center;
        padding: 30px 10px 20px 10px;
        background-color: var(--darkstroke);
        color: var(--white);
        font-weight: 600;
        font-size: 2.5rem;
        list-style: 2.5rem;
    }
    
    .whychooseuscontainer{
        width: 100%;
        background-color: var(--darkstroke);
        border-radius: 30px;
        padding: 0;
        gap: 0px;
        overflow: hidden;
    }
    .SixReasons{
        display: grid;
        grid-template-rows: repeat(3, 1fr); /* 2 rows */
        grid-template-columns: repeat(2, 1fr); /* 3 columns */
        width: 100%;
        max-width: none;
        padding: 10px;
        gap: 10px;
    }
    .reasoncard{
        padding: 20px;
        border-block-end: none;
        border-radius: 20px;
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        background-color: var(--dark);
        background-image: none;
        background-size: 100% 100%;
        background-position: 0% 100%;
    }
    .Upper{
        width: 100%;
        padding: 0;
        transition: all 0.3s;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .Reasontitle{
        font-family: "Montserrat", serif;
        font-size: 1.7rem;
        line-height: 1.7rem;
        font-weight: 600;
        color: var(--primary-green);
    }
    .reasondescription{
        font-size: 1.2rem;
        line-height: 1.4rem;
        text-align: left;
        color: var(--grey);
    }
}


@media (max-width: 600px) {
    #WhyChooseUs{
        padding: 30px 10px;
    }
    
    .whychooseuscontainer .Sectiontitle{
        padding: 30px 10px 10px 10px;
        font-size: 2rem;
        list-style: 2rem;
    }
    .SixReasons{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .Upper{
        width: 100%;
        padding: 0;
        transition: all 0.3s;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .reasondescription{
        font-size: 1rem;
        line-height: 1.2rem;
    }
}