
/* ==============================
   AV Industry Tabs Section
============================== */

.av-industry-section{
/*    padding:30px 10px;
    background:#f5f7fb;*/
       border-radius: 16px;
    margin-bottom: 50px;
}

.av-industry-container{
    max-width:1360px;
    margin:auto;
}

/* Tabs */
.av-industry-tabs{
    position:relative;
    display:flex;
    justify-content:start;
    gap:8px;
    padding:0px;
    margin-bottom:0px;

}
	/* Sliding glass highlight */
.av-glass-indicator{
    position:absolute;
    top:3px;
    left:0;
    height:calc(100% - 3px);
    z-index:1;
	background: #17479c;
/*    background:linear-gradient(135deg,#1a4fb3,#15438e);
    box-shadow:
        inset 0 1px 2px rgba(255,255,255,0.3),
        0 6px 18px rgba(21,67,142,0.35);*/
	-webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    /* Elastic feel */
/*    transition:
        transform .45s cubic-bezier(.34,1.56,.64,1),
        width .35s ease;*/
	transition: none !important;
}
.av-industry-tab{
    position:relative;
    z-index:2;
    padding:10px 26px;
    font-weight:600;
    color:#0b2a5b;
    cursor:pointer;
-webkit-border-top-left-radius: 8px;
-webkit-border-top-right-radius: 8px;
-moz-border-radius-topleft: 8px;
-moz-border-radius-topright: 8px;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
    /* Smooth transitions */
    transition:
        transform .35s cubic-bezier(.25,.8,.25,1),
        color .25s ease,
        text-shadow .25s ease,
        box-shadow .35s ease;
}

.av-industry-tab.active{
    color:#fff;
    transform:translateY(0px);
}
	/* Glass hover shine */
.av-industry-tab:hover{
    transform: translateY(0px) scale(1);
    text-shadow:0 2px 6px rgba(0,0,0,0.08);
}



/* Content */

.av-ind-bg1{ background: linear-gradient(rgb(42, 91, 169), rgba(23,71,156,.85)), url("https://www.avalontec.com/wp-content/uploads/sites/8/2026/images/clean-eng-background.jpg") no-repeat left center / cover !important;
}
.av-ind-bg2{ background: linear-gradient(rgb(42, 91, 169), rgba(23,71,156,.85)), url("https://www.avalontec.com/wp-content/uploads/sites/8/2026/images/mobility-background.jpg") no-repeat left center / cover !important;
}

.av-industry-content{
    display: none;
    animation: fadeDown .5s ease;
    padding: 30px 30px;
    -webkit-border-radius: 8px;
-webkit-border-top-left-radius: 0;
-moz-border-radius: 8px;
-moz-border-radius-topleft: 0;
border-radius: 8px;
border-top-left-radius: 0;
/*   background: #17479c;*/
  position:relative;
  overflow:hidden;
  min-height:420px;

}

.av-industry-content.active{
    display:block;
}

@keyframes fadeUp{
    from{opacity:0; transform:translateY(-20px);}
    to{opacity:1; transform:translateY(0);}
}

@keyframes fadeDown{
    from{
        opacity:0;
        transform:translateY(-1px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* Layout */
.av-industry-grid{
    display:grid;
    grid-template-columns:0.9fr 1.1fr;
    gap:40px;
    align-items:self-start;
}

/* Text */
.av-industry-text h3{
    color:#fff;
    font-size:28px;
    margin-bottom:15px;
}

.av-industry-text p{
    color:#fff;
    line-height:1.6;
    font-size:16px;
}

/* Slider */
.av-slider{
    position:relative;
    overflow:hidden;
    border-radius:12px;
    height:420px;
}

.av-slider-track{
    display:flex;
    height:100%;
    transition:transform .5s ease;
}

.av-slide{
    min-width:100%;
    height:100%;
}

.av-slide img{
    width:100%;
    height:auto;
    object-fit:cover;
    border-radius:12px;
}

/* Arrows */
.av-slider-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:rgba(0,0,0,0.5);
    color:#fff;
    border:none;
    width:36px;
    height:36px;
    cursor:pointer;
    border-radius:50%;
}

.av-prev{ left:10px; }
.av-next{ right:10px; }


.av-prev.disabled,
.av-next.disabled{
    opacity:0.35;
    pointer-events:none;
    cursor:default;
}



/* Default tab background */
.av-industry-tab{
    background:#f2f2f2;
}

/* Active tab */
.av-industry-tab.active{
    background:#2a5ba9 !important;
    color:#fff !important;
}

/* When hovering container → dim all tabs */
.av-industry-tabs:hover .av-industry-tab{
    background:#e4e4e4;
    color:#333;
}





/* Responsive */
@media(max-width:900px){
	.av-glass-indicator{width: auto !important;}
	.av-industry-tab {
  background: #f2f2f2;
  margin-top: 2px;
  border-radius: 0;
}
	.av-industry-content{-webkit-border-radius: 8px;
-webkit-border-top-left-radius: 0;
-moz-border-radius: 8px;
-moz-border-radius-topleft: 0;
border-radius: 8px;
border-top-left-radius: 0;}	
	.av-industry-section{padding: 20px;  margin-bottom: 20px;}
	
	.av-industry-tabs{/*background: rgba(186, 229, 255, 0.6);*/border: 0px solid #dfdfdf;}
	
	
    .av-industry-grid{
        grid-template-columns:1fr;
    }
    .av-slider{
        height:372px;
    }
	.av-industry-tabs{
        justify-content:flex-start;
        overflow-x:auto;
        flex-wrap:nowrap;
        gap:2px;
        padding:0px;
       
        /* Smooth scroll */
        scroll-behavior:smooth;
        -webkit-overflow-scrolling:touch;
    }

    /* Hide scrollbar */
    .av-industry-tabs::-webkit-scrollbar{
        display:none;
    }
    .av-industry-tabs{
        scrollbar-width:none;
    }

    .av-industry-tab{
        flex:0 0 auto;
        white-space:nowrap;
        padding:10px 20px;
        font-size:15px;
		-webkit-border-top-left-radius: 8px;
-webkit-border-top-right-radius: 8px;
-moz-border-radius-topleft: 8px;
-moz-border-radius-topright: 8px;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
    }
}

@media(max-width:600px){
	 .av-slider {
    height: auto;
  }
	
	.av-industry-tab {
  background: #f2f2f2;
  margin-top: 2px;
  border-radius: 0;
}
    .av-industry-tab{
        width:100%;
        text-align:left;
        padding:16px 16px;
    }
	 .av-industry-tabs{
        flex-direction:column;   /* vertical */
        align-items:stretch;
        border-radius:20px;
        padding:12px;
        gap:0px;
    }
    .av-glass-indicator{
		height: 58px;
 width: calc(100% - 24px) !important;
  transform: translateY(14px) !important;
         left:12px;
        width:calc(100% - 12px);
        top:1px;
        height:auto;
        border-radius:0px;
    }
	
	.av-industry-tab.active {
  color: #fff;
  transform: translateY(0px);
}
	.av-industry-tabs{margin-bottom: 35px;}

}
