/* biblical-models-header.css */

.bm-section, .ttd-section { margin-bottom: 60px; }
/* ---- HEADER (shared) ---- */
.bm-header-container, .ttd-header-container {
  width: 1111px; height: 155px; margin: 0 auto;
  position: relative; overflow: hidden; cursor: pointer;
  display: block;
}
/* ---- BIBLICAL MODELS ---- */
.bm-header-container { background-color: #36302B; }
.bm-header-text {
  position: absolute; top: 50%; left: 20px; transform: translateY(-50%);
  font-family: 'Manrope', sans-serif; font-weight: 800;
  font-size: 30.85px; line-height: 42.76px; letter-spacing: -3%; color: #FFF;
}
.bm-header-image {
  position: absolute; top: 50%; left: 578.8px; transform: translateY(-50%);
  width: 342.7596px; height: 129.9123px; opacity: 0.3; mix-blend-mode: lighten;
}
.bm-scroll-next, .ttd-scroll-next {
  position: absolute; top: 50px; right: 40px;
  width: 60px; height: 77px;
  border-radius: 100px; overflow: hidden; transition: transform .3s;
  z-index: 2;
}
.bm-scroll-next img, .ttd-scroll-next img {
  width:100%; height:100%; display:block; transition: transform .3s;
}
.bm-scroll-next.rotated img, .ttd-scroll-next.rotated img {
  transform: rotate(180deg);
}
/* ---- THINGS TO DO ---- */
.ttd-header-container {
  width: 1111px;
  height: 155px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
  border-radius: 22px;
  background: linear-gradient(120deg, #FF5252 92%, #ff7b7b 100%);
  box-shadow:
    0 6px 24px 0 rgba(0,0,0,0.18),
    0 2px 8px 0 rgba(0,0,0,0.09),
    0 0 0 8px rgba(70,60,45,0.07),
    0 0 18px 0 rgba(0,0,0,0.17) inset,
    0 1.5px 4px 0 rgba(255,255,255,0.07) inset;
  border: 1.5px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.22s, transform 0.22s;
  backdrop-filter: blur(2px) saturate(120%);
}
.ttd-header-text {
  position: absolute; top: 50%; left: 20px; transform: translateY(-50%);
  font-family: 'Manrope', sans-serif; font-weight: 800;
  font-size: 30.85px; line-height: 42.76px; letter-spacing: -3%; color: #FFF;
}
.ttd-header-image {
  position: absolute; top: 50%; left: 578.8px; transform: translateY(-50%);
  width: 342.7596px; height: 129.9123px; opacity: 0.3; mix-blend-mode: lighten;
}
.ttd-scroll-next {
  position: absolute; top: 50px; right: 40px;
  width: 60px; height: 77px;
  border-radius: 100px; overflow: hidden; transition: transform .3s;
  z-index: 2;
}
.ttd-scroll-next img {
  width:100%; height:100%; display:block; transition: transform .3s;
}
.ttd-scroll-next.rotated img {
  transform: rotate(180deg);
}
/* ---- BOOKING BAR ---- */
.bm-booking-bar {
  display: none; width: 1111px; margin: 0 auto;
  background: #000; color: #FFF; font-family: 'DM Sans', sans-serif;
  font-weight: 700; font-size: 18px; text-align: center; padding: 12px 0; margin-top: 20px;
}
/* ---- 2×2 GRID ---- */
.bm-next-section {
  width: 1111px; margin: 20px auto;
  grid-template-columns: repeat(2,1fr); grid-gap: 40px;
  /* Do NOT set display here! */
}
.bm-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e6e6e6;
  box-sizing: border-box;
  padding: 0 0 16px 0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.02);
  text-align: left;
  transition: box-shadow .2s;
  cursor: pointer;

}
.bm-card img {
  width: 100%;
  display: block;
  border-radius: 20px !important;
  margin-top: 2px;
}
.bm-card-body { padding: 16px; }
.bm-card-title {
  font-family: 'DM Sans', sans-serif; font-weight: 700;
  font-size: 28.76px; line-height: 150%; letter-spacing: 0px; margin: 0 0 8px;
}
.bm-card-underline{
  width: 48px;
  height: 4px;
  background: #10C851;
  margin: 10px 0 10px 0px;
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.42,0,0.58,1);
}

