
/* ── FOUC prevention ────────────────────────────────────────────────────────
   Hide every scroll-animated element before JS runs so there is no visible
   flash between browser paint and setInitialStates() executing.
   GSAP animates these to opacity:1 (inline) which overrides these rules.
   ────────────────────────────────────────────────────────────────────────── */
.hero__back-button,
.hero__badge,
.hero__title,
.hero__subtitle,
.hero__description,
.hero__actions .btn,
.project-overview .section-header,
.stat-card,
.progress-bar-section,
.info-card,
.amenities .section-header,
.virtual-tour,
.amenity-card,
.feature-item,
.quote-dots,
.quote-text,
.gallery .section-header,
.gallery-filters,
.location .section-header,
.location-feature,
.location-map {
  opacity: 0;
}

/* Bootstrap Container Override */
.project-details .container {
  padding-left: 67px;
  padding-right: 67px;
}

/* ============================================
   HERO 
   ============================================ */
.hero {
  position: relative;
  min-height: 998px;
  display: flex;
  align-items: center;
  padding-top: 160px;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

  .hero__background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hero-bg) center/cover;
    background-attachment: fixed;
  }

.hero__overlay {
  position: absolute;
  width: 100%;
  left: 0;
  pointer-events: none;
}

.hero__overlay--top {
  height: 228px;
  top: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35.088%, rgba(0,0,0,0.9) 94.071%);
  transform: rotate(180deg);
}

.hero__overlay--bottom {
  height: 100%;
  top: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
}

.hero__back-button {
  display: block;
  width: 32px;
  height: 32px;
  z-index: 2;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

  .hero__back-button:hover {
    transform: scale(1.1);
    opacity: 0.8;
  }


.hero__content {
  max-width: 900px;
  color: var(--color-white);
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  padding: 9px 21px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  margin-bottom: 23.5px;
  margin-top: 23.5px;
}

.hero__badge-text {
  font-size: 12px;
  font-weight: 300; 
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #FFF;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 400;
  line-height: 79.2px;
  letter-spacing: -1.44px;
  margin-bottom: 12px;
}

.hero__subtitle {
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -0.3px;
  margin-bottom: 40px;
}

.hero__description p {
  font-size: 18px;
  font-weight: 300;
  line-height: 32px;
  max-width: 768px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 29px 32px;
  font-size: 16px;
  font-weight: 300;
  border-radius: 999px;
  border: none;
  cursor: pointer; 
  text-decoration: none;
}

.btn__icon {
  width: 20px;
  height: 20px;
}

.btn--primary { 
  background: var(--color-white);
  color: var(--color-text-dark);
}

  .btn--primary:hover {
    background: #f5f5f5;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.24);
    color: var(--color-text-dark);
  }

.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.3);
}

  .btn--secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255,255,255,0.08);
  }

/* ============================================
   PROJECT OVERVIEW
   ============================================ */
.project-overview {
  padding: 100px 0;
  background: var(--color-white);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  padding-top: 32px;
}



.section-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 500;
  line-height: 72px;
  letter-spacing: -0.96px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  font-weight: 300;
  line-height: 27px;
  color: #6A6A6A;
  max-width: 400px;
  margin: 0 auto;
}

.stat-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  height: 100%;
}

