/* =========================
   PRODUCTS PAGE
========================= */

html {
    scroll-behavior: smooth;
}

/* Filter Buttons */
.product-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.product-filter button {
    border: none;
    background: #f4f6f8;
    color: #444;
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-filter button.active,
.product-filter button:hover {
    background: #14aae8;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 42, 115, 0.2);
}

/* Product Card Wrapper Structure */
/* Product Card */
.product-wrapper {
    background: #fff;
    border-radius: 25px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Image Card Box (Inside Rounded Container) */
.product-image-card {
    background: #ffffff;
    border: 1px solid #edf0f4;
    border-radius: 24px;
    padding: 30px 20px;
    width: 100%;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.product-wrapper:hover .product-image-card {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.product-image-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-wrapper:hover .product-image-card img {
    transform: scale(1.04);
}

/* Outer Content Styling (Below Image Box) */
/* Category */
.product-category {
    margin-top: 15px;
    font-size: 14px;
    color: #8a8a8a;
}

/* Product Title */
.product-title {
    font-size: 20px;
    /* font-weight: 700; */
    color: #052a73;
    line-height: 1.4;
    margin: 10px 0 20px;

    /* Important */
    min-height: 90px;
}

/* Outer Pill Button */
/* Button always aligned */
.product-btn {
    margin-top: auto;
    align-self: flex-start;

    border: 1.5px solid #052a73;
    color: #052a73;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.product-btn:hover {
    background: #052a73;
    color: #fff;
}

.quality-list div {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #072b77;
}

.quality-list i {
    color: #14aae8;
    margin-right: 10px;
}

/* Animations for Filtering */
.product-item {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.product-item.show-card {
    animation: fadeInScale 0.4s ease forwards;
}

.product-item.hide-card {
    animation: fadeOutScale 0.3s ease forwards;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(10px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeOutScale {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.9);
    }
}

/* Quality Section */
.quality-section {
    background: #fff;
}

.quality-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.quality-text span {
    color: #14aae8;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.quality-text h2 {
    font-size: 42px;
    margin: 15px 0;
    color: #1c2536;
}

.quality-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.quality-text ul {
    list-style: none;
    padding: 0;
}

.quality-text ul li {
    margin-bottom: 15px;
    color: #444;
    font-weight: 500;
}

.quality-text ul li::before {
    content: "✓";
    color: #2bb673;
    font-weight: bold;
    margin-right: 10px;
}

.quality-image img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

/* Responsive */
@media (max-width: 991px) {
    .quality-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .quality-text h2,
    .products-cta h2 {
        font-size: 32px;
    }

    .product-image-card {
        height: 320px;
    }
}

@media (max-width: 768px) {

    .quality-text h2,
    .products-cta h2 {
        font-size: 28px;
    }

    .product-image-card {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .product-title {
        min-height: 75px;
        font-size: 20px;
    }

    .product-btn {
        width: 100%;
        text-align: center;
    }
}
