/* =========================================
   RESPONSIVE
========================================= */

/* ================ */
/* why zigmax */
/* ================ */

@media (min-width: 901px) and (max-width: 1000px) {
    .why-section {
        min-height: auto;
        padding: 90px 5% 120px;
    }

    .why-heading {
        text-align: center;
    }

    .why-heading h2 {
        font-size: clamp(42px, 5vw, 56px);
    }

    .why-section .features-footer1 {
        max-width: 900px;
        margin-top: 34px;
        gap: 22px 18px;
    }

    .why-section .feature-card {
        height: 250px;
        padding: 22px;
        border-radius: 16px;
    }

    .why-section .feature-icon1,
    .why-section .feature-icon2,
    .why-section .feature-icon3,
    .why-section .feature-icon4,
    .why-section .feature-icon5,
    .why-section .feature-icon6,
    .why-section .feature-icon7,
    .why-section .feature-icon8,
    .why-section .feature-icon9 {
        width: 52px;
        height: 52px;
        margin: 4px;
    }

    .why-section .feature-card h3 {
        margin-top: 14px;
        font-size: 15px;
    }

    .why-section .feature-card p {
        font-size: 12px;
        line-height: 1.45;
    }

    .why-section .unggulan {
        margin-right: 90px ;
    }
}

@media (min-width: 1001px) and (max-width: 1100px) {
    .why-section {
        min-height: auto;
        padding: 90px 5% 120px;
    }

    .why-heading {
        text-align: center;
    }

    .why-section .features-footer1 {
        max-width: 900px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 34px;
        gap: 22px 18px;
    }

    .why-section .feature-card {
        height: auto;
        min-height: 320px;
        padding: 20px;
        border-radius: 16px;
        overflow: visible;
    }

    .why-section .feature-icon1,
    .why-section .feature-icon2,
    .why-section .feature-icon3,
    .why-section .feature-icon4,
    .why-section .feature-icon5,
    .why-section .feature-icon6,
    .why-section .feature-icon7,
    .why-section .feature-icon8,
    .why-section .feature-icon9 {
        width: 52px;
        height: 52px;
        margin: 4px;
    }

    
    .why-section .feature-card h3 {
        margin-top: 14px;
        font-size: 15px;
    }

    .why-section .feature-card p {
        font-size: 12px;
        line-height: 1.45;
    }

    .why-section .feature-card .card-label,
    .why-section .feature-card .card-labell {
        margin-top: 14px;
        max-width: 100%;
    }

    .why-section .feature-card .atasan {
        position: relative;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 8px;
    }

    .why-section .feature-card .unggulan {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0 !important;
        min-width: 0;
        max-width: calc(100% - 72px);
    }

    .why-section .feature-card .unggulan h3 {
        max-width: 100%;
        padding: 7px 10px;
        font-size: 12px;
        line-height: 1.2;
        white-space: nowrap;
    }
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .why-section .feature-card .atasan {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        width: 100%;
    }

    .why-section .feature-card .unggulan {
        margin-left: 5rem;
    }

    .why-section .feature-card .unggulan h3 {
        padding: 6px 12px;
        font-size: 12px;
        line-height: 1.2;
        white-space: nowrap;
    }

}





@media (max-width: 960px) {

    .why-section .feature-card .atasan {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        width: 100%;
    }

    .why-section .feature-card .unggulan {
        margin-left: 3rem;
    }

    .why-section .feature-card .unggulan h3 {
        padding: 6px 12px;
        font-size: 12px;
        line-height: 1.2;
        white-space: nowrap;
    }

}

@media (max-width: 440px){
    

    .why-section .feature-card .unggulan {
        margin-left: 9rem;
    }

    
}





@media (max-width: 900px) {

    .why-section .features-footer1  {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 22px 18px;

    }

}


@media (max-width: 600px) {

    .why-section  {

        padding:
            100px 20px;
    }


    .why-heading h2  {

        font-size: 35px;
    }


    .why-section
    .features-footer1  {

        grid-template-columns: 1fr;
        gap: 18px;

    }


    /*
       Mobile:
       semua card muncul dari bawah
    */

    .why-section
    .feature-card:nth-child(n)  {

        transform:
            translateY(70px);

    }


    .why-section.show
    .feature-card:nth-child(n)  {

        transform:
            translateY(0);

    }

}