/* import-styles */
@import url(global.css);
@import url(../layout/header.css);
@import url(../layout/footer.css);

.bannerSlider {
    border-radius: 20px;
}

    .bannerSlider .bannerSliderItem img {
        object-fit: cover;
        object-position: bottom;
        max-height: 420px;
        min-height: 180px;
        width: 100%;
    }

.product-category__parent {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    width: 95%;
    margin: 0 auto;
    z-index: 1;
    background-color: var(--mainWhite);
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0 10px 50px 0 #832d6b83;
    position: relative;
    top: -6.25rem;
}

.product-category__item {
    padding: 1rem 0.5rem;
    position: relative;
    z-index: 0;
    cursor: pointer;
}

    .product-category__item::before {
        content: "";
        position: absolute;
        display: block;
        background-color: var(--secondary-color);
        border-radius: 15px;
        width: calc(100% - 10px);
        height: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        margin: auto;
        transition: var(--mainTransition);
        opacity: 0;
        visibility: hidden;
    }

    .product-category__item:hover::before {
        opacity: 1;
        visibility: visible;
    }

    .product-category__item:not(:nth-child(1)) {
        border-right: 1px solid var(--primary-color);
    }

    .product-category__item .inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem 0;
        position: relative;
        z-index: 2;
    }

        .product-category__item .inner img {
            width: 100%;
            height: 65px;
        }

        .product-category__item .inner h2 {
            font-size: 1.1rem;
            line-height: 1.7;
            font-weight: bold;
            text-align: center;
            color: var(--primary-color);
            margin: 0;
            position: relative;
        }

.categories__tabs__tab.active::before {
    opacity: 1;
    visibility: visible;
}

.categories__tabs__content__item {
    display: none;
}

    .categories__tabs__content__item.active {
        display: block !important;
    }

.bg__body__grey {
    background-color: var(--secondary-color);
}

.sec__title {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--color-text);
}

.products-sec {
    padding-bottom: 4.5rem !important;
}

.product__container {
    margin-top: -3rem;
}

