/* CSS for Applications Page */

/* Container for product tags grid */
.product-tags-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Styling each product tag box */
.product-tag-box {
    width: calc(20% - 20px); /* 20% width for 5 columns, with spacing adjustments */
    box-sizing: border-box;
    text-align: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    /*transition: box-shadow 0.3s ease;*/
    background-color: #fff;
}

/* Ensures a consistent size for product tag images */
.product-tag-image {
    width: 100%; /* Full width of the parent container */
    height: 150px; /* Fixed height for all images */
    overflow: hidden; /* Ensures no overflow */
    border-radius: 5px; /* Rounded corners for consistency */
    display: flex; /* Centers images if needed */
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0; /* Optional: Placeholder background color */
}

.product-tag-image img {
    width: 100%; /* Ensures the image fits horizontally */
    height: 100%; /* Ensures the image fits vertically */
    object-fit: cover; /* Crops the image while maintaining aspect ratio */
    border-radius: 5px; /* Matches the container */
}


/* Title and product count styling */
.product-tag-box h5 {
    font-size: 1.1em;
    margin: 10px 0 5px;
    color: #333;
}

.product-tag-box p {
    font-size: 0.9em;
    color: #666;
}

.applications-banner {
    background-color: #0077ee; /* Background color */
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    max-width: 2000px;
}

.applications-banner h1 {
    font-size: 2em;
    color: #ffffff; /* Customize text color */
}

/* Boxed styling for content wrapper */
.applications-content-wrapper {
    max-width: 2000px; 
    margin: 0 auto; 
    margin-top: 75px;
    padding: 20px; 
    background-color: #f9f9f9; 
}


.product-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .product-tag-box {
        width: calc(50% - 20px); /* Two columns on tablets */
    }
}

@media (max-width: 480px) {
    .product-tag-box {
        width: 100%; /* Full width on mobile */
    }
}
