/* ==========================================================================
   SECTION WHY-US (port từ home.model.css)
   ========================================================================== */

.home-why-us {
    /*background: #0c0c0c;*/
    color: #fff;
    padding: 4.38rem 0;
    position: relative;
}

.home-why-us_bg-sub {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    /*opacity: 0.5;*/
}

.home-why-us .my-container {
    position: relative;
    z-index: 2;
}

.home-why-us__head {
    text-align: center;
    margin-bottom: 4.06rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.home-why-us__eyebrow {
    color: #e8e9ea;
    text-align: right;
    font-size: 1rem;
    font-weight: 400;
    line-height: 120%;
    text-transform: uppercase;
}

.home-why-us__title {
    color: #fff;
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 130%;
    text-transform: uppercase;
    margin: 0;
}

.home-why-us__title br {
    display: none;
}

/* ===== Grid (desktop) ===== */
.home-why-us__grid {
    display: flex;
    height: 25.875rem;
    align-items: center;
    gap: 1.5rem;
    align-self: stretch;
    position: relative;
}

.home-why-us__card {
    display: flex;
    padding: 1.875rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.8125rem;
    flex: 1 0 0;
    align-self: stretch;
    --stagger-delay: 0s;
    transition: background 0.15s ease, box-shadow 0.15s ease, opacity 0.5s ease var(--stagger-delay), transform 0.5s ease var(--stagger-delay);

    /* Entrance animation */
    opacity: 0;
    transform: translateY(40px);
}

.home-why-us__card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.home-why-us__card[data-stagger-index="1"] { --stagger-delay: 0.1s; }
.home-why-us__card[data-stagger-index="2"] { --stagger-delay: 0.2s; }
.home-why-us__card[data-stagger-index="3"] { --stagger-delay: 0.3s; }

.home-why-us__card:hover,
.home-why-us__card.is-active {
    background: #222;
    box-shadow: 0 4px 36.5px 0 rgba(0, 0, 0, 0.1);
}

.home-why-us__card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.3125rem;
    align-self: stretch;
}

.home-why-us__card-icon svg,
.home-why-us__card-icon img {
    width: 6.875rem;
    height: 3.75rem;
    object-fit: contain;
    color: #cdb27c;
}

.home-why-us__card-pagani {
    display: block;
    width: 100%;
    height: 0.0625rem;
    background: rgba(255, 255, 255, 0.26);
}

.home-why-us__card-sub {
    width: 0.0625rem;
    height: 19.70031rem;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.home-why-us__card h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.875rem;
    letter-spacing: -0.0625rem;
    text-transform: capitalize;
    margin: 0;
}

.home-why-us__card p {
    color: #fff;
    text-align: justify;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: -0.00875rem;
    margin: 0;
}

/* Mobile swiper container */
.home-why-us__mobile {
    display: none !important;
}

/* ========================================================================
   MOBILE
   ======================================================================== */
@media (max-width: 768px) {
    .home-why-us {
        padding: 2.25rem 0;
    }

    .home-why-us__eyebrow {
       color: var(--Foundation-Text-White-0, #FFF);
text-align: center;


font-size: 0.875rem;
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: 0.0175rem;
text-transform: uppercase;
    }
    .home-why-us__head{
        margin-bottom: 1.12rem;
    }

    .home-why-us__title {
        color: #fff;
        text-align: center;
        font-size: 1.25rem;
        font-weight: 700;
        line-height: 130%;
        text-transform: uppercase;
    }

    .home-why-us__title br {
        display: block;
    }

    .home-why-us__grid {
        display: none;
    }

    .home-why-us__mobile {
        display: block !important;
        height: auto;
        padding-bottom: 1.125rem;
    }
    .home-why-us__card-icon{
        margin-bottom:1rem;
    }
    .home-why-us__card-content h3{
color: #FFF;
font-family: "Averta Std CY";
font-size: 1rem;
font-style: normal;
font-weight: 600;
line-height: 1.25rem; /* 125% */
letter-spacing: -0.0625rem;
text-transform: capitalize;
    }

    .home-why-us__mobile .swiper-slide {
        height: 18.87rem;
        padding: 1rem;
  
                background: #222;
        border-radius: 0rem;
                box-shadow: 0 4px 36.5px 0 rgba(0, 0, 0, 0.10);
    }

    .home-why-us__pagination {
        position: static;
        display: flex;
        justify-content: center;
        gap: 0.25rem;
        margin-top: 1.125rem;
        transform: none;
    }

    .home-why-us__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
        width: 1.58525rem;
        height: 0.125rem;
        margin: 0;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.37);
        opacity: 1;
    }

    .home-why-us__pagination.swiper-pagination-bullets .swiper-pagination-bullet-active {
        background: var(--Foundation-Text-White-0, #fff);
    }

    .home-why-us__mobile .home-why-us__card-content p {
        padding: 0;
        opacity: 0.9;
    }

    .home-why-us__card h3 {
        font-size: 0.875rem;
    }

    .home-why-us__card p {
        font-size: 0.75rem;
    }
}
