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

body{
    background:#f4f7fa;
}

header{
    background:#003366;
    color:white;
    padding:15px 40px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-size:24px;
    font-weight:bold;
}

nav a{
    color:white;
    text-decoration:none;
    margin-left:20px;
}

.hero{
    text-align:center;
    padding:70px 20px;
    background:white;
}

.hero h1{
    color:#003366;
    margin-bottom:10px;
}

.hero p{
    margin-bottom:20px;
}

.hero input{
    width:300px;
    padding:12px;
    border:1px solid #ccc;
}

.hero button{
    padding:12px 20px;
    background:#0066cc;
    color:white;
    border:none;
    cursor:pointer;
}

.categories,
.books{
    padding:40px;
}

h2{
    color:#003366;
    margin-bottom:20px;
}

.category-grid,
.book-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:20px;
}

.card{
    background:white;
    padding:25px;
    text-align:center;
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,.1);
}

.book{
    background:white;
    text-align:center;
    padding:15px;
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,.1);
}

.book img{
    width:100%;
    border-radius:5px;
}

.book button{
    margin:5px;
    padding:10px 15px;
    border:none;
    background:#003366;
    color:white;
    cursor:pointer;
}

footer{
    background:#003366;
    color:white;
    text-align:center;
    padding:15px;
    margin-top:30px;
}