/* Target the grid inside the .needles-view */
.needles-view .items-grid {
    display: grid; /* Enable grid layout */
    /* Create responsive columns */
    gap: 70px; /* Add space between the grid items */
    margin-top: 70px; /* Add space above the grid */
    padding: 20px; /* Add padding around the grid */
}

/* Optionally shift items to the right or center them */
.needles-view .items-grid .item {
    margin-left: 10px; /* Shift items slightly to the right */
    margin-right: 10px; /* Add right margin to create space */
}

/* Style for individual items in the grid */
.needles-view .items-grid .item img {
    width: 100%; /* Ensure images fill their container */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Ensure images cover the space properly */
}

/* Optional: Adjust spacing in the text of each item */
.needles-view .items-grid .item .name,
.needles-view .items-grid .item .description {
    margin-top: -10px; /* Add space above text */
    margin-bottom: 10px; /* Add space below text */
}

/* Optionally adjust overall alignment */
.needles-view .items-grid {
    justify-items: center; /* Center all grid items */
}
/* Ensure no horizontal overflow on the body */
body {
    overflow-x: hidden; /* Prevents horizontal scrolling */
}
/* Individual item styling */
.items-grid .item#item-6 {
    position: relative;
    margin-right: 315px; /* Moves the item with id="item-6" 50px to the right */
}

/* Apply only within the grid container */
.items-grid #item-6::after {
    content: ""; /* Empty content for the pseudo-element */
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 210px; /* Height of the colored section */
    background-color: #d0e6f9; /* Soft light blue */
    z-index: -1; /* Places it behind the text */
}
/* Style for the industries section */
#item-6 .industries-section {
    font-size: 14px;
    margin-top: -700px; /* Keeps the positioning in place */
    margin-right: -800px; /* Keeps the positioning in place */
    position: relative; /* Make sure it remains in place */
    z-index: 1; /* Ensure it's on top of other elements */
}
/* Target details content */
#item-6 .details-content {
    right: 50px; /* Move the name to the right */
    position: relative;
}
/* Target only the item name for item 6 */
.item-6.item-name {
    position: relative;
    left: 60px; /* Move the name to the right */
    z-index: -1;
}
.card-adjust {
    position: relative;
    top: -40px; /* Moves the element 20px upwards */
}
/*items 7 Below*/
.items-grid #item-7::after {
    content: ""; /* Empty content for the pseudo-element */
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 210px; /* Height of the colored section */
    z-index: -1; /* Places it behind the text */
}
/* Style for the industries section */
#item-7 .industries-section {
    font-size: 14px;
    margin-top: -700px; /* Keeps the positioning in place */
    margin-right: -800px; /* Keeps the positioning in place */
    position: relative; /* Make sure it remains in place */
    z-index: 1; /* Ensure it's on top of other elements */
}
/* Target details content */
#item-7 .details-content {
    right: 50px; /* Move the name to the right */
    position: relative;
}
/* Target only the item name for item 6 */
.item-7.item-name {
    position: relative;
    left: 60px; /* Move the name to the right */
    z-index: -1;
}
.item-name.item-88 {
    position: relative;
    left: 140px; /* move left (increase the number for more shift) */
    white-space: nowrap; /* keep the name on one line */
}
#item-88 .industries-section {
    margin-top: -380px; /* Adjust vertical spacing */
    margin-left: 470px; /* Move section to the right if needed */
    font-size: 14px; /* Adjust font size */
    color: #2f2c2c; /* Text color */
    white-space: nowrap;
}
#item-88 .packaging-table {
    font-size: 14px; /* font size for packaging table */
    margin-left: 530px; /* optional, for some left padding */
    margin-top: -260px; /* optional, for some left padding */
}
#item-88 .packaging-header {
    margin-top: -230px; /* optional, for some left padding */
    margin-left: 650px; /* optional, for some left padding */
}
.item-name.item-92 {
    position: relative;
    left: 210px; /* move left (increase the number for more shift) */
    white-space: nowrap; /* keep the name on one line */
}
#item-92 .industries-section {
    margin-top: -360px; /* Adjust vertical spacing */
    margin-left: 470px; /* Move section to the right if needed */
    font-size: 14px; /* Adjust font size */
    color: #2f2c2c; /* Text color */
    white-space: nowrap;
}
#item-92 .packaging-table {
    font-size: 14px; /* font size for packaging table */
    margin-left: 530px; /* optional, for some left padding */
    margin-top: -260px; /* optional, for some left padding */
}
#item-92 .packaging-header {
    margin-top: -230px; /* optional, for some left padding */
    margin-left: 650px; /* optional, for some left padding */
}
.item-name.item-93 {
    position: relative;
    left: 110px; /* move left (increase the number for more shift) */
    white-space: nowrap; /* keep the name on one line */
}
#item-93 .industries-section {
    margin-top: -360px; /* Adjust vertical spacing */
    margin-left: 470px; /* Move section to the right if needed */
    font-size: 14px; /* Adjust font size */
    color: #2f2c2c; /* Text color */
    white-space: nowrap;
}
#item-93 .packaging-table {
    font-size: 14px; /* font size for packaging table */
    margin-left: 530px; /* optional, for some left padding */
    margin-top: -260px; /* optional, for some left padding */
}
#item-93 .packaging-header {
    margin-top: -230px; /* optional, for some left padding */
    margin-left: 650px; /* optional, for some left padding */
}
