
/* =========================
   CARD
========================= */
.library-card {
  background: #fff;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* =========================
   TITLE
========================= */
.library-title {
  color: var(--primary-blue);
  font-weight: 800;
  margin-bottom: 20px;
  text-align:center;
}

/* =========================
   TEXT CONTENT (MODERN)
========================= */
.library-content {
  font-size: 16px;
  line-height: 1.9;
  color: #444;
}

.library-content p {
  margin-bottom: 15px;
}

/* INTRO BOX */
.lib-intro {
  background: linear-gradient(135deg, #f4f6ff, #ffffff);
  padding: 20px;
  border-radius: 10px;
  border-left: 5px solid var(--primary-blue);
  margin-bottom: 25px;
}

/* SECTION BLOCK */
.lib-section {
  margin-bottom: 25px;
}

/* HEADINGS */
.library-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
}

.library-content h3::after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--accent-red);
  display: block;
  margin-top: 6px;
}

.library-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* =========================
   HIGHLIGHT BOX
========================= */
.lib-highlight {
  background: #f9fafc;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #eee;
  margin-bottom: 25px;
}

.library-box {
  background: #fff;
  padding: 15px;
  border-left: 4px solid var(--primary-blue);
  border-radius: 6px;
}

/* FEATURE POINTS */
.library-box p {
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
}

.library-box p::before {
  content: "✔";
  color: var(--primary-blue);
  position: absolute;
  left: 0;
}

/* =========================
   LIST STYLE
========================= */
.library-list {
  list-style: none;
  padding-left: 0;
}

.library-list li {
  padding-left: 25px;
  margin-bottom: 10px;
  position: relative;
}

.library-list li::before {
  content: "➤";
  color: var(--accent-red);
  position: absolute;
  left: 0;
}

/* =========================
   PDF
========================= */
.library-pdf iframe {
  width: 100%;
  height: 600px;
  border-radius: 10px;
  margin-top: 20px;
}

/* =========================
   GALLERY
========================= */
.gallery-title {
  color: var(--primary-blue);
  margin-top: 40px;
  font-weight: 700;
}

/* =========================
   CAROUSEL
========================= */
.library-carousel .item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.library-carousel .item:hover {
  transform: translateY(-5px);
}

.library-carousel img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.library-carousel h5 {
  padding: 10px;
  font-size: 14px;
  background-color: var(--primary-blue);
  color:#fff;
}

/* =========================
   MOBILE
========================= */
@media(max-width:768px){

  .library-card {
    padding: 20px;
  }

  .library-content {
    font-size: 15px;
  }

  .library-content h3 {
    font-size: 18px;
  }

  .library-content h4 {
    font-size: 16px;
  }

  .library-pdf iframe {
    height: 400px;
  }
}