/*=============================
Plastic Fiber Company
Premium Business Website
=============================*/

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

body{
background:#f5f9ff;
color:#222;
overflow-x:hidden;
}

/* Loader */

#loader{
position:fixed;
width:100%;
height:100%;
background:#fff;
display:flex;
justify-content:center;
align-items:center;
z-index:9999;
}

.spinner{
width:60px;
height:60px;
border:6px solid #ddd;
border-top:6px solid #0066ff;
border-radius:50%;
animation:spin 1s linear infinite;
}

@keyframes spin{

100%{
transform:rotate(360deg);
}

}

/* Navbar */

header{
position:fixed;
width:100%;
top:0;
left:0;
z-index:999;
transition:.4s;
}

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 8%;
background:rgba(255,255,255,.92);
backdrop-filter:blur(12px);
box-shadow:0 5px 25px rgba(0,0,0,.08);
}

.logo{
display:flex;
align-items:center;
gap:10px;
}

.logo img{
width:55px;
}

.logo h2{
color:#0066ff;
font-size:25px;
}

.nav-links{
display:flex;
list-style:none;
}

.nav-links li{
margin-left:35px;
}

.nav-links a{
text-decoration:none;
color:#222;
font-weight:600;
position:relative;
transition:.3s;
}

.nav-links a:hover{
color:#0066ff;
}

.nav-links a::after{
content:'';
position:absolute;
left:0;
bottom:-6px;
width:0%;
height:3px;
background:#0066ff;
transition:.4s;
}

.nav-links a:hover::after{
width:100%;
}

.menu-btn{
display:none;
font-size:28px;
cursor:pointer;
color:#0066ff;
}

/* Hero */

.hero{
height:100vh;
background:linear-gradient(rgba(0,70,180,.65),
rgba(0,70,180,.65)),
url('../images/hero.jpg');
background-size:cover;
background-position:center;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
padding:20px;
color:white;
}

.hero-content{
animation:fadeUp 1.3s;
}

.hero h1{
font-size:60px;
margin-bottom:20px;
}

.hero p{
font-size:20px;
margin-bottom:35px;
}

.btn,
.btn2{
display:inline-block;
padding:15px 35px;
border-radius:40px;
text-decoration:none;
font-weight:bold;
transition:.4s;
margin:10px;
}

.btn{
background:#fff;
color:#0066ff;
}

.btn:hover{
background:#0066ff;
color:#fff;
transform:translateY(-6px);
}

.btn2{
background:transparent;
border:2px solid #fff;
color:white;
}

.btn2:hover{
background:#fff;
color:#0066ff;
}

/* About */
.about{

padding:100px 8%;
background:#f8fbff;

}

.about-container{

display:flex;
align-items:center;
justify-content:space-between;
gap:60px;
flex-wrap:wrap;

}

.about-image{

flex:1;

}

.about-image img{

width:100%;
border-radius:20px;
box-shadow:0 20px 50px rgba(0,0,0,.15);
transition:.5s;

}

.about-image img:hover{

transform:scale(1.05);

}

.about-content{

flex:1;

}

.sub-title{

color:#0077ff;
font-weight:600;
letter-spacing:2px;

}

.about-content h2{

font-size:45px;
margin:20px 0;

}

.about-content h2 span{

color:#0077ff;

}

.about-content p{

line-height:1.9;
color:#555;
margin-bottom:35px;

}

.about-features{

display:flex;
flex-direction:column;
gap:20px;

}

.feature{

display:flex;
gap:18px;
background:white;
padding:20px;
border-radius:15px;
box-shadow:0 8px 25px rgba(0,0,0,.08);
transition:.4s;

}

.feature:hover{

transform:translateX(10px);

}

.feature i{

font-size:32px;
color:#0077ff;

}

.about-btn{

display:inline-block;
margin-top:35px;
padding:15px 35px;
background:#0077ff;
color:white;
text-decoration:none;
border-radius:40px;
transition:.4s;

}

.about-btn:hover{

background:#0055cc;
transform:translateY(-5px);

}

@media(max-width:991px){

.about-container{

flex-direction:column;

}

.about-content h2{

font-size:35px;

}

}
/* Products */

.products{
padding:100px 8%;
background:white;
}

.products h2{
text-align:center;
font-size:42px;
color:#0066ff;
margin-bottom:50px;
}

.product-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
}

.card{
background:white;
border-radius:15px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:.4s;
}

.card:hover{
transform:translateY(-10px);
box-shadow:0 20px 40px rgba(0,0,0,.18);
}

.card img{
width:100%;
height:250px;
object-fit:cover;
transition:.5s;
}

.card:hover img{
transform:scale(1.08);
}

.card h3{
padding:20px;
color:#0066ff;
}

.card p{
padding:0 20px 25px;
}



/*=========================
Gallery
=========================*/

#gallery{
    padding:100px 8%;
    background:#f5f9ff;
}

#gallery h2{
    text-align:center;
    font-size:42px;
    color:#0066ff;
    margin-bottom:50px;
}

.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
}

.gallery img{
    width:100%;
    height:260px;
    object-fit:cover;
    border-radius:15px;
    cursor:pointer;
    transition:.5s;
    box-shadow:0 10px 20px rgba(0,0,0,.08);
}

.gallery img:hover{
    transform:scale(1.05);
    box-shadow:0 20px 35px rgba(0,0,0,.18);
}

/*=========================
Contact
=========================*/

.contact{
    padding:100px 8%;
    background:white;
}

.contact h2{
    text-align:center;
    color:#0066ff;
    font-size:42px;
    margin-bottom:40px;
}

.contact form{
    max-width:700px;
    margin:auto;
}

.contact input,
.contact textarea{
    width:100%;
    padding:18px;
    margin:15px 0;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
    outline:none;
    transition:.3s;
}

.contact input:focus,
.contact textarea:focus{
    border-color:#0066ff;
    box-shadow:0 0 15px rgba(0,102,255,.2);
}

.contact textarea{
    height:160px;
    resize:none;
}

.contact button{
    width:100%;
    padding:18px;
    border:none;
    background:#0066ff;
    color:white;
    font-size:18px;
    border-radius:10px;
    cursor:pointer;
    transition:.4s;
}

.contact button:hover{
    background:#004ecc;
}

.info{
    text-align:center;
    margin-top:40px;
}

.info p{
    margin:12px;
    font-size:18px;
}

.info i{
    color:#0066ff;
    margin-right:10px;
}

/*=========================
WhatsApp Button
=========================*/

.whatsapp{
    position:fixed;
    right:25px;
    bottom:25px;
    width:60px;
    height:60px;
    background:#25D366;
    color:white;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:32px;
    text-decoration:none;
    box-shadow:0 10px 25px rgba(0,0,0,.2);
    transition:.4s;
    z-index:999;
}

.whatsapp:hover{
    transform:scale(1.1);
}

/*=========================
Footer
=========================*/

footer{
    background:#003b99;
    color:white;
    text-align:center;
    padding:25px;
}

footer p{
    letter-spacing:1px;
}

/*=========================
Animations
=========================*/

@keyframes fadeUp{

0%{
opacity:0;
transform:translateY(50px);
}

100%{
opacity:1;
transform:translateY(0);
}

}

/*=========================
Responsive
=========================*/

@media(max-width:992px){

.hero h1{
font-size:45px;
}

.nav-links{
display:none;
}

.menu-btn{
display:block;
}

}

@media(max-width:768px){

.hero h1{
font-size:34px;
}

.hero p{
font-size:17px;
}

.about h2,
.products h2,
.contact h2,
#gallery h2{
font-size:32px;
}

.logo h2{
font-size:20px;
}

}