.stat-card__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border: 2px solid var(--color-text-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card__value {
  font-family: var(--font-heading);
  font-size: 52px;
  line-height: 52px;
  letter-spacing: -1.04px;
  margin-bottom: 12px;
}

.stat-card__label {
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 27px;
  margin-bottom: 8px;
}

.stat-card__description {
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* Progress Bar */
.progress-bar-section {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.progress-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  gap: 24px;
}

.progress-bar-header__title {
  font-family: var(--font-heading);
  color: #0A0A0A;
  font-size: 36px;
  font-weight: 500;
  line-height: 54px;
  letter-spacing: -0.36px;
  margin-bottom: 12px;
}

.progress-bar-header__subtitle {
  font-size: 15px;
  font-weight: 300;
  line-height: 24px;
  color: var(--color-text-secondary);
  max-width: 552px;
}

.progress-percentage {
  font-family: var(--font-heading);
  font-size: 60px;
  line-height: 60px;
  letter-spacing: -1.2px;
  text-align: right;
}

.progress-percentage-label {
  font-size: 14px;
  letter-spacing: 0.7px;
  text-align: right;
  margin-top: 8px;
  color: #6A7282;
  font-weight: 300;
}

.progress-bar-track {
  position: relative;
  height: 16px;
  background: var(--color-border-light);
  border-radius: 999px;
  margin-bottom: 48px;
  overflow: hidden;
}

.progress-bar-fill {
  position: absolute;
  height: 100%;
  width: 0%;
  background: var(--color-text-primary);
  border-radius: 999px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.progress-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.progress-marker {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 2;
}

.progress-marker--active::after {
  background: var(--color-text-primary);
}

.progress-labels {
  position: relative;
  display: flex;
  height: 50px;
  margin-bottom: 42px;
}

.progress-label {
  position: absolute;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}

.progress-label:nth-child(1) {
  left: 0%;
  transform: translateX(0);
  text-align: left;
}

.progress-label:nth-child(2) {
  left: 25%;
}

.progress-label:nth-child(3) {
  left: 50%;
}

.progress-label:nth-child(4) {
  left: 75%;
}

.progress-label:nth-child(5) {
  left: 100%;
  transform: translateX(-100%);
  text-align: right;
}

.progress-label__title {
  font-size: 13px;
  line-height: 19.5px;
  margin-bottom: 4px;
  color: #101828;
  font-weight: 400;
}

.progress-label__percentage {
  font-size: 11px;
  line-height: 16.5px;
  color: #6A7282;
  font-weight: 300;
}

.progress-label--inactive {
  opacity: 0.5;
}

.progress-tags {
  display: flex;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border-light);
  flex-wrap: wrap;
}

.progress-tag {
  padding: 14.5px 17px;
  border-radius: 999px;
  font-size: 13px;
}

.progress-tag--green {
  background: #f0fdf4;
  border: 1px solid #b9f8cf;
  color: #008236;
}

.progress-tag--blue {
  background: #eff6ff;
  border: 1px solid #bedbff;
  color: #1447e6;
}

.progress-tag--purple {
  background: #faf5ff;
  border: 1px solid #e9d4ff;
  color: #8200db;
}

/* Info Cards */
.info-card {
  background: #f9fafb;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 33px;
  height: 100%;
}

.info-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  margin-bottom: 12px;
}

.info-card__description {
  font-size: 14px;
  font-weight: 300;
  line-height: 22.4px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.info-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.info-tag {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 300;
  line-height: 19.5px;
  color: var(--color-text-tertiary);
}

.info-card__details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-detail__label {
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
  color: var(--color-text-tertiary);
}

.info-detail__value {
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 24px;
  color: #141414;
  font-weight: 400;
}

/* ============================================
   AMENITIES - BLACK BACKGROUND
   ============================================ */
.amenities {
  background: #141414;
  padding: 72px 0 128px;
}

  .amenities .section-title {
    color: #ffffff;
  }

  .amenities .section-subtitle {
    color: rgba(255,255,255,0.7);
  }

/* Virtual Tour */
.virtual-tour {
  position: relative;
  height: 560px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 80px;
}

.virtual-tour__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.virtual-tour__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

/* 2 ANIMATING CIRCLES */
.virtual-tour__play-button {
  position: relative;
  width: 96px;
  height: 96px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 8px;
  margin-bottom: 60px;
  cursor: pointer;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

  .virtual-tour__play-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
  }

  .virtual-tour__play-button::before,
  .virtual-tour__play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  .virtual-tour__play-button::before {
    width: 192px;
    height: 192px;
    animation: pulse-outer 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }

  .virtual-tour__play-button::after {
    width: 144px;
    height: 144px;
    border-color: rgba(255, 255, 255, 0.4);
    animation: pulse-inner 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    animation-delay: 0.4s;
  }

  .virtual-tour__play-button:hover::before {
    animation: pulse-outer-fast 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }

  .virtual-tour__play-button:hover::after {
    animation: pulse-inner-fast 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    animation-delay: 0.2s;
  }

@keyframes pulse-outer {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.6;
  }
}

@keyframes pulse-inner {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.8;
  }
}

