/* ============================================
   MANGALAM MOMENTO — Custom Project Styles
   Layered on top of the Crafto framework CSS.
   ============================================ */

/* ==========================================
   1. DESIGN TOKENS
   ========================================== */
:root {
  --mm-gold: #ee9b76;
  --mm-gold-light: #f4a984;
  --mm-gold-dark: #d9815c;
  --mm-navy: #321e17;
  --mm-navy-light: #4a2c22;
  --mm-cream: #f5f0e8;
  --mm-warm-gray: #ececec;
  --mm-charcoal: #15130f;
  --mm-text: #716b61;
  --mm-white: #ffffff;
  --mm-border: #ececec;
}

html {
  scroll-behavior: smooth;
}
.memento-background {
  /* Fallback color */
  background-color: #1c110c;

  /* Radial gradient from center to edges */
  background: radial-gradient(
    circle at 50% 40%,
    #492b1f 0%,
    #2a1913 50%,
    #1c110c 100%
  );
}
/* Hide the main browser scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/* Hide the main browser scrollbar for IE, Edge and Firefox */
html,
body {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* loader css */
.premium-loader-wrapper {
  position: fixed;
  inset: 0;
  background-color: #0a0f16;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.8s;
  pointer-events: all;
  touch-action: none;
}

.loader-ambient-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(245, 154, 114, 0.18) 0%,
    rgba(50, 30, 23, 0.06) 40%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 1;
  animation: smoothPulse 3s ease-in-out infinite alternate;
  transform: translateZ(0);
}

.loader-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  z-index: 2;
}

.precision-track,
.precision-sweep-teal,
.precision-sweep-rust {
  position: absolute;
  border-radius: 50%;
  transform: translateZ(0);
}

.precision-track {
  inset: -6px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.precision-sweep-teal {
  inset: -6px;
  border: 2px solid transparent;
  border-top-color: #f59a72;
  animation: spinSmooth 2s cubic-bezier(0.6, 0.1, 0.4, 0.9) infinite;
}

.precision-sweep-rust {
  inset: 10px;
  border: 1.5px solid transparent;
  border-bottom-color: #4a2c22;
  animation: spinReverse 1.5s linear infinite;
}

.loader-logo {
  width: 95px;
  height: auto;
  position: relative;
  z-index: 3;
  image-rendering: -webkit-optimize-contrast;
  animation: logoBreathe 3s ease-in-out infinite alternate;
  transform: translateZ(0);
}

.loader-text {
  margin-top: 35px;
  color: rgba(255, 255, 255, 0.8);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 8px;
  text-transform: uppercase;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  animation: textFadeIn 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 0.3s;
}

@keyframes spinSmooth {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes spinReverse {
  0% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

@keyframes smoothPulse {
  0% {
    opacity: 0.4;
    transform: scale(0.85) translateZ(0);
  }

  100% {
    opacity: 1;
    transform: scale(1.15) translateZ(0);
  }
}

@keyframes logoBreathe {
  0% {
    transform: scale(0.96) translateZ(0);
  }

  100% {
    transform: scale(1.04) translateZ(0);
  }
}

@keyframes textFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px) translateZ(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }
}

.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-hidden .loader-content {
  transform: scale(1.2) translateZ(0);
  opacity: 0;
  transition:
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.5s ease;
}

.loader-hidden .loader-text {
  opacity: 0;
  transform: translateY(-10px) translateZ(0);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

/* ==========================================
   2. FRAMEWORK COLOR OVERRIDES
   ========================================== */
.text-base-color {
  color: var(--mm-gold) !important;
}
.bg-base-color {
  background-color: var(--mm-gold) !important;
}
.text-red {
  color: var(--mm-gold) !important;
}
.bg-red {
  background-color: var(--mm-navy) !important;
}
.border-color-base-color {
  border-color: var(--mm-gold) !important;
}

/* ==========================================
   3. LOADER OVERRIDES
   ========================================== */
.precision-sweep-teal {
  border-top-color: var(--mm-gold) !important;
}
.precision-sweep-rust {
  border-bottom-color: var(--mm-navy-light) !important;
}
.premium-loader-wrapper {
  background-color: #0a0f16 !important;
}
.loader-text {
  letter-spacing: 8px !important;
  font-size: 13px !important;
}

/* ==========================================
   4. BUTTON OVERRIDES
   ========================================== */
.btn-transparent-rust {
  border-color: var(--mm-gold) !important;
}
.btn-transparent-rust:hover {
  background-color: var(--mm-gold) !important;
  border-color: var(--mm-gold) !important;
}
.btn-transparent-rust .bg-red,
.btn-transparent-rust span.bg-red {
  background-color: var(--mm-gold) !important;
}
.btn-transparent-white .bg-white {
  background-color: var(--mm-gold) !important;
}
.btn-transparent-white:hover {
  color: var(--mm-navy) !important;
}

/* ==========================================
   5. NAVBAR OVERRIDES
   ========================================== */
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--mm-gold) !important;
}
header .navbar-brand img {
  max-height: 42px;
}

