/* css for button */

.button {
    appearance: button;
    border: solid transparent;
    border-radius: 8px;
    border-width: 0 0 4px;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-family: din-round, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .8px;
    line-height: 20px;
    margin: 0;
    outline: none;
    overflow: visible;
    padding: 12px 30px;
    text-align: center;
    text-transform: uppercase;
    touch-action: manipulation;
    transform: translateZ(0);
    transition: filter .2s;
    user-select: none;
    -webkit-user-select: none;
    vertical-align: middle;
    white-space: nowrap;
}

.button:main,
.button:focus {
    user-select: auto;
}

.button:hover:not(:disabled) {
    filter: brightness(1.1);
    -webkit-filter: brightness(1.1);
}

.button:disabled {
    cursor: auto;
}

.button:active {
    border-width: 4px 0 0;
    background: none;
}

.btn-primary {
    background-color: var(--blue-700);
}

.btn-primary:after {
    background-clip: padding-box;
    background-color: var(--blue-400);
    border: solid transparent;
    border-radius: 8px;
    border-width: 0 0 4px;
    bottom: -4px;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
}

/* end css for button */

/* css for card product */
.card-product {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.card-product figure {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.card-product figure:hover img {
    scale: 1.2;
    transition: all .8s ease;
}

.card-product figure img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.card-product article {
    width: 100%;
    padding: 20px;
}

.card-product article h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-product article h5 {
    margin-top: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-product article p {
    margin-top: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-product article .location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: gray;
}

/* end css for card product  */

/* css for card testimonial */
section.testimonial .splide__track {
    padding: 20px;
}

.card-testimonial {
    width: 100%;
    height: 100%;
    text-align: center;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    padding: 20px;
}

.card-testimonial h3 {
    margin-top: 20px;
}

.card-testimonial .position {
    margin-top: 20px;
    color: gray;
}

/* end css for card testimonial */

@media screen and (max-width:960px) {

    .card-product figure {
        height: 200px;
    }

    .card-product img {
        height: 200px !important;
    }

    .card-product article {
        width: 100%;
        padding: 12px;
    }


    .card-product article h3 {
        font-size: 16px;
    }

    .card-product article h5 {
        font-size: 16px;
        margin-top: 8px
    }

    .card-product article p {
        font-size: 12px;
        margin-top: 8px
    }

    .card-product article span {
        font-size: 20px !important;
    }

}