@keyframes pulse-outer-fast {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 0.7;
  }
}

@keyframes pulse-inner-fast {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 1;
  }
}

.virtual-tour__title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 400;
  line-height: 63px;
  letter-spacing: -0.42px;
  margin-bottom: 16px;
  text-align: center;
}

.virtual-tour__subtitle {
  font-size: 18px;
  line-height: 28.8px;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  text-align: center;
  max-width: 600px;
}

.btn--outline-white {
  background: var(--color-white);
  color: var(--color-dark-bg);
  border: none;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

  .btn--outline-white:hover {
    background: var(--color-white);
    color: var(--color-dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  }

/* Amenity Cards */
.amenity-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
}

.amenity-card__image {
  position: relative;
  height: 396px;
}

  .amenity-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .amenity-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
  }

.amenity-card__icon {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.amenity-card__content {
  padding: 32px;
  text-align: start;
}

.amenity-card__title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
  color: #ffffff;
  margin-bottom: 12px;
}

.amenity-card__description {
  font-size: 17px;
  font-weight: 300;
  line-height: 26px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.amenity-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.amenity-tag {
  padding: 7px 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-size: 11px;
  color: rgba(255,255,255,0.8);
}

/* Features Grid */
.feature-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 16px;
  height: 100%;
  align-items: center;
}

.feature-item__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--color-gold);
}

.feature-item__content {
  flex: 1;
}

.feature-item__title {
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 24px;
  color: #ffffff;
  margin-bottom: 4px;
}

.feature-item__description {
  font-size: 14px;
  font-weight: 300;
  line-height: 19.5px;
  color: rgba(255,255,255,0.7);
}

/* ============================================
   QUOTE SECTION - FIXED HEIGHT 599px
   ============================================ */
.quote-section {
  position: relative;
  height: 599px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-section__bg-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.quote-section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 140%;
  object-fit: cover;
  object-position: center;
}

.quote-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(9,7,3,0.7);
  z-index: 1;
}

.quote-section .container {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 0 16px 0 16px;
}

/* 4 Dots for Quote Section */
.quote-dots {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 17px;
  margin: 0 auto 32px;
}

  .quote-dots circle {
    fill: #FFFFFF;
    opacity: 0; 
  }

.quote-text {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.2;
  color: #F1F1F1;
  font-style: normal;
  margin: 0 auto;
}

/* ============================================
   GALLERY - SWIPER BASED
   ============================================ */
.gallery {
  background: var(--color-white);
  padding: 35px 0 0;
}
  .gallery .section-subtitle {
    max-width: 491px;
  }

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.gallery-filter {
  padding: 13.5px 24px;
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

  .gallery-filter.active {
    background: #141414;
    color: #ffffff;
  }

    .gallery-filter.active span {
      background: rgba(255,255,255,0.2);
      color: #ffffff;
    }

  .gallery-filter:not(.active) {
    background: #f3f4f6;
    color: var(--color-text-tertiary);
  }

    .gallery-filter:not(.active) span {
      background: rgba(16,24,40,0.1);
      color: var(--color-text-tertiary);
    }

  .gallery-filter span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 50%;
    font-size: 12px;
    line-height: 16px;
  }

/* Gallery Main - FULL WIDTH */
.gallery-main-wrapper {
  position: relative;
  background: #000000;
  width: 100%;
  height: 698px;
  overflow: hidden;
}

.gallery-swiper {
  width: 100%;
  height: 100%;
}