/* ==========================================
   6. PUSH MENU OVERRIDES
   ========================================== */
.push-menu .close-menu.bg-base-color {
  background-color: var(--mm-gold) !important;
}

/* ==========================================
   7. HERO SECTION
   ========================================== */
.mm-hero-badge {
  display: inline-block;
  padding: 8px 22px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 17px;
  letter-spacing: 2px;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  margin-bottom: 24px;
}

.mm-hero-config {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 16px;
}
.mm-hero-config span {
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 500;
  color: white;
  border: 1px solid rgba(245, 154, 114, 0.5);
  letter-spacing: 1px;
}
.mm-hero-config span.active {
  background: var(--mm-gold);
  border-color: var(--mm-gold);
  color: var(--mm-navy);
}

.mm-hero-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-top: 6px;
}
.mm-hero-location i {
  color: var(--mm-gold);
  font-size: 13px;
}

/* ==========================================
   8. HIGHLIGHTS BAR
   ========================================== */
.mm-highlights-bar {
  background-color: var(--mm-navy);
  padding: 22px 0;
  border-bottom: 1px solid rgba(245, 154, 114, 0.15);
}
.mm-highlight-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 6px 0;
}
.mm-highlight-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 154, 114, 0.3);
  flex-shrink: 0;
}
.mm-highlight-icon i {
  font-size: 16px;
  color: var(--mm-gold);
}
.mm-highlight-text {
  font-size: 12px;
  text-transform: uppercase;
  line-height: 1.3;
}
@media (max-width: 767px) {
  .mm-highlight-item {
    justify-content: flex-start;
    padding: 10px 0;
  }
}

/* ==========================================
   9. SECTION UTILITIES
   ========================================== */
.mm-section-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--mm-gold);
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}
.mm-divider {
  width: 50px;
  height: 2px;
  background: var(--mm-gold);
  margin-bottom: 24px;
}
.mm-divider-center {
  margin-left: auto;
  margin-right: auto;
}
.bg-mm-navy {
  background-color: var(--mm-navy) !important;
}
.bg-mm-cream {
  background-color: var(--mm-cream) !important;
}
.bg-mm-warm-gray {
  background-color: var(--mm-warm-gray) !important;
}
.text-mm-gold {
  color: var(--mm-gold) !important;
}

/* ==========================================
   10. CONFIGURATION CARDS
   ========================================== */
.mm-config-card {
  background: var(--mm-white);
  padding: 45px 32px 40px;
  text-align: center;
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--mm-border);
}
.mm-config-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--mm-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.mm-config-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.07);
  border-color: transparent;
}
.mm-config-card:hover::before {
  transform: scaleX(1);
}

/* Featured config */
.mm-config-card.featured {
  background: var(--mm-navy);
  border-color: var(--mm-navy);
  color: white;
}
.mm-config-card.featured::before {
  transform: scaleX(1);
}
.mm-config-card.featured:hover {
  box-shadow: 0 24px 60px rgba(50, 30, 23, 0.25);
}

.mm-config-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mm-text);
  margin-bottom: 14px;
  display: block;
}
.mm-config-card.featured .mm-config-label {
  color: var(--mm-gold);
}

.mm-config-title {
  font-size: 40px;
  font-weight: 300;
  margin-bottom: 8px;
  line-height: 1.1;
  color: var(--mm-charcoal);
}
.mm-config-card.featured .mm-config-title {
  color: var(--mm-white);
}

