/* Top Container Style Starts */
.top_container {
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(1, 38, 83, 4.9);
    background: linear-gradient(180deg, rgba(1, 38, 83, 0.75) 0%, rgba(1, 38, 83, 0.75) 10%, rgba(1, 38, 83, 1) 70%);
    clip-path: polygon(0 0,
            100% 0,
            100% 82%,
            85% 88%,
            50% 95%,
            15% 88%,
            0 82%);
    -webkit-clip-path: polygon(0 0,
            100% 0,
            100% 82%,
            85% 88%,
            50% 95%,
            15% 88%,
            0 82%);
}

.top_container .heading {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.top_container .heading h2 {
    width: 100%;
    font-family: var(--font-family-bold);
    font-size: var(--heading-font-size);
    color: white;
    text-wrap: wrap;
    text-align: center;
}

.top_container .heading p {
    width: 100%;
    font-family: var(--font-family-light);
    font-size: 20px;
    color: white;
    text-wrap: wrap;
    text-align: center;
}

/* Top Container Style Ends */

/* Our Products Section Style Starts --------------------------------------*/
section.our_products {
    width: 100%;
    padding-inline: var(--paddingHorizontal);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

section.our_products .products_container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-block: 50px;
}

section.our_products .products_container .product_card {
    background: #ffffff;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 16%, rgba(255, 255, 255, 0) 80%, rgba(1, 38, 83, 0.4) 100%);

    flex: 1 0 calc((100% - 20px) / 3);
    padding: 10px;
    border-top: 10px solid var(--secondary-color);
    height: 300px;
    /* background-color: var(--primary-color); */
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

section.our_products .products_container .product_card .image_container {
    height: 100%;
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

section.our_products .products_container .product_card .image_container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: scale 0.3s ease;
}

section.our_products .products_container .product_card:hover>.image_container img {
    scale: 1.1;
}

section.our_products .products_container .product_card .content {
    flex: 1 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
}

section.our_products .products_container .product_card .content h3 {
    width: 100%;
    font-family: var(--font-family-bold);
    font-size: var(--subheading-font-size);
    color: var(--secondary-color);
    text-wrap: wrap;
    text-overflow: ellipsis;
}

section.our_products .products_container .product_card .content p {
    width: 100%;
    font-family: var(--font-family-light);
    font-size: 15px;
    color: var(--text-color);
    text-wrap: wrap;
    display: flex;
    align-items: center;
}

section.our_products .products_container .product_card .content a {
    text-decoration: none;
    padding: 7px 24px;
    background-color: var(--secondary-color);
    border: 0.5px solid var(--secondary-color);
    color: #fff;
    font-size: 14px;
    font-family: var(--font-family-bold);
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, border-radius 0.3s;
    border-radius: 5px;
}

section.our_products .products_container .product_card .content a:hover {
    border-radius: 25px;
    background-color: white;
    color: var(--secondary-color);
}

/* Our Products Section Style Ends --------------------------------------*/

/* Responsive Styles Starts ----------------------------------------------- */
/* Mobile (max 767px) */
@media (max-width: 767px) {

    /* Top Container Style Starts */
    .top_container {
        width: 100%;
        height: 250px;
        padding-inline: var(--paddingHorizontal);
    }

    .top_container .heading p {
        font-size: 14px;
    }

    /* Top Container Style Ends */

    /* Our Products Section Style Starts --------------------------------------*/
    section.our_products .products_container {
        gap: 15px;
    }

    section.our_products .products_container .product_card {
        padding: 7px;
        height: auto;
        gap: 7px;
    }

    section.our_products .products_container .product_card .image_container {
        width: 140px;
    }

    section.our_products .products_container .product_card .content h3 {
        font-size: 15px;
    }

    section.our_products .products_container .product_card .content p {
        font-size: 10px;
    }

    section.our_products .products_container .product_card .content a {
        padding: 5px 17px;
        font-size: 10px;
    }

    /* Our Products Section Style Ends --------------------------------------*/

}

/* Tablet (768px–1023px) */
@media (min-width: 768px) and (max-width: 1023px) {

    /* Top Container Style Starts */
    .top_container {
        width: 100%;
        height: 275px;
        padding-inline: var(--paddingHorizontal);
    }

    .top_container .heading p {
        font-size: 19px;
    }

    /* Top Container Style Ends */


    /* Our Products Section Style Starts --------------------------------------*/
    section.our_products .products_container {
        gap: 15px;
    }

    section.our_products .products_container .product_card {
        padding: 7px;
        height: 260px;
        gap: 7px;
    }

    section.our_products .products_container .product_card .image_container {
        width: 140px;
    }

    section.our_products .products_container .product_card .content h3 {
        font-size: 15px;
    }

    section.our_products .products_container .product_card .content p {
        font-size: 10px;
    }

    section.our_products .products_container .product_card .content a {
        padding: 5px 17px;
        font-size: 10px;
    }

    /* Our Products Section Style Ends --------------------------------------*/

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {

    /* Our Products Section Style Starts --------------------------------------*/
    section.our_products .products_container {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    section.our_products .products_container .product_card {
        padding: 7px;
        height: 300px;
        gap: 7px;
    }

    section.our_products .products_container .product_card .image_container {
        width: 175px;
    }

    section.our_products .products_container .product_card .content p {
        font-size: 13px;
    }

    section.our_products .products_container .product_card .content a {
        padding: 7px 20px;
        font-size: 12px;
    }

    /* Our Products Section Style Ends --------------------------------------*/

}