
.bookshelf-section {
  height: 65vh;
  padding-right: 10px;
  padding-left: 270px;
  display: flex;
  align-items: center;
  overflow: hidden;
  overflow-x: hidden;
}

.bookshelf-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  width: 100%;
  position: static;
}

.bookshelf-title {
  font-size: 3.5rem;
  font-weight: 100;
  color: #ffffff;
  margin-bottom: 3rem;
  letter-spacing: -0.03em;
  font-family: 'Metropolis', sans-serif;
}

.bookshelf-quote {
  text-align: left;
  width:700px;
  padding-bottom: 30px;
}

.bookshelf-quote h2 {
  font-size: 48px;
  color: #ffffff;
  font-weight: 100;
  line-height: 52px;
  margin-bottom: 1.5rem;
  font-family: 'Metropolis', sans-serif;
}
.bookshelf-quote h3 {
  font-size: 36px;
  color: #ffffff;
  font-weight: 600;
  line-height: 46px;
  letter-spacing: 0.05em;
  margin-bottom: 0;
  font-family: 'Metropolis', sans-serif;
}

.book-shelf-visual {
  position: absolute;
  right: -100px;
  top: 0;
  overflow-y:clip;

}

.book-shelf-visual img {
  width: 700px;
  height: 778px;
  object-fit: contain;
}


.bookshelf-categories-section{
  background-color: #F3F3FF;
  padding:100px 0;
  overflow: hidden;
}
.bookshelf-card{
  width:1140px;
  margin: 0 auto;
  padding: 15px 15px;
  background-color: #ffffff;
  border-radius: 25px;
}


.bookshelf-categories-description{
  color: #000000;
  font-weight: 100;
  font-size: 36px;
  line-height: 46px;
  padding-bottom: 50px;
  max-width: 1140px;
  max-height: 178px;
  align-items: center;
  text-align: center;

}



.bookshelf-main-title{
  color: #000000;
  font-weight: 600;
  font-size: 32px;
  text-align: center;
  margin: 1rem;
}
.bookshelf-categories {
  margin-bottom: 2rem;
  margin-left: 20px;
  position: relative;
  z-index: 2;
}

.bookshelf-categories-container{
  width:1200px;
  margin: 0 auto;
  padding: 15px 15px;
}




.category-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 32px;
  color: #000000;
  margin-bottom: 0;
  padding: 1rem 0;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.category-icon {
  font-size: 28px;
  font-weight: 600;
  color: #000000;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-text {
  flex: 1;
}

.books-grid {
  padding: 0 24px 20px ;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
  gap: 5px 32px;
  margin-top: 20px;
  max-height: 2000px;
  opacity: 1;
  transition: all 0.4s ease;
  overflow: hidden;
}


.books-grid.collapsed {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.book-item {
  display: flex;
  align-items: flex-start;
  gap:15px;
  padding: 4px 0;
}

.book-bullet {
  color: #000000;
  flex-shrink: 0;
}

.book-title {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  line-height: 1.5;
}