.mm-config-subtitle {
  font-size: 14px;
  color: var(--mm-text);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--mm-border);
}
.mm-config-card.featured .mm-config-subtitle {
  color: rgba(255, 255, 255, 0.6);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.mm-config-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
}
.mm-config-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--mm-border);
  font-size: 14px;
  color: var(--mm-charcoal);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mm-config-features li:last-child {
  border-bottom: none;
}
.mm-config-features li i {
  color: var(--mm-gold);
  font-size: 11px;
  flex-shrink: 0;
}
.mm-config-card.featured .mm-config-features li {
  color: rgba(255, 255, 255, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.mm-config-btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--mm-charcoal);
  color: var(--mm-charcoal);
  background: transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}
.mm-config-btn:hover {
  background: var(--mm-gold);
  border-color: var(--mm-gold);
  color: var(--mm-navy);
}
.mm-config-card.featured .mm-config-btn {
  border-color: var(--mm-gold);
  color: var(--mm-gold);
}
.mm-config-card.featured .mm-config-btn:hover {
  background: var(--mm-gold);
  color: var(--mm-navy);
}

/* ==========================================
   11. GALLERY
   ========================================== */
.mm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.mm-gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.mm-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}
.mm-gallery-item:hover img {
  transform: scale(1.06);
}
.mm-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(50, 30, 23, 0.5) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.mm-gallery-item:hover::after {
  opacity: 1;
}
.mm-gallery-item .gallery-zoom {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mm-gold);
  color: var(--mm-navy);
  font-size: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s ease;
  z-index: 2;
}
.mm-gallery-item:hover .gallery-zoom {
  opacity: 1;
  transform: translateY(0);
}

/* Span first item across 2 cols + 2 rows */
.mm-gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}
.mm-gallery-item:nth-child(1) img {
  min-height: 420px;
}
.mm-gallery-item:not(:first-child) img {
  height: 207px;
}

@media (max-width: 991px) {
  .mm-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mm-gallery-item:nth-child(1) img {
    min-height: 300px;
  }
  .mm-gallery-item:not(:first-child) img {
    height: 200px;
  }
}
@media (max-width: 575px) {
  .mm-gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .mm-gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .mm-gallery-item:nth-child(1) img,
  .mm-gallery-item:not(:first-child) img {
    height: 180px;
    min-height: unset;
  }
}

/* ==========================================
   12. SPECIFICATION BADGE
   ========================================== */
.mm-spec-badge {
  background: var(--mm-gold);
  padding: 28px 20px;
}
.mm-spec-badge h2 {
  font-weight: 300;
  letter-spacing: 3px;
  margin: 0;
}
.mm-spec-badge span {
  font-size: 11px;
  letter-spacing: 2px;
}

/* ==========================================
   13. LOCATION FEATURES
   ========================================== */
.mm-location-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--mm-border);
}
.mm-location-feature:last-child {
  border-bottom: none;
}
.mm-location-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mm-cream);
  flex-shrink: 0;
}
.mm-location-icon i {
  font-size: 16px;
  color: var(--mm-gold);
}
.mm-location-text .loc-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--mm-charcoal);
  margin-bottom: 2px;
}
.mm-location-text .loc-desc {
  font-size: 13px;
  color: var(--mm-text);
  margin: 0;
}

.mm-map-wrapper {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}
.mm-map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  filter: grayscale(0.3) contrast(1.05);
  transition: filter 0.4s ease;
}
.mm-map-wrapper:hover iframe {
  filter: grayscale(0) contrast(1);
}

/* ==========================================
   14. WHY CHOOSE CARDS HOVER
   ========================================== */
.icon-with-text-style-07 .feature-box {
  border-bottom: 3px solid transparent;
  transition: all 0.35s ease;
  border-bottom-color: var(--mm-gold);
  border-radius: 10px;
}

/* ==========================================
   15. CTA SECTION
   ========================================== */
