.library-heading img {
     fill: #b5b5b5;
  width: 48px;
  height: 48px;
  margin: auto;
}
.banner{
  height: 596px;
  width: 100%;

}
.banner_text{
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-content: center;
  font-size: 36px;
  color: white;
  z-index: 5;
}

.banner-main{
   background-image: url('https://wallco.com/storage/app/media/WebP%20Product%20Photos/112-room-library-wallpaper-kids-books-mural-modern-design-yellow.webp');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position-y: center;
  width: 100%;
  height:596px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.banner-main::before{
 content: '';
  background-color: #0000006e;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 5;
}

.library-section {
  padding: 50px 20px;
  /* background: linear-gradient(135deg, #e3ecf9, #ffffff); */
  font-family: 'Poppins', sans-serif;
}

.library-heading {
  text-align: center;
  margin-bottom: 60px;
}

.library-heading h2 {
  font-size: 40px;
  font-weight: 700;
  color: #0a1f44;
  margin-bottom: 10px;
}

.library-heading p {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: auto;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1300px;
  margin: auto;
}

.library-card {
  text-align: center;
  padding: 30px 24px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.3s ease;
}

.library-card:hover {
  transform: translateY(-10px);
}

.glass {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.icon-wrap {
  width: 80px;
  height: 80px;
  background: linear-gradient(145deg, #d9e4f5, #ffffff);
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease-in-out;
}

.library-card img {
  width: 42px;
  height: 42px;
}

.library-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #0a1f44;
  margin-bottom: 10px;
}

.library-card p {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}

/* Floating animation for icons */
.float {
  animation: float 2.8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Add delays for staggered animation */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }
.delay-6 { animation-delay: 1.2s; }
.delay-7 { animation-delay: 1.4s; }
