.books-banner {
  background-image: linear-gradient(rgba(0, 0, 0, 0.67), rgba(0, 0, 0, 0.29)), url('../img/book-banner.png');
  background-size: cover;
  background-position: center;
  height: 100%;
  width: 100%;
  margin-top: 69px;
}
.headline {
  height: 45vh;
  align-content: center;
  /* padding-top: 67px; */
}

.books-banner h3{
  color:#dfa957
}

#books-swiper .full-paragraph {
    display: none;
    /* Initially hide the full paragraph */
}

#books-swiper .show {
    display: block !important;
    /* Override display to show the paragraph */
}

/* ... Your existing CSS ... */

/* Style for the "Read More" button */
#books-swiper .read-more-button {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

#books-swiper .read-more-button:hover {
    background-color: #2980b9;
}

/* Style for the "Read Less" button */
#books-swiper .read-less-button {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

#books-swiper .read-less-button:hover {
    background-color: #c0392b;
}

/* Style for the paragraph and buttons */
#books-swiper .paragraph {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

#books-swiper #more,
#less {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

#books-swiper #more {
    background-color: gray;
    color: white;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

#books-swiper #more:hover {
    background-color: #000;
}

#books-swiper #less {
    background-color: gray;
    color: white;
    transition: background-color 0.3s ease;
}

#books-swiper #less:hover {
    background-color: #000;
}

#books-swiper {
    background-image: linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.78)), url('../img/book-background/the-g-connection-background.png');
    background-size: cover;
    background-position: center;
}

#books-swiper #video-background {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    z-index: -1;
}

.projects {
    position: relative;
    /* Add other styling as needed */
}

/* #books-swiper .textbook {
    hyphens: auto;
    -webkit-hyphens: auto;
    word-spacing: -0.05em;
} */

/*new swiper*/
.swiper-container {
    /* margin-top: -7rem; */
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    text-align: center;
    font-size: 18px;
    background: transparent;
}

.swiper-slide img {
    /* margin-top: -7rem; */
    align-items: center;
    display: block;
    width: 1500px;
    height: auto;
}

.row {
    /*margin: 4rem 4rem -7rem 4rem ;*/
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

/*arrow*/
.next,
.prev {
    font-weight: 700;
    color: white;
}

.buyNow {
    background: linear-gradient(145deg, #4a585b, #3d4b4d);
    /* dark gradient base */
    color: #fff;
    /* white text */
    border: 1px solid #2f3c3e;
    /* subtle border */
    border-radius: 50px;
    /* pill shape */
    padding: 10px 25px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: inset -2px -2px 5px rgba(255, 255, 255, 0.2);
    /* soft inner light */
    position: relative;
    transition: all 0.3s ease;
}

/* Glossy right edge */
.buyNow::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 15%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.6));
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

/* Hover effect */
.buyNow:hover {
    background: linear-gradient(145deg, #556568, #455254);
    transform: translateY(-2px);
    border-color: transparent !important
}

#book .title {
    color: #b7ac77;
}

#book h5 {
    color: #b7ac77;
}

.purchase-button {
    padding-top: 10px;
}

.purchase-button ul {
    display: flex;
    justify-content: space-evenly;
}

.purchase-button ul li {
    list-style: none;
}

 .purchase-button ul li .text-white {
    border: 0 !important;
    background: #b7ac77;
    background-color: rgb(183, 172, 119);
    background-color: rgb(183, 172, 119);
    padding-left: 30px !important;
    padding-right: 30px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border-radius: 4px;
    color:#734806 !important;
}

 .purchase-button ul li .text-white:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: #734806 !important;
}


@media (max-width: 1200px) {
  .purchase-button ul li .text-white {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}




.book-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.8);
  overflow-y: auto;
  padding: 40px 0;
}

.book-modal-content {
  background: #fff;
  max-width: 900px;
  margin: auto;
  padding: 40px 30px;
  border-radius: 10px;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  animation: fadeIn 0.3s ease;
}

.book-modal-content .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
}

.book-modal-left img {
  width: 280px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.book-modal-right {
  flex: 1;
  min-width: 300px;
}

.book-modal-right h2 {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.book-author,
.book-price {
  font-size: 16px;
  margin-bottom: 8px;
  color: #444;
}

.book-price strong {
  color: #000;
}

.book-buttons {
  margin: 15px 0;
}

.book-buttons .btn {
  padding: 10px 18px;
  font-size: 15px;
  border-radius: 4px;
  text-decoration: none;
}

.book-description {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.btn:hover {
  color: white !important;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity: 1; transform: translateY(0);}
}

@media (max-width: 768px) {
  .book-modal-content {
    flex-direction: column;
    text-align: center;
  }

  .book-modal-left img {
    width: 70%;
    margin: 0 auto 20px;
  }
}