.mm-cta-section {
  background: linear-gradient(135deg, var(--mm-navy) 0%, #0f1c2e 100%);
  position: relative;
  overflow: hidden;
}
.mm-cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(245, 154, 114, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.mm-cta-section .form-control,
.mm-cta-section .form-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  padding: 13px 16px;
  font-size: 14px;
  border-radius: 0;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.mm-cta-section .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.mm-cta-section .form-control:focus,
.mm-cta-section .form-select:focus {
  border-color: var(--mm-gold);
  box-shadow: 0 0 0 2px rgba(245, 154, 114, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: white;
}
.mm-cta-section .form-select {
  color: rgba(255, 255, 255, 0.4);
  -webkit-appearance: none;
}
.mm-cta-section .form-select option {
  background: var(--mm-navy);
  color: white;
}

.btn-mm-gold {
  background-color: var(--mm-gold);
  color: var(--mm-navy);
  border: none;
  padding: 15px 36px;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  transition: all 0.35s ease;
  border-radius: 0;
  cursor: pointer;
}
.btn-mm-gold:hover {
  background-color: var(--mm-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(245, 154, 114, 0.25);
  color: var(--mm-navy);
}

/* ==========================================
   16. FOOTER OVERRIDE
   ========================================== */
footer.footer-dark {
  background: linear-gradient(
    135deg,
    var(--mm-navy) 0%,
    #0f1c2e 100%
  ) !important;
}

/* ==========================================
   17. SCROLL PROGRESS OVERRIDE
   ========================================== */
.scroll-top {
  background-color: var(--mm-gold) !important;
}

/* ==========================================
   18. STATS ROW
   ========================================== */
.mm-stat-item {
  text-align: center;
  padding: 30px 15px;
  position: relative;
}
.mm-stat-item + .mm-stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background: var(--mm-border);
}
.mm-stat-number {
  font-size: 44px;
  font-weight: 300;
  color: var(--mm-gold);
  line-height: 1;
  margin-bottom: 8px;
}
.mm-stat-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--mm-text);
}
@media (max-width: 767px) {
  .mm-stat-item + .mm-stat-item::before {
    display: none;
  }
  .mm-stat-number {
    font-size: 34px;
  }
}

/* ==========================================
   19. AMENITY CARDS (CAROUSEL)
   ========================================== */
.mm-amenity-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: var(--mm-white);
  transform: translateY(0);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.mm-amenity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(50, 30, 23, 0.15);
}

.mm-amenity-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: block;
}

.mm-amenity-card:hover img {
  transform: scale(1.08);
}

.mm-amenity-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(50, 30, 23, 0.95) 0%,
    rgba(50, 30, 23, 0.4) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.mm-amenity-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 2;
  transition: all 0.3s ease;
}

.mm-amenity-card:hover .mm-amenity-tag {
  background: var(--mm-gold);
  color: var(--mm-navy);
  border-color: var(--mm-gold);
}

.mm-amenity-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 35px 30px;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.mm-amenity-title {
  color: white;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 5px;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mm-amenity-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  margin: 0;
}

.mm-amenity-card:hover .mm-amenity-title {
  transform: translateY(0);
}

.mm-amenity-card:hover .mm-amenity-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.05s;
}

@media (max-width: 991px) {
  .mm-amenity-card img {
    height: 350px;
  }
}
@media (max-width: 575px) {
  .mm-amenity-card img {
    height: 300px;
  }
}

/* ==========================================
   20. IMAGE LIGHTBOX OVERLAY
   ========================================== */
.mm-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 22, 0.95);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}
.mm-lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mm-lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mm-lightbox-overlay.active img {
  transform: scale(1);
}
.mm-lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  z-index: 2;
}
.mm-lightbox-close:hover {
  background: var(--mm-gold);
  border-color: var(--mm-gold);
  color: var(--mm-navy);
}

/* ==========================================
   21. ABOUT SECTION STATS BAR
   ========================================== */
.mm-about-stat {
  text-align: center;
}
.mm-about-stat-number {
  font-size: 32px;
  font-weight: 300;
  color: var(--mm-gold);
  line-height: 1.1;
}
.mm-about-stat-text {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mm-text);
  margin-top: 4px;
}

/* ==========================================
   22. MISC
   ========================================== */
.bottom-white-gradient {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    transparent 100%
  ) !important;
}

/* Animate on scroll reveal */
[data-anime] {
  will-change: transform, opacity;
}

/* ====== SECTION 11: ELEGANT CRM CONTACT FORM ====== */
.contact-card-wrapper {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  /* OVERFLOW HIDDEN REMOVED to allow dropdown to float outside the box */
}

