.home_page_industries .hover-content-wrapper {
    overflow: hidden;
}

.home_page_industries .industry-item {
    overflow: hidden;
    min-height: 600px;
}

/* Shared transitions */
.home_page_industries .industry_bg_img,
.home_page_industries .hover-content-text,
.home_page_industries .hover-btn,
.industry_bg_img,
.industry_bg_img::after,
.industry_bg_img img {
    transition: all 0.35s ease-in-out;
}

/* Hidden state */
.home_page_industries .hover-content-text,
.home_page_industries .hover-btn {
    opacity: 0;
}

.home_page_industries .hover-content-text {
    transform: translateX(100%);
}

.home_page_industries .hover-btn {
    transform: translateY(100%);
    opacity: 0.5;
}

/* Visible state */
.home_page_industries .content-ready.is-hover .hover-content-text,
.home_page_industries .content-ready.is-hover .hover-btn {
    transform: translate(0);
    opacity: 1;
}

/* Background image */
.industry_bg_img {
    position: relative;
}

.industry_bg_img::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.9;
    background: linear-gradient(
        0deg,
        rgba(3, 23, 37, 0) 20%,
        rgba(15, 67, 107, 1) 90%
    );
}

.industry_bg_img img {
    height: 600px;
    object-fit: cover;
    transform-origin: center;
}

/* Hover effects */
.home_page_industries .industry-item.is-hover .industry_bg_img img {
    transform: scale(2);
    filter: blur(10px);
}

.home_page_industries .industry-item.is-hover .industry_bg_img::after {
    background: #0B568B;
    opacity: 0.8;
}

.industry-item{
    clip-path: polygon(87% 0, 100% 11%, 100% 100%, 0 100%, 0 0);

}

.industry-item.is-hover:nth-of-type(4) .industry_bg_img{
    transform: translatex(-120%);
}

.industry-item.is-hover:nth-of-type(4) .industry_bg_img img{
        transform: scale(1);

}

.industry-item.is-hover:nth-of-type(5) .industry_bg_img{
    transform: translateY(-120%);
}

.industry-item.is-hover:nth-of-type(5) .industry_bg_img img{
        transform: scale(1);

}

.industry-item.is-hover:nth-of-type(6) .industry_bg_img{
    transform: translatex(120%);
}

.industry-item.is-hover:nth-of-type(6) .industry_bg_img img{
        transform: scale(1);

}

.home__product-item:hover{
    transform: scale(1.01);
    box-shadow: 0px 10px 15px -8px rgba(0,0,0,0.1);
}

.homepage__product_tabs .home__product-item{
    min-width: 380px;
}

.homepage__product_tabs .e-flex{
    overflow: hidden;
}

.homepage__product_tabs .e-flex .e-con-inner{
    overflow-x: scroll;
    overflow-y: hidden;
    padding-bottom: 40px;
}


body, html{
    overflow-x: hidden;
}

.homepage__product_tabs .e-flex .e-con-inner {
  scrollbar-width: 5px;
  scrollbar-color: #0ea5e9 #dcdf9;
}

/* Legacy WebKit — older Chrome/Edge/Safari, radius, borders & shadows */
.homepage__product_tabs .e-flex .e-con-inner::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.homepage__product_tabs .e-flex .e-con-inner::-webkit-scrollbar-track {
  background-color: #dcdf9;
  border-radius: 5px;
  padding: 2px;
}

.homepage__product_tabs .e-flex .e-con-inner::-webkit-scrollbar-track:hover {
  background-color: #bae6fd;
}

.homepage__product_tabs .e-flex .e-con-inner::-webkit-scrollbar-track:active {
  background-color: #7dd3fc;
}

.homepage__product_tabs .e-flex .e-con-inner::-webkit-scrollbar-thumb {
  background-color: #0ea5e9;
  border-radius: 8px;
  min-height: 10px;
}

.homepage__product_tabs .e-flex .e-con-inner::-webkit-scrollbar-thumb:hover {
  background-color: #0284c7;
}

.homepage__product_tabs .e-flex .e-con-inner::-webkit-scrollbar-thumb:active {
  background-color: #0369a1;
}

.homepage__product_tabs .e-flex .e-con-inner::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.products-mega-menu a{
    position: relative;
}

.products-mega-menu a::before{
    height: 7px;
    width: 7px;
    content: "";
    background: transparent;
    top: 50%;
    right:7px;
    position: absolute;
    z-index: 2;
    opacity: 1 !important;
    border: 2px solid #fff;
    border-left: none;
    border-top: none;
    transform: rotate(45deg) translatey(-50%);
    transform-origin: center center;
}

.products-mega-menu a:hover::before{
    transform: rotate(225deg) translatey(0%);
}

/* hover boxes about us page */

.hv-bx .hv-bx-title h2,
.hv-bx .hv-bx-desc p {
    transition: color 0.8s ease;
}

.hv-bx .hv-bx-img img {
    opacity: 1;
    transition: opacity 0.8s ease;
}

.hv-bx:hover .hv-bx-title h2,
.hv-bx:hover .hv-bx-desc p {
    color: #fff !important;
}

.hv-bx:hover .hv-bx-img img {
    opacity: 0;
}

/* Main container */
.hv-bx {
    position: relative;
    overflow: hidden;
}

.hv-bx::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #0055a5; /* hover color */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 0;
}

.hv-bx:hover::before {
    opacity: 0.3;
}

.hv-bx > * {
    position: relative;
    z-index: 1;
}

