body {
  margin: 0;
   padding: 0;
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
 background: linear-gradient(to right, #358dad, #3569a4);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  background-color: white;
  border-bottom: 3px solid #ccc;
}


.menucon ul li a{
 position:relative;
}
.submenu li{
position:absolute;
background-color: #ccc;
width: 200px;
height: auto;
}
.submenu li{
position:absolute;
background-color: #ccc;
width: 200px;
height: auto;
}
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.nav a {
  margin: 0 10px;
  text-decoration: none;
  color: black;
  position: relative;
}

.nav a.active::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: green;
  position: absolute;
  bottom: -4px;
  left: 0;
}
.login{
  text-align: right;
}
.login-btn {
  background: green;
  color: white;
  border: none;
  padding: 6px 20px;
  border-radius: 15px;
  cursor: pointer;
  height: 30px;
}

.banner {
  text-align: center;
  padding: 20px 10px;
}

.search-box {
  display: flex;
  width: 500px;
  margin: 20px auto;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  border-radius: 4px;
  overflow: hidden;
}

.search-box input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
  font-size: 14px;
}

.search-box button {
  background-color: #eee;
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  border-left: 1px solid #ccc;
  transition: background 0.3s;
}

.search-box button:hover {
  background-color: #ddd;
}

.book-banner img {
  height: 300px;
  width:900px;
  margin: 0 5px;
  border-radius: 5px;

}


.cat-box {
  text-align: center;
  padding: 10px;
  background: #ffffff;
  border-radius: 12px;
  width: 100px;
  font-size: 14px;
}

.cat-box img{
  width: 68px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;

}
.book-list {
  padding: 20px 40px;
  color: black;
  background-color: white;
   justify-content: space-around;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  margin: 20px auto;
  width: 90%;
}

.book-list h3 {
  margin-bottom: 20px;
  color: black;
}

.books {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-radius: 15px;
   overflow-x: auto;

}

.book-card {
  background: rgb(223, 223, 223);
  color: black;
  width: 150px;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

.book-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.book-title {
  font-weight: bold;
  margin-top: 10px;
}

.book-pub {
  font-size: 13px;
  color: gray;
}
.footer {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  background-color: #1a237e;
  color: white;
  padding: 30px 20px;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  min-width: 250px;
  margin: 10px;
}

.footer-logo {
  width: 60px;
  margin-bottom: 10px;
}
