body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: url('Nisargamitra Website bg.jpg') no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  width: 100%;
}

html {
  overflow-x: hidden;
  width: 100%;
}

.book-grid, .books {
  width: 100%;
  max-width: 100%;
}

/* Enhanced navbar with better responsiveness */
.navbar {
  background-color: #f1f7d1;
  border: 1px solid #cfcfcf;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.left-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo {
  height: 45px;
  width: auto;
  transition: transform 0.3s ease;
}

.site-logo:hover {
  transform: scale(1.05);
}

.side-logo {
  height: 40px;
  width: auto;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.side-logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 20px;
  font-weight: bold;
  color: #1e4c0d;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #1e4c0d;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-links a:hover {
  background: #e6f7c1;
  color: #7a1b1b;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(30,76,13,0.15);
}

.right-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.register-btn {
  background-color: #4caf50;
  color: white;
  padding: 10px 24px;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.register-btn:hover {
  background-color: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.register-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Enhanced dropdown styles */
.dropdown {
  position: relative;
}

.dropbtn {
  background: none;
  border: none;
  font-weight: bold;
  color: #1e4c0d;
  cursor: pointer;
  font-size: 14px;
  padding: 8px 12px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.dropbtn:hover {
  background: #e6f7c1;
  color: #7a1b1b;
  transform: translateY(-2px);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  border: 1px solid #ccc;
  min-width: 180px;
  z-index: 10000;
  top: 40px;
  left: 0;
  border-radius: 8px;
  animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown.open .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 12px 16px;
  color: #1e4c0d;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease;
  border-radius: 0;
}

.dropdown-content a:first-child {
  border-radius: 8px 8px 0 0;
}

.dropdown-content a:last-child {
  border-radius: 0 0 8px 8px;
}

.dropdown-content a:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
}

.dropdown-content a:hover {
  background-color: #e6f7c1;
  color: #7a1b1b;
  transform: translateX(4px);
}

/* Hamburger menu */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  margin-left: auto;
  transition: transform 0.3s ease;
}

.hamburger:hover {
  transform: scale(1.1);
}

.menu-toggle {
  display: none;
}

/* Enhanced hero section */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(30,76,13,0.8), rgba(122,27,27,0.8));
  margin-bottom: 40px;
}

