/* =================================================
   MT-Hub Final CSS
   Part 1
================================================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{

font-family:'Poppins',sans-serif;
background:#071321;
color:#ffffff;
overflow-x:hidden;

}

/* Background */

body::before{

content:"";
position:fixed;
left:0;
top:0;
width:100%;
height:100%;
background:
radial-gradient(circle at top left,#1f4fff33,transparent 40%),
radial-gradient(circle at bottom right,#00d9ff22,transparent 30%),
linear-gradient(180deg,#071321,#0b1b31,#071321);
z-index:-2;

}

/* Navbar */

.navbar{

position:fixed;
top:0;
left:0;
width:100%;
height:85px;

display:flex;
justify-content:space-between;
align-items:center;

padding:0 60px;

background:rgba(8,18,35,.82);

backdrop-filter:blur(18px);

border-bottom:1px solid rgba(255,255,255,.08);

z-index:999;

}

/* Logo */

.logo{

font-size:34px;
font-weight:700;

}

.logo p{

font-size:11px;
letter-spacing:2px;
opacity:.70;
margin-top:3px;

}

.blue{

color:#28c8ff;

}

/* Menu */

.menu{

display:flex;
gap:30px;
list-style:none;

}

.menu a{

text-decoration:none;
color:#ffffff;
font-size:15px;
transition:.35s;

}

.menu a:hover{

color:#28c8ff;

}

.active{

color:#28c8ff!important;

}

/* Right */

.nav-right{

display:flex;
gap:15px;

}

.login-btn{

padding:12px 24px;

border-radius:40px;

border:1px solid #28c8ff;

text-decoration:none;

color:#ffffff;

transition:.35s;

}

.login-btn:hover{

background:#28c8ff;
color:#071321;

}

.signup-btn{

padding:12px 24px;

border-radius:40px;

background:#28c8ff;

color:#071321;

font-weight:700;

text-decoration:none;

transition:.35s;

}

.signup-btn:hover{

transform:translateY(-4px);

box-shadow:0 0 25px #28c8ff;

}

/* Hero */

.hero{

position:relative;

height:100vh;

display:flex;

justify-content:center;

align-items:center;

text-align:center;

padding:140px 30px 80px;

background:
linear-gradient(rgba(5,12,25,.70),rgba(5,12,25,.78)),
url("../images/hero-bg.jpg");

background-size:cover;

background-position:center;

background-repeat:no-repeat;

}

.overlay{

position:absolute;

inset:0;

background:rgba(0,0,0,.20);

}

.hero-content{

position:relative;

z-index:5;

max-width:900px;

}

.hero h3{

font-size:24px;

color:#7bd9ff;

margin-bottom:15px;

font-weight:400;

}

.hero h1{

font-size:70px;

line-height:1.15;

margin-bottom:25px;

font-weight:800;

}

.cad{

color:#31c9ff;

}

.cam{

color:#8fe6ff;

}

.cnc{

color:#00ffd0;

}

.hero p{

font-size:18px;

line-height:1.8;

color:#d8e8f5;

max-width:760px;

margin:auto;

}

/* ==========================================
   Hero Buttons
========================================== */

.hero-buttons{

display:flex;
justify-content:center;
gap:20px;
margin-top:40px;
flex-wrap:wrap;

}

.btn-primary{

padding:16px 35px;
background:#28c8ff;
color:#071321;
font-weight:700;
text-decoration:none;
border-radius:50px;
transition:.35s;
box-shadow:0 0 25px rgba(40,200,255,.45);

}

.btn-primary:hover{

transform:translateY(-5px);
box-shadow:0 0 40px rgba(40,200,255,.8);

}

.btn-secondary{

padding:16px 35px;
border:2px solid #28c8ff;
color:#ffffff;
text-decoration:none;
border-radius:50px;
transition:.35s;

}

.btn-secondary:hover{

background:#28c8ff;
color:#071321;

}

/* ==========================================
   Search Section
========================================== */

.search-section{

margin-top:-65px;
position:relative;
z-index:20;

}

.search-box{

width:90%;
max-width:1200px;
margin:auto;

display:flex;
align-items:center;

background:#10233c;

padding:14px;

border-radius:60px;

box-shadow:0 20px 50px rgba(0,0,0,.35);

}

.search-box select{

width:230px;
background:none;
border:none;
outline:none;
color:#fff;
font-size:15px;
padding:16px;

}

.search-box input{

flex:1;
background:none;
border:none;
outline:none;
color:#fff;
font-size:16px;
padding:16px;

}

.search-box button{

padding:16px 35px;
border:none;
border-radius:40px;
background:#28c8ff;
font-weight:700;
cursor:pointer;
transition:.35s;

}

.search-box button:hover{

transform:scale(1.05);

}

/* ==========================================
   Global Section
========================================== */

.container{

width:90%;
max-width:1400px;
margin:auto;

}

.section-title{

font-size:42px;
text-align:center;
margin-bottom:15px;

}

.section-subtitle{

text-align:center;
color:#a9bfd4;
margin-bottom:60px;

}

/* ==========================================
   Category Cards
========================================== */

.featured-categories{

padding:120px 0;

}

.category-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:28px;

}

.category-card{

padding:35px;
border-radius:25px;
transition:.35s;
cursor:pointer;
overflow:hidden;
position:relative;

}

.category-card:hover{

transform:translateY(-10px);

}

.card-icon{

font-size:48px;
margin-bottom:20px;

}

.category-card h3{

font-size:24px;
margin-bottom:15px;

}

.category-card p{

line-height:1.8;
margin-bottom:25px;
color:#eef7ff;

}

.category-card a{

color:#fff;
font-weight:600;
text-decoration:none;

}

.cad-card{

background:linear-gradient(135deg,#0066ff,#30bfff);

}

.mold-card{

background:linear-gradient(135deg,#6b35ff,#b057ff);

}

.cnc-card{

background:linear-gradient(135deg,#00b67a,#00f0c0);

}

.cam-card{

background:linear-gradient(135deg,#ff8b00,#ffc800);

}

.software-card{

background:linear-gradient(135deg,#ff2b5e,#ff5d95);

}

/* ==========================================
   Statistics
========================================== */

.statistics{

padding:100px 0;

}

.statistics .container{

display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;

}

.stat{

background:#10233c;
padding:40px;
border-radius:20px;
text-align:center;

}

.stat h2{

font-size:50px;
color:#28c8ff;
margin-bottom:10px;

}

.stat p{

color:#c4d7e8;

}

/* ==========================================
   Marketplace
========================================== */

.marketplace{

padding:100px 0;

}

.market-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
margin-top:50px;

}

.market-item{

background:#10233c;
border-radius:22px;
overflow:hidden;
transition:.35s;
border:1px solid rgba(255,255,255,.08);

}

.market-item:hover{

transform:translateY(-10px);
box-shadow:0 25px 45px rgba(0,0,0,.35);

}

.thumb{

height:220px;
background-size:cover;
background-position:center;
background-repeat:no-repeat;

}

.thumb1{

background-image:url("../images/thumb1.jpg");

}

.thumb2{

background-image:url("../images/thumb2.jpg");

}

.thumb3{

background-image:url("../images/thumb3.jpg");

}

.thumb4{

background-image:url("../images/thumb4.jpg");

}

.market-item h3{

padding:20px 20px 8px;

}

.market-item span{

display:block;
padding:0 20px 25px;
color:#7fd6ff;

}

/* ==========================================
   Why MT-Hub
========================================== */

.why-mthub{

padding:110px 0;

}

.why-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px;
margin-top:50px;

}

.why-card{

background:#10233c;
padding:35px;
border-radius:22px;
transition:.35s;

}

.why-card:hover{

border:1px solid #28c8ff;
transform:translateY(-8px);

}

.why-card h3{

margin-bottom:15px;
color:#28c8ff;

}

.why-card p{

line-height:1.8;
color:#dbe8f5;

}

/* ==========================================
   Newsletter
========================================== */

.newsletter{

padding:100px 0;
text-align:center;

}

.newsletter h2{

font-size:42px;
margin-bottom:20px;

}

.newsletter p{

max-width:700px;
margin:auto;
line-height:1.8;
color:#bfd2e4;

}

.newsletter-box{

margin-top:40px;
display:flex;
justify-content:center;
gap:15px;
flex-wrap:wrap;

}

.newsletter-box input{

width:420px;
padding:18px;
border:none;
border-radius:50px;
background:#10233c;
color:#fff;

}

.newsletter-box button{

padding:18px 35px;
background:#28c8ff;
border:none;
border-radius:50px;
font-weight:700;
cursor:pointer;

}

/* ==========================================
   Footer
========================================== */

footer{

margin-top:80px;
background:#081321;
padding:80px 0 30px;

}

.footer-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:40px;

}

.footer-grid h2,
.footer-grid h3{

margin-bottom:20px;

}

.footer-grid p{

line-height:1.8;
color:#bfd2e4;

}

.footer-grid ul{

list-style:none;

}

.footer-grid li{

margin:12px 0;

}

.footer-grid a{

color:#bfd2e4;
text-decoration:none;
transition:.35s;

}

.footer-grid a:hover{

color:#28c8ff;

}

.copyright{

text-align:center;
margin-top:50px;
padding-top:20px;
border-top:1px solid rgba(255,255,255,.08);
color:#7ea7cb;

}

/* ==========================================
   Responsive
========================================== */

@media(max-width:992px){

.navbar{

padding:20px;
flex-direction:column;
height:auto;

}

.menu{

flex-wrap:wrap;
justify-content:center;
margin:20px 0;

}

.hero h1{

font-size:48px;

}

.search-box{

flex-direction:column;
border-radius:25px;

}

.search-box select,
.search-box input,
.search-box button{

width:100%;

}

.statistics .container{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:600px){

.hero{

padding-top:170px;

}

.hero h1{

font-size:34px;

}

.hero p{

font-size:16px;

}

.hero-buttons{

flex-direction:column;

}

.statistics .container{

grid-template-columns:1fr;

}

.section-title{

font-size:30px;

}

.logo{

font-size:26px;

}

}