.why-choose-us {
    padding: 60px 20px;
    text-align: center;
    background-color: #ffffff;
}

.section-title {
    font-size: 2.6rem;
    font-weight: normal;
    font-style: italic;
    color: #222;
    margin-bottom: 10px;
    transform: translateY(-50px);
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
}

.section-subtitle {
    font-size: 2.8rem;
    font-weight: bold;
    font-style: italic;
    color: #222;
    margin-bottom: 50px;
    transform: translateY(-50px);
    opacity: 0;
    transition: transform 1s ease 0.2s, opacity 1s ease 0.2s;
}

/* .why-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.why-item {
    text-align: center;
    flex: 1 1 28%;
    min-width: 280px;
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.8s ease-out 0.5s, opacity 0.8s ease-out 0.5s;
} */

.why-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: nowrap; 
    gap: 40px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.why-item {
    text-align: center;
    flex: 1 1 25%;
    max-width: 25%; 
    min-width: 240px;
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.8s ease-out 0.5s, opacity 0.8s ease-out 0.5s;
}

.why-item img {
    width: 180px;
    height: auto;
    margin-top: 80px;
    margin-bottom: 15px;
    animation: beat 1.5s ease infinite 2s;
}

.why-item h4 {
    font-size: 1.7rem;
    font-weight: bold;
    font-style: italic;
    margin-top: 40px;
    color: #222;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.8s ease 0.8s, opacity 0.8s ease 0.8s;
}

.why-item p {
    font-size: 1.1rem;
    font-style: italic;
    max-width: 250px;
    margin: 10px auto 0;
    color: #555;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.8s ease 1s, opacity 0.8s ease 1s;
}

.why-divider {
    width: 15px;
    height: auto;
    background: none;
    content: url("../images/devider-blue.png");
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.8s ease 0.7s, opacity 0.8s ease 0.7s;
}

@keyframes beat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.section-title.show,
.section-subtitle.show,
.why-item.show,
.why-item h4.show,
.why-item p.show,
.why-divider.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}


@media (max-width: 991px) {
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 2.2rem;
    }

    .why-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .why-item {
        width: 100%;
        max-width: 400px;
    }

    .why-item img {
        width: 140px;
        margin-top: 10px;
    }

    .why-item h4 {
        font-size: 1.5rem;
    }

    .why-item p {
        font-size: 1rem;
    }

    .why-divider {
        display: none;
    }
}
