

body{
font-family:Arial, Helvetica, sans-serif;
}
html {
    scroll-behavior: smooth;
}

.hero-video{
position:relative;
height:100dvh;
min-height:500px;
overflow:hidden;
display:flex;
align-items:center;
justify-content:center;
}

@media screen and (max-width:768px){
.hero-video{
height:70vh;
min-height:380px;
}

.hero-fallback{
background-position:center top;
}
}

.hero-bg-video{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit:cover;
z-index:1;
}

.hero-overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
z-index:2;
}

.hero-fallback{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background-image:url('../images/heroimage.png');
background-position:center center;
background-size:cover;
background-repeat:no-repeat;
z-index:1;
}
.hero-img{
width:100%;
height:100%;
object-fit:cover;
}

.hero-content{
position:relative;
z-index:2;
}


.feature-box{
padding:25px;
border-radius:10px;
transition:0.3s;
}

.feature-box:hover{
background:#f8f9fa;
}

.product-card{
transition:0.3s;
}

.product-card:hover{
transform:translateY(-10px);
box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

.stats{
background:#222;
padding:60px 0;
}

.testimonial{
padding:25px;
background:white;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.cta{
background:#111;
padding:70px 20px;
}

.footer-link{
color:#ccc;
text-decoration:none;
}

.footer-link:hover{
color:white;
}
.navbar .nav-link.active {
    color: #ffc107 !important;
    font-weight: 600;
    position: relative;
}

.navbar .nav-link.active::after {
    content: "";
    position: absolute;
    width: 60%;
    height: 2px;
    background: #ffc107;
    left: 20%;
    bottom: -5px;
}
/* --- about us --- */
.page-header{
  height: 150px;
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
              url('../images/bannerimage.png') center/cover no-repeat;
}
.about-card{
  background:white;
  border-radius:10px;
  transition:0.3s;
}

.about-card:hover{
  transform:translateY(-5px);
}
.timeline {
  position: relative;
  max-width: 800px;
  margin: auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: #ffc107;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
/* --- product Page --- */
.product-card{
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  transition:0.4s;
}

.product-card img{
  height:250px;
  object-fit:cover;
  width:100%;
}

.product-card:hover{
  transform:translateY(-10px);
  box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

.product-filters button{
  margin:5px;
  border-radius:30px;
}
.process-box{
  padding:30px;
  background:#f8f9fa;
  border-radius:10px;
  transition:0.3s;
}

.process-box:hover{
  background:#ffc107;
  color:#000;
}
/* --- Factory page --- */
.capacity-box{
  background:#fff;
  padding:30px;
  border-radius:10px;
  transition:0.3s;
  box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

.capacity-box:hover{
  transform:translateY(-8px);
  box-shadow:0 15px 35px rgba(0,0,0,0.15);
}
/* --- Gallery page --- */
.gallery-item{
  position:relative;
  overflow:hidden;
  border-radius:10px;
}

.gallery-item img{
  transition:0.4s;
  width:100%;
  height:300px;
  object-fit:cover;
}

.gallery-overlay{
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  background:linear-gradient(transparent, rgba(0,0,0,0.8));
  color:#fff;
  padding:20px;
  transform:translateY(100%);
  transition:0.4s;
}

.gallery-item:hover img{
  transform:scale(1.1);
}

.gallery-item:hover .gallery-overlay{
  transform:translateY(0);
}
/* --- Contact page --- */
.contact-info-box{
  background:#fff;
  padding:30px;
  border-radius:10px;
  box-shadow:0 5px 15px rgba(0,0,0,0.05);
  transition:0.3s;
}

.contact-info-box:hover{
  transform:translateY(-8px);
  box-shadow:0 15px 35px rgba(0,0,0,0.15);
}
.map-container{
  overflow:hidden;
  border-radius:10px;
}
.contact-form-box{
  background:#ffffff;
}

.contact-form-box input,
.contact-form-box textarea{
  border-radius:8px;
  padding:12px;
  border:1px solid #ddd;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus{
  border-color:#ffc107;
  box-shadow:none;
}