/* Background wrapper styles */
.Background.wrapper {
  width: 100%;
  position: relative;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.overlay-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.overlay-title {
  color: white;
  font-size: 3rem;
  font-weight: bold;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  animation: titleFadeIn 1s ease;
}

@keyframes titleFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.overlay-title-top {
  color: #90EE90;
  margin-bottom: 20px;
}

/* Enhanced content wrapper */
.content-wrapper {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
  margin: 40px auto;
  max-width: 1400px;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Enhanced sidebar */
.sidebar {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  padding: 20px 0;
  min-width: 220px;
  max-width: 280px;
  box-sizing: border-box;
  position: sticky;
  top: 20px;
  height: fit-content;
  transition: all 0.3s ease;
}

.sidebar:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.sideMenu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-heading {
  color: #1e4c0d;
  font-size: 1.2rem;
  margin: 0 0 20px 0;
  padding: 0 20px;
  border-bottom: 2px solid #1e4c0d;
  padding-bottom: 10px;
}

.sidebarStd {
  display: block;
  color: #1e4c0d;
  font-size: 14px;
  text-align: left;
  padding: 12px 20px;
  text-decoration: none;
  border-bottom: 1px solid #e0e0e0;
  margin: 0;
  background: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 0;
  white-space: normal;
  position: relative;
  overflow: hidden;
}

.sidebarStd::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #e6f7c1, #d1e7a7);
  transition: width 0.3s ease;
  z-index: -1;
}

.sidebarStd:hover::before {
  width: 100%;
}

.sidebarStd:hover {
  color: #7a1b1b;
  transform: translateX(8px);
  box-shadow: 0 2px 8px rgba(30,76,13,0.1);
}

.sideMenu li:last-child .sidebarStd {
  border-bottom: none;
}

/* Enhanced main content */
.mainContent {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  padding: 40px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.mainContent:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.mainContent h2 {
  color: #1e4c0d;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.mainContent table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.mainContent td {
  padding: 20px;
  vertical-align: top;
}

/* Enhanced video container */
.video-container {
  background: linear-gradient(135deg, #cef0ee, #e6f7c1);
  border: 2px solid #1e4c0d;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.video-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.video-container:hover::before {
  left: 100%;
}

.video-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border-color: #7a1b1b;
}

.video-container iframe {
  width: 100%;
  max-width: 400px;
  height: 225px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.video-container iframe:hover {
  transform: scale(1.02);
}

.video-container p {
  margin-top: 15px;
  text-align: center;
  color: #1e4c0d;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

/* Responsive design */
@media (max-width: 1200px) {
  .content-wrapper {
    gap: 24px;
    padding: 0 16px;
  }
  
  .sidebar {
    min-width: 200px;
    max-width: 240px;
  }
  
  .mainContent {
    padding: 30px;
  }
}

@media (max-width: 900px) {
  .content-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  
  .sidebar {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: static;
    border-radius: 12px;
    margin-bottom: 20px;
  }
  
  .sideMenu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 8px;
    padding: 0 20px;
  }
  
  .sidebarStd {
    text-align: center;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 8px;
  }
  
  .sidebarStd:hover {
    transform: translateY(-2px);
  }
  
  .mainContent {
    padding: 24px;
  }
  
  .mainContent h2 {
    font-size: 2rem;
  }
  
  .overlay-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 8px 16px;
  }
  
  .hamburger {
    display: block;
  }

  .nav-links,
  .right-section {
    width: 100%;
    flex-direction: column;
    display: none;
    gap: 8px;
    margin-top: 8px;
  }

  .menu-toggle:checked ~ .nav-links,
  .menu-toggle:checked ~ .right-section {
    display: flex;
  }

  .navbar {
    align-items: flex-start;
  }

  .nav-links {
    align-items: flex-start;
  }

  .right-section {
    align-items: flex-start;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    background: #f1f7d1;
    padding-left: 20px;
    display: none;
    border-radius: 0;
  }
  
  .sideMenu {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
  
  .mainContent {
    padding: 20px 16px;
  }
  
  .mainContent h2 {
    font-size: 1.8rem;
  }
  
  .overlay-title {
    font-size: 2rem;
  }
  
  .video-container {
    padding: 16px;
  }
  
  .video-container iframe {
    height: 200px;
  }
  
  .video-container p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .content-wrapper {
    padding: 0 12px;
    margin: 20px auto;
  }
  
  .sidebar {
    padding: 16px 0;
  }
  
  .sideMenu {
    padding: 0 12px;
  }
  
  .sidebarStd {
    font-size: 13px;
    padding: 10px 16px;
  }
  
  .mainContent {
    padding: 16px 12px;
  }
  
  .mainContent h2 {
    font-size: 1.5rem;
  }
  
  .overlay-title {
    font-size: 1.8rem;
  }
  
  .video-container {
    padding: 12px;
  }
  
  .video-container iframe {
    height: 180px;
  }
  
  .video-container p {
    font-size: 14px;
  }
}

/* Enhanced hover effects for all interactive elements */
button:hover, .register-btn:hover, .dropbtn:hover, .nav-links a:hover, .dropdown-content a:hover {
  background: #e6f7c1;
  color: #7a1b1b;
  box-shadow: 0 4px 12px rgba(30,76,13,0.15);
  transform: translateY(-2px) scale(1.02);
}

button:active, .register-btn:active, .dropbtn:active, .nav-links a:active, .dropdown-content a:active {
  background: #d1e7a7;
  color: #7a1b1b;
  transform: scale(0.98);
}

/* Loading animation for iframe */
.video-container iframe {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus, .register-btn:focus, .dropbtn:focus, .nav-links a:focus, .dropdown-content a:focus, .sidebarStd:focus {
  outline: 2px solid #1e4c0d;
  outline-offset: 2px;
}

/* Book Grid Section Styles */
.book-grid {
  flex: 1;
  padding: 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.book-grid:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

/* Standard Section Styles */
.std {
  margin-bottom: 40px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(30,76,13,0.05), rgba(122,27,27,0.05));
  border-radius: 12px;
  border: 1px solid rgba(30,76,13,0.1);
}

.stdTitle {
  font-size: 2rem;
  color: #1e4c0d;
  font-weight: bold;
  margin: 0 0 20px 0;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
  padding: 15px;
  background: linear-gradient(135deg, rgba(30,76,13,0.1), rgba(122,27,27,0.1));
  border-radius: 8px;
}

.stdMedium {
  font-size: 1.2rem;
  color: #333;
  margin: 15px 0 20px 0;
  text-align: center;
  font-weight: 600;
  padding: 10px 20px;
  background: rgba(30,76,13,0.1);
  border-radius: 25px;
  display: inline-block;
  margin-left: 50%;
  transform: translateX(-50%);
  border: 2px solid rgba(30,76,13,0.2);
}

/* Books Container Styles */
.books {
  margin: 20px 0;
}

.books table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 20px;
  margin: 0 auto;
}

.books td {
  background: #ffffff;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(30,76,13,0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  vertical-align: top;
}

.books td::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30,76,13,0.05) 0%, rgba(122,27,27,0.05) 100%);
  border-radius: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.books td:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(30,76,13,0.2);
  border-color: #1e4c0d;
}

.books td:hover::before {
  opacity: 1;
}

.books td:active {
  transform: translateY(-4px) scale(0.98);
}

/* Book Cover Image Styles */
.bookCover {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(30,76,13,0.15);
  background: #fff;
  transition: all 0.3s ease;
  margin-bottom: 15px;
  padding: 10px;
  border: 2px solid rgba(30,76,13,0.1);
}

.books td:hover .bookCover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(30,76,13,0.25);
  border-color: #1e4c0d;
}

/* Page Font Styles */
.pagefont {
  color: #1e4c0d;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  text-align: center;
  transition: all 0.3s ease;
  line-height: 1.4;
  max-width: 100%;
  word-wrap: break-word;
}