.gallery-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

  .gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.gallery-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
  pointer-events: none;
}

/* Content Overlay - Respects Container */
.gallery-content-overlay {
  position: absolute;
  height: 100%;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.15);
}


.gallery-main-wrapper .container {
  height: 100%;
  position: relative;
}

.gallery-slide__info {
  position: absolute;
  bottom: 48px; 
  max-width: 536px;
  color: var(--color-white);
  pointer-events: auto;
}

.gallery-slide__category {
  display: inline-block;
  padding: 13.5px 16px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.65px;
  text-transform: capitalize;
  margin-bottom: 16px;
}

.gallery-slide__title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 500;
  line-height: 63px;
  letter-spacing: -0.42px;
  margin-bottom: 12px;
}

.gallery-slide__description {
  font-size: 16px;
  font-weight: 300;
  line-height: 25.6px;
  color: rgba(255,255,255,0.8);
}

/* Navigation - Respects Container */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition);
  pointer-events: auto;
}

  .gallery-nav:hover {
    background: rgba(255,255,255,0.25);
  }

.gallery-nav--prev {
  left: 32px;
}

.gallery-nav--next {
  right: 32px;
}

.gallery-nav svg {
  color: #ffffff;
}

.gallery-counter {
  position: absolute;
  top: 32px;
  right: 32px;
  padding: 15.5px 21px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.7px;
  color: #ffffff;
  pointer-events: auto;
}

/* Thumbnails - Simple Horizontal Scroller */
.gallery-thumbnails-wrapper {
  background: #000000;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 33px 0;
}

.gallery-thumbnails {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  padding: 0;
}

  .gallery-thumbnails::-webkit-scrollbar {
    display: none;
  }

.gallery-thumb {
  width: 160px;
  height: 100px;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 9px;
  overflow: hidden;
  opacity: 0.6;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  background: none;
  padding: 0;
  display: block;
}

  .gallery-thumb.active {
    border-color: #ffffff;
    opacity: 1;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  }

  .gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .gallery-thumb span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    font-size: 12px;
    font-weight: 300;
    line-height: 16px;
    color: #ffffff;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
    opacity: 0;
    transition: opacity var(--transition);
  }

  .gallery-thumb:hover span {
    opacity: 1;
  }

/* ============================================
   LOCATION - BLACK BACKGROUND
   ============================================ */
.location {
  background: #141414;
  padding: 62px 0;
  color: #ffffff;
}

  .location .section-title {
    color: #ffffff;
  }

  .location .section-subtitle {
    color: rgba(255,255,255,0.7);
    max-width: 640px;
  }

.location-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.location-feature {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 25px;
  display: flex;
  gap: 20px;
}

.location-feature__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

  .location-feature__icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-gold);
  }

.location-feature__title {
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 33px;
  color: #ffffff;
  margin-bottom: 8px;
}

.location-feature__description {
  font-size: 14px;
  font-weight: 300;
  line-height: 24px;
  color: rgba(255,255,255,0.7);
}

/* Location Map */
.location-map {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
}