.ttd-card-underline {
  width: 48px;
  height: 4px;
  background: #10C851;
  margin: 10px 0 0 18px;
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.42,0,0.58,1);
}
.bm-card:hover .bm-card-underline{
  width: 100px;
}

.ttd-card:hover .ttd-card-underline {
  width: 100px;
}
.bm-card-text {
  font-family: 'DM Sans', sans-serif; font-weight: 400;
  font-size: 18.36px; line-height: 175%; letter-spacing: -3.34%;
  color: #333; margin: 0;
}

.amenities-section { margin-bottom: 60px; }

.amenities-header-container {
  width: 1111px; height: 155px; margin: 0 auto;
  position: relative; overflow: hidden; cursor: pointer;
  background-color: #438CA0; /* Sample blue shade, adjust as needed */
  display: block;
}
.amenities-header-text {
  position: absolute;
  top: 50%; left: 20px; transform: translateY(-50%);
  font-family: 'Manrope', sans-serif; font-weight: 800;
  font-size: 30.85px; line-height: 42.76px; letter-spacing: -3%; color: #FFF;
  z-index: 2;
}
.amenities-header-image {
  position: absolute; top: 50%; left: 578.8px; transform: translateY(-50%);
  width: 342.7596px; height: 129.9123px; opacity: 0.3; mix-blend-mode: lighten;
}
.amenities-scroll-next {
  position: absolute; top: 50px; right: 40px;
  width: 60px; height: 77px;
  border-radius: 100px; overflow: hidden; transition: transform .3s;
  z-index: 2;
}
.amenities-scroll-next img {
  width:100%; height:100%; display:block; transition: transform .3s;
}
.amenities-scroll-next.rotated img {
  transform: rotate(180deg);
}

.organic-section { margin-bottom: 60px; }
.organic-header-container {
  width: 1111px; height: 155px; margin: 0 auto;
  position: relative; overflow: hidden; cursor: pointer;
  background-color: #27bc41; /* Adjust green if you want */
  display: block;
}
.organic-header-text {
  position: absolute; top: 50%; left: 20px; transform: translateY(-50%);
  font-family: 'Manrope', sans-serif; font-weight: 800;
  font-size: 30.85px; line-height: 42.76px; letter-spacing: -3%; color: #FFF;
  z-index: 2;
}
.organic-header-image {
  position: absolute; top: 50%; left: 578.8px; transform: translateY(-50%);
  width: 342.7596px; height: 129.9123px; opacity: 0.3; mix-blend-mode: lighten;
}
.organic-scroll-next {
  position: absolute; top: 50px; right: 40px;
  width: 60px; height: 77px;
  border-radius: 100px; overflow: hidden; transition: transform .3s;
  z-index: 2;
}
.organic-scroll-next img {
  width:100%; height:100%; display:block; transition: transform .3s;
}
.organic-scroll-next.rotated img {
  transform: rotate(180deg);
}

.ttd-grid-wrap {
  width: 1111px;
  margin: 0 auto 40px;
  background: #f7f7f7;
  padding: 30px 0 0px 0;
  border-radius: 0 0 16px 16px;
  box-sizing: border-box;
}
.ttd-grid-above {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  font-family: DM Sans;
  font-weight: 400;
  font-size: 22px;
  line-height: 150%;
  margin-top: 28px;
  margin-bottom: 28px;
  color: #333;
  padding-left: 10%;
  padding-right: 10%;
}
.ttd-cards-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 40px;
  justify-content: center;
  align-items: start;
  margin: 0 auto;
  padding: 50px;
}
.ttd-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e6e6e6;
  box-sizing: border-box;
  padding: 0 0 16px 0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.02);
  text-align: left;
  transition: box-shadow .2s;
  cursor: pointer;
}
.ttd-card:hover {
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}
.ttd-card-img {
  width: 100%;
  aspect-ratio: 1/1;
  background-position: center;
  background-size: cover;
  border-radius: 20px 20px 0 0;
}
.ttd-card-title {
  font-family: 'Manrope',sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #222;
  padding: 14px 18px 0 18px;
}

