.main-section {
  background-color: #d0e1e7;
  position: relative;
  overflow-x: hidden;
}

.container-first {
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  height: 672px;
  overflow: hidden;
}

.main-content {
  margin-top: 20px;
  margin-left: 10px;
  text-align: left;
}

.discount-text {
  font-size: 1.2rem;
  color: #ff6500;
  margin-bottom: 10px;
  font-family: cursive;
}

.main-heading {
  font-size: 4rem;
  font-weight: bold;
  color: #012e4a;
  margin-bottom: 20px;
}
.shop-now-btn {
  position: relative;
  overflow: hidden;
  color: white;
  background-color: #036280;
  border: 1px solid transparent;
  border-radius: 20px;
  font-size: 1.8rem;
  font-weight: bold;
  padding-left: 15px !important;
  padding-right: 15px !important;
  transition: color 0.3s ease-in-out;
  display: inline-block;
  z-index: 1; 
}

/* Creating the fill animation */
.shop-now-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #ff6500;
  border-radius: 20px;
  transition: left 0.5s ease-in-out;
  z-index: -1; /* Keeps background behind text */
}

.shop-now-btn:hover::before {
  left: 0;
}

/* Ensuring text remains above the animation */
.shop-now-btn span {
  position: relative;
  z-index: 2;
}

.shop-now-btn:hover {
  color: white;
}

.main-item {
  position: relative;
  height: 300px;
}

.book-image {
  position: absolute;
  left: 0;
  top: 509px;
}

.dotted-frame1 {
  position: absolute;
  top: 5;
  left: 450px;
  animation: moveLeftRight 2.5s infinite ease-in-out;
}

.dotted-frame2 {
  position: absolute;
  top: 572px;
  left: 636px;
  animation: moveFrameUpDown 2.5s infinite ease-in-out;
}

.star {
  position: absolute;
  left: 750px;
  top: 200px;
  animation: moveLeftRight 3s infinite ease-in-out,
    rotateStar 4s infinite linear;
}

.plane {
  position: absolute;
  top: 325px;
  right: 120px;
  animation: moveLeftRight 2.5s infinite ease-in-out;
}

.rounded-shape {
  position: absolute;
  left: 800px;
  z-index: 1;
}

.girl {
  position: absolute;
  width: auto;
  height: 95%;
  z-index: 1;
  top: 33.5;
  right: -57px;
  animation: moveLeftRight 2.5s infinite ease-in-out;
}