.contact-left-panel {
  background-color: #fcfcfc;
  border-right: 1px solid rgba(0, 0, 0, 0.04);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.contact-right-panel {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

/* Mobile border-radius stacking fix */
@media (max-width: 991.98px) {
  .contact-left-panel {
    border-bottom-left-radius: 0;
    border-top-right-radius: 16px;
  }

  .contact-right-panel {
    border-top-right-radius: 0;
    border-bottom-left-radius: 16px;
  }
}

.elegant-form-control {
  background: #fdfdfd;
  border: 1px solid #e5e5e5;
  color: #333333;
  border-radius: 8px;
  padding: 14px 20px;
  transition: all 0.3s ease;
  width: 100%;
}

.elegant-form-control:focus {
  background: #ffffff;
  border-color: var(--base-color);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.04);
  outline: none;
}

.elegant-form-control::placeholder {
  color: #999999;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-item:hover .contact-info-icon {
  transform: translateY(-3px);
}

/* Custom CRM Dropdown Styling */
.custom-dropdown-container {
  position: relative;
}

.custom-dropdown-selected {
  background: #fdfdfd;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 14px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-dropdown-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 9999;
  /* Forces dropdown above all other elements */
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 0;
  margin-top: 5px;
  list-style: none;
}

.custom-dropdown-options.show {
  display: block;
  animation: fadeIn 0.2s ease;
}

.custom-dropdown-options li {
  padding: 12px 20px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
  color: #555;
  font-weight: 500;
}

.custom-dropdown-options li:hover {
  background: #f9f9f9;
  color: var(--base-color);
}

/* Modal specific styling */
.modal-content.elegant-modal {
  border: none;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  overflow: visible;
  /* Prevents dropdown from cutting off in popup */
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  background: #f4f4f4;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  background: var(--base-color);
  color: #fff;
  transform: rotate(90deg);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Location CSS */
/* Clean Accordion Styling */
.location-accordion .accordion-item {
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background-color: transparent;
}

.location-accordion .accordion-item:last-child {
  border-bottom: none;
}

.location-accordion .accordion-button {
  background-color: transparent;
  color: #080808;
  font-weight: 500;
  font-size: 1.3rem;
  padding: 0 0;
  box-shadow: none;
  letter-spacing: 0.5px;
}

.location-accordion .accordion-button:not(.collapsed) {
  color: var(--base-color);
  background-color: transparent;
  box-shadow: none;
}

.location-accordion .accordion-button i {
  margin-right: 12px;
  font-size: 1.2rem;
  color: var(--base-color);
  transition: all 0.3s ease;
}

.location-accordion .accordion-body {
  padding: 0 0 20px 0;
}

/* Distance List Inside Accordion */
.loc-dist-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.loc-dist-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  font-size: 1.22rem;
  color: #555555;
  background: #ffffff;
  border-radius: 6px;
  margin-bottom: 8px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.loc-dist-list li:last-child {
  margin-bottom: 0;
}

.loc-dist-list .d-name {
  font-weight: 500;
}

.loc-dist-list .d-value {
  font-weight: 600;
  color: var(--base-color);
}

/* Fixed Map Styling */
.mm-map-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  width: 100%;
  height: 100%;
  min-height: 450px;
  /* Fallback height for mobile screens */
}

.mm-map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* --------------------------------------------- Configuration Section CSS -------------------------------------- */
/* Premium Glassmorphism Card Styling - HEAVIER BLUR & SMOKED TINT */
.momento-glass-card {
  background: rgba(
    103,
    103,
    103,
    0.35
  ); /* Smoked glass tint for better white-text readability */
  border: 1px solid rgba(255, 255, 255, 0.15); /* Crisp delicate edge */
  border-radius: 20px;
  /* Heavy glass blur as requested */
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  padding: 3.5rem 2.5rem; /* Kept your exact padding! */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); /* Deeper depth behind the glass */
  transition:
    transform 0.4s ease,
    border-color 0.4s ease,
    background 0.4s ease;
}

/* Minimized, subtle hover effect */
.momento-glass-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(110, 110, 110, 0.45);
}

