/* ================================
   Базовый фон всей страницы
================================ */
body {
  background-color: #f2f3f7; /* светло-серо-сиреневый фон */
  color: #222; /* базовый тёмный текст */
}

body.menu-open {
  overflow: hidden; /* Блокировка прокрутки при открытом меню */
}

/* ================================
   Липкая шапка (sticky-header)
================================ */
header.sticky-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2000; /* было 1030 */
  transition: background 0.3s ease;
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* полупрозрачная граница */
  backdrop-filter: blur(6px);
  box-shadow: none;
}

.sticky-space {
  height: 70px; /* Заглушка под фиксированную шапку */
}

.logo-small {
  height: 40px;
  transition: opacity 0.3s ease;
}

.logo-small.hidden {
  opacity: 0;
  width: 0;
  height: 0;
}

/* ================================
   Герой-блок
================================ */
#hero{
  color:#fff;
  background:#8288bd;
  position:relative;
  overflow:hidden;
}

/* мягкий декоративный градиент на фоне */
#hero::before{
  content:'';
  position:absolute;
  inset:-20% -10% -30% -10%;
  background:
    radial-gradient(60% 60% at 70% 20%, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(40% 40% at 20% 80%, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 70%);
  pointer-events:none;
  z-index:0;
}
#hero > *{ position:relative; z-index:1; }

#hero .hero-subtitle{
  opacity:.95;
  letter-spacing:.02em;
  text-transform:none;
  font-size:1.05rem;
  margin-bottom:.35rem;
}
.hero-bullets{
  margin:.6rem 0 0;
  padding-left:1.2rem;
}
.hero-bullets li{
  margin:.12rem 0;
  opacity:.97;
}
/* Выравнивание кнопки с нижним краем книги */
#hero .col-lg-6:first-child {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px; /* можно подогнать под высоту книги */
}

#hero .btn-orange {
  align-self: flex-start;
  margin-top: auto; /* прижимает кнопку к низу блока */
}


/* ================================
   ПЛОСКАЯ КНИГА 123-ФЗ
================================ */
.hero-book {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  margin-top: 80px; /* регулируй по вкусу, можно 30–100px */
}

/* КНИГА */
.book {
  position: relative;
  width: 280px;
  height: 380px;
  transform: none;
  margin-right: 220px;
}

/* Блок страниц */
.book-pages {
  position: absolute;
  top: 0;
  right: -22px; /* чуть ближе к обложке */
  bottom: 0;
  left: 0;
  background: repeating-linear-gradient(
    90deg,
    #f4ede1,
    #ede5d9 2px,
    #f8f2e8 3px
  );
  border-radius: 4px;
  box-shadow:
    inset 0 0 6px rgba(0, 0, 0, 0.2),
    3px 0 6px rgba(0, 0, 0, 0.15); /* лёгкая внешняя тень */
  z-index: 1;
}

/* Обложка книги — интерактивность */
.book-cover {
  position: absolute;
  top: 0;
  left: 0;
  right: 10px;
  bottom: 0;
  background: linear-gradient(145deg, #1e2b47, #162037);
  border-radius: 8px;
  box-shadow: 4px 6px 16px rgba(0, 0, 0, 0.25);
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 25px;
  z-index: 3;
  cursor: pointer; /* при наведении курсор — рука */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Переплёт */
.book-cover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 14px; /* уже и темнее */
  height: 100%;
  background: linear-gradient(to right, #0b1324, #1b2945 60%);
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  box-shadow: inset -2px 0 4px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

/* Блик на обложке */
.book-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.12) 0%,
    rgba(255,255,255,0.03) 50%,
    rgba(0,0,0,0.12) 100%
  );
  border-radius: 8px;
  pointer-events: none;
}

/* Текст */
.book-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.book-sub {
  font-size: 1.3rem;
  color: #d9def1;
}

/* ВКЛАДКИ */
.book-tabs {
  position: absolute;
  right: -220px;
  top: 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

/* Стиль вкладок — широкие и объёмные */
.tab {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-weight: 600;
  padding: 14px 6px 14px 20px;
  border-radius: 3px 8px 8px 3px;
  text-decoration: none;
  font-size: 1.05rem;
  color: #fff;
  background-image: linear-gradient(to bottom right, rgba(255,255,255,0.15), rgba(0,0,0,0.1));
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.25),
    2px 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  background-clip: padding-box;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-width: 250px;
  text-align: right;
}

/* Лёгкий глянцевый блик на вкладках */
.tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.25), rgba(0,0,0,0.05));
  border-radius: inherit;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Hover эффект */
.tab:hover {
  transform: translateX(5px);
  box-shadow: 3px 6px 12px rgba(0, 0, 0, 0.3);
}