.bm-header-container {
  width: 1111px;
  height: 155px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;

  /* 3D card effect */
  border-radius: 22px;
  background: linear-gradient(120deg, #36302B 90%, #49413B 100%);
  box-shadow:
    0 6px 24px 0 rgba(0,0,0,0.18),
    0 2px 8px 0 rgba(0,0,0,0.09),
    0 1.5px 1.5px 0 rgba(255,255,255,0.03) inset,
    0 0 18px 0 rgba(0,0,0,0.21) inset;   /* INNER SHADOW for depth */
  border: 1.5px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}

.bm-header-container:hover {
  box-shadow:
    0 16px 40px 0 rgba(0,0,0,0.22),
    0 3px 12px 0 rgba(0,0,0,0.10);
  transform: translateY(-2px) scale(1.02);
}

.bm-header-container:active {
  box-shadow:
    0 2px 4px 0 rgba(0,0,0,0.12);
  transform: translateY(1.5px) scale(0.98);
}

.bm-header-text {
  /* ...your existing styles... */
  /* Optional: text shadow for depth */
  text-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.bm-header-container {
  /* ...other styles... */
  box-shadow:
    0 6px 24px 0 rgba(0,0,0,0.18),
    0 2px 8px 0 rgba(0,0,0,0.09),
    0 0 0 8px rgba(70,60,45,0.07);  /* Subtle glow */
}
.bm-header-container {
  /* ... */
  backdrop-filter: blur(2px) saturate(120%);
}

.ttd-header-container:hover {
  box-shadow:
    0 16px 40px 0 rgba(0,0,0,0.19),
    0 3px 12px 0 rgba(0,0,0,0.12),
    0 0 22px 0 rgba(0,0,0,0.21) inset,
    0 1.5px 4px 0 rgba(255,255,255,0.10) inset;
  transform: translateY(-2px) scale(1.015);
}

.ttd-header-container:active {
  box-shadow:
    0 2px 6px 0 rgba(0,0,0,0.11),
    0 1px 2px 0 rgba(0,0,0,0.08),
    0 0 10px 0 rgba(0,0,0,0.15) inset;
  transform: translateY(1.5px) scale(0.985);
}

/* Optional: Give the text a little shadow for extra pop */
.ttd-header-text {
  /* ...existing styles... */
  text-shadow: 0 2px 6px rgba(0,0,0,0.13);
}

.ttd-header-container{
      /* ...other styles... */
  box-shadow:
    0 6px 24px 0 rgba(0,0,0,0.18),
    0 2px 8px 0 rgba(0,0,0,0.09),
    0 0 0 8px rgba(70,60,45,0.07);  /* Subtle glow */
}

.amenities-header-container {
  width: 1111px;
  height: 155px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
  border-radius: 22px;
  /* Amenities color (blue) */
  background: linear-gradient(120deg, #438CA0 92%, #55b5d6 100%);
  /* 3D shadow and inner shadow for depth */
  box-shadow:
    0 6px 24px 0 rgba(0,0,0,0.17),
    0 2px 8px 0 rgba(0,0,0,0.09),
    0 0 18px 0 rgba(0,0,0,0.20) inset,
    0 1.5px 4px 0 rgba(255,255,255,0.09) inset;
  border: 1.5px solid rgba(255,255,255,0.07);
  transition: box-shadow 0.22s, transform 0.22s;
}

.amenities-header-container:hover {
  box-shadow:
    0 16px 40px 0 rgba(0,0,0,0.20),
    0 3px 12px 0 rgba(0,0,0,0.12),
    0 0 26px 0 rgba(0,0,0,0.25) inset,
    0 1.5px 4px 0 rgba(255,255,255,0.12) inset;
  transform: translateY(-2px) scale(1.017);
}

.amenities-header-container:active {
  box-shadow:
    0 2px 6px 0 rgba(0,0,0,0.12),
    0 1px 2px 0 rgba(0,0,0,0.08),
    0 0 13px 0 rgba(0,0,0,0.16) inset;
  transform: translateY(1.5px) scale(0.98);
}

.amenities-header-text {
  /* existing styles + pop */
  text-shadow: 0 2px 6px rgba(0,0,0,0.13);
}

.amenities-header-container{
      /* ...other styles... */
  box-shadow:
    0 6px 24px 0 rgba(0,0,0,0.18),
    0 2px 8px 0 rgba(0,0,0,0.09),
    0 0 0 8px rgba(70,60,45,0.07);  /* Subtle glow */
}

.organic-header-container {
  width: 1111px;
  height: 155px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
  border-radius: 22px;
  /* Organic Produce color (green) */
  background: linear-gradient(120deg, #27bc41 92%, #39df64 100%);
  /* 3D card effect with inner/outer shadow */
  box-shadow:
    0 6px 24px 0 rgba(0,0,0,0.16),
    0 2px 8px 0 rgba(0,0,0,0.09),
    0 0 18px 0 rgba(0,0,0,0.17) inset,
    0 1.5px 4px 0 rgba(255,255,255,0.09) inset;
  border: 1.5px solid rgba(255,255,255,0.07);
  transition: box-shadow 0.22s, transform 0.22s;
}

.organic-header-container:hover {
  box-shadow:
    0 16px 40px 0 rgba(0,0,0,0.18),
    0 3px 12px 0 rgba(0,0,0,0.12),
    0 0 26px 0 rgba(0,0,0,0.24) inset,
    0 1.5px 4px 0 rgba(255,255,255,0.12) inset;
  transform: translateY(-2px) scale(1.017);
}

.organic-header-container:active {
  box-shadow:
    0 2px 6px 0 rgba(0,0,0,0.11),
    0 1px 2px 0 rgba(0,0,0,0.08),
    0 0 12px 0 rgba(0,0,0,0.15) inset;
  transform: translateY(1.5px) scale(0.98);
}

.organic-header-text {
  /* existing styles + pop */
  text-shadow: 0 2px 6px rgba(0,0,0,0.13);
}
.organic-header-container{
      /* ...other styles... */
  box-shadow:
    0 6px 24px 0 rgba(0,0,0,0.18),
    0 2px 8px 0 rgba(0,0,0,0.09),
    0 0 0 8px rgba(70,60,45,0.07);  /* Subtle glow */
}

/* -------------------------------------------- */
/*  Modal (popup) styles for both Quiet Time    */
/*  and Weddings modals.                        */
/* -------------------------------------------- */

/* 1) Base modal container—covers entire viewport */
#ttd-gallery-modal,
#ttd-weddings-modal,
#ttd-conferences-modal,
#ttd-birthday-modal,
#ttd-family-modal,
#ttd-church-modal,
#ttd-team-modal,
#ttd-youth-modal,
#amenities-guest-modal,
#amenities-dining-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8); /* darker semi-opaque backdrop */
  display: flex;
  align-items: center;
  justify-content: center;

  /* Start hidden and transparent */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 99999; /* make sure it sits on top */
}

/* 2) When "open" class is added, show + fade in */
#ttd-gallery-modal.open,
#ttd-weddings-modal.open,
#ttd-conferences-modal.open,
#ttd-birthday-modal.open,
#ttd-family-modal.open,
#ttd-church-modal.open,
#ttd-team-modal.open,
#ttd-youth-modal.open,
#amenities-guest-modal.open,
#amenities-dining-modal.open {
  opacity: 1;
  visibility: visible;
}

/* 3) The inner "card" */
.ttd-gallery-content {
  background: #ffffff;
  border-radius: 16px;
  max-width: 820px;
  width: 96%;
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);

  /* Start slightly higher (hidden) */
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  position: relative;
}

/* 4) Slide down into view when "open" */
#ttd-gallery-modal.open .ttd-gallery-content,
#ttd-weddings-modal.open .ttd-gallery-content,
#ttd-conferences-modal.open .ttd-gallery-content,
#ttd-birthday-modal.open .ttd-gallery-content,
#ttd-family-modal.open .ttd-gallery-content,
#ttd-church-modal.open .ttd-gallery-content,
#ttd-team-modal.open .ttd-gallery-content,
#ttd-youth-modal.open .ttd-gallery-content,
#amenities-guest-modal.open .ttd-gallery-content,
#amenities-dining-modal.open .ttd-gallery-content {
  transform: translateY(0);
}

