:root {
  --accent: #0d6efd;
  --muted: #6c757d;
  --bg: #f8fafc
}

* {
  box-sizing: border-box
}

body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
  background: var(--bg);
  margin: 0;
  color: #0f1724
}

.navbar-brand img {
  height: 64px;
  object-fit: contain
}

.header-top {
  background: #fff;
  border-bottom: 1px solid #e9eef7
}

.hero-caption {
  position: absolute;
  left: 0;
  top: 20%;
  color: #fff;
  padding: 2rem
}

.hero-slide img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  filter: brightness(0.55)
}

.section-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 30px rgba(16, 24, 40, 0.06)
}

.card-img-top {
  height: 220px;
  object-fit: cover;
  border-radius: 8px
}

.floating-book {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1100;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 30px rgba(13, 110, 253, 0.18)
}

.page-head {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 6px 20px rgba(2, 6, 23, 0.04)
}

footer {
  background: #0b1220;
  color: #9aa3b2;
  padding: 40px 0
}

.footer-links a {
  color: #9aa3b2
}

.container-narrow {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px
}

@media(max-width:767px) {
  .hero-caption h1 {
    font-size: 1.5rem
  }

  .hero-slide img {
    height: 45vh
  }
}


.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-button {
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid #ccc;
  background: white;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.dropdown-button:hover {
  color: #3b82f6;
  /* blue-500 */
}

.dropdown-menu {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 4px;
  width: 160px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
  z-index: 50;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: black;
}

.dropdown-menu a:hover {
  background: #f3f4f6;
  /* gray-100 */
}

.hero-photo-swiper {
  width: 100%;
  height: 100%;
}

.hero-photo-swiper .swiper-slide {
  position: relative;
}

.hero-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
footer a i {
  transition: transform 0.2s ease;
}
footer a:hover i {
  transform: scale(1.2);
}