.location-map__image {
  position: relative;
  height: 445px;
}

  .location-map__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.location-map__marker {
  position: absolute;
  top: 72%;
  left: 50%;
  transform: translate(-50%, -100%);

  animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% {
    transform: translate(-50%, -100%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translate(-50%, -100%) scale(1.15);
    opacity: 0.8;
  }
}

.location-map__marker svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.location-map__info {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 17px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  max-width: 570px;
  z-index: 2;
}

.location-map__coords {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

  .location-map__coords svg {
    width: 40px;
    height: 40px;
    color: var(--color-text-primary);
    flex-shrink: 0;
    margin-top: 2px;
  }

.location-map__label {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #0a0a0a;
  margin-bottom: 4px;
}

.location-map__value {
  font-size: 13px;
  font-weight: 300;
  line-height: 19.5px;
  color: var(--color-text-medium);
}

.location-map__actions {
  padding: 32px 24px;
}

.location-map__heading {
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 27px;
  color: #ffffff;
  margin-bottom: 4px;
}

.location-map__subheading {
  font-size: 13px;
  font-weight: 300;
  line-height: 19.5px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.location-map__buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-map {
  flex: 1;
  padding: 13px 24px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 32px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-map-white {
  background: #ffffff;
  color: #101828;
}

  .btn-map:hover {
    background: rgba(255,255,255,0.1);
  }
.btn-map-white:hover {
  background: transparent;
  color: #fff;
}
.btn-map-white:hover svg path {
  stroke: #FFF !important;
}

.location-map__distances {
  display: flex;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.location-distance {
  text-align: center;
  flex: 1;
}

.location-distance__time {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #ffffff;
  margin-bottom: 4px;
}

.location-distance__label {
  font-size: 11px;
  line-height: 16.5px;
  color: rgba(255,255,255,0.6);
}


/* ============================================
   ANIMATIONS & HELPERS
   ============================================ */
.fade-in-scroll {
  opacity: 0;
  transform: translateY(30px);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet - 1024px */
@media (max-width: 1024px) {
  .section-title {
    font-size: 40px;
    line-height: 1.3;
  }

  .section-subtitle {
    font-size: 15px;
  }

  .hero__title {
    font-size: 56px;
    line-height: 1.2;
  }

  .hero__subtitle {
    font-size: 24px;
  }

  .hero__description p {
    font-size: 16px;
  }

  .stat-card__value {
    font-size: 44px;
  }

  .progress-bar-header__title {
    font-size: 32px;
  }

  .progress-percentage {
    font-size: 52px;
  }

  .virtual-tour__title {
    font-size: 36px;
  }

  .quote-text {
    font-size: 48px;
  }
}

@media (max-width: 991px) {
  .section-title {
    font-size: 36px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  .hero__title {
    font-size: 48px;
  }

  .hero__subtitle {
    font-size: 22px;
  }

  .stat-card__value {
    font-size: 42px;
  }

  .progress-bar-header__title {
    font-size: 30px;
  }

  .progress-percentage {
    font-size: 48px;
  }

  .virtual-tour__title {
    font-size: 34px;
  }

  .quote-text {
    font-size: 40px;
  }

  .gallery-slide__title {
    font-size: 36px;
  }
}

/* Mobile - 768px */
@media (max-width: 768px) {
  /* Hero Mobile */
  .hero {
    min-height: 700px;
    padding-top: 100px;
  }

  .hero__background::before {
    background-attachment: scroll;
  }

  .hero__back-button { 
    width: 28px;
    height: 28px;
  }

  .hero__title {
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.8px;
  }

  .hero__subtitle {
    font-size: 18px;
    line-height: 1.4;
  }

  .hero__description p {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

    .hero__actions .btn {
      width: 100%;
      justify-content: center;
    }

  /* Sections Mobile */
  .project-overview,
  .gallery,
  .amenities,
  .location,
  .register {
    padding: 64px 0;
  }

  .gallery {
    padding-bottom: 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .section-title {
    font-size: 28px;
    line-height: 1.3;
    letter-spacing: -0.64px;
  }

  .section-subtitle {
    font-size: 14px;
    line-height: 1.6;
  }

  .stat-card {
    padding: 24px;
  }

  .stat-card__value {
    font-size: 36px;
  }

  .stat-card__label {
    font-size: 16px;
  }

  /* Progress Bar Mobile - FIXED OVERLAP */
  .progress-bar-section {
    padding: 24px;
  }

  .progress-bar-header {
    flex-direction: column;
    gap: 24px;
  }

  .progress-bar-header__title {
    font-size: 28px;
    line-height: 1.3;
  }

  .progress-percentage {
    font-size: 48px;
    text-align: left;
  }

  .progress-percentage-label {
    text-align: left;
  }

  /* MOBILE FIX: Abbreviated text for progress labels */
  .progress-label__title {
    font-size: 11px;
  }

    .progress-label__title::before {
      content: attr(data-short-text);
    }

  .progress-label__title {
    text-indent: -9999px;
    position: relative;
  }

    .progress-label__title::before {
      text-indent: 0;
      position: absolute;
      left: 0;
      right: 0;
    }

  .info-card {
    padding: 24px;
  }

  /* Virtual Tour Mobile */
  .virtual-tour {
    height: 400px;
  }

  .virtual-tour__play-button {
    width: 80px;
    height: 80px;
  }

    .virtual-tour__play-button::before {
      width: 160px;
      height: 160px;
    }

    .virtual-tour__play-button::after {
      width: 120px;
      height: 120px;
    }

  .virtual-tour__title {
    font-size: 32px;
    line-height: 1.3;
  }

  .virtual-tour__subtitle {
    font-size: 16px;
  }

  /* Amenities Mobile */
  .amenity-card__image {
    height: 280px;
  }

  .amenity-card__content {
    padding: 24px;
  }

  .amenity-card__title {
    font-size: 20px;
  }

  /* Gallery Mobile */
  .gallery-main-wrapper {
    height: 500px;
  }

  .gallery-slide__info {
    bottom: 24px;
    max-width: 100%;
  }

  .gallery-slide__title {
    font-size: 28px;
    line-height: 1.3;
  }

  .gallery-nav {
    width: 48px;
    height: 48px;
  }

  .gallery-thumb {
    width: 120px;
    height: 80px;
  }

  /* Quote Section Mobile */
  .quote-section {
    height: 400px;
  }

  .quote-text {
    font-size: 20px;
  }

  /* Location Mobile */
  .location-feature {
    padding: 20px;
  }

  .location-map__image {
    height: 300px;
  }

  /* Register Mobile */
  .register {
    min-height: auto;
    padding: 64px 0;
  }

  .register__content {
    padding: 40px 24px;
    border-radius: 24px;
  }

  .register__title {
    font-size: 32px;
  }

  .register__subtitle {
    font-size: 16px;
  }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
  .hero__title {
    font-size: 32px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .section-title {
    font-size: 28px;
  }

  .btn {
    padding: 14px 24px;
    font-size: 14px;
    width:auto;
  }

  .stat-card__value {
    font-size: 32px;
  }

  .stat-card__label {
    font-size: 14px;
  }

  .progress-bar-header__title {
    font-size: 22px;
  }

  .progress-percentage {
    font-size: 36px;
  }

  .register__title {
    font-size: 24px;
  }

  .register__subtitle {
    font-size: 14px;
  }

  .gallery-slide__title {
    font-size: 20px;
  }

  .quote-text {
    font-size: 18px;
  }

  .virtual-tour__title {
    font-size: 24px;
  }

  .virtual-tour__subtitle {
    font-size: 14px;
  }

  .amenity-card__title {
    font-size: 18px;
  }
  .gallery{
      padding:0
  }
  .location-map__buttons{
      padding-top:15px;
      flex-direction:column;
  }
  .location-map__marker {
    top: 95%;
  }
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #D4AF37 0%, #f4d378 100%);
  z-index: 10000;
  transform-origin: left;
  transform: scaleX(0);
  box-shadow: 0 2px 4px rgba(212,175,55,0.3);
}

/* ============================================
   VIRTUAL TOUR MODAL
   ============================================ */
.virtual-tour-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.virtual-tour-modal.active {
  display: flex;
}

.virtual-tour-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

.virtual-tour-modal__container {
  position: relative;
  width: calc(100% - 48px);
  max-width: 1400px;
  height: 90vh;
  margin: auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.virtual-tour-modal__content {
  background: #1a1a1a;
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.virtual-tour-modal__header {
  position: relative;
  padding: 24px 80px 24px 32px;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

  .virtual-tour-modal__header h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 4px;
  }

  .virtual-tour-modal__header p {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
  }

.virtual-tour-modal__close {
  position: absolute;
  top: 50px;
  right: 24px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ffffff;
  z-index: 1;
} 

  .virtual-tour-modal__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) rotate(90deg);
  }

  .virtual-tour-modal__close:active {
    transform: translateY(-50%) scale(0.95) rotate(90deg);
  }

.virtual-tour-modal__iframe-wrapper {
  position: relative;
  flex: 1;
  width: 100%;
  overflow: hidden;
  background: #000000;
}

  .virtual-tour-modal__iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

/* Loading state */
.virtual-tour-modal__iframe-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 10;
  pointer-events: none;
}

.virtual-tour-modal__iframe-wrapper::after {
  content: 'Loading Virtual Tour...';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 60px));
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 300;
  z-index: 10;
  pointer-events: none;
}

.virtual-tour-modal__iframe-wrapper.loaded::before,
.virtual-tour-modal__iframe-wrapper.loaded::after {
  display: none;
}

.virtual-tour-modal__iframe-wrapper.loaded::before {
  opacity: 0;
  transition: opacity 0.3s ease;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Ensure iframe doesn't block close button during load */
.virtual-tour-modal__iframe-wrapper iframe {
  pointer-events: auto;
}

.virtual-tour-modal__iframe-wrapper:not(.loaded) {
  background: #000000;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .project-details .container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .virtual-tour-modal__container {
    width: calc(100% - 32px);
    height: 95vh;
  }

  .virtual-tour-modal__content {
    border-radius: 16px;
  }

  .virtual-tour-modal__header {
    padding: 20px 70px 20px 24px;
  }

  .virtual-tour-modal__close {
    right: 20px;
    width: 36px;
    height: 36px;
  }

    .virtual-tour-modal__close svg {
      width: 20px;
      height: 20px;
    }

    .virtual-tour-modal__header h3 {
      font-size: 20px;
    }

    .virtual-tour-modal__header p {
      font-size: 13px;
    }
}

@media (max-width: 480px) {
  .project-details .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .virtual-tour-modal__container {
    width: calc(100% - 24px);
  }

  .virtual-tour-modal__header {
    padding: 16px 60px 16px 20px;
  }

  .virtual-tour-modal__close {
    right: 16px;
    width: 32px;
    height: 32px;
  }

    .virtual-tour-modal__close svg {
      width: 18px;
      height: 18px;
    }

    .virtual-tour-modal__header h3 {
      font-size: 18px;
    }

    .virtual-tour-modal__header p {
      font-size: 12px;
    }
  .virtual-tour__overlay{
      padding:15px;
  }
}

/* Prevent body scroll when modal is open */
body.virtual-tour-active {
  overflow: hidden;
}
.next-project {
    position:relative;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 50px;
  gap: 24px;
  margin-top: 70px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.next-project:hover {
  transform: translateX(8px);
}

.next-project:hover .next-project-subtitle {
  color: #ffffff;
}

.next-project:hover svg {
  transform: translateX(4px);
}

.next-project svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.next-project-title {
  color: rgba(255, 255, 255, 0.50);
  font-family: Inter;
  font-size: 13px;
  font-style: normal;
  font-weight: 300;
  line-height: 19.5px; /* 150% */
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.next-project-subtitle {
  color: rgba(255, 255, 255, 0.90);
  font-family: Lora;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px; /* 150% */
  letter-spacing: -0.2px;
  transition: color 0.3s ease;
}

.next-project img {
  border-radius: 16px;
  background-size: cover;
  width: 96px;
  height: 96px;
  object-fit: cover;
  flex-shrink: 0;
  filter: grayscale(100%);
}

/* ITI phone dropdown: above book-visit modal (9999) and scroll-progress (10000) */
.iti__country-list {
  z-index: 10001 !important;
}

@media (max-width: 576px) {
  .iti__country-list {
    max-width: calc(100vw - 4rem);
  }
}