/* ================= HERO ================= */

.hero{
height:500px;
background:url("../images/manufacture banner.png") center/cover no-repeat;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
color:white;
position:relative;
overflow:hidden;
}

.hero::after{
content:"";
position:absolute;
inset:0;
background:rgba(0,0,0,0.25);
}

.hero div{
position:relative;
z-index:2;
animation:fadeUp 1s ease;
}

.hero h1{
font-size:55px;
margin-bottom:10px;
}

.hero p{
font-size:16px;
opacity:0.9;
}

/* ================= MANUFACTURING ================= */

.manufacturing{
padding:80px 0;
}

.manufacturing-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
}

/* LEFT IMAGE */

.design{
text-align:center;
animation:fadeLeft 1s ease;
}

.design img{
width:100%;
max-width:400px;
transition:transform .4s ease;
}

.design img:hover{
transform:scale(1.05) rotate(2deg);
}

/* CONTENT */

.content{
max-width:550px;   /* 🔥 FIX: equal text width */
animation:fadeRight 1s ease;
}

.content h2{
font-size:36px;
margin-bottom:10px;
}

.content h4{
font-size:18px;
margin-bottom:20px;
font-weight:500;
}

.content p{
line-height:1.8;
color:#555;
margin-bottom:15px;
text-align:justify;   /* 🔥 equal ending */
}

/* ================= FEATURES ================= */

.features{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:20px;
padding:60px 20px;
background:url("../images/manufact small banner.png") center/cover no-repeat;
}

.feature{
flex:1;
min-width:260px;
max-width:350px;
padding:60px 30px;
text-align:center;
color:white;
border-radius:16px;
transition:.4s;
position:relative;
overflow:hidden;
animation:fadeUp 1s ease;
}

/* shine effect */
.feature::before{
content:"";
position:absolute;
inset:0;
background:linear-gradient(120deg,transparent,rgba(255,255,255,0.4),transparent);
transform:translateX(-100%);
transition:.6s;
}

.feature:hover::before{
transform:translateX(100%);
}

.feature:hover{
transform:translateY(-10px);
box-shadow:0 15px 30px rgba(0,0,0,0.3);
}

.feature h1{
font-size:60px;
margin-bottom:20px;
opacity:0.85;
}

.feature p{
font-size:14px;
line-height:1.7;
}

/* ================= ANIMATIONS ================= */

@keyframes fadeUp{
from{
opacity:0;
transform:translateY(40px);
}
to{
opacity:1;
transform:translateY(0);
}
}

@keyframes fadeLeft{
from{
opacity:0;
transform:translateX(-60px);
}
to{
opacity:1;
transform:translateX(0);
}
}

@keyframes fadeRight{
from{
opacity:0;
transform:translateX(60px);
}
to{
opacity:1;
transform:translateX(0);
}
}

/* ================= RESPONSIVE ================= */

/* tablets */
@media(max-width:992px){

.hero{
height:400px;
}

.hero h1{
font-size:40px;
}

.manufacturing-grid{
grid-template-columns:1fr;
text-align:center;
}

.content{
margin:auto;
}

}

/* mobiles */
@media(max-width:768px){

.hero{
height:350px;
}

.hero h1{
font-size:32px;
}

.hero p{
font-size:14px;
}

.features{
padding:40px 15px;
}

.feature{
text-align:center;
}

}

/* small mobiles */
@media(max-width:576px){

.hero{
height:300px;
}

.hero h1{
font-size:26px;
}

.hero p{
font-size:12px;
}

.content h2{
font-size:28px;
}

.content h4{
font-size:16px;
}

}