/* Sleeker EOI Box inside the card */
.token-box {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.border-color-transparent-white-light {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Floating WhatsApp Button Styling */
.float-wa {
  position: fixed;
  bottom: 70px;
  right: 15px;
  z-index: 999;
  background-color: #25d366;
  color: #ffffff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}
/* ------------------------------------------------- Blur Floorplan Section ------------------------------------------------- */
/* Gated Floor Plan Card */
.fp-gated-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  /* Stronger shadow for dark background */
  background: #1c110c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* Subtle white border to separate from dark bg */
}

/* Blur Effect on the Image */
.fp-blurred-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center;
  filter: blur(4.5px);
  transform: scale(1.05);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fp-gated-card:hover .fp-blurred-img {
  transform: scale(1.1);
}

/* Gradient Overlay */
.fp-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 17, 12, 0.05) 40%,
    rgba(28, 17, 12, 0.6) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
}

.fp-gated-card:hover .fp-overlay {
  background: rgba(28, 17, 12, 0.85);
}

/* Content Box */
.fp-content {
  text-align: center;
  padding: 30px;
  transition: transform 0.4s ease;
}

.fp-gated-card:hover .fp-content {
  transform: translateY(-10px);
}

.fp-lock-icon {
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 12px;
  display: block;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.fp-title {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0;
  transition: margin 0.4s ease;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.fp-gated-card:hover .fp-title {
  margin-bottom: 15px;
}

/* Button Reveal on Hover */
.fp-hover-btn-wrapper {
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.4s ease;
  height: 0;
}

.fp-gated-card:hover .fp-hover-btn-wrapper {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  height: auto;
}

/* ---------------------------------------------- Aminites section -------------------------------------------------- */
/* Elegant Architectural Tile */
.am-elegant-tile {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  padding: 20px;
  display: flex;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 100%;
}

/* Animated Bottom Accent Line */
.am-elegant-tile::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--base-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

/* Hover State: Lift, Shadow, and Line Expansion */
.am-elegant-tile:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
  border-color: #ffffff;
  transform: translateY(-4px);
}

.am-elegant-tile:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Dedicated Icon Wrapper */
.am-elegant-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(200, 150, 100, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  /* FIXED: Removed margin-right: 18px; so it centers flawlessly on mobile */
}

.am-elegant-tile:hover .am-elegant-icon-wrapper {
  background: var(--base-color);
}

.am-elegant-icon-wrapper i {
  font-size: 22px;
  color: var(--base-color);
  transition: color 0.3s ease;
}

.am-elegant-tile:hover .am-elegant-icon-wrapper i {
  color: #ffffff;
}

/* Typography Alignment */
.am-elegant-text {
  font-size: 15px;
  font-weight: 600;
  color: #2b2b2b;
  margin: 0;
  letter-spacing: 0.3px;
  line-height: 1.3;
}
/* ------------------------------------------------- Signature Home section -------------------------------------------- */
/* Premium White Section */
.premium-white-section {
  background-color: var(--mm-cream) !important;
  position: relative;
  overflow-x: clip;
  /* Fixes horizontal scroll glitch safely */
}

/* === BACKGROUND LOGO WRAPPER === */
.bg-logo-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  /* No sticky wrappers needed anymore! */
}

/* 1. TOP-LEFT LOGO (Stays at the very top with the title) */
.watermark-logo-top {
  position: absolute;
  top: 0;
  left: -2%;
  width: 50%;
  height: 600px;
  /* Fixed height so it doesn't stretch */
  object-fit: contain;
  object-position: left top;
  opacity: 0.78;
}

/* 2. BOTTOM-RIGHT LOGO (Stays at the very bottom with the 4th card) */
.watermark-logo-bottom {
  position: absolute;
  bottom: 0;
  right: -2%;
  width: 50%;
  height: 700px;
  object-fit: contain;
  object-position: right bottom;
  opacity: 0.78;
}

/* Native CSS Sticky Stacking */
.sticky-stack-container {
  position: relative;
  z-index: 2;
}

.sticky-stack-item {
  position: sticky;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 60px;
  transition: box-shadow 0.5s ease;
}

