/**
 * @Author: Waris Agung Widodo <user>
 * @Date:   2018-01-22T10:46:36+07:00
 * @Email:  ido.alit@gmail.com
 * @Filename: style.css
 * @Last modified by:   user
 * @Last modified time: 2018-01-26T11:08:52+07:00
 */

html {
  scroll-behavior: smooth;
}
/* Fonts */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Nunito", sans-serif;
  --nav-font: "Inter", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2d465e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #0d83fd; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #212529; /* The default color of the main navmenu links */
  --nav-hover-color: #0d83fd; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #0d83fd; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}
.search {
  margin-top: 0;
}

.search input {
  padding-right: 35px;
}

.search .input-transparent {
  border: none;
  outline: none;
  background: transparent;
  font-size: 16pt;
  margin-top: 10px;
}

.search .input-transparent::placeholder {
  font-weight: 200;
  color: #ccc;
}

.search .card {
  background-image: url("../img/icon/ios7-search.png");
  background-repeat: no-repeat;
  background-position: 98% center;
  background-size: 30px;
}

.shadow {
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.05), 0 6px 10px rgba(0, 0, 0, 0.08);
}

.topic {
  list-style: none;
}

.topic li {
  width: 160px;
  height: 160px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.topic li a {
  font-size: 12px;
  color: #666;
  text-align: center;
  text-decoration: none;
  opacity: 0.8;
}

.topic li a:hover {
  text-decoration: none;
  opacity: 1;
}

.text-thin {
  font-weight: 200 !important;
}

.subtitle-section {
  font-size: 12px;
}

.btn-rounded {
  border-radius: 20px 20px 20px 20px;
  padding-left: 32px;
  padding-right: 32px;
  font-weight: 200;
}

.card-text.title {
  font-size: 12px;
}

.link-see-more {
  font-style: italic;
  color: #999;
  text-decoration: none;
}

.link-see-more:hover {
  color: #666;
  text-decoration: none;
}

.advanced-wraper {
  background: #fff;
  padding: 16px;
  position: absolute;
  top: 64px;
  left: 16px;
  right: 16px;
  border-radius: 4px;
  z-index: 999;
}

.card-image-rounded {
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 50%;
  background: #ccc;
}

.card-image {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #f1f1f1;
}

.card-image img,
.card-image-rounded img {
  width: 102%;
  height: 102%;
  margin-top: -1%;
  margin-left: -1%;
}

.collection .card-text {
  font-size: 12px;
}

.result-search .c-header {
  min-height: 160px;
}

.member-area .c-header {
  min-height: 40px;
}

.item p {
  font-size: 10pt;
}

.authors a {
  font-size: 12px;
  margin-right: 8px;
  margin-bottom: 8px;
  padding-left: 16px;
  padding-right: 16px;
}

.availability {
  text-align: center;
  overflow: hidden;
}

.availability .label {
  font-size: 7pt;
  color: #aaa;
}

.availability .value {
  font-size: 28pt;
  font-weight: 200;
}

.add-to-chart {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #606f7b;
  color: #f8fafc;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.add-to-chart .label {
  color: #f8fafc;
}

.availability:hover .add-to-chart {
  opacity: 1;
}

.availability:hover .availability-content {
  filter: blur(8px);
  -webkit-filter: blur(8px);
}

.biblioPaging {
  text-align: center;
  border-top: 1px solid #dae1e7;
  padding-top: 20px;
}

.biblioPaging:first-child {
  margin-bottom: 1rem;
  border-bottom: 1px solid #dae1e7;
  border-top: none;
  padding-bottom: 20px;
  padding-top: 0px;
}

.biblioPaging .pagingList {
  display: inline-flex;
  justify-content: center;
  background: #dae1e7;
  border-radius: 20px;
}

.biblioPaging .pagingList b,
.biblioPaging .pagingList a {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  text-decoration: none;
  position: relative;
  -webkit-box-flex: 0;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
}

.biblioPaging .pagingList b {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
  border-radius: 20px;
  min-width: 38px;
  box-shadow: 0px 0px 10px #007bff;
}

.biblioPaging .pagingList a {
  color: #3d4852;
  background-color: transparent;
}

.biblioPaging .pagingList a:hover {
  color: #007bff;
}

.biblioPaging .pagingList a.first_link {
  padding-left: 20px;
}

.biblioPaging .pagingList a.last_link {
  padding-right: 20px;
}

.sugestion {
  min-height: 80px;
  margin-top: 16px;
  padding-left: 60px;
}

.sugestion .title {
  font-weight: 600;
}

.sugestion .author {
  color: #839cb5;
}

.container-img {
  width: 60px;
  position: absolute;
  top: -10px;
  left: 10px;
  overflow: hidden;
  border-radius: 4px;
}

.sugestion .card-text {
  font-size: 12px;
}

.text-label {
  font-weight: bold !important;
}

/* Enter and leave animations can use different */
/* durations and timing functions.              */
.slide-fade-enter-active {
  transition: all 0.3s ease;
}

.slide-fade-leave-active {
  transition: all 0.5s cubic-bezier(1, 0.5, 0.8, 1);
}

.slide-fade-enter, .slide-fade-leave-to
    /* .slide-fade-leave-active below version 2.1.8 */ {
  transform: translateX(10px);
  opacity: 0;
}

/* Card elevation */

.elevation-1 {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.elevation-1:hover {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.elevation-2 {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.elevation-3 {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.elevation-4 {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.elevation-5 {
  box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.22);
}

.page-member-area .memberButton,
.jsonResultLink,
.xmlResultLink {
  font-weight: 400;
  color: #007bff;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.jsonResultLink:hover,
.xmlResultLink:hover {
  color: #0056b3;
  text-decoration: none;
}

.jsonResultLink:focus,
.xmlResultLink:focus {
  text-decoration: none;
  box-shadow: none;
}

.jsonResultLink:disabled,
.xmlResultLink:disabled {
  color: #6c757d;
  pointer-events: none;
}

.biblioMarkFormAction {
  display: none;
}

.memberInfoHead {
  font-size: 24px;
  font-weight: bold;
  border-left: 4px solid #848484;
  padding: 2px 4px 2px 16px;
  margin-bottom: 16px;
}

.page-member-area .tagline {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 1.5rem;
}

.page-member-area .memberButton {
  background-color: #0074e7;
  color: white;
  margin-top: 1rem;
  cursor: pointer;
  transition: all 200ms ease-in-out;
}

.page-member-area .memberButton:hover {
  background-color: #0085ff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.05), 0 6px 10px rgba(0, 0, 0, 0.08);
}

.page-member-area .errorBox {
  color: #fd423d;
  padding: 1rem;
  background-color: rgba(255, 67, 61, 0.22);
  border-radius: 4px;
  margin-bottom: 1rem;
}

.page-member-area .loginInfo {
  padding: 0.5rem 0;
}

.page-member-area .fieldLabel {
  font-weight: bold;
  padding: 0.2rem 0;
}

.page-member-area .form-control {
  width: 320px;
}

.librarian {
  display: flex;
  margin-bottom: 1.5rem;
  flex: 0 50%;
}

.span2 {
  width: 12rem;
}

.span2 div:first-child {
  padding: 2rem;
  background: #dae1e7;
  border-radius: 4px;
}

.span2 img {
  border-radius: 4px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.08);
}

.span8 {
  flex: 1;
  padding: 0 1rem 0 1rem;
}

.span8 .row-fluid {
  display: flex;
}

.span8 .row-fluid .key {
  flex: 0 0 100px;
  font-weight: bold;
}

.span8 .row-fluid .value {
  flex: 1;
}

.span8 .librarian-social {
  list-style: none;
  padding: 0;
  margin: 0;
}

#loginForm form {
  width: 20rem;
}

#loginForm .heading1 {
  font-weight: bold;
}

#loginForm .login_input input {
  display: block;
  width: 100%;
  height: calc(2.25rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin-bottom: 8px;
}

#loginForm .homeButton {
  display: none;
}

.loginButton {
  display: inline-block;
  font-weight: 400;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#loginForm .loginButton {
  margin-top: 10px;
}

#loginForm .loginButton {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

#loginForm .loginButton:hover {
  color: #fff;
  background-color: #0069d9;
  border-color: #0062cc;
}

#adv-modal .modal-content,
#adv-modal .modal-footer {
  position: relative;
  z-index: 1;
}

