body {
  font-family: Arial, sans-serif;
  background: #f8fafc;
  color: #0f172a;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 62px;
}

/* Override Bootstrap sticky-top — make main navbar fixed + hide on scroll */
.navbar-custom.sticky-top {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transform: translateY(0);
  transition: transform 0.25s ease;
}

.navbar-custom.sticky-top.nav-hidden {
  transform: translateY(-100%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: #fff;
  box-shadow: 0 2px 12px rgba(15,23,42,0.08);
  transform: translateY(-100%);
  transition: transform 0.25s ease;
  pointer-events: none;
}

.site-header.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.header-container {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 0 12px;
}

.sub-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1019;
  box-shadow: 0 2px 8px rgba(15,23,42,0.06);
  transform: translateY(-100%);
  transition: transform 0.25s ease;
}

.sub-header.is-visible {
  transform: translateY(0);
}

.sub-header-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.sub-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.sub-nav-links::-webkit-scrollbar {
  display: none;
}

.sub-nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.sub-nav-links a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  background: transparent;
  transition: background 0.2s ease;
}

.sub-nav-links a:hover,
.sub-nav-links a.active {
  color: #198754;
}

.sub-nav-links a:hover::after,
.sub-nav-links a.active::after {
  background: #198754;
}

.sub-nav-links a.active {
  font-weight: 800;
}

.sub-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brochure-nav-btn,
.view-number-btn {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brochure-nav-btn {
  border: 1px solid #198754;
  background: #fff;
  color: #198754;
}

.brochure-nav-btn:hover {
  background: #eff6ff;
  color: #198754;
}

.view-number-btn {
  border: 1px solid #198754;
  background: #198754;
  color: #fff;
}

.view-number-btn:hover {
  background: #198754;
  border-color: #198754;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  display: block;
  text-decoration: none;
  background: #ddd;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.3s;
}

.gallery-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.gallery-card:hover img {
  transform: scale(1.03);
}

.main-image {
  height: 370px;
}

.small-image {
  height: 178px;
}

.overlay-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.15));
}

.tag-left {
  position: absolute;
  left: 12px;
  bottom: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  z-index: 2;
}

.tag-right {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  z-index: 2;
}

.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: #198754;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.video-trigger {
  border: 0;
  padding: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.video-modal .modal-content {
  background: #000;
  border: 0;
  overflow: hidden;
  border-radius: 14px;
}

.video-modal .btn-close {
  filter: invert(1);
  opacity: 0.9;
}

.video-modal video {
  width: 100%;
  display: block;
  max-height: 80vh;
  background: #000;
}

.video-modal .carousel-control-prev,
.video-modal .carousel-control-next {
  width: 64px;
  opacity: 0.9;
}

.video-modal .carousel-control-prev-icon,
.video-modal .carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background-color: rgba(0, 0, 0, 0.45);
  background-size: 55%;
}

.property-info,
.right-card,
.status-box,
.pricing-box,
.pricing-card,
.facility-box,
.about-box,
.brochure-box,
.location-box,
.location-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.property-info {
  padding: 20px;
  margin-top: 18px;
}

.right-card {
  position: sticky;
  top: 70px;
  padding: 22px;
  height: auto;
  border: 1px solid #e5e7eb;
}

.status-box {
  background: #eef6f1;
  padding: 22px;
  margin-top: 18px;
}

.pricing-box {
  padding: 22px;
  margin-top: 18px;
  border: 1px solid #e5e7eb;
}

.location-box {
  padding: 22px;
  margin-top: 18px;
  border: 1px solid #e5e7eb;
}

.facility-box {
  padding: 22px;
  margin-top: 18px;
  border: 1px solid #e5e7eb;
}

.about-box {
  padding: 22px;
  margin-top: 18px;
  border: 1px solid #e5e7eb;
}

.brochure-box {
  padding: 22px;
  margin-top: 18px;
  border: 1px solid #e5e7eb;
}

