/* Primary color theme */
/* Font and base */

body {
  color: var(--text-color);
  font-family: "STIX Two Text", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

:root {
  --primary-color: #A0CC46;
  --secondary-color: #FB944C;
  --third-color: #FAF3EB;
  --text-color: #1E1E1E;
}


/* Reset row padding */
.row {
  margin-left: 0;
  margin-right: 0;
}

/* Remove gutter from columns */
.row.no-gutters>[class^="col-"] {
  padding-left: 0;
  padding-right: 0;
}

/* Global body styling */

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Buttons */
.btn-primary {
  background-color:var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}


/* Typography Settings */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-color);
  font-family: "STIX Two Text", serif;
}

/* Headings */
h1 {
  font-size: 74px;
  font-size: 4.625rem;
  line-height: 80px
}

h2 {
  font-size: 60px;
  font-size: 3.75rem;
  line-height: 66px
}

h3 {
  font-size: 44px;
  font-size: 2.75rem;
  line-height: 50px
}

h4 {
  font-size: 34px;
  font-size: 2.125rem;
  line-height: 40px
}

h5 {
  font-size: 26px;
  font-size: 1.625rem;
  line-height: 32px
}

h6 {
  font-size: 20px;
  font-size: 1.25rem;
  line-height: 26px
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin: 0 0 1em
}

p {
  margin: 0 0 1.5em
}

ul,
ol {
  margin: 0 0 1em 3em;
  padding: 0
}

ul {
  list-style: disc
}

ol {
  list-style: decimal
}

li>ul,
li>ol {
  margin-bottom: 0;
  margin-left: 1em
}

/* Paragraph */
p {
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  color: #555;
  font-family: 'Poppins', sans-serif;

}



header {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.75rem 1rem;
}
.book-image img {
    min-height: 320px;
}



@media (max-width: 767.98px) {
  h1 {
    font-size: 1.75rem;
  }

  .lead {
    font-size: 1rem;
  }
}

.banner-bg {
  background: url(../images/Banner-1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: inherit;
  min-height: 600px;
}

.search-wrapper {
  position: relative;
  max-width: 500px;
}

.search-input {
  width: 100%;
  padding: 12px 20px;
  padding-right: 60px;
  border: 2px solid var(--secondary-color);
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.search-input:focus {
  box-shadow: 0 0 5px var(--secondary-color);
}

.search-button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 50%;
  height: 42px;
  width: 42px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}

.search-button:hover {
  background: var(--secondary-color);
}

/* Popup styling (same as earlier) */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
}