#adv-modal .modal-content:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-image: url("../img/logo-big.png");
  background-repeat: no-repeat;
  background-size: 50%;
  background-position-x: 500px;
  background-position-y: 250px;
  z-index: 0;
  opacity: 0.5;
}

.attachList {
  padding: 4px 24px;
}

.attachList li {
  padding: 4px 0;
}

.comment-found {
  display: inline-block;
  margin-bottom: 8px;
}

.comments {
  padding: 8px 0;
  border-top: 1px dotted #cbd5e0;
}

.comments .comment-member {
  font-size: 10pt;
  font-weight: bold;
}

.comments .comment-content {
  color: #4a5568;
}

#colorbox {
  border-radius: 5px;
}

#cboxLoadedContent {
  padding: 10px;
}

#cboxOverlay {
  background: #404040;
}

#cboxTitle {
  font: 10pt/1.8 "Quicksand", sans-serif;
  font-weight: bold;
  padding: 15px 0;
  background: #000000;
  bottom: 0;
  color: #ffffff;
}

#cboxTopLeft,
#cboxTopRight,
#cboxBottomLeft,
#cboxBottomRight {
  width: 0;
  height: 0;
}

#cboxMiddleLeft,
#cboxMiddleRight {
  width: 0;
}

#cboxBottomCenter,
#cboxTopCenter {
  height: 0;
}

