*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial,sans-serif;
}

body{
background:#f4f7fb;
color:#222;
}

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 5%;
background:#0f172a;
flex-wrap:wrap;
}

.logo{
font-size:28px;
font-weight:bold;
color:white;
}

nav{
display:flex;
flex-wrap:wrap;
}

nav a{
text-decoration:none;
color:white;
margin:5px;
padding:10px 15px;
border-radius:8px;
transition:0.3s;
}

nav a:hover{
background:#2563eb;
}

.top-buttons{
display:flex;
flex-wrap:wrap;
}

.top-buttons a{
text-decoration:none;
background:#2563eb;
color:white;
padding:10px 15px;
margin:5px;
border-radius:8px;
transition:0.3s;
}

.top-buttons a:hover{
background:#1d4ed8;
}

.hero{
text-align:center;
padding:90px 20px;
background:linear-gradient(135deg,#2563eb,#1e3a8a);
color:white;
}

.hero h1{
font-size:52px;
margin-bottom:20px;
}

.hero p{
font-size:22px;
margin-bottom:35px;
}

.hero-buttons a{
text-decoration:none;
background:white;
color:#2563eb;
padding:15px 30px;
border-radius:10px;
font-weight:bold;
display:inline-block;
transition:0.3s;
}

.hero-buttons a:hover{
transform:scale(1.05);
}

.categories{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
padding:60px 5%;
}

.card{
background:white;
padding:35px;
border-radius:18px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
transition:0.3s;
}

.card:hover{
transform:translateY(-8px);
}

.card h2{
margin-bottom:15px;
color:#2563eb;
}

footer{
background:#0f172a;
color:white;
text-align:center;
padding:25px;
}

@media(max-width:768px){

.hero h1{
font-size:34px;
}

.hero p{
font-size:18px;
}

header{
flex-direction:column;
align-items:flex-start;
}

}

.result-box{
display:none;
padding:20px;
}