/* 5) Close button (×) styling */
.ttd-gallery-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.5em;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.ttd-gallery-close:hover {
  color: #FF5252;
}

/* 6) Gallery images grid adjustments */
.ttd-gallery-images {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.ttd-gallery-images img {
  max-width: 220px;
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}
.ttd-gallery-images img:hover {
  transform: scale(1.03);
}

/* 7) Descriptive text inside modal */
.ttd-modal-text {
  margin: 0 0 20px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  text-align: left;
}

/* 8) Heading inside modal */
.ttd-modal-heading {
  text-align: center;
  margin: 0 0 12px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.45em;
  color: #333;
  display: inline-block;               /* shrink to text width */
  padding-bottom: 4px;                 /* spacing for underline */
  border-bottom: 3px solid #10C851;    /* green underline */
  margin: 0 0 16px;                    /* vertical spacing */
}

/* Main image */

.ttd-carousel {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 20px;
  overflow: hidden;
}

.ttd-carousel-main {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* Prev/Next buttons */

.ttd-carousel-prev,
.ttd-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2em;
  color: #fff;
  background: rgba(0,0,0,0.4);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

/* Thumbnail strip */
.ttd-carousel-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}
.ttd-carousel-thumbs img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s;
}

.ttd-carousel-thumbs img.selected {
  opacity: 1;
  transform: scale(1.05);
}