.popup-box {
  background: white;
  padding: 30px;
  border-radius: 8px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


.scrolling-section {
  background: #000000;
  overflow: hidden;
  position: relative;
  padding: 15px 0;
}

.scrolling-wrapper {
  display: flex;
  width: max-content;
  animation: scrollLeft 30s linear infinite;
}

.book-card {
  margin: 0 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.book-card:hover {
  transform: translateY(-5px);
}

.book-card img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.book-card p {
  font-weight: bold;
  font-size: 0.95rem;
  margin: 0;
  color: #b5d44e;
}
.book-card i{
  color: #b5d44e;
}
.book-card {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}





.highlights-section {
  background-color: #f8f8f8;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  color: #1B5772;
}

.highlights-swiper {
  position: relative;
}

.highlight-item {
  background: white;
  border-radius: 8px;
  text-align: center;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.highlight-item img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 10px;
}

.highlight-item h5 {
  margin: 10px 0 5px;
  font-weight: 600;
}

.highlight-item p {
  font-size: 0.9rem;
  color: #555;
}

.swiper-button-next,
.swiper-button-prev {
  color: #1B5772;
}

.swiper-pagination-bullet-active {
  background: #1B5772;
}

.ptb-80 {
  padding: 80px 0;
}

.w-60 {
  width: 70%;
  margin: 0 auto;
}

.banner-content.custom-position-abs {
  padding: 145px 0;
}

.book-image img {
  display: block;
  margin: 0 auto;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.book-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 5px;
  z-index: 99999;
  width: auto;
  height: 28px;
  margin-bottom: 2px;
}

h5.book-title {
  font-size: 1.125rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 26px;
  margin-bottom: 0;
}

h5.book-title {
  font-size: 1.125rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 26px;
  width: 70%;
  text-align: center;
  margin: 0 auto;
}

p.book-author {
  line-height: 18px;
  font-weight: 600;
  font-size: .75rem;
  white-space: nowrap;
  text-align: center;
}


.text-right.cutom-btn-dark {
  text-align: right;
  justify-content: right;
  display: flex;
}

.cutom-btn-dark a {
  display: flex;
  justify-content: space-between;
  width: fit-content;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
  align-items: center;
  color: #000000;
  gap: 10px;
  border: 1px solid #8c8c8c;
  transition: all .5s ease;
}

.cutom-btn-dark a:hover {
  text-decoration: none;
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color);
  ;
}

.book-price {
  display: block;
  background: var(--secondary-color);
  justify-content: space-between;
  width: fit-content;
  padding: 7px 40px;
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
  align-items: center;
  color: #fff;
  margin: 0 auto;
}

.book-price:hover {
  color: #fff;
  text-decoration: none;
}

.outer-box {
  padding: 10px;
  position: relative;
}

.bg-light {
  --bs-bg-opacity: 1;
  background-color: ;
}

.Category-section {
  position: relative;
  background: url(../images/books-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 1;

}

.Category-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000000e8;
  z-index: 2;
}

.Category-section>* {
  position: relative;
  z-index: 3;
  color: #fff;
}

.category-box-outer {
  background: #ffffff;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
}

.Category-section h2 {
  color: #fff;
}

.Category-section .cutom-btn-dark a {
  color: #fff;
}

.cta-banner-bg {
  position: relative;
  background: url(../images/h1-banner01-1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 1;
  border-radius: 10px;
  padding-left: 50px;
}

.cta-banner-bg h2 {
  color: #fff;
}

.cta-banner-bg h5 {
  color: #fff;
}

.cta-banner-bg p {
  color: #fff;
}

.cta-banner-bg a {
  color: #fff;
  border: 1px solid #eee;
}

.author-section .category-box-outer img {
  border-radius: 50%;
}

.author-section .category-box-outer {
  background: transparent;
}

.footer {
  background-color: #f8f9fa;
  padding: 40px 0;
}

.footer h5 {
  font-weight: 600;
  margin-bottom: 20px;
}

.footer a {
  display: block;
  color: #212529;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer a:hover {
  text-decoration: underline;
}

.footer .logo {
  font-size: 24px;
  font-weight: bold;
  color: #004d26;
}

.footer .logo-icon {
  font-size: 28px;
  margin-right: 8px;
}

.footer .contact-number {
  color: #e0b76d;
  font-size: 20px;
  margin-top: 15px;
}

.contact-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.contact-section h2 {
  font-weight: 700;
  margin-bottom: 20px;
}

.form-control:focus {
  box-shadow: none;
  border-color: #000;
}

.btn-submit {
  background-color: #000;
  color: white;
}

.btn-submit:hover {
  background-color:#000;
}


.books-outer-box.blue-bg {
  position: relative;
  background: url(../images/blue-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
}

.books-outer-box.green-bg {
  position: relative;
  background: url(../images/green-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
}

.books-outer-box.pink-bg {
  position: relative;
  background: url(../images/pink-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
}

.books-content {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
}

.rgt-cnt {
  color: #fff;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.rgt-cnt .text-right.cutom-btn-dark {
  margin-top: 20px;
}

.newsletter-input {
  background-color: #f5f5f5;
  border-radius: 30px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
}

.newsletter-input input {
  border: none;
  background: transparent;
  flex: 1;
  outline: none;
}

.subscribe-btn {
  background: none;
  border: none;
  color: var(--secondary-color);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.social-icons .icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}

.icon-facebook {
  background-color: #1da1f2;
}

.icon-twitter {
  background-color: #14171a;
}

.icon-instagram {
  background-color: #8a3ab9;
}

.why-choose-us {
  padding: 60px 20px;
  text-align: center;
}

.why-choose-us h6 {
  color: #999;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.why-choose-us h2 .highlight {
  color: #0a8f3d;
}

.featured-authors {
  padding: 60px 20px;
  text-align: center;
}

.featured-authors h2 {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 50px;
}

.author-card {
  background-color: #f8f5f1;
  padding: 40px 25px;
  border-radius: 15px;
  text-align: center;
  height: 100%;
}

.author-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
}

.author-name {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.author-bio {
  margin-bottom: 20px;
}

.view-link {
  font-weight: 600;
  color: #000;
  text-decoration: underline;
}

.view-link:hover {
  text-decoration: none;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.filter-bar button {
  border: none;
  background: none;
  font-weight: 500;
  padding: 6px 10px;
  cursor: pointer;
  position: relative;
}

.filter-bar button.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #059669;
  /* green */
  border-radius: 2px;
}

.author-card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: #fff;
  transition: all 0.3s ease;
  height: 100%;
  flex-direction: column;
  transition: background .3s, border .3s, border-radius .3s, box-shadow .3s, transform var(--e-transform-transition-duration, .4s);
}

.author-card.bg-light:hover {
  box-shadow: 0px 0px 60px 0px rgba(0, 0, 0, .07);
  background: #fff !important;
}

.author-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

.banner-section {
  background: url('https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&w=1500&q=80') no-repeat center center/cover;
  height: 300px;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.45);
}

.banner-content {
  position: relative;
  z-index: 2;
}

.breadcrumb-custom {
  color: #ddd;
  font-size: 0.95rem;
}

.banner-title {
  font-size: 3rem;
  font-weight: 600;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .banner-title {
    font-size: 2rem;
  }
}


section.Browse-Authors .author-card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: #fff;
  transition: all 0.3s ease;
  height: 100%;
  flex-direction: row;
  transition: background .3s, border .3s, border-radius .3s, box-shadow .3s, transform var(--e-transform-transition-duration, .4s);
}

section.Browse-Authors .author-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0;
}

section.Browse-Authors .author-name {
  color: #000;
  text-decoration: none;
}

section.Browse-Authors .author-name:hover {
  color: var(--primary-color);
}

section.Browse-Authors .author-card {
  transition: background .3s, border .3s, border-radius .3s, box-shadow .3s, transform var(--e-transform-transition-duration, .4s);
}

section.Browse-Authors .author-card:hover {
  box-shadow: 0px 0px 60px 0px rgba(0, 0, 0, .02);
  background: #fff !important;
}

.w-70 {
  width: 70%;
  margin: 0 auto;
}

a.navbar-brand.me-4 img {
  width: 200px;
}

.category-item.active {
  background-color: #f0f0f0;
  font-weight: bold;
  border-radius: 10px;
}

.card-img-top {
  height: 180px;
  object-fit: cover;
}

.category-item {
  cursor: pointer;
  padding: 8px 12px;
}

.category-item:hover {
  background-color: #eaeaea;
  border-radius: 10px;
}

section.banner-inner-page.people-bg {
  background: url('../images/banner/slider.webp') no-repeat center center/cover;
  position: relative;
  color: #fff;
  text-align: left;
}

section.banner-inner-page.author-detail-bg {
  background: url('../images/Banner.jpg') no-repeat center center/cover;
  position: relative;
  color: #fff;
  text-align: left;
}

.img-outer-box {
  position: relative;
}

.inner-img-box {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  background: #fff;
  padding: 20px 45px;
  border-radius: 4px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  text-align: left;
}

.img-outer-box img {
  width: 100%;
  height: 490px;
  object-fit: cover;
  object-position: center center;
  border-radius: 10px;
}

.inner-img-box h6 {}

.text-box.text-left {
  text-align: left;
}

.row.outer-top-border {
  padding-top: 80px;
  border-top: 1px solid #e2e2e2;
  margin-top: 80px;
}

.right-outer-box img {
  width: 100%;
  height: 850px;
  object-fit: cover;
  object-position: center center;
  border-radius: 10px;
}


.tab-container {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
}

.tab-menu {
  flex: 0 0 200px;
}

.tab-menu label {
  display: block;
  padding: 12px 16px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  transition: background .3s, border .3s, border-radius .3s, box-shadow .3s, transform var(--e-transform-transition-duration, .4s);
  border: 1px solid #eee;
  border-radius: 6px;
  align-items: center;
  gap: 15px;
  background-color: #fff;
  flex-direction: column;
  margin-bottom: 6px;
}

.tab-menu label:hover {
  background: var(--secondary-color);
  color: #fff;
}

input[type="radio"] {
  display: none;
}

input[type="radio"]:checked+label {
  background: #d0d0d0;
  font-weight: bold;
}

.tab-content {
  flex: 1;
  display: none;
}

/* Display the selected content */
#tab1:checked~.content1,
#tab2:checked~.content2,
#tab3:checked~.content3,
#tab4:checked~.content4,
#tab5:checked~.content5,
#tab6:checked~.content6,
#tab7:checked~.content7,
#tab8:checked~.content8,
#tab9:checked~.content9,
#tab10:checked~.content10,
#tab11:checked~.content11,
#tab12:checked~.content12 {
  display: block;
}

