/* ===============================
GLOBAL RESET
================================*/

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
background:#e6e7ea;
font-family:'Poppins', sans-serif;
color:#1e293b;
line-height:1.5;
}

/* REMOVE DEFAULT LINK COLORS */
a{
text-decoration:none;
color:inherit;
}

/* ===============================
HEADER
================================*/

.site-header{
display:flex;
align-items:center;
background:#020c1b;
padding:0 40px;        /* remove vertical padding */
height:65px;           /* 🔥 force height */
border-bottom:1px solid #0c2547;
gap:30px;
}

/* LOGO */
.logo img{
height:45px;
max-height:100%;
display:block;
}
/* NAV */
.nav-menu{
display:flex;
gap:30px;
}

.nav-menu a{
color:#cbd5e1;
font-weight:500;
transition:0.2s;
}

.nav-menu a:hover{
color:white;
}

/* SEARCH */
.search-box{
margin-left:auto;
width:260px;
position:relative;
}

.search-box input{
width:100%;
  height:40px; 
padding:0 14px 0 40px;
border-radius:12px;
border:none;
background:#0c2547;
color:white;
outline:none;
}

.search-icon{
position:absolute;
left:12px;
top:50%;
transform:translateY(-50%);
color:#94a3b8;
}

/* ===============================
TOOLS GRID
================================*/

.tools-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
max-width:1200px;
margin:50px auto;
padding:0 20px;
}

.tool-card{
display:block;
background:white;
padding:25px;
border-radius:12px;
text-align:center;
box-shadow:0 6px 18px rgba(0,0,0,0.08);
transition:0.25s;
}

.tool-card:hover{
transform:translateY(-5px);
box-shadow:0 12px 25px rgba(0,0,0,0.15);
}

/* ===============================
TOOL PAGE CONTAINER
================================*/

.tool-container{
max-width:1000px;
margin:80px auto 40px;
background:#071a33;
color:white;
padding:40px;
border-radius:20px;
text-align:center;
box-shadow:0 20px 50px rgba(0,0,0,0.3);
}

/* ===============================
INPUTS
================================*/

input, textarea{
width:100%;
padding:12px;
border-radius:8px;
border:none;
background:#0c2547;
color:white;
margin-top:10px;
outline:none;
}

/* ===============================
BUTTONS
================================*/

button{
margin-top:20px;
padding:12px 20px;
background:#3a78ff;
color:white;
border:none;
border-radius:8px;
cursor:pointer;
transition:0.2s;
}

button:hover{
background:#2a66e6;
}

/* ===============================
UPLOAD
================================*/

.upload-btn{
background:#2563eb;
color:white;
padding:12px 22px;
border-radius:8px;
display:inline-block;
cursor:pointer;
}

.upload-btn input{
display:none;
}

/* ===============================
SEO CONTENT
================================*/

.seo-content{
max-width:1000px;
margin:40px auto;
background:#071a33;
color:white;
padding:35px;
border-radius:20px;
}

.seo-content p{
color:#cbd5e1;
line-height:1.7;
}

/* ===============================
HOMEPAGE DESCRIPTION
================================*/

.site-description{
max-width:800px;
margin:50px auto;
padding:25px;
background:#071a33;
color:#cbd5e1;
text-align:center;
border-radius:16px;
}

/* ===============================
TOOL DESCRIPTIONS
================================*/

.tool-descriptions{
max-width:900px;
margin:80px auto;
padding:40px;
text-align:center;
background:white;
border-radius:20px;
box-shadow:0 10px 40px rgba(0,0,0,0.05);
}

.tool-descriptions h2{
font-size:32px;
margin-bottom:40px;
font-weight:700;
color:#0f172a;
}

.tool-descriptions h3{
font-size:20px;
margin-top:30px;
margin-bottom:10px;
font-weight:600;
}

.tool-descriptions p{
font-size:15px;
line-height:1.8;
color:#475569;
max-width:700px;
margin:0 auto;
}

/* ===============================
MORE TOOLS (FIXED 🔥)
================================*/

.more-tools{
max-width:1000px;
margin:60px auto;
padding:0 20px;
text-align:center;
}

.more-tools h2{
font-size:24px;
margin-bottom:20px;
color:#0f172a;
}

.more-tools-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,220px));
gap:20px;
justify-content:center;
}
.more-tool-card{
display:block;
background:#071a33;
color:white;
padding:20px;
border-radius:14px;
transition:0.2s;
}

.more-tool-card:hover{
background:#0c2547;
}

/* ===============================
FOOTER
================================*/

.site-footer{
background:#020c1b;
color:#cbd5e1;
text-align:center;
padding:25px;
margin-top:60px;
}

.site-footer a{
color:#3a78ff;
}

/* ===============================
RESPONSIVE
================================*/

@media (max-width:768px){

.site-header{
flex-direction:column;
align-items:center;
padding:15px 20px;
}

.nav-menu{
justify-content:center;
flex-wrap:wrap;
margin:10px 0;
gap:15px;
}

.search-box{
width:100%;
margin-top:10px;
}

.search-box input{
max-width:300px;
margin:auto;
}

}
/* ===============================
PAGE CONTENT (ABOUT / CONTACT)
================================*/

.page-content{
max-width:900px;
margin:80px auto;
padding:40px;
background:white;
border-radius:20px;
text-align:center;
box-shadow:0 10px 40px rgba(0,0,0,0.05);
}

.page-content h1{
font-size:32px;
margin-bottom:20px;
}

.page-content p{
color:#475569;
line-height:1.8;
font-size:16px;
}
html, body{
height:100%;
}

body{
display:flex;
flex-direction:column;
}

.site-footer{
margin-top:auto; 
}
html, body{
height:100%;
}

body{
display:flex;
flex-direction:column;
min-height:100vh;
}

/* PUSH FOOTER DOWN */
.site-footer{
margin-top:auto;
}

/* CENTER PAGE CONTENT */
.page-content{
max-width:900px;
margin:80px auto;
padding:40px;
background:white;
border-radius:20px;
text-align:center;
box-shadow:0 10px 40px rgba(0,0,0,0.05);
}

.page-content h1{
font-size:32px;
margin-bottom:20px;
}

.page-content p{
color:#475569;
line-height:1.8;
margin-bottom:12px;
}
/* ===============================
HERO (PROPER CENTERED DESIGN)
================================*/

.hero{
text-align:center;
padding:60px 20px 30px;
max-width:900px;
margin:0 auto;
}

.hero h1{
font-size:42px;
font-weight:700;
color:#0f172a;
margin-bottom:12px;
letter-spacing:-0.5px;
}

.hero p{
font-size:25px;
color:#64748b;
}
.hero{
margin-top:20px;
}
.hero h1{
background: linear-gradient(90deg,#2563eb,#3a78ff);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}
