<style>
	* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Amiri', serif;
    line-height: 1.6;
    background-color: #FFFFFF;
}

.container {
	
    width: 90%;
    margin: auto;
    overflow: hidden;
}

header {
    background-color: #FFFFFF;
    color: #ff5733;
    padding: 20px 0;
	font-weight: bold;
}

header .logo h1 {
    float: right;
    font-size: 24px;
    color: #d34f32;
}

header nav ul {
    float: center;
    list-style: none;
	
}

header nav ul li {
    display: inline-block;
    position: relative;
    margin-left: 10px;
	background-color: #f24931;
	 border-radius: 12px;
}

header nav ul li a {
    color: #000000;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 20px;
	margin-right: 10px;
    display: block;
}

header nav ul li input[type="text"] {
    padding: 5px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
}

/* Dropdown styling */
header nav ul li .dropdown-content {
    display: none;
    position: absolute;
    background-color: #003366;
    min-width: 160px;
    z-index: 1;
}

header nav ul li .dropdown-content li {
    display: block;
}

header nav ul li .dropdown-content li a {
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    display: block;
}

header nav ul li .dropdown-content li a:hover {
    background-color: #f1ea4e;
    color: #FFFFFF;
}

/* Show the dropdown on hover */
header nav ul li:hover .dropdown-content {
    display: block;
}

/* Dropdown arrow indicator */
header nav ul li a:after {

    font-size: 12px;
}

/* Hero Section */
.hero {
    background-color: #004d99;
    color: #fff;
    text-align: center;
    padding: 0px 0;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero .btn {
    background-color: #ffcc00;
    color: #003366;
    padding: 10px 20px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
}

/* Featured Books Section */
.featured-books {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;

}

.featured-books h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.books-carousel {
    display: flex;
    justify-content: space-around;
}

.book {
    background-color: #f9f9f9;
    padding: 20px;
    text-align: center;
    width: 150px;
}

.book img {
    width: 120px;
    height: 150px;
}

.book h3 {
    font-size: 18px;
    margin: 10px 0;
}

.book p {
    font-size: 16px;
    margin: 5px 0;
}

.book .rating {
    margin-bottom: 10px;
}

.book .btn {
    background-color: #003366;
    color: #fff;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
}

/* Categories Section */
.categories {
    background-color: #f5f5f5;
    padding: 50px 0;
    text-align: center;
}

.categories h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.categories-grid {
    display: flex;
    justify-content: space-around;
}

.category {
    background-color: #ffcc00;
    padding: 20px;
    width: 150px;
    font-size: 18px;
    border-radius: 5px;
}

/* Newsletter Section */
.newsletter {
    background-color: #FFFFFF;
    color: #ee5f2a;
    text-align: center;
    padding: 50px 0;
}

.newsletter form {
    margin-top: 20px;
}

.newsletter input[type="email"] {
    padding: 10px;
    width: 300px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
}

.newsletter button {
    padding: 10px 20px;
    background-color: #ffcc00;
    color: #003366;
    font-size: 16px;
    border: none;
    border-radius: 5px;
}

/* Footer */
footer {
    background-color: #d34f32;
    color: #071080;
	font-size: 16px;
	font-weight: bold;
    padding: 20px 0;
    text-align: center;
}

footer ul {
    list-style: none;
    margin: 10px 0;
}

footer ul li {
    display: inline;
    margin: 0 10px;
}

footer ul li a {
    color: #071080;
    text-decoration: none;
}


table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 70%;
  border: 0px solid #ddd;
  text-align: center;
  width: device-width;
}

th, td {
  text-align: center;
  padding: 8px;
}


/* Header styles */
header {
    background-image: url('images/header.jpg'); /* Add background image */
    background-size: cover; /* Ensure the image covers the entire header */
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Logo */
header .logo img {
    width: 120px; /* Adjust the size of the logo as needed */
    height: auto;
}

header nav ul {
    display: flex;
    list-style: none;
}

/* Responsive adjustments for header */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
    }

    header nav ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }
}



/* Hero Section */
.hero {
    background-color: #FFFFFF;
    color: #fff;
    text-align: center;
    padding: 50 px 0;
}


/* Responsive adjustments for hero */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero .btn {
        font-size: 16px;
        padding: 8px 16px;
    }
}

@media all and (max-width:768px){
    table,tr, td, tbody, td p table div, table table{
        width:100%!important;
        float:left;
        clear:both;
        display:block;
        text-align:center;
    }
    table img {
        max-width:100%;
        height:auto;
    }
}

.vertical-menu {
  width: 70%;
  
}

.vertical-menu a {
  background-color: #eee;
  color: black;
  font-size: 20px;
  display: block;
  padding: 12px;
    font-weight: Bold;

  text-decoration: none;
}

.vertical-menu a:hover {
  background-color: #ccc;
    font-size: 25px;
  font-weight: Bold;
}

.vertical-menu a.active {
  background-color: #d34f32;
  color: white;
      font-size: 25px;
    font-weight: Bold;

}

.motion-box {
  opacity: 0;
  transform: translateY(50px);
  background-color: #fff9c4; /* soft yellow */
  padding: 20px;
  margin-top: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  transition: all 1s ease;
}

.motion-box.show {
  opacity: 1;
  transform: translateY(0);
}	
	</style>