/* Section */
.library-section {
  padding: 70px 20px;
  background: linear-gradient(135deg, #eef3f9, #ffffff);
  font-family: 'Poppins', sans-serif;
}

.container {
  max-width: 1200px;
  margin: auto;
}

/* Title */
.section-title {
  text-align: center;
  font-size: 34px;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: "";
  width: 90px;
  height: 4px;
  background: #007bff;
  display: block;
  margin: 10px auto;
  border-radius: 2px;
}

/* Intro */
.library-intro {
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.7;
  animation: fadeUp 1s ease;
}

/* 4 Images Grid */
.library-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.library-images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: all 0.4s ease;
}

.library-images img:hover {
  transform: scale(1.08);
}

/* Features */
.library-features {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.feature {
  background: white;
  padding: 18px;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
  background: #007bff;
  color: white;
}

/* Stats */
.library-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 40px;
  text-align: center;
}

.stat h3 {
  font-size: 30px;
  color: #007bff;
}

/* Timing */
.library-timing {
  text-align: center;
  background: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Staff */
.library-staff {
  text-align: center;
}

.library-staff p {
  display: inline-block;
  background: white;
  padding: 10px 20px;
  margin: 8px;
  border-radius: 10px;
  box-shadow: 0 5px 12px rgba(0,0,0,0.1);
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .library-images {
    grid-template-columns: repeat(2, 1fr);
  }

  .library-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .library-stats {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .library-images {
    grid-template-columns: 1fr;
  }

  .library-features {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 26px;
  }
}