body {
    font-family: 'Anek Gurmukhi', sans-serif;
    background-color: #EFEFEF;
    margin: 0;
  }
  
 
 header {
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  position: fixed;
  top:0;
  z-index: 1001;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 15px;
}

  .menu-icon {
    font-size: 30px;
    cursor: pointer;
    color: #001229;
  }

  .menu-icon:hover {
    color: #8BAEC3;
  }

  .logo  {
    width: 13%;
  }
  
  /* Style for the search-bar */
  .search-bar {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.search-bar input[type="text"] {
  padding: 10px;
  border: 2px solid #8BAEC3;
  border-radius: 25px;
  outline: none;
  width: 250px;
  font-size: 16px;
 margin-bottom: 10px;
}

.search-bar button {
  padding: 10px 20px;
  background-color: #8BAEC3;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
}

.search-bar button:hover {
  background-color: #7a9bb5;
}

.search-bar button:focus {
  outline: none;
}

  .injection-submenu {
    display: none;
    flex-direction: column;
    margin-left: 10px;
    margin-top: 10px;
    padding-left: 10px;
    border-left: 2px solid #001229;
  }
  
  
  /* General Navigation Styles */
  .navigation {
  position: fixed;
  flex-direction: column;
  top: 0;
  right: -325px;
  width: 280px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0,0,0,0.1);
  transition: right 0.3s ease-in-out;
  z-index: 10002;
  padding: 20px;
  overflow-y: auto;
  border-left: 2px solid #8BAEC3;
}

.navigation.navigation-open {
  right: 0px;
}

.close-icon {
  align-self: flex-start;
  font-size: 30px;
  color: #001229;
  cursor: pointer;
  margin-bottom: 20px;
}

.close-icon:hover {
    color: #001229;
}

 
  .navigation ul {
  list-style: none;
  padding: 0;
  align-self: flex-start;
}

.navigation ul li {
  margin: 15px 0;
}

.navigation ul li a {
  color: #001229;
  text-decoration: none;
  font-weight: bold;
}
  /* Dropdown Menu Styles */
  .dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.dropdown-content a {
  color: #001229;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropbtn {
  display: flex;
  align-items: center;
  font-weight: bold;
}

.fas.fa-angle-down {
  margin-left: 5px;
  font-size: 18px;
  align-self: flex-start;
}

.fas.fa-angle-right {
  margin-left: 5px;
  font-size: 18px;
  align-self: flex-start;
}

  
  
  
  .banner {
    position: relative;
    margin: 20px 0;
  }
  
  .banner img {
    width: 95%;
    margin-left: 2.5%;
    height: auto;
  }
  
  .product-categories {
    display: flex;
    justify-content: space-around;
    margin: 70px 0;
  }
  
  .product-box {
    position: relative;
    width: 45%;
    text-decoration: none;
  }
  
  .product-box img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
  
  .main-content {
      
    margin-left: 2.5%;
    margin-bottom: 5%;
  }

  .book-item {
  position: relative; /* Needed for pseudo-element positioning */
  background-color: #fafafa;
  text-align: center;
  border: 1px solid rgb(221, 221, 221);
  padding: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.102);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #0B3154;
  overflow: hidden; /* Ensure watermark stays inside */
}

  .book-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%) rotate(-10deg);
  background: url('../Images/I.png') no-repeat center center;
  background-size: 20%; /* Adjust size as needed */
  opacity: 0.05; /* Adjust for watermark effect */
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Ensure content stays above the watermark */
.book-item * {
  position: relative;
  z-index: 1;
}
  
  p {
    margin-bottom: 20px;
  }
  
  h3 {
    color: #001229;
    padding-bottom: 5px;
  }
  
  section h2 {
    color: #001229;
    padding-bottom: 10px;
  }
  
  section p {
    color: #001229;
  }
  
footer {
  background-color: #001229;
  padding: 20px;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
  color: #EFEFEF;
}

.footer-column {
  width: 22%;
  
}

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #EFEFEF;
}

.footer-column p,
.footer-column a {
  font-size: 14px;
  color: #EFEFEF;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding-left: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a:hover {
  color: #8BAEC3;
}
.footer-column ul li a::before {
  content: "❯ ";
  color: rgb(255, 255, 255);
  font-weight: bold;
  margin-right: 5px;
}


.footer-submenu li a::before {
  content: none !important;
}

/* Footer Dropdown Styles */
.footer-dropdown {
  position: relative;
}

.footer-dropdown a {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
}

.footer-submenu {
  display: none;
  flex-direction: column;
  margin-top: 8px;
  padding-left: 15px;
  border-left: 2px solid #8BAEC3;
}

.footer-submenu li {
  margin: 8px 0;
}

.footer-submenu li a {
  font-size: 13px;
  color: #EFEFEF;
  margin-left: 5px;
}

.footer-submenu li a:hover {
  color: #8BAEC3;
}


section {
    display: flex;
    padding: 20px;
    justify-content: center;
}

.book-section {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
}
h2{
    display: flex;
    justify-content: center;
    margin-top: 8%;
    margin-bottom: 0;
}
.book-item {
    background-color: #fafafafa;
    text-align: center;
    border: 1px solid rgb(221, 221, 221);
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.102);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #0B3154;
}

.book-item img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
    
}

.book-item button {
    margin-top: 10px;
    background-color:#001229;
    color: #f5f5f5;
    padding: 10px;
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 200px;
}

.book-item button:hover {
    background-color: #8BAEC3;
}


.overlay {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.overlay-content {
    color: #0B3154;
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */

/* For tablets and below (max 1024px) */
@media (max-width: 1024px) {
  nav ul {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    padding: 10px 0;
  }

  .product-categories {
    flex-wrap: wrap;
    justify-content: center;
  }

  .product-box {
    width: 80%;
    margin-bottom: 20px;
  }

  .footer-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-column {
    width: 40%;
    margin-bottom: 20px;
  }
}

/* For mobile phones (max 768px) */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    width: 41%;
    margin-bottom: 10px;
  }

  .search-bar input[type="text"] {
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 25px;
  outline: none;
  width: 170px;
  font-size: 13px;
  }

  .search-bar {
    width: 100%;
    justify-content: flex-start;
  }
  .search-bar button {
  padding: 12px 20px;
  background-color: #8BAEC3;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 13px;
}

  /* Keep nav horizontal on mobile */
  nav ul {
    flex-direction: row !important;
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
  }

  nav ul li a {
    font-size: 13px;
  }

  .banner img {
    width: 100%;
    margin-left: 0;
    height: 140px;
  }

  .product-categories {
    flex-direction: column;
    align-items: center;
  }

  .product-box {
    width: 90%;
    margin-bottom: 20px;
  }

  .main-content {
    margin-left: 5%;
    margin-right: 5%;
  }
.footer-container {
  flex-direction: column;
  align-items: flex-start;   /* LEFT align */
}

.footer-column {
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
}

.footer-column ul {
  padding-left: 0;
}

.footer-column ul li a::before {
  content: "❯ ";
  color: rgb(255, 255, 255);
  font-weight: bold;
  margin-right: 5px;
}
.book-section {
  flex: 3;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
h2 {
  display: flex;
  justify-content: center;
  margin-top: 30%;
  margin-bottom: 0;
}
}