/* Цвета вкладок */
.tab-yellow { background: #f5c518; color: #1a1a1a; }
.tab-red    { background: #e53935; }
.tab-orange { background: #f57c00; }
.tab-blue   { background: #1976d2; }
.tab-green  { background: #388e3c; }

/* Лёгкая ступенчатость для глубины */
.tab:nth-child(1) { margin-left: 0px; }
.tab:nth-child(2) { margin-left: 5px; margin-top: 4px; }
.tab:nth-child(3) { margin-left: 10px; margin-top: 8px; }
.tab:nth-child(4) { margin-left: 5px; margin-top: 12px; }
.tab:nth-child(5) { margin-left: 0px; margin-top: 16px; }

/* АДАПТИВ */
@media (max-width: 575.98px) {
  .book {
    width: 220px;
    height: 320px;
  }

  .book-cover {
    padding: 30px 20px;
  }

  .book-title {
    font-size: 2.2rem;
  }

  .book-sub {
    font-size: 1.1rem;
  }

  .book-tabs {
    right: -180px;
    top: 25px;
  }

  .tab {
    font-size: 0.9rem;
    padding: 10px 16px 10px 12px;
    min-width: 170px;
  }
}

/* ======== МОДАЛЬНОЕ ОКНО (эффект книги) ======== */
.book-modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.book-modal.active {
  visibility: visible;
  opacity: 1;
}

.book-modal-content {
  background: linear-gradient(145deg, #f9f9f9, #e9e9e9);
  color: #1a1a1a;
  border-radius: 12px;
  padding: 30px 40px;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: rotateY(-5deg) scale(0.95);
  transition: transform 0.4s ease;
}

.book-modal.active .book-modal-content {
  transform: rotateY(0deg) scale(1);
}

.book-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  border: none;
  background: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: #333;
  transition: color 0.2s ease;
}
.book-modal-close:hover {
  color: #e53935;
}

#bookModal p, #bookModal li {
  line-height: 1.6;
  margin-bottom: 0.6rem;
}
#bookModal a {
  color: #ec7c25;
  text-decoration: underline;
}
#bookModal a:hover {
  text-decoration: none;
}

/* ================================
   Навигация
================================ */
.nav-link {
  color: #333;
  text-decoration: none;
  margin: 0 12px;
}
.nav-link:hover {
  text-decoration: underline;
}
.navbar-centered {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Стили для телефона и почты в шапке */
header .text-muted a[href^="tel"],
header .text-muted a[href^="mailto"] {
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
}
header .text-muted a:hover {
  color: #000;
}

/* ================================
   Заголовки и заголовочные блоки
================================ */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
}

/* ================================
   Кнопки
================================ */
.btn-warning {
  background-color: #ffc107;
  color: #000;
  border: none;
  font-weight: 600;
}
.btn-warning:hover {
  background-color: #e0a800;
  color: #fff;
}

.btn-orange {
  background-color: #ec7c25;
  color: white;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
}
.btn-orange:hover {
  background-color: #d2691e;
  color: white;
}

/* ================================
   Swiper: Общие стили
================================ */
.swiper-slide {
  text-align: center;
  padding: 10px;
}
.swiper-button-prev,
.swiper-button-next {
  color: #333;
}

/* ================================
   Swiper: Лицензии
================================ */
#licenses .swiper-slide {
  padding: 10px;
}
#licenses .swiper-slide img {
  max-width: 100%;
  height: auto;
}

/* ================================
   Swiper: Партнёры
================================ */
#partners .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 180px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 1rem;
}
#partners .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  width: auto;
  height: 140px;
  filter: grayscale(100%);
  transition: transform 0.3s ease, filter 0.3s ease;
}
#partners .swiper-slide img:hover {
  transform: scale(1.05);
  filter: grayscale(0%);
}

/* ================================
   Блок "Виды деятельности" — карточки
================================ */
.service-card {
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.service-card .card-body {
  position: relative;
  z-index: 1;
}
#service-text p,
#service-text li {
  font-size: 1.15rem; /* Увеличенный размер текста */
  line-height: 1.75;  /* Более свободное чтение */
}

#service-text h5 {
  font-size: 1.3rem;  /* Подзаголовки чуть крупнее */
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

/* ================================
   Блок "Объекты" — карточки
================================ */
.project-card {
  min-width: 280px;
  height: 300px;
  border-radius: 8px;
  flex: 0 0 auto;
}
.project-card .position-relative,
.project-card img {
  height: 100%;
}
.project-card .card-body {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 1rem;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}
.object-cover {
  object-fit: cover;
  object-position: center;
}
.overlay-caption {
  background: rgba(0, 0, 0, 0.5);
}