@keyframes moveLeftRight {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(15px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes rotateStar {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes moveFrameUpDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

.features-section {
  background-color: #f0f6f9;
  padding: 50px 0; /* Reduced padding for less vertical space */
}

.feature-card {
  padding: 1rem; /* Reduced padding for a compact design */
  display: flex;
  align-items: center;
  text-align: left;
}

.feature-content {
  display: flex;
  align-items: center;
  gap: 1rem; /* Slightly reduced gap between icon and text */
}

.icon-wrapper {
  background-color: #036280;
  width: 70px; /* Slightly smaller */
  height: 70px;
  border-radius: 10px; /* Adjusted for a refined look */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-wrapper i {
  color: white;
  font-size: 30px; /* Slightly smaller */
}

.text-wrapper {
  flex-grow: 1;
}

.feature-title {
  color: #012e4a;
  font-weight: 600;
  margin-bottom: 0.3rem; /* Reduced spacing */
  font-size: 1.3rem; /* Slightly smaller for compactness */
}

.feature-description {
  color: #4f536c;
  font-size: 0.9rem; /* Slightly smaller */
  margin: 0;
}








.categories-section {
  padding: 60px 0;
  background-color: #d0e1e7;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 600px;
  overflow: hidden;
}

.section-title {
  color: #012e4a;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.section-title::before,
.section-title::after {
  content: "";
  height: 2px;
  width: 200px;
  background: #012e4a;
  display: block;
}

.scroll-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.category-wrapper {
  display: flex;
  animation: scrolling 50s linear infinite;
  width: calc(200%);
}

@keyframes scrolling {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.category-item {
  flex: 0 0 auto;
  padding: 0 20px;
  min-width: 300px;
}

.category-circle {
  position: relative;
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.rotating-border {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 3px dashed rgb(135, 135, 190);
  border-radius: 50%;
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.category-number {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #036280;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 2;
}

.book-cover {
  max-width: 140px;
  max-height: 180px;
  object-fit: cover;
  z-index: 1;
}

.category-title {
  color: #012e4a;
  font-weight: 600;
  margin-top: 20px;
  text-align: center;
  font-size: 1.1rem;
}

.category-wrapper::after {
  content: "";
  display: block;
  width: 100%;
  flex: 0 0 auto; 
}

.category-wrapper:hover {
  animation-play-state: paused;
}

.container-fluid-promo-banner {
  max-width: 1470px !important;
  margin: 0 auto;
}






/* Book Grid Layout */

.featured-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-left: 10px;
}

.explore-btn {
  position: relative;
  overflow: hidden;
  color: white;
  background-color: #036280;
  /* border: 1px solid transparent; */
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 30px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease-in-out;
  z-index: 1;
}

/* Left-to-right hover fill effect */
.explore-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #e05a00;
  border-radius: 8px;
  transition: left 0.5s ease-in-out;
  z-index: -1; /* Keeps background behind text */
}

.explore-btn:hover::before {
  left: 0;
}


.book-column {
  width: 100%;
  max-width: 25%;
  padding: 15px;
  box-sizing: border-box;
}

/* Book Card Design */
.book-card {
  background: white;
  border-radius: 8px;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.book-card:hover {
  transform: translateY(-5px);
}

.book-thumb {
  position: relative;
  overflow: hidden;
  padding: 30px;
  height: 300px;
  background-color: #f5f5f5;
  text-align: center;
}

.book-thumb img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease-in-out;   
}


.book-thumb:hover img {
  transform: scale(1.1);
}

/* Book Icons */
.book-icons {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.book-icons li a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
  opacity: 0;
  color: #333;
  text-decoration: none;
  border: 1.5px solid #333;
}

.book-thumb:hover .book-icons li a {
  opacity: 1;
}

.book-icons li a:hover {
  background: #ff6500;
  color: white;
}

/* Book Content */
.book-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.book-content h3 a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
}

.book-content h3 a:hover {
  color: #ff6500;
}

/* Price and Rating */
.price-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  list-style: none;
}

.price-list li:first-child {
  color: #ff6500;
  font-weight: bold;
}

.price-list li.rating {
  color: #4f536c;
}

/* View Details Button */
.theme-btn {
  background-color: #543ee81a;
  padding: 12px 20px;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s ease-in-out;
  color: #036280;
}

.theme-btn:hover {
  background: #ff6500;
  color: white;
}






.promo-banner-section {
  background-image: url("Assets/cta-banner.jpg");
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  margin: 40px auto;
  padding: 0;
}

.banner-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  min-height: 400px;
}

.books-section {
  background-image: url("Assets/book-shape.png");
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.books-collage {
  width: 100%;
  height: auto;
  max-width: 300px;
  transform: rotate(-5deg);
}

.content-section {
  text-align: center;
  padding: 40px;
  z-index: 2;
}

.promo-title {
  color: #2f4858;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
}

.shop-now-btn {
  background-color: #ff5b51;
  color: white;
  border-radius: 30px;
  padding: 15px 35px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.shop-now-btn:hover {
  background-color: #2f4858;
  color: white;
  transform: translateY(-2px);
}

.student-section {
  position: relative;
  height: 100%;
}

@keyframes moveLeftRight {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-20px);
  }
  100% {
    transform: translateX(0);
  }
}

.student-image {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 100%;
  height: auto;
  animation: moveLeftRight 3s ease-in-out infinite;
}

.section-title {
  color: #0b2d4d;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.testimonial-carousel {
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  animation: slide 15s linear infinite;
  width: calc(350px * 6);
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonial-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.testimonial-carousel {
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  width: 100%;
}

.testimonial-card {
  flex: 0 0 calc(30% - 20px);
  background: white;
  padding: 2rem;
  margin: 0 10px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  min-height: 400px;
  box-sizing: border-box;
}

.testimonial-content {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}
.card-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 110px;
  height: 107px;
  z-index: 1;
  transition: filter 0.3s ease;
}

.testimonial-card:hover .card-shape {
  filter: brightness(0) invert(1);
}

.profile-section {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.profile-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
}

.profile-info h5 {
  margin: 0;
  color: #333;
  font-size: 1.1rem;
}

.profile-info p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.company-logo {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  height: 25px;
  z-index: 2;
}

.rating i {
  color: #ff6b00;
  font-size: 1.2rem;
}

.orange-line {
  height: 2px;
  background-color: #ff6b00;
  width: 100%;
  margin: 1.5rem 0;
}

.testimonial-track:hover {
  animation-play-state: paused;
}
/* 
.featured-section {
  padding: 50px 0;
  overflow: hidden;
}

.featured-title {
  color: #0b2d4d;
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.subtitle {
  color: #666;
  text-align: center;
  margin-bottom: 40px;
}

.authors-wrapper {
  position: relative;
  padding: 20px 0;
}

.authors-container {
  display: flex;
  gap: 30px;
  animation: scroll 30s linear infinite;
  padding: 20px 0;
  overflow-x: auto;
}

.author-card {
  min-width: 250px;
  text-align: center;
  padding: 20px;
  border: 2px dashed #e0e0e0;
  border-radius: 10px;
  background: white;
}

.author-image-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.laurel-frame {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 144px;
  height: 144px;
  z-index: 2;
  pointer-events: none;
}

.laurel-frame {
  filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.2));
}

.author-name {
  color: #003366;
  font-weight: 600;
  margin: 10px 0 5px;
}

.books-count {
  color: #666;
  font-size: 0.9em;
} */

/* @keyframes scroll {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-100%);
  }
} */

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #003366;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: opacity 0.3s;
  z-index: 1000;
}

.scroll-to-top:hover {
  background: #004080;
}



.book-column {
  width: 25%;
  padding: 15px;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.book-card {
  background: white;
  border-radius: 8px;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: none;
}

.book-thumb {
  position: relative;
  overflow: hidden;
  padding: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background-color: #f5f5f5;
}

.book-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease-in-out;
}

.book-thumb:hover img {
  transform: scale(1.1);
}

.book-thumb:hover .book-icons li a {
  transform: rotateY(0);
  opacity: 3;
}

.book-icons {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
  padding: 0;
  margin: 0;
  list-style: none;
}

.book-icons li {
  margin: 0;
  padding: 0;
}
.book-icons li a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  cursor: pointer;
  transition: all 0.5s ease;
  transform: rotateY(180deg);
  opacity: 0;
  perspective: 1000px;
  color: #333;
  text-decoration: none;
  background: transparent;
  border: 1.5px solid #333;
}

.book-icons li a:hover {
  color: #012e4a;
  border-color: #012e4a;
}

.book-thumb:hover .book-icons li a {
  transform: rotateY(0);
  opacity: 1;
}

.book-thumb:hover .book-icons li:nth-child(1) a {
  transition-delay: 0s;
}

.book-thumb:hover .book-icons li:nth-child(2) a {
  transition-delay: 0.1s;
}

.book-thumb:hover .book-icons li:nth-child(3) a {
  transition-delay: 0.2s;
}

.book-icons li a:hover {
  background: #ff6500;
  color: white;
}

.book-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.book-content h3 a {
  text-decoration: none;
  color: #012e4a !important;
  transition: color 0.3s ease-in-out;
  font-size: 18px;
  font-weight: 700;
  line-height: 145%;
}

.book-content h3 a:hover {
  color: #ff6500 !important;
}

.price-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  margin: 0 0 15px 0;
  font-size: 16px;
  font-weight: 700;
  list-style: none;
  color: #ff6500;
}

.book-content .price-list li:first-child {
  color: #ff6500;
  font-weight: bold;
}

.book-content .price-list li i {
  color: #ffa900;
}

.book-content .price-list li {
  color: #4f536c;
}

.book-button {
  margin-top: auto;
  padding: 0 10px 20px 10px;
  width: 100%;
}

.theme-btn {
  position: relative;
  overflow: hidden;
  font-family: sans-serif;
  color: #036280;
  background-color: #543ee81a;
  padding: 15px 30px;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: calc(100% + 20px);
  margin: 0 -10px;
  box-sizing: border-box;
  z-index: 1;
}

.theme-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #ff6500, #ff9500);
  border-radius: 40px;
  transition: left 0.5s ease-in-out;
  z-index: -1;
}

.theme-btn:hover::before {
  left: 0;
}

.theme-btn span,
.theme-btn i {
  position: relative;
  z-index: 2;
}

.theme-btn:hover {
  color: white;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}

.mb-4 {
  margin-bottom: 30px;
}

