/* Container and Gallery Styles */
.container-gallery {
    margin: 0 auto;
    width: 100%;
    transform: scale(0.9);
    margin-top: 4vw;
}

.app-title {
    color: white;
    font-size: 2vw;
    margin-left: 10vw;
}


.line-clamp-app {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 5vw;
    line-height: 1.5em;
    text-overflow: ellipsis;
}

.cards-containers::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	background-color: transparent;
}

.cards-containers::-webkit-scrollbar {
	width: 3px;
	background-color: transparent;
}

.cards-containers::-webkit-scrollbar-thumb {
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	background-color: #d62929;
}

.custom-container{
    padding-top: 2vw !important;
}
.gallery-wrap {
    display: flex;
    flex-direction: row;
    width: 80vw;
    height: 40vw;
    overflow: hidden;
    transition: width 0.8s ease;
    margin: 0vw auto;
}

/* Item Styles */
.item {
    flex: 1;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: flex 0.9s ease;
    position: relative;
    overflow: hidden;
    opacity: 1;
}

.item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: 0.3s ease-in-out;
}

.item:hover::before {
    background-color: rgba(128, 128, 128, 0);
}

.item:hover {
    cursor: pointer;
}

.item:not(.expanded):hover {
    flex: 6;
}

/* Item Top Bar Styles */
.item-top-bar {
    transform: rotate(90deg);
    position: absolute;
    left: 1.5vw;
    transform-origin: left center;
    transform: translateY(-50%) rotate(90deg);
    z-index: 10;
    width: 43vw;
    top: 0%;
    background-color: #00000080;
}

.item-top-bar h1 {
    font-size: 2vw;
    padding: 1vw;
    text-align: center;
    color: white;
    transition: 0.3s ease-in-out;
}

/* Application Inner Content Styles */
.application-inner-content {
    display: none;
    position: absolute;
    right: -100%;
}

.item.expanded .application-inner-content {
    right: 0;
    position: absolute;
    opacity: 0;
    transition: right 0.8s ease, opacity 0.8s ease;
    display: block;
    width: 100%;
}

.item.expanded .application-inner-content {
    right: 0;
    opacity: 1;
}

.hidden-item {
    display: none;
}

/* Item Background Images */
.item-1 { background-image: url('../images/application-page/application-img-5.png'); }
.item-2 { background-image: url('../images/application-page/application-img-1.png'); }
.item-3 { background-image: url('../images/application-page/application-img-2.png'); }
.item-4 { background-image: url('../images/application-page/application-img-3.png'); }
.item-5 { background-image: url('../images/application-page/application-img-4.png'); }

/* Application Category Styles */

.Food-and-Beverage,
.Pharmaceutical,
.Environment,
.chemical,
.Industrial {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    max-width: 100%;
    height: 85%;
    position: absolute;
    top: 0;
    left: 0;
    width: 20vw;
    transition: background-position 0.3s ease-in-out;
    perspective: 1000px;
    z-index: 100;
}

.Food-and-Beverage { background-image: url(../images/application-page/application-img-5.png); }
.Pharmaceutical { background-image: url('../images/application-page/application-img-1.png'); }
.Environment { background-image: url('../images/application-page/application-img-2.png'); }
.chemical { background-image: url('../images/application-page/application-img-3.png'); }
.Industrial { background-image: url('../images/application-page/application-img-4.png'); }




/* Product List and Card Styles */
.product-list-application {
    height: 52vw;
    overflow: hidden;
    padding-right: 2vw;
}

.product-card-application {
    transition: transform 0.2s ease-in-out;
}

/* Info Box Styles */
.info-box {
    padding: 1.5vw 0;
    margin-top: 1vw;
}

.info-box p {
    width: 25vw;
    background-color: #007bff;
    color: white;
    padding: 3vw 1.5vw !important;
    border-radius: 2vw !important;
    font-style: italic;
    font-size: 1.3vw;
}

.info-box h3 {
    font-size: 1.2vw;
    margin-bottom: 10px;
}

.info-box i {
    font-size: 1.2vw;
    margin-right: 10px;
}

/* Product Image Styles */
.product-image img {
    width: 13vw;
    height: auto;
    object-fit: cover;
}



.product-image {
    border: 0.1vw solid white;
    padding: 0.8vw;
    margin: 1vw auto !important;
}

/* Title and Content Styles */
.Inner-title {
    font-weight: 700;
    font-size: 2vw;
    text-transform: uppercase;
    margin-bottom: 2vw;
}

.inner-content {
    font-size: 1vw;
    font-weight: 300;
}

/* Cards Container Styles */
.cards-containers {
    overflow-y: scroll;
    height: 38vw;
    position: relative;
    z-index: 300;
    overflow-x: hidden;
    z-index: 100;
}



/* Product Info Styles */
.product-info {
    height: auto;
    width: 18vw;
    margin-left: 2vw;
    padding: 1vw 0px;
}

.product-info h4 {
    font-size: 1.5vw;
    font-weight: 700;
    border-bottom: 1px solid white;
    padding-bottom: 0.5vw;
}
.product-info a {
    color: white !important;
    font-size: 1vw;
}
.product-info p {
    font-size: 0.9vw;
    color: whitesmoke;
}

/* Close Button Styles */
.close-btn-app {
    position: absolute;
    top: 1vw;
    right: 2vw;
    padding: 1vw 1.5vw;
    background-color: transparent;
    color: white;
    border: none;
    border-radius: 3vw;
    transition: background-color 0.3s ease;
    z-index: 500;
    font-size: 1.5rem;
}

.close-btn-app:hover {
    transform: scale(1.05);
}

/* Miscellaneous Styles */
.gt-title {
    gap: 1vw;
    margin: 0.5vw;
}

.application-details {
    margin-bottom: 12vw;
}

/*.footer-sidebar{*/
/*    display:none;*/
/*}*/

.category-image-container img {
    width: 19vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    object-fit: cover;
    object-position: center;
}

.sticky-sidebar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex ;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px 0 0 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    z-index: 1000;
}
.sticky-sidebar a {
  margin: 10px 0;
  display: block;
}

.sticky-sidebar img {
    width: 4vw;
    height: auto;
    object-fit: cover;
}
.hr-stickey-sidebar {
  width: 80%;
  border: none;
  border-top: 1px solid #ccc;
  margin: 10px 0;
}

.sticky-sidebar i{
    font-size:2vw;
    color:#ff0f39;
}