#languageMenuButton::after {
  display: none;
}

.s-chat {
  display: none;
  flex-direction: column;
  width: 320px;
  height: 480px;
  position: fixed;
  bottom: 16px;
  right: 16px;
  background: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 16px;
  overflow: hidden;
  z-index: 99;
}

.s-chat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: #ef6c00;
  z-index: 0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.s-chat div,
.s-chat a,
.s-chat footer {
  position: relative;
  z-index: 10;
}

#show-pchat {
  display: block;
  position: absolute;
  width: 30px;
  height: 30px;
  z-index: 20;
  top: 0;
  right: 0;
  background-color: white;
  border-bottom-left-radius: 4px;
  cursor: pointer;
}

#show-pchat i {
  display: none;
}

#show-pchat:hover {
  opacity: 0.9;
}

#show-pchat:before {
  font-family: Font Awesome\5 Free;
  content: "\f2d1";
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
}

.s-chat-header {
  font-size: 24px;
  font-weight: 300;
  color: #ebf8ff;
  line-height: 1.2;
}

.s-chat-content.text-center {
  position: relative;
}

.s-chat-content.text-center form {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 0 16px;
  margin-top: 4px;
}

.s-chat-content.text-center p:first-of-type {
  text-align: left;
  font-size: 14px;
  color: #ffe0b2;
  font-weight: 300;
  margin: 0 -16px;
  line-height: 1;
}

.s-chat-content.text-center hr {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 378px;
  z-index: 1;
}

.s-chat-content.text-center label {
  z-index: 10;
  position: relative;
  margin-top: 20px;
  font-size: 14px;
}

.s-chat-content.text-center input#message {
  z-index: 10;
  position: relative;
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin-bottom: 16px;
}

.s-chat-content input#message:focus,
.s-chat-content.text-center input#message:focus {
  color: #495057;
  background-color: #fff;
  border-color: #ffcc80;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(255, 204, 128, 0.25);
}

.s-chat-content label {
  z-index: 10;
  position: relative;
}

.s-chat-content input#message {
  z-index: 10;
  position: relative;
  display: inline-block;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin-bottom: 8px;
}

.s-chat-content .btn.btn-block {
  border: 1px solid #e65100;
  position: relative;
  z-index: 10;
  font-size: 14px;
  background-color: #ef6c00;
  color: #fff3e0;
}

.s-chat-content .btn.btn-block:hover {
  background-color: #f57c00;
}

.s-chat-content:not(.text-center) {
  border-radius: 8px;
  background: white;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  height: 370px;
  margin: 8px 0;
  padding: 16px;
  font-size: 14px;
}

