/* Materials Section Styles */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.material-card {
  background: rgba(30, 32, 40, 0.7);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.material-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.material-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.material-image img {
  width: 100%;
  height: 100%;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.material-card:hover .material-image img {
  transform: scale(1.05);
}

.material-content {
  padding: 1.5rem;
}

.material-content h3 {
  color: #ff6200;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: #d4c9c9;
  line-height: 1.4;
}

.feature-list li:before {
  content: "•";
  color: #ffd700;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.section-intro {
  font-size: 1.2rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 500;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  color: #ffffff;
}

@media (max-width: 768px) {
  .materials-grid {
    grid-template-columns: 1fr;
  }

  .material-card {
    max-width: 500px;
    margin: 0 auto;
  }
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.book-card {
  background: white;
  color: #000;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.book-cover {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.book-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.book-info h3 {
  margin: 0 0 0.75rem 0;
  color: #333;
  font-size: 1.25rem;
}

.book-info p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .books-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .book-cover {
    height: 250px;
  }
}
