      /* CSS styles */

      @keyframes fade-in {
        0% {
          opacity: 0;
        }

        100% {
          opacity: 1;
        }
      }

      @keyframes slide-up {
        0% {
          transform: translateY(20px);
          opacity: 0;
        }

        100% {
          transform: translateY(0);
          opacity: 1;
        }
      }


      .subheading {
        padding-top: 15px;
        font-size: 13px;
        font-weight: bold;
        text-align: center;
        font-family: 'Urdu', sans-serif;
      }

      .subheading.mid {
        font-size: 22px;
        font-family: 'Urdu', sans-serif;
      }

      .text {
        padding-top: 15px;
        font-size: 18px;
        text-align: right;
        font-family: 'Urdu', sans-serif;
        /* direction: rtl; */
      }

      /* .text .chapters{
        text-align: center;
        padding-top: 10px;
        font-size: 20px;
      } */
      .container.main {
        text-align: center;
      }

      .book-details {
        margin-bottom: 20px;
        animation: slide-up 1s ease;
      }



      /* h1{
        margin-left: 5px;
        margin-right: 5px;
      } */
      .image-overlay h2 {
        font-family: "urdu", sans-serif;
        color: #333333;
        font-size: 24px;
        margin-top: 0;
      }

      .chapter-list {
        list-style: none;
        padding: 0;
        text-align: right;
      }

      .chapter-list li {
        margin-top: 10px;
        text-align: center;
        background: #f5f5f5;
        text-decoration: none;
        color: #222;
        text-align: right;
        padding: 10px;
        transition: background-color 0.3s ease;
        /* opacity: 0.8; */
        height: fit-content;
      }

      .chapter-list li:hover {
        background: #e4e3e3;
      }

      .dark-mode .chapter-list li {
        background-color: #444;
      }
      .dark-mode .chapter-list li:hover {
        background: #777;
      }
      .chapter-list li a {
        text-decoration: none;
        color: #333333;
      }

      .dark-mode .chapter-list li a {
        text-decoration: none;
        color: #fff;
      }



      .options {
        display: flex;
        justify-content: space-between;
        margin-bottom: 20px;
        align-items: center;
        cursor: pointer;
      }

      .options a {
        text-decoration: none;
        color: #000000;
        padding: 10px 20px;
        border-radius: 15px;
        transition: background-color 0.3s ease;
        opacity: 0.8;
        margin-bottom: 10px;
      }

      .options a:hover {
        opacity: 2;
      }

      .text-heading {
        direction: ltr;
        font-weight: bolder;
        font-size: 30px;
        margin-left: 300px;
      }

      .previous,
      .next {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
        color: #0009;
        background-color: #fff1;
        /* border: 1px solid; */
        outline: none;
        padding: 10px;
        z-index: 9999;
        transition: background-color 0.3s ease;
        border-radius: 31px;
        height: 50px;
        width: 50px;
        text-align: center;
        padding-top: 11px;
        opacity: 001;
      }

      .previous:hover,
      .next:hover {
        color: #000;
        background-color: #f2f2f2;
        opacity: 100;
      }

      .dark-mode .card {
        border: 1px solid rgba(255, 255, 255, 0.125);
        background: #333;
      }

      .previous {
        left: 10px;
      }

      .next {
        right: 10px;
      }

      .text-center {
        padding-top: 15px;
      }

      .home {
        position: absolute;
        top: 20px;
        right: 20px;
        color: #ffffff;
        background: transparent;
        border: none;
        cursor: pointer;
        font-size: 30px;
        outline: none;
        transition: color, transform 0.5s ease-in-out;
      }

      .home:hover {
        color: #929292;
        transform: scale(1.05);
      }



      .image-container {
        float: right;
        position: relative;
        /* display: inline-block; */
        overflow: hidden;
        border-radius: 15px;
        /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
        transition: box-shadow 0.3s ease;
      }

      .image-container:hover {
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
      }

      .product-image {
        max-width: 250px;
        width: 25vw;
        /* Adjust the width as per your image dimensions */
        height: 100%;
        /* Adjust the height as per your image dimensions */
        margin-right: 10px;
        transition: transform 0.3s ease;
        font-family: 'Urdu', sans-serif;
      }

      .image-container:hover .product-image {
        transform: scale(1.05);
      }

      .image-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
      }

      .options-slide {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        opacity: 0;
        transition: opacity 0.3s ease;
      }

      .image-container:hover .image-overlay {
        height: 100%;
        /* Adjust the height of the slide as needed */
      }

      .image-container:hover .options-slide {
        opacity: 1;
      }

      /* 
      header h1{
        background: white;
        color: black;
        width: fit-content;
        text-align: center;

      } */
      .add-to-cart,
      .buy-now {
        color: #fff;
        text-decoration: none;
        margin: 10px;
        padding: 12px;
        background-color: #ff6b6b;
        /* Customize the background color */
        font-size: 24px;
        transition: background-color 0.3s ease, transform 0.3s ease-in-out;
        border-radius: 15px;
      }

      .add-to-cart:hover,
      .buy-now:hover {
        background-color: #ee5253;
        /* Customize the hover background color */
        transform: scale(1.5);
      }