.s-chat-content #log {
  height: 270px;
  background-color: white;
  margin: -16px -16px 8px -16px;
  border-radius: 8px 8px 0 0;
  padding: 16px;
  border-bottom: 1px solid #e3e3e3;
  overflow-y: scroll;
}

.s-chat footer {
  font-size: 11px;
  padding: 16px;
  display: none;
}

.s-chat footer:not(.text-center) {
  font-size: 11px;
  padding: 0;
  display: block;
}

.remember_forgot {
  display: flex;
  justify-content: space-between;
}

.expand {
  margin: 0 -1.25rem -1.25rem -1.25rem;
}

.navbar-collapse.collapsing,
.navbar-collapse.collapse.show {
  background-color: #2d3748;
  padding: 16px;
  z-index: 99;
  border-radius: 4px;
  margin-top: 8px;
}

.forgotButton {
  float: right;
  text-decoration: none;
  padding-top: 16px;
  color: #718096;
}

.forgotButton:hover {
  text-decoration: none;
  color: #4299e1;
}
.highlight {
  color: red;
}

.biblioPagingTop {
  display: none;
}

.grid-item {
  font-size: 12.04px;
  font-family: "Open Sauce One", sans-serif;
}

.grid-item--title {
  box-sizing: border-box;
  color: rgb(33, 33, 33);
  cursor: pointer;
  display: -webkit-box;
  line-height: 18.0667px;
  margin-bottom: 4px;
  max-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: pre-wrap;
  word-break: keep-all;
  -moz-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.grid-item .list-group-item {
  padding: 0.25rem 0.5rem;
  display: flex;
  justify-content: space-between;
}

.grid-item .list-group-item label {
  color: #6d7588;
  padding: 0;
  margin: 0;
}

img.not-available {
  filter: grayscale(0.9);
}

.grid-item--menu {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 10;
}

.grid-item--menu .dropdown-toggle {
  text-decoration: none;
  color: inherit;
}

.grid-item--menu .dropdown-toggle::after {
  display: none;
}

pre.sf-dump,
pre.sf-dump .sf-dump-default {
  z-index: 888 !important;
}

.availability-item {
  color: white;
  border-radius: 5px;
}

.item-onloan,
.item-notforloan {
  background-color: #f00;
  width: 100%;
  display: block;
}

.item-available {
  background-color: #5bc0de;
}

.item-onreserve {
  background-color: orange;
}

/* Navbar */
.navbar {
  background-color: #3187dc; /* NAVBAR BACKGROUND */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 0.8rem 1rem;
  margin-top: 1rem;
}

/* Menu Teks */
.navbar-nav .nav-link {
  font-weight: 500;
  color: #ffffff; /* MENU TEXT COLOR */
  transition: color 0.3s ease;
}

/* Hover menu */
.navbar-nav .nav-link:hover,
.fullscreen-menu a:hover {
  color: #ffc107; /* HOVER COLOR */
}

/* Mobile fullscreen background */
.fullscreen-menu {
  background: #e3f2fd; /* MOBILE MENU BACKGROUND */
}

/* Mobile menu text */
.fullscreen-menu a {
  color: #333; /* MOBILE MENU TEXT COLOR */
}

/* Full width menu in mobile */
@media (max-width: 767.98px) {
  #navbarMenus {
    width: 100%;
  }

  #navbarMenus .navbar-nav {
    align-items: flex-start;
  }
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-right img {
  margin-left: 10px;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  position: relative;
  padding-top: 87px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent-color), transparent 95%) 50%,
    color-mix(in srgb, var(--accent-color), transparent 98%) 25%,
    transparent 50%
  );
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 90% 10%,
    color-mix(in srgb, var(--accent-color), transparent 92%),
    transparent 40%
  );
  pointer-events: none;
}

.hero .hero-content {
  position: relative;
  z-index: 1;
}

.hero .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero .hero-content h1 .accent-text {
  color: var(--accent-color);
}

@media (max-width: 992px) {
  .hero .hero-content {
    text-align: center;
    margin-bottom: 3rem;
  }

  .hero .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero .hero-content .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .hero .hero-content h1 {
    font-size: 2rem;
  }
}