.ttd-carousel-prev:hover,
.ttd-carousel-next:hover {
  background: rgba(0,0,0,0.6);
}

.ttd-carousel-prev { left: 10px; }
.ttd-carousel-next { right: 10px; }

/* —————————————————————————— */
/* 1) Hero-Grid Gallery Styles  */
/* —————————————————————————— */
/* —————————————————————————— */
/* 5-Image Modal Gallery Grid */
/* —————————————————————————— */
.gallery {
  position: relative;
  width: 760px;
  height: 305px;
}
.gallery:hover :not(div[data-pos='0'],img) { cursor: pointer; }
.gallery .item {
  position: absolute;
  width: 175px;
  height: 150px;
  overflow: hidden;
  transition: transform 0.9s, width 0.9s, height 0.9s;
}
.gallery .item img {
  width: 100%;
  height: 100%;
}
.gallery div[data-pos='0'] { 
  width: 400px;
  height: inherit;
  z-index: 10;
}
div[data-pos='0'] { transform: translate(0,0); }
div[data-pos='1'] { transform: translate(405px,0); }
div[data-pos='2'] { transform: translate(585px,0); }
div[data-pos='3'] { transform: translate(405px,155px); }
div[data-pos='4'] { transform: translate(585px,155px); }

.amenities-grid-wrap{
  width: 1111px;
  margin: 0 auto 40px;
  background: #f7f7f7;
  padding: 30px 0 0px 0;
  border-radius: 0 0 16px 16px;
  box-sizing: border-box;
}

.organic-grid-wrap{
  width: 1111px;
  margin: 0 auto 40px;
  background: #f7f7f7;
  padding: 30px 0 0px 0;
  border-radius: 0 0 16px 16px;
  box-sizing: border-box;
}