.sticky-stack-item:hover {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

/* Desktop Stacking Offsets */
.sticky-stack-item:nth-child(1) {
  top: 100px;
  z-index: 1;
}

.sticky-stack-item:nth-child(2) {
  top: 130px;
  z-index: 2;
}

.sticky-stack-item:nth-child(3) {
  top: 160px;
  z-index: 3;
}

.sticky-stack-item:nth-child(4) {
  top: 190px;
  z-index: 4;
}

/* === RESPONSIVE FIXES FOR MOBILE === */
@media (max-width: 767px) {
  .sticky-stack-item:nth-child(1) {
    top: 70px;
    z-index: 1;
  }

  .sticky-stack-item:nth-child(2) {
    top: 90px;
    z-index: 2;
  }

  .sticky-stack-item:nth-child(3) {
    top: 110px;
    z-index: 3;
  }

  .sticky-stack-item:nth-child(4) {
    top: 130px;
    z-index: 4;
  }

  .sticky-stack-item {
    margin-bottom: 40px;
  }

  .watermark-logo-top {
    width: 80%;
    height: 400px;
    left: -5%;
  }

  .watermark-logo-bottom {
    width: 80%;
    height: 400px;
    right: -5%;
  }
}

/* Static Image Styling */
.static-img-wrapper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.static-img-wrapper img {
  width: 100%;
  display: block;
}

/* Sleek Caption Box */
.premium-caption-box {
  background: rgba(35, 20, 14, 0.98);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  z-index: 10;
  transition: transform 0.3s ease;
}

.sticky-stack-item:hover .premium-caption-box {
  transform: translateY(-5px);
}
/* ----------------------------------------- Key USP Section -------------------------------------------- */
.usp-section {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* --- SAFE MARQUEE CONTAINERS --- */
.marquee-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
  /* Soft fade on the edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
}

.marquee-track {
  display: flex;
  gap: 30px;
  width: max-content;
  padding: 20px 15px;
}

/* Pause animation on hover */
.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

/* Row 1: From Left to Right */
.scroll-ltr {
  animation: scroll-ltr 35s linear infinite;
}

/* Row 2: From Right to Left */
.scroll-rtl {
  animation: scroll-rtl 35s linear infinite;
}

@keyframes scroll-ltr {
  0% {
    transform: translateX(-50%);
  }

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

@keyframes scroll-rtl {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* --- PREMIUM "CRATO" (CARD) ANIMATION --- */
.mm-usp-card {
  width: 260px;
  height: 160px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.5)
  );
  border: 1px solid rgba(194, 133, 101, 0.2);
  border-radius: 16px;
  padding: 30px 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  /* Smooth physics for base transitions */
  transition:
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    border-color 0.4s ease;
}

/* Gradient Border Reveal */
.mm-usp-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, var(--base-color), transparent, #e0ac8e);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Card Shimmer / Shine Effect */
.mm-usp-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: none;
  z-index: 2;
}

/* Hover States */
.mm-usp-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 15px 40px rgba(194, 133, 101, 0.15);
  border-color: transparent;
}

.mm-usp-card:hover::before {
  opacity: 1;
}

.mm-usp-card:hover::after {
  animation: premiumShimmer 0.9s ease forwards;
}

@keyframes premiumShimmer {
  100% {
    left: 200%;
  }
}

/* Icon Animation */
.usp-icon-container {
  color: var(--base-color);
  margin-bottom: 20px;
  position: relative;
  z-index: 3;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.usp-icon-container svg {
  width: 30px;
  height: 30px;
  transition: all 0.3s ease;
}

.mm-usp-card:hover .usp-icon-container {
  transform: scale(1.15) translateY(-3px);
}

/* Typography inside Card */
.mm-stat-label {
  font-family: "Inter", sans-serif;
  color: var(--dark-gray);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  line-height: 1.4;
  position: relative;
  z-index: 3;
}

/* ==========================================
       MOBILE RESPONSIVENESS (Fits 2 cards safely)
       ========================================== */
@media (max-width: 768px) {
  .usp-section {
    padding: 45px 0;
    /* More compact section padding */
  }

  .marquee-track {
    gap: 15px;
    /* Less space between cards */
    padding: 10px 5px;
  }

  .mm-usp-card {
    width: 160px;
    /* Reduced width to fit 2 on screen */
    height: 130px;
    /* Reduced height */
    padding: 15px 10px;
    border-radius: 12px;
  }

  .usp-icon-container {
    margin-bottom: 12px;
  }

  .usp-icon-container svg {
    width: 28px;
    /* Smaller icons for mobile */
    height: 28px;
  }

  .mm-stat-label {
    font-size: 10px;
    /* Smaller font to fit in the card */
    letter-spacing: 0.2px;
    line-height: 1.3;
  }
}
