/* CSS */
.info-section {
  padding: 40px 20px;
  /* background-color: #efefef; */
  display: flex;
  justify-content: center;
}

.info-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 1000px;
  width: 100%;
}

.info-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  padding: 20px;
  font-family: 'Inter', sans-serif;
}

.card-header {
  font-size: 16px;
  font-weight: 600;
  color: #4f46e5;
  margin-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-body p {
  font-size: 14px;
  color: #333;
  margin-bottom: 12px;
}

.card-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-body li {
  margin-bottom: 10px;
}

.card-body a {
  text-decoration: none;
  font-size: 14px;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.card-body a::before {
  content: "🔹";
  font-size: 12px;
  color: #60a5fa;
}

.card-body a:hover {
  color: #1d4ed8;
}


.notice-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  max-width: 280px;
  padding: 20px;
  font-family: 'Inter', sans-serif;
  margin: 40px auto;
}

.notice-header {
  font-size: 16px;
  font-weight: 600;
  color: #4f46e5;
  margin-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.notice-body p {
  font-size: 14px;
  color: #333;
  margin-bottom: 12px;
}

.notice-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notice-body li {
  margin-bottom: 10px;
}

.notice-body a {
  text-decoration: none;
  font-size: 14px;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.notice-body a::before {
  content: "🔹";
  font-size: 12px;
  color: #60a5fa;
}

.notice-body a:hover {
  color: #1d4ed8;
}

/* ======================= */
.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.library-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 16px;
  transition: box-shadow 0.2s;
}

.library-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.library-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1f2937;
}

.library-card p {
  font-size: 14px;
  margin: 6px 0;
  color: #374151;
}

.library-slider-section {
  text-align: center;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #4f46e5;
}

.footer {
  background-color: white;
  box-shadow: 0 1px 3px 2px rgba(31, 43, 58, .08);
}

.text-justify {
  text-align: justify;
}

.nav-link {
  color: white;
}

.nav-link:hover {
  color: #6576ff;
}

/* Always keep the header bar teal */
.bg-default-color {
  background-color: #42aa9eeb !important;
}

/* Mobile dropdown menu style */
@media (max-width: 991px) {
  .header-menu {
    background-color: #ffffff !important;
    /* white menu */
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 1.5rem;
    min-height: 350px;
  }

  .header-menu.active {
    display: flex;
  }

  .header-menu .menu-link {
    color: #333 !important;
    font-size: 1.1rem;
    padding: 0.75rem 0;
  }

  .header-menu .menu-link.active {
    color: #0066ff !important;
    font-weight: bold;
  }

  .menu-btns .btn {
    margin-top: 1rem;
    width: 100%;
  }
}

body.menu-open {
  overflow: hidden !important;
}