.amenities-modal-stats-row {
  display: flex;
  gap: 32px;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.amenities-modal-stat-card {
  background: #232323;
  color: #fff;
  border-radius: 6px;
  padding: 14px 10px 8px 10px;
  min-width: 0;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.amenities-modal-stat-card .stat-number {
  font-size: 2em;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  margin-bottom: 2px;
  letter-spacing: 1px;
}
.amenities-modal-stat-card .stat-label {
  font-size: 1.1em;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  margin-bottom: 8px;
  color: #e0e0e0;
}
.amenities-modal-stat-card .stat-underline {
  width: 40px;
  height: 3px;
  background: #fff;
  margin: 0 auto;
  border-radius: 2px;
  opacity: 0.7;
}
.amenities-modal-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.08em;
  color: #444;
  margin-top: 10px;
  line-height: 1.7;
}

.amenities-modal-flex {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.amenities-modal-stats-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 170px;
  max-width: 210px;
  flex: 0 0 210px;
}
.amenities-modal-desc-col {
  flex: 1;
  min-width: 0;
}

/* === Responsive Gallery Layout for Modal Galleries === */
.gallery {
  position: relative;
  width: 760px;
  height: 305px;
}
.gallery:hover :not(div[data-pos='0'],img) { cursor: pointer; }
.gallery .item {
  position: absolute;
  width: 175px;
  height: 150px;
  overflow: hidden;
  transition: transform 0.9s, width 0.9s, height 0.9s;
}
.gallery .item img {
  width: 100%;
  height: 100%;
}
.gallery div[data-pos='0'] { 
  width: 400px;
  height: inherit;
  z-index: 10;
}
div[data-pos='0'] { transform: translate(0,0); }
div[data-pos='1'] { transform: translate(405px,0); }
div[data-pos='2'] { transform: translate(585px,0); }
div[data-pos='3'] { transform: translate(405px,155px); }
div[data-pos='4'] { transform: translate(585px,155px); }

#amenities-guest-modal,
#amenities-dining-modal,
#amenities-indoor-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.18);
  transition: opacity 0.2s;
}
#amenities-guest-modal.open,
#amenities-dining-modal.open,
#amenities-indoor-modal.open {
  display: flex;
  opacity: 1;
}
#amenities-guest-modal .ttd-gallery-content,
#amenities-dining-modal .ttd-gallery-content,
#amenities-indoor-modal .ttd-gallery-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 32px 32px 24px 32px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  margin: 0 auto;
}

#amenities-outdoor-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.18);
  transition: opacity 0.2s;
}
#amenities-outdoor-modal.open {
  display: flex;
  opacity: 1;
}
#amenities-outdoor-modal .ttd-gallery-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 32px 32px 24px 32px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  margin: 0 auto;
}

#amenities-conference-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.18);
  transition: opacity 0.2s;
}
#amenities-conference-modal.open {
  display: flex;
  opacity: 1;
}
#amenities-conference-modal .ttd-gallery-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 32px 32px 24px 32px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  margin: 0 auto;
}

#amenities-children-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.18);
  transition: opacity 0.2s;
}
#amenities-children-modal.open {
  display: flex;
  opacity: 1;
}
#amenities-children-modal .ttd-gallery-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 32px 32px 24px 32px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  margin: 0 auto;
}

#amenities-canteen-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.18);
  transition: opacity 0.2s;
}
#amenities-canteen-modal.open {
  display: flex;
  opacity: 1;
}
#amenities-canteen-modal .ttd-gallery-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 32px 32px 24px 32px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  margin: 0 auto;
}

#amenities-auditorium-modal,
#amenities-library-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.18);
  transition: opacity 0.2s;
}
#amenities-auditorium-modal.open,
#amenities-library-modal.open {
  display: flex;
  opacity: 1;
}
#amenities-auditorium-modal .ttd-gallery-content,
#amenities-library-modal .ttd-gallery-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 32px 32px 24px 32px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  margin: 0 auto;
}

#amenities-training-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.18);
  transition: opacity 0.2s;
}
#amenities-training-modal.open {
  display: flex;
  opacity: 1;
}
#amenities-training-modal .ttd-gallery-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 32px 32px 24px 32px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  margin: 0 auto;
} 

.bm-next-section{
  width: 1111px;
  margin: 0 auto 40px;
  background: #f7f7f7;
  padding: 50px;
  border-radius: 0 0 16px 16px;
  box-sizing: border-box;
}