.books td:hover .pagefont {
  color: #c0392b;
  transform: scale(1.05);
}

/* Link Styles */
.books a {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
}

.books a:hover {
  text-decoration: none;
}

/* Footer Styles */
.stdFooter {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
}

.button {
  background: linear-gradient(135deg, #1e4c0d, #2d5a1a);
  border: none;
  border-radius: 8px;
  color: white;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(30,76,13,0.3);
  text-decoration: none;
  display: inline-block;
}

.button:hover {
  background: linear-gradient(135deg, #2d5a1a, #1e4c0d);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30,76,13,0.4);
}

.buttonlink {
  color: white;
  text-decoration: none;
}

.buttonlink:hover {
  color: white;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .books table {
    border-spacing: 15px;
  }
  
  .books td {
    padding: 15px;
    min-height: 180px;
  }
  
  .bookCover {
    width: 100px;
    height: 100px;
  }
  
  .pagefont {
    font-size: 0.9rem;
  }
  
  .stdTitle {
    font-size: 1.8rem;
  }
}

@media (max-width: 900px) {
  .book-grid {
    padding: 15px;
  }
  
  .std {
    padding: 15px;
    margin-bottom: 30px;
  }
  
  .books table {
    border-spacing: 10px;
  }
  
  .books td {
    padding: 12px;
    min-height: 160px;
  }
  
  .bookCover {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
  }
  
  .pagefont {
    font-size: 0.85rem;
  }
  
  .stdTitle {
    font-size: 1.6rem;
    padding: 12px;
  }
  
  .stdMedium {
    font-size: 1.1rem;
    padding: 8px 16px;
  }
}

@media (max-width: 768px) {
  .books table {
    display: block;
    border-spacing: 0;
  }
  
  .books tr {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  
  .books td {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
    margin: 0;
    min-height: 150px;
  }
  
  .bookCover {
    width: 70px;
    height: 70px;
  }
  
  .pagefont {
    font-size: 0.8rem;
  }
  
  .stdTitle {
    font-size: 1.4rem;
  }
  
  .stdMedium {
    font-size: 1rem;
    margin-left: 0;
    transform: none;
    display: block;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .book-grid {
    padding: 4px;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
  }
  
  .std {
    padding: 10px;
    margin-bottom: 20px;
  }
  
  .books tr {
    gap: 8px;
  }
  
  .books td {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
    padding: 10px;
    min-height: 130px;
  }
  
  .bookCover {
    width: 60px;
    height: 60px;
    margin-bottom: 8px;
  }
  
  .pagefont {
    font-size: 0.75rem;
  }
  
  .stdTitle {
    font-size: 1.2rem;
    padding: 10px;
  }
  
  .stdMedium {
    font-size: 0.9rem;
    padding: 6px 12px;
  }
  
  .button {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

/* Animation Effects */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.books td {
  animation: fadeInUp 0.6s ease-out;
}

/* Stagger animation for cards */
.books td:nth-child(1) { animation-delay: 0.1s; }
.books td:nth-child(2) { animation-delay: 0.2s; }
.books td:nth-child(3) { animation-delay: 0.3s; }
.books td:nth-child(4) { animation-delay: 0.4s; }
.books td:nth-child(5) { animation-delay: 0.5s; }

/* Focus styles for accessibility */
.books td:focus-within {
  outline: 3px solid #1e4c0d;
  outline-offset: 2px;
}

.books a:focus {
  outline: 2px solid #1e4c0d;
  outline-offset: 2px;
}

/* Loading state */
.books td.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Hover effects for all interactive elements */
.books td:hover,
.button:hover,
.stdTitle:hover {
  cursor: pointer;
}

/* Smooth transitions */
* {
  transition: all 0.3s ease;
}

/* Enhanced hover effects */
.books td:hover {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.books td:hover .bookCover {
  filter: brightness(1.1);
}

/* Loading animation for images */
.bookCover {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Enhanced button styles */
.button {
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.button:hover::before {
  left: 100%;
}

/* Enhanced table responsiveness */
@media (max-width: 600px) {
  .books table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    border-spacing: 0;
  }
  
  .books tr {
    display: contents;
  }
  
  .books td {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    margin: 0;
  }
}

/* Print styles */
@media print {
  .book-grid {
    background: white;
    box-shadow: none;
  }
  
  .books td {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .button {
    display: none;
  }
}

/* --- Book Grid Responsive Grid Fix (Revised) --- */
.books {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin: 20px 0;
}

.books table,
.books tr {
  display: contents;
}

.books td {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 150px;
  margin: 0;
}

@media (max-width: 900px) {
  .books {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .books {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }
  .book-grid {
    width: 100%;
    max-width: 100%;
  }
}
/* --- CHATBOT LABEL STYLING --- */
.chat-label {
  position: fixed;
  bottom: 35px;
  right: 90px;
  background-color: #1e4c0d;
  color: white;
  padding: 8px 16px;
  border-radius: 20px 20px 0px 20px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
}