.price-label {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.price-value {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.charges-link {
  color: #0d6efd;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.charges-link:hover {
  text-decoration: underline;
}

.price-subtitle {
  color: #475569;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.pricing-card {
  padding: 18px;
  border: 1px solid #e5e7eb;
  height: 100%;
}

.pricing-slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.pricing-slider-controls {
  display: none;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.pricing-box.has-slider .pricing-slider-controls {
  display: flex;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #dbe1ea;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(15,23,42,0.08);
  transition: 0.2s ease;
}

.slider-btn:hover {
  background: #198754;
  border-color: #198754;
  color: #fff;
}

.slider-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f8fafc;
  color: #94a3b8;
}

.pricing-slider {
  overflow: hidden;
}

.pricing-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.pricing-track::-webkit-scrollbar {
  display: none;
}

.pricing-slide {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: calc((100% - 32px) / 3);
}

.section-heading {
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0;
}

.section-link {
  color: #0d6efd;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.section-link:hover {
  text-decoration: underline;
}

.section-intro {
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
  margin: 14px 0 18px;
}

.facility-intro {
  max-width: 760px;
  margin-top: -4px;
  margin-bottom: 28px;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.facility-card {
  min-height: 118px;
  padding: 0;
  border-radius: 8px;
  background: #fbf7ed;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.facility-card:nth-child(2n) {
  background: #eef8ff;
}

.facility-card:nth-child(3n) {
  background: #fbf8ef;
}

.facility-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15,23,42,0.08);
}

.facility-photo-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: #fff;
  background: #0f172a;
}

.facility-photo-card img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.facility-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.72), rgba(15,23,42,0.08) 62%);
  pointer-events: none;
}

.facility-photo-card:hover img {
  transform: scale(1.04);
}

.facility-photo-card span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 1;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

.facility-photos-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.facility-photos-link:hover {
  color: #0d6efd;
}

.about-intro {
  margin-top: -4px;
  margin-bottom: 18px;
}

.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 12px;
  background: #eef6f1;
}

.about-cta-title {
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 3px;
}

.about-cta-subtitle {
  color: #64748b;
  font-size: 14px;
}

.brochure-subtitle {
  color: #64748b;
  font-size: 13px;
  margin: 7px 0 0;
}

.brochure-preview {
  position: relative;
  height: 385px;
  overflow: hidden;
  border-radius: 9px;
  background: #101820;
  border: 1px solid #111827;
  box-shadow: inset 0 -46px 0 rgba(2,6,23,0.9);
}

.brochure-preview iframe,
.brochure-preview object {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #101820;
}

.brochure-download {
  position: absolute;
  left: 22px;
  bottom: 56px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #198754;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(13,110,253,0.34);
}

.brochure-download:hover {
  background: #0b5ed7;
  color: #fff;
}

.brochure-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.brochure-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 11px 16px;
}

.brochure-action-btn:hover {
  color: #fff;
}

.brochure-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #0d6efd;
  border-radius: 8px;
  color: #0d6efd;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
}

.brochure-outline-btn:hover {
  background: #eff6ff;
  color: #0b5ed7;
}

.location-card {
  min-height: 92px;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.location-slider {
  overflow: hidden;
}

.location-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.location-track::-webkit-scrollbar {
  display: none;
}

.location-slide {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: calc((100% - 10px) / 3);
}

.location-box.has-slider .location-slider-controls {
  display: flex;
}

.location-name {
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 2px;
}

.location-distance {
  color: #64748b;
  font-size: 14px;
}

.pricing-card-title {
  color: #0f172a;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-card-meta {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 8px;
}

.pricing-card-size {
  color: #334155;
  font-size: 15px;
  margin-bottom: 18px;
}

.pricing-card-price {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.pricing-card-price .charges-link {
  font-size: 14px;
  font-weight: 700;
}

.project-logo {
  width: 95px;
  height: 55px;
  object-fit: contain;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 6px;
  background: #fff;
}

.project-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 3px;
  color: #0f172a;
}

.project-location {
  color: #6b7280;
  font-size: 15px;
  margin-bottom: 12px;
}

.badge-custom {
  display: inline-block;
  background: #e8f7ef;
  color: #198754;
  padding: 6px 10px;
  border-radius: 6px;
  margin-right: 6px;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 600;
}

.green-btn {
  background: #198754;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.green-btn:hover {
  background: #157347;
  color: #fff;
}

.status-label {
  color: #198754;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.status-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
}

.status-subtext {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 0;
}

.why-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
}

.why-list {
  color: #475569;
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.developed-label {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.developer-name {
  color: #0f172a;
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .main-image { height: 220px; }
  .small-image { height: 134px; }
  .facility-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-slide,
  .location-slide { flex: 0 0 calc(100% - 0px); min-width: calc(100% - 0px); }
  .about-cta { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .pricing-slide,
  .location-slide { flex: 0 0 calc((100% - 16px) / 2); min-width: calc((100% - 16px) / 2); }
}