.products__center {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.product__card {
    display: flex;
    flex-direction: column;
    background-color: var(--mainWhite);
    gap: 0.75rem 0;
    border-radius: 20px;
    height: 100%;
    overflow: hidden;
    padding: 1rem;
    transition: var(--mainTransition);
}

    .product__card:hover {
        box-shadow: 0 0 20px -3px #832d6b86;
        transform: translateY(-5px);
    }

    .product__card img {
        border-radius: 15px;
        width: 100%;
    }

    .product__card h3 {
        font-size: 1.25rem;
        text-align: center;
        font-weight: bold;
        color: var(--color-text);
    }

    .product__card .category-name {
        font-size: 0.65rem;
        color: #aaa8a8;
        margin: 1rem 0;
        text-align: center;
        width: 100%;
        display: block;
    }

    .product__card .btns .btn {
        font-size: 14px;
        width: 50%;
        gap: 0 3px;
    }

        .product__card .btns .btn svg path {
            stroke: var(--mainWhite);
            fill: none;
        }

        .product__card .btns .btn:hover svg path {
            stroke: var(--primary-color);
            fill: none;
        }

        .product__card .btns .btn.show-product svg path {
            stroke: var(--primary-color);
            fill: var(--primary-color);
            stroke-width: 0;
        }

        .product__card .btns .btn.show-product:hover svg path {
            stroke: var(--mainWhite);
            fill: var(--mainWhite);
        }

.product__show__more {
    position: absolute;
    height: 50px;
    bottom: -25px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.center__banner {
    position: relative;
    top: 1rem;
}

    .center__banner img {
        border-radius: 20px;
        width: 100%;
    }

.blogs__parent {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.article-card {
    position: relative;
    box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

    .article-card .card-breadcrumb {
        padding-right: 0.5rem;
        position: relative;
        display: flex;
        align-items: center;
    }

        .article-card .card-breadcrumb p {
            color: var(--primary-color);
            margin-bottom: 0;
        }

        .article-card .card-breadcrumb::before {
            content: "";
            position: absolute;
            display: block;
            background-color: var(--primary-color);
            width: 5px;
            height: 5px;
            right: 0;
            border-radius: 50%;
        }

    .article-card .date svg {
        width: 17px;
        height: 17px;
    }

    .article-card .date p {
        color: var(--primary-color);
        margin-bottom: 0;
    }

    .article-card img {
        height: auto;
        min-height: 300px;
        max-height: 400px;
        border-radius: 20px;
    }

    .article-card .internal-card {
        padding: 1rem;
        background-color: white;
        box-shadow: 0 5px 25px #0000003b;
        border-radius: 20px;
        color: #6c6c6c;
        font-size: 10px;
        position: absolute;
        bottom: 10px;
        width: calc(100% - 20px);
    }

        .article-card .internal-card h4,
        .article-card .internal-card h2 {
            color: var(--primary-color);
            font-size: 1rem;
            font-weight: bold;
        }

        .article-card .internal-card p {
            font-size: 10px;
        }

        .article-card .internal-card .read-more {
            color: var(--primary-color);
            font-size: 10px;
            font-weight: bold;
            text-align: left;
        }

.faq__accordion__parent {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.faq__accordion__col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq__accordion__item {
    transition: all 0.3s;
}

.faq__accordion__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--primary-color);
    border-radius: 30px;
    padding: 20px 20px 20px 1.5rem;
    position: relative;
    z-index: 1;
}

    .faq__accordion__header p {
        margin: 0;
        font-size: 1.1rem;
        color: var(--mainWhite);
        font-weight: bold;
        padding-left: 1rem;
    }

.faq__accordion__parent .chevron {
    margin-left: 0;
    width: 10px;
    height: 10px;
    border-color: var(--mainWhite);
}

.faq__accordion__body {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    font-size: 16px;
    color: var(--color-text);
    padding: 40px 20px 20px 20px;
    margin-top: -25px;
    background-color: #f2f2f2;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
}

.faq__accordion__item.active .faq__accordion__body {
    max-height: 100%;
}

.faq__accordion__body p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.faq__accordion__item.active .chevron {
    transform: rotate(45deg);
}

.customer__card {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    background-color: #fff;
    border-radius: 20px;
    margin: 5px;
    padding: 30px;
    box-shadow: 0 0 20px -3px #832d6b86;
    transition: var(--mainTransition);
}

@media (max-width: 768px) {
    .customer__card {
        padding: 20px;
    }
}

.customer__card:hover {
    transform: translateY(-5px);
}

.customer__card img {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

@media only screen and (max-width: 1200px) {
    .product-category__item .inner img {
        height: 50px;
    }

    .product-category__item .inner h2 {
        font-size: 14px;
    }
}

@media only screen and (max-width: 991px) {
    .bannerSlider {
        border-radius: 15px;
    }

    .product-category__parent {
        width: 90%;
        top: -4.5rem;
        grid-template-columns: repeat(6, 170px);
        overflow-x: auto;
    }

    .product__container {
        margin-top: -2rem;
    }

    .products__center {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .blogs__parent {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 768px) {
    .product-category__item .inner {
        gap: 1rem 0;
    }

    .products__center {
        gap: 0.75rem;
    }

    .article-card {
        border-radius: 15px;
    }

        .article-card .internal-card {
            padding: 0.75rem;
            bottom: 7.5px;
            width: calc(100% - 15px);
            border-radius: 15px;
        }

        .article-card img {
            min-height: 250px;
            max-height: 300px;
            border-radius: 15px;
        }

    .faq__accordion__parent {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 576px) {
    .product-category__parent {
        grid-template-columns: repeat(6, max-content);
        top: 0;
        width: 100%;
        padding: 0.5rem 0.25rem;
        border-radius: 15px;
        scroll-behavior: smooth;
    }

    .product-category__item {
        padding: 1rem;
    }

        .product-category__item .inner h2 {
            font-size: 0.9rem;
        }

        .product-category__item .inner img {
            height: 40px;
        }

    .product__container {
        margin-top: 0;
        padding-top: 2rem !important;
    }

    .products__center {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product__card {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
        gap: 0.25rem;
    }

    .product__card__img {
        grid-area: 1 / 1 / 6 / 2;
        display: flex !important;
    }

    .product__card__caption {
        grid-area: 1 / 2 / 3 / 3;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .product__card .btns {
        grid-area: 3 / 2 / 6 / 3;
        flex-direction: column;
        align-items: center;
        gap: 15px !important;
    }

        .product__card .btns .btn {
            width: 95%;
        }

    .product__card h3 {
        font-size: 1rem;
    }

    .product__card .category-name {
        margin: 0.25rem 0;
    }

    .center__banner img {
        border-radius: 15px;
    }

    .blogs__parent {
        display: grid;
        grid-template-columns: 1fr;
    }

    .faq__accordion__header p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .customer__card {
        border-radius: 15px;
    }

    .certificate__parent {
        grid-template-columns: repeat(2, auto);
    }

    .banner__slider .slick-list {
        padding-bottom: 1rem !important;
    }
}

.display-none {
    display: none;
}