.hero .company-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-radius: 50px;
  color: var(--accent-color);
  font-weight: 500;
}

.hero .company-badge i {
  font-size: 1.25rem;
}

.hero .hero-image {
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero .hero-image img {
  max-width: 100%;
  height: auto;
}

.hero .customers-badge {
  position: absolute;
  bottom: 10px;
  right: 30px;
  background-color: var(--surface-color);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  animation: float-badge 3s ease-in-out infinite;
  will-change: transform;
}

.hero .customers-badge .customer-avatars {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.hero .customers-badge .avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid var(--surface-color);
  margin-left: -8px;
}

.hero .customers-badge .avatar:first-child {
  margin-left: 0;
}

.hero .customers-badge .avatar.more {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.hero .customers-badge p {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

@media (max-width: 992px) {
  .hero .customers-badge {
    position: static;
    margin: 1rem auto;
    max-width: 250px;
  }
}

.hero .stats-row {
  position: relative;
  z-index: 1;
  margin-top: 5rem;
  background-color: var(--surface-color);
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding-bottom: 2rem;
}

.hero .stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
}

.hero .stat-item .stat-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-radius: 50px;
  transition: 0.3s;
}

.hero .stat-item .stat-icon i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.hero .stat-item:hover .stat-icon {
  background-color: var(--accent-color);
}

.hero .stat-item:hover .stat-icon i {
  color: var(--contrast-color);
}

.hero .stat-item .stat-content {
  flex-grow: 1;
}

.hero .stat-item .stat-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.hero .stat-item .stat-content p {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
}

@media (max-width: 575px) {
  .hero .stat-item {
    padding: 1.5rem;
  }
}

@keyframes float-badge {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item span {
  color: var(--heading-color);
  font-size: 48px;
  display: block;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.stats .stats-item span:after {
  content: "";
  position: absolute;
  display: block;
  width: 25px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 500;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 8px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.faq .faq-description {
  font-size: 1rem;
  color: var(--default-color);
  margin-bottom: 2rem;
}

.faq .faq-arrow {
  color: var(--accent-color);
}

.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Features 2 Section
--------------------------------------------------------------*/
.features-2 .feature-item .feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
}

.features-2 .feature-item .feature-icon i {
  font-size: 24px;
  color: var(--accent-color);
}

.features-2 .feature-item .feature-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.features-2 .feature-item .feature-content p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 15px;
  margin-bottom: 0;
}

.features-2 .phone-mockup {
  position: relative;
  padding: 30px 0;
}

.features-2 .phone-mockup img {
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

@media (max-width: 991.98px) {
  .features-2 .feature-item {
    text-align: center !important;
    margin-bottom: 2rem;
  }

  .features-2 .feature-item .d-flex {
    flex-direction: column;
    text-align: center;
    justify-content: center !important;
  }

  .features-2 .phone-mockup {
    margin: 3rem 0;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .about-meta {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}

.about .about-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
}

@media (max-width: 992px) {
  .about .about-title {
    font-size: 2rem;
  }
}

.about .about-description {
  margin-bottom: 2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.about .feature-list-wrapper {
  margin-bottom: 2rem;
}

.about .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about .feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about .feature-list li i {
  color: var(--accent-color);
  font-size: 1.25rem;
}

.about .profile .profile-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.about .profile .profile-name {
  font-size: 1.125rem;
  margin: 0;
}

.about .profile .profile-position {
  color: var(--accent-color);
  margin: 0;
  font-size: 0.875rem;
}

.about .contact-info {
  padding: 1rem 1.5rem;
  background-color: var(--surface-color);
  border-radius: 0.5rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.06);
}

.about .contact-info i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.about .contact-info .contact-label {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.875rem;
  margin: 0;
}

.about .contact-info .contact-number {
  font-weight: 600;
  margin: 0;
}

.about .image-wrapper {
  position: relative;
}

@media (max-width: 992px) {
  .about .image-wrapper {
    padding-left: 0;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .about .image-wrapper .images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 992px) {
  .about .image-wrapper .main-image {
    margin-left: 0;
  }
}

.about .image-wrapper .small-image {
  position: absolute;
  top: 20%;
  left: -10%;
  width: 45%;
  border: 8px solid var(--surface-color);
}

@media (max-width: 992px) {
  .about .image-wrapper .small-image {
    position: static;
    width: 100%;
    margin: 0 auto;
    border: 0;
  }
}

.about .image-wrapper .experience-badge {
  position: absolute;
  bottom: 5%;
  right: 5%;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  min-width: 200px;
  animation: experience-float 3s ease-in-out infinite;
}

@media (max-width: 992px) {
  .about .image-wrapper .experience-badge {
    position: static;
    width: fit-content;
    margin: 0 auto;
  }
}

.about .image-wrapper .experience-badge h3 {
  color: var(--contrast-color);
  font-size: 2.5rem;
  margin: 0;
  line-height: 0.5;
}

.about .image-wrapper .experience-badge h3 span {
  font-size: 1rem;
  display: inline-block;
  margin-left: 0.25rem;
}

.about .image-wrapper .experience-badge p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
}

@keyframes experience-float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-card {
  height: 100%;
  padding: 30px;
  background: var(--surface-color);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.services .service-card:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}

.services .service-card:hover .icon {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.services .service-card:hover .read-more {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
}

.services .service-card .icon {
  width: 60px;
  height: 60px;
  margin-right: 30px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--accent-color);
  font-size: 28px;
  transition: all 0.3s ease;
  line-height: 1;
}

.services .service-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.services .service-card p {
  margin-bottom: 25px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 15px;
  line-height: 1.6;
}

.services .service-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

.services .service-card .read-more i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.services .service-card .read-more:hover i {
  transform: translateX(5px);
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action .container {
  background: var(--accent-color);
  color: var(--contrast-color);
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  padding: 4rem 2rem;
}

.call-to-action .content h2,
.call-to-action .content p {
  color: var(--contrast-color);
  position: relative;
  z-index: 2;
}

.call-to-action .btn-cta {
  background-color: color-mix(in srgb, var(--contrast-color) 15%, transparent);
  color: var(--contrast-color);
  padding: 12px 40px;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid var(--contrast-color);
  position: relative;
  z-index: 2;
}

.call-to-action .btn-cta:hover {
  background-color: var(--contrast-color);
  color: var(--accent-color);
}

.call-to-action .shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.call-to-action .shape svg {
  width: 100%;
  height: 100%;
}

.call-to-action .shape svg path {
  fill: color-mix(in srgb, var(--contrast-color) 50%, transparent);
}

.call-to-action .shape-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -50px;
  opacity: 0.1;
  transform: rotate(45deg);
  animation: shapes-float 3s ease-in-out infinite;
}

.call-to-action .shape-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: -50px;
  opacity: 0.15;
  transform: rotate(-15deg);
  animation: shapes-float 4s ease-in-out infinite;
}

.call-to-action .shape-3 {
  width: 150px;
  height: 150px;
  top: 20%;
  right: 15%;
  opacity: 0.08;
  transform: rotate(15deg);
}

.call-to-action .dots {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  color: var(--contrast-color);
}

.call-to-action .dots svg {
  width: 100%;
  height: 100%;
}

.call-to-action .dots-1 {
  width: 200px;
  height: 200px;
  top: -30px;
  left: 10%;
  opacity: 0.1;
  transform: rotate(15deg);
  animation: shapes-float 4s ease-in-out infinite;
}

.call-to-action .dots-2 {
  width: 150px;
  height: 150px;
  bottom: 20px;
  right: 15%;
  opacity: 0.15;
  transform: rotate(-10deg);
}

@keyframes shapes-float {
  0%,
  100% {
    transform: scale(0.8) rotate(45deg) translateY(0);
  }

  50% {
    transform: scale(0.8) rotate(45deg) translateY(-20px);
  }
}

@media (max-width: 992px) {
  .call-to-action .container {
    padding: 3rem 1.5rem;
  }

  .call-to-action .shape-1 {
    width: 200px;
    height: 200px;
  }

  .call-to-action .shape-2 {
    width: 150px;
    height: 150px;
  }

  .call-to-action .shape-3 {
    width: 100px;
    height: 100px;
  }

  .call-to-action .dots-1 {
    width: 150px;
    height: 150px;
  }

  .call-to-action .dots-2 {
    width: 120px;
    height: 120px;
  }

  .call-to-action .dots-3 {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 575px) {
  .call-to-action .container {
    border-radius: 0;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 3rem;
  border-radius: 1rem;
  height: 100%;
}

.contact .info-box h3 {
  color: var(--contrast-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
  .contact .info-box h3 {
    font-size: 1.75rem;
  }
}

.contact .info-box p {
  opacity: 0.8;
  margin-bottom: 2rem;
}

.contact .info-box a {
  color: var(--contrast-color);
}

@media (max-width: 992px) {
  .contact .info-box {
    padding: 1.5rem;
  }
}

.contact .info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact .info-item:last-child {
  margin-bottom: 0;
}

.contact .info-item .icon-box {
  width: 3.5rem;
  height: 3.5rem;
  background-color: color-mix(in srgb, var(--contrast-color), transparent 85%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 0.3s;
}

.contact .info-item .icon-box i {
  font-size: 1.5rem;
  color: var(--contrast-color);
}

.contact .info-item:hover .icon-box {
  background-color: color-mix(in srgb, var(--contrast-color), transparent 70%);
}

.contact .info-item .content h4 {
  color: var(--contrast-color);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.contact .info-item .content p {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.contact .info-item .content p:last-child {
  margin-bottom: 0;
}

.contact .contact-form {
  background-color: var(--surface-color);
  padding: 3rem;
  border-radius: 1rem;
  height: 100%;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
  .contact .contact-form {
    padding: 1.5rem;
  }
}

.contact .contact-form h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .contact .contact-form h3 {
    font-size: 1.75rem;
  }
}

.contact .contact-form p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 2rem;
}

.contact .contact-form .form-control,
.contact .contact-form .form-select {
  padding: 0.875rem 1.25rem;
  border-color: color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 0.5rem;
  background-color: color-mix(in srgb, var(--surface-color) 90%, white 5%);
  color: var(--default-color);
}

.contact .contact-form .form-control:focus,
.contact .contact-form .form-select:focus {
  box-shadow: none;
  border-color: var(--accent-color);
}

.contact .contact-form .form-control::placeholder,
.contact .contact-form .form-select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.contact .contact-form .btn {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 1rem 2rem;
  border-radius: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.3s;
}

.contact .contact-form .btn i {
  font-size: 1.25rem;
}

.contact .contact-form .btn:hover {
  background-color: color-mix(
    in srgb,
    var(--accent-color),
    var(--contrast-color) 20%
  );
}

.services .service-card:hover .read-more {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
}
.services .service-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

.services .service-card .read-more i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.services .service-card .read-more:hover i {
  transform: translateX(5px);
}
/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/* Container untuk Kartu Buku */
.book-card-container {
  display: flex;
  /* Untuk menata kartu secara horizontal */
  flex-wrap: wrap;
  /* Agar kartu bisa pindah baris jika tidak muat */
  gap: 25px;
  /* Jarak antar kartu */
  justify-content: center;
  /* Pusatkan kartu */
  padding: 10px;
  background-color: #f8f9fa;
  /* Latar belakang untuk area kartu */
}

/* Gaya Dasar Card Buku */
.book-card {
  width: 210px;
  /* Lebar card */
  height: 310px;
  /* Tinggi card (rasio 2:3 umumnya untuk sampul buku) */
  background-size: cover;
  /* Pastikan gambar mengisi seluruh card */
  background-position: center;
  /* Pusatkan gambar */
  border-radius: 8px;
  /* Sudut membulat */
  overflow: hidden;
  /* Penting untuk menyembunyikan bagian overlay yang meluap */
  position: relative;
  /* Penting untuk posisi overlay */
  cursor: pointer;
  /* Menunjukkan bahwa card dapat diklik/interaktif */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  /* Bayangan untuk efek 3D */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  /* Transisi untuk hover */
}

/* Efek Hover pada Card */
.book-card:hover {
  transform: translateY(-5px) scale(1.02);
  /* Sedikit naik dan membesar */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  /* Bayangan lebih gelap */
}

/* Gaya Overlay Informasi Buku */
.book-info-overlay {
  position: absolute;
  bottom: 0;
  /* Mulai dari bawah card */
  left: 0;
  width: 100%;
  height: auto;
  /* Tinggi akan menyesuaikan konten */
  background-color: rgba(0, 0, 0, 0.7);
  /* Latar belakang hitam semi-transparan */
  color: #fff;
  /* Warna teks putih */
  padding: 15px;
  transform: translateY(100%);
  /* Awalnya sembunyikan di bawah card */
  transition: transform 0.3s ease-out;
  /* Transisi untuk munculnya overlay */
  text-align: center;
  box-sizing: border-box;
  /* Pastikan padding tidak membuat lebar melebihi 100% */
}

/* Tampilkan Overlay saat Hover */
.book-card:hover .book-info-overlay {
  transform: translateY(0);
  /* Geser overlay ke posisi terlihat */
}

/* Gaya untuk Judul Buku */
.book-info-overlay .book-title {
  font-size: 1.25em;
  /* Ukuran font judul */
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: bold;
  line-height: 1.3;
}

/* Gaya untuk Penulis dan Genre */
.book-info-overlay .book-author,
.book-info-overlay .book-genre {
  font-size: 0.9em;
  margin-bottom: 5px;
  color: #ccc;
}

/* Tampilan untuk layar yang lebih kecil (ponsel) */
@media (max-width: 768px) {
  .book-card-container {
    /* Mengatur agar kartu ditampilkan dalam satu kolom */
    flex-direction: column;
    /* Susun vertikal */
    align-items: center;
    /* Pusatkan kartu di tengah */
  }

  .book-card {
    width: 85%;
    /* Lebar kartu menjadi 85% dari container */
    max-width: 300px;
    /* Batasi lebar maksimum agar tidak terlalu besar */
    height: 350px;
    /* Sesuaikan tinggi jika perlu */
  }

  .book-info-overlay .book-title {
    font-size: 1.1em;
    /* Sedikit kecilkan font judul */
  }

  .book-info-overlay .book-author,
  .book-info-overlay .book-genre {
    font-size: 0.85em;
    /* Kecilkan font penulis/genre */
  }
}

/* Gaya Overlay Informasi Buku - Responsif untuk Mobile */
.book-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 15px;
  /* Awalnya sembunyikan di bawah card */
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  text-align: center;
  box-sizing: border-box;
}

/* Tampilkan Overlay saat Hover pada Desktop */
@media (min-width: 992px) {
  /* Mulai dari ukuran layar medium ke atas */
  .book-card:hover .book-info-overlay {
    transform: translateY(0);
    /* Geser overlay ke posisi terlihat */
  }
}

/* Untuk tampilan mobile, overlay HARUS selalu terlihat */
@media (max-width: 991.98px) {
  /* Ukuran layar di bawah medium */
  .book-info-overlay {
    transform: translateY(0);
    /* Pastikan overlay selalu terlihat di mobile */
    position: static;
    /* Ubah posisi agar tidak absolute lagi */
    background-color: rgba(0, 0, 0, 0.75);
    /* Bisa sedikit lebih gelap untuk kontras */
    padding: 10px;
    /* Sesuaikan padding */
    border-radius: 0 0 8px 8px;
    /* Sesuaikan sudut di bagian bawah */
  }

  .book-card {
    height: 380px;
    /* Pastikan tinggi card sesuai */
    /* Jika Anda ingin card lebih kecil di mobile, sesuaikan width dan height di sini */
  }

  /* Gaya untuk Judul Buku di Mobile */
  .book-info-overlay .book-title {
    font-size: 1.1em;
    /* Sedikit lebih kecil */
    margin-bottom: 5px;
  }

  /* Gaya untuk Penulis dan Genre di Mobile */
  .book-info-overlay .book-author,
  .book-info-overlay .book-genre {
    font-size: 0.85em;
    margin-bottom: 3px;
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
}