section.people-tab-section.ptb-80 .outer-box {
  padding-top: 0;
  margin-bottom: 30px;
}

/* Desktop sticky sidebar */
.tab-menu {
  position: sticky;
  top: 90px;
  height: 100vh;
  overflow-y: auto;
  z-index: 1;
}

.tabs-section-cat {
  display: flex;
  gap: 20px;
  padding: 20px;
}

.sidebar {
  width: 240px;
  background: #fff;
  border-radius: 8px;
  padding: 0px;
  flex-shrink: 0;
  position: sticky;
  top: 90px;
  height: 100vh;
  overflow-y: auto;
  z-index: 1;

}

.filter-group {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 15px;
  overflow: hidden;
}

.filter-title {
  padding: 12px 16px;
  font-weight: 600;
  cursor: pointer;
  background: #fafafa;
}

.filter-content {
  padding: 10px 16px;
}

.filter-content label {
  display: flex;
  align-items: center;
  margin: 6px 0;
  font-size: 16px;
}

.filter-content input {
  margin-right: 10px;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.view-toggle button {
  border: 1px solid #ccc;
  background: white;
  padding: 6px 10px;
  margin-right: 6px;
  cursor: pointer;
  border-radius: 4px;
}

.view-toggle button.active {
  background: #2c3e50;
  color: white;
  border-color: #2c3e50;
}

select {
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.books.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.books.list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.book-card {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.book-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.book-info {
  padding: 10px;
  text-align: center;
}

.book-info .rating {
  color: #f39c12;
  margin-bottom: 4px;
  font-size: 14px;
}

.book-info .title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.book-info .author {
  font-size: 13px;
  color: #666;
}

.mobile-filter-toggle {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
  background: white;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100%;
  background: #fff;
  border-right: 1px solid #ddd;
  z-index: 1000;
  overflow-y: auto;
  transition: left 0.3s ease;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.2);
}

.mobile-sidebar.open {
  left: 0;
}

.sidebar-content {
  padding: 20px;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  margin-bottom: 20px;
}

@media(max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    display: none;
  }

  .mobile-filter-toggle {
    display: inline-block;
  }
}
input[type="checkbox"] {
  accent-color:#000;
  color: #fff;
}

 .product-price {
      font-size: 1.5rem;
      color: green;
      font-weight: bold;
    }
    .old-price {
      text-decoration: line-through;
      color: #999;
      margin-left: 10px;
      font-size: 1.1rem;
    }
    .btn-rounded {
      border-radius: 30px;
    }
    .slider-nav img {
      cursor: pointer;
      border: 2px solid transparent;
      border-radius: 6px;
    }
    .slider-nav .slick-current img {
      border-color: var(--secondary-color);
    }
    .slider-main img {
      border-radius: 10px;
    }
    .flex {
    display: flex;
    gap: 20px;
}
p.pro-desc {
    padding: 20px 0;
    border-top: 1px solid #eeee;
    border-bottom: 1px solid #eeee;
    margin-bottom: 30px;
}

.pro-list {
    padding: 20px 0;
}
.pro-list .flex.align-items-center.gap-2 {
    padding: 2px 0;
}
.pro-list i{
  color: #a8a8a8;
}
img.custom-logo {
    width: 200px;
}
.container.newsletter-section {
    background: var(--primary-color);
    background: #000;
    padding: 50px;
}
.container.newsletter-section h2 {
    color: #fff;
}
.container.newsletter-section p {
    color: #fff;
}
.contact-forms {
    background: #fff;
    padding-top: 40px;
    margin-top: 40px;
}