/* ================================
   Горизонтальная прокрутка карточек
================================ */
.scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.scroll-wrapper .row {
  flex-wrap: nowrap;
}

/* ================================
   Модальные окна (письма)
================================ */
.modal-body img {
  border-radius: 6px;
}

/* ================================
   Контактные данные + карта
================================ */
#contact {
  height: 600px;
}
#contact iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.map-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.map-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
  cursor: pointer;
}
.contact-info-card {
  position: absolute;
  top: 80px;
  left: calc(50% - 645px);
  max-width: 420px;
  background-color: #0d6efd;
  color: white;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 10;
  border-radius: 12px;
}
.contact-info-card a {
  color: white;
  text-decoration: none;
}
.contact-info-card a:hover {
  text-decoration: underline;
}

/* Адаптив для карты и карточки */
@media (max-width: 768px) {
  #contact {
    height: auto;
  }
  #contact iframe {
    position: static;
    height: 300px;
  }
  .contact-info-card {
    position: static;
    margin: 1rem;
    box-shadow: none;
    border-radius: 0;
  }
}

/* ================================
   Блок "Контакты и форма"
================================ */
.contact-footer {
  background-color: #8288bd;
  color: white;
}
.contact-footer .form-control {
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  border: none;
  border-radius: 0.5rem;
}
.contact-footer .form-control::placeholder {
  color: #666;
}
.logo-footer {
  max-height: 80px;
  margin-bottom: 20px;
}
.contact-footer .border {
  border: 1px dashed rgba(255, 255, 255, 0.5);
}
.contact-footer .fw-bold {
  font-weight: 700;
}

/* ================================
   Мобильное бургер-меню
================================ */
.mobile-menu-button {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: white;
  z-index: 1100;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: none; /* показываем только на мобилках */
}

.burger-icon,
.burger-icon::before,
.burger-icon::after {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
}

.burger-icon {
  position: relative;
}

.burger-icon::before,
.burger-icon::after {
  content: '';
  position: absolute;
  left: 0;
}

.burger-icon::before {
  top: -8px;
}

.burger-icon::after {
  top: 8px;
}

/* Анимация бургера в крестик */
.mobile-menu-button.active .burger-icon {
  background: transparent;
}
.mobile-menu-button.active .burger-icon::before {
  transform: rotate(45deg);
  top: 0;
}
.mobile-menu-button.active .burger-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100%;
  background-color: #2e2f6e;
  z-index: 2000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 1rem;
}
.mobile-menu.open {
  right: 0;
}

.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.mobile-logo {
  max-width: 100px;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex-grow: 1;
  justify-content: center;
}
.mobile-menu__nav .nav-link {
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
}
.mobile-menu__nav .nav-link:hover {
  text-decoration: underline;
}

.mobile-menu__footer.contact-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.mobile-menu__footer a.icon-phone,
.mobile-menu__footer a.icon-mail,
.mobile-menu__footer a.icon-telegram {
  font-size: 1.4rem;
  color: white;
  text-decoration: none;
}
.mobile-menu__footer a.icon-phone::before {
  content: '📞';
  margin-right: 8px;
}
.mobile-menu__footer a.icon-mail::before {
  content: '✉️';
  margin-right: 8px;
}
.mobile-menu__footer a.icon-telegram::before {
  content: '📲';
  margin-right: 8px;
}
.mobile-menu__footer .btn {
  border: 1px solid white;
  color: white;
  background: transparent;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  text-align: center;
  font-weight: 600;
  width: 100%;
}

/* ================================
   Адаптивность для мобильных устройств
================================ */
@media (max-width: 768px) {
  /* Герой-блок */
  #hero {
    padding: 40px 0;
    text-align: center;
    margin-top: 70px;
  }

  /* Шапка */
  header.sticky-header {
    background-color: rgba(242, 243, 247, 0.9);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
  }

  header .desktop-nav {
    display: none !important;
  }

  .mobile-menu-button {
    display: block !important;
  }

  header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  header .text-muted,
  header .btn-orange {
    display: none;
  }

  /* Центрируем заголовки и текст */
  .section-title,
  .card-title,
  .card-text {
    text-align: center;
  }

  /* Логотипы */
  .logo-large,
  .logo-footer {
    max-width: 80px;
    height: auto;
  }

  /* Партнёры */
  #partners .swiper-slide {
    height: auto;
    padding: 1rem 0.5rem;
  }
  #partners .swiper-slide img {
    height: 60px;
  }

  /* О компании */
  #about .row,
  #about .row.d-flex.justify-content-around {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  #about .row > div {
    width: 100%;
    text-align: center;
  }

  /* Контактная карточка */
  .contact-info-card {
    position: static;
    margin: 1rem auto;
    max-width: 100%;
    box-shadow: none;
    border-radius: 0;
    padding: 1.5rem;
  }

  /* Форма */
  .contact-footer form {
    margin-top: 1rem;
  }

  /* Кнопки */
  .btn,
  .btn-orange {
    display: block;
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }
}

