

.why-us {
    display: flex;

    justify-content: space-between;
    gap: 2rem;
    padding-top: 10rem;
    padding-bottom: 4rem;
    max-width:100%;
    margin: 0 auto;
    flex-direction: row-reverse;
    margin-bottom:calc(180px);
}

.why-us-content {

    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.why-insurey {
    font-size: 32px;
    color: rgba(47, 25, 95, 1);
    font-weight: 700;
    line-height: 60px;

}

.why-us-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-us-list li {
    margin-bottom: 1rem;
    color: rgba(82, 82, 82, 1);
    font-weight: 500;
    font-size: 20px;
    line-height: 37.48px;
    position: relative;
    padding-left: 2rem;
}


.why-us-list li::before {
    content: '\25CF';
    color: rgba(82, 82, 82, 1);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: -0.05rem;
    font-size: 2rem;

}

.why-us-image-wrapper {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
}

.image-stack {
    position: relative;

    margin-bottom: calc(150px);
    margin-left: calc(100px);
    width: 300px;
    height: 400px;
}

.stack-image {
    position: absolute;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.stack-image:nth-child(1) {
    z-index: 3;
    width: 130%;
    height: 130%;
    transform: translate(0, 0);
    object-fit: cover;
}

.stack-image:nth-child(2) {
    z-index: 2;
    width: 90%;
    transform: translate(-60px, 350px);
}

.stack-image:nth-child(3) {
    z-index: 1;
    width: 80%;
    transform: translate(-85px, -40px);
    opacity: 0.7;
}






@media (max-width: calc(1024px)) {
    .why-us {
        flex-direction: column;

    }

    .why-us-content {
        max-width: 100%;
    }

    .why-us-image-wrapper {
        max-width: 75%;
        margin-top: 2rem;
    }

    .image-stack {
        width: calc(250px);
        height: calc(350px);
        margin-right: 0;
    }
}

@media (max-width:calc( 768px)) {
    .why-insurey {
        font-size: 2rem;
        width: 100%;
    }

    .why-us-list li {
        font-size: 1rem;
    }

    .image-stack {
        width: 200px;
        height: 300px;
        margin-bottom: 100px;
    }

    .stack-image:nth-child(2) {
        width: 75%;
        transform: translate(-30px, 250px);
    }

    .stack-image:nth-child(3) {
        width: 65%;
        transform: translate(-40px, -20px);
        opacity: 0.8;
    }
}

@media (max-width: 480px) {
    .why-us {
        padding: 1.5rem;
        padding-top: 6rem;
        padding-bottom: 2rem;
        margin-bottom: 100px;
    }

    .why-insurey {
        font-size: 1.5rem;
    }

    .why-us-list li {
        font-size: 0.9rem;
    }

    .image-stack {
        width: 180px;
        height: 250px;
        margin-bottom: 80px;
    }

    .stack-image:nth-child(2) {
        width: 75%;
        transform: translate(-20px, 200px);
    }

    .stack-image:nth-child(3) {
        width: 65%;
        transform: translate(-25px, -15px);
        opacity: 0.8;
    }
}


@media (min-width: 768px) {
    .why-us {
        flex-direction: row-reverse;
        text-align: left;
    }

    .why-us-content {
        text-align: left;
    }
}