/* ================================
   Исправление якорных ссылок под фиксированную шапку
================================ */
:root {
  --header-h: 70px; /* высота фиксированной шапки */
}

html {
  scroll-behavior: smooth; /* плавный скролл */
  scroll-padding-top: var(--header-h); /* всегда оставляем место под фиксированную шапку */
}

/* Секции детальных страниц должны быть ниже шапки */
#service-detail,
#projects-all {
  position: relative;
  z-index: 1; /* меньше чем у header */
}

/* ================================
   Модальное окно заявки
================================ */
.modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
  border-bottom: none;
}

.modal-header .btn-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
}

.modal-title {
  font-size: 1.6rem;
  text-transform: uppercase;
  font-weight: 700;
}

.modal-body p {
  font-size: 0.95rem;
}

.form-control, 
.form-select {
  border: 2px solid #ec7c25;
  border-radius: 12px;
  padding: 0.6rem 1rem;
  font-size: 1rem;
}

.form-control:focus, 
.form-select:focus {
  border-color: #d2691e;
  box-shadow: 0 0 0 0.2rem rgba(236,124,37,0.25);
}

.form-check-input {
  border: 2px solid #ec7c25;
}

.form-check-input:checked {
  background-color: #ec7c25;
  border-color: #d2691e;
}

.btn-orange {
  background: linear-gradient(90deg, #ec7c25, #d2691e);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
}

.btn-orange:hover {
  background: linear-gradient(90deg, #d2691e, #ec7c25);
  color: #fff;
}

.modal-footer {
  border-top: none;
}
/* ================================
   Улучшенная адаптивность и позиционирование модалки книги
================================ */

/* Центровка и отзывчивость на всех экранах */
.book-modal-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  max-height: 90vh; /* чтобы не вылезала за экран */
  overflow-y: auto;
}

/* Добавляем плавную подстройку для больших экранов */
@media (min-width: 1200px) {
  .book-modal-content {
    max-width: 600px;
    padding: 40px 50px;
  }
}

/* Оптимизация для планшетов */
@media (max-width: 992px) {
  .book-modal-content {
    width: 90%;
    max-width: 520px;
    padding: 24px 28px;
  }
}

/* Для телефонов — растягиваем почти на всю ширину и делаем выше */
@media (max-width: 576px) {
  .book-modal-content {
    width: 94%;
    height: auto;
    max-height: 88vh;
    padding: 18px 16px;
    font-size: 0.9rem;
  }

  .book-modal-content h2 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
  }

  .book-modal-content p {
    line-height: 1.45;
  }

  .book-modal-close {
    font-size: 1.4rem;
    top: 10px;
    right: 14px;
  }
}

/* Сценарий, если пользователь увеличивает масштаб — чтобы не "съезжало" */
@media (max-height: 500px) {
  .book-modal-content {
    max-height: 80vh;
    overflow-y: scroll;
  }
}

/* ================================
   Адаптив: шапка и футер (дополнения)
================================ */

/* --- Шапка --- */
@media (max-width: 768px) {
  header .d-flex.align-items-center {
    display: none !important;
  }

  .mobile-menu-button {
    display: block !important;
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: transparent;
    border: none;
    z-index: 2100;
  }

  header.sticky-header {
    background: rgba(242, 243, 247, 0.95);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
}

/* --- Логотип в футере --- */
@media (max-width: 768px) {
  .logo-footer {
    display: block;
    margin: 2rem auto 0 auto;
    max-height: 120px;
  }

  .contact-footer .col-md-6.d-flex {
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    text-align: center;
  }
}
/* Новая адаптивная модалка-книга */
.book-modal-content-new {
  border-radius: 14px;
  padding: 32px;
  background: linear-gradient(145deg, #f9f9f9, #e9e9e9);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  border: none;
}

/* Высота и скролл */
.book-modal-content-new .modal-body {
  max-height: 70vh;
  overflow-y: auto;
}

/* Телефоны — fullscreen */
@media (max-width: 576px) {
  .book-modal-content-new {
    border-radius: 0;
    padding: 20px;
  }
  .book-modal-content-new .modal-body {
    max-height: 80vh;
  }
  #bookModalTitle { font-size: 1.3rem; }
}

/* Очень низкие мониторы */
@media (max-height: 500px) {
  .book-modal-content-new .modal-body {
    max-height: 60vh;
  }
}
