body {
  background-image: url(../assets/grid.svg);
}

.footer-dark {
  color: var(--general-50);
}

.tiktok-icon-svg {
  fill: var(--general-50);
}

footer .nav-link:hover,
footer .nav-link:focus {
  color: var(--general-50);
}

.img-founder {
  border-radius: 16px;
  /* height: 400px; */
  max-width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.img-founder:hover {
  transform: scale(0.95);
}

.founder-info {
  background-color: var(--general-50);
  border-radius: 24px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  font-weight: 600;
}

.founder-info i {
  color: #dc2743;
}

.contact-list {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  cursor: pointer;
  width: 100%;
}

.contact-list .icon {
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  background-color: var(--primary-700);
  margin-right: 16px;
}

.property-list {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  cursor: pointer;
  width: 100%;
}

.property-list .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-900);
  margin-right: 16px;
}

.contact-map {
  border-radius: 16px;
}

@media (min-width: 1200px) {
  section {
    padding: 64px;
  }
  .owl-carousel .owl-nav {
    width: 110%;
  }
}

.banner-promo {
  width: 100%;
}

.promo-mobile-carousel {
  display: none !important;
}

@media (max-width: 1199px) {
  .promo-desktop-carousel {
    display: none !important;
  }

  .promo-mobile-carousel {
    display: block !important;
  }
}

/* Testimonial */
.card-testimonial {
  border-radius: 16px !important;
  padding: 16px;
}
.promo-carousel.owl-carousel .owl-stage-outer {
  padding-bottom: 0;
}

.property-list img {
  fill: var(--general-50);
}

.img-product {
  width: 100%;
  max-width: 375px;
}

.lSSlideWrapper {
  border-radius: 16px;
}

.img-property {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.img-property:hover {
  transform: scale(1.05);
}

.hero-image {
  position: absolute;
  bottom: 0;
  transform: scaleX(-1);
}

.hero-image > * {
  text-shadow: 2px 2px #ff0000;
}

@media screen and (width > 1024px) {
  .hero-image {
    filter: brightness(0.7);
  }
}

/* Dropdown Mega / Project Menu Responsive */
@keyframes fadeInDesktop {
  from {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes fadeInMobile {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mega-menu-list {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 4px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--general-900);
  transition: all 0.2s ease-in-out;
}

.mega-menu-list:hover {
  background-color: var(--primary-50, #f0f7ff);
  transform: translateX(4px);
}

.mega-menu-list img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.mega-menu-list h6 {
  margin-bottom: 0;
  margin-left: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--general-900, #212529);
  transition: color 0.2s ease;
}

.mega-menu-list:hover h6 {
  color: var(--primary-700, #135589);
}

/* Mobile & Tablet Portrait (< 992px): Nested smoothly inside Navbar Collapse */
@media (max-width: 991.98px) {
  .nav-item.dropdown.dropdown-mega {
    position: static !important;
  }

  .nav-item.dropdown.dropdown-mega .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    margin: 8px 0 16px 0 !important;
    padding: 10px !important;
    background-color: #f8f9fa !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    max-height: 60vh;
    overflow-y: auto;
  }

  .nav-item.dropdown.dropdown-mega .dropdown-menu.show {
    animation: fadeInMobile 0.2s ease-out;
  }

  .nav-item.dropdown.dropdown-mega .mega-content {
    padding: 0 !important;
  }

  .nav-item.dropdown.dropdown-mega .mega-content .container {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .nav-item.dropdown.dropdown-mega .mega-content .row {
    margin: 0 !important;
  }

  .nav-item.dropdown.dropdown-mega .mega-content [class*="col-"] {
    padding: 0 !important;
  }

  .nav-item.dropdown.dropdown-mega h6.mb-4 {
    margin-bottom: 10px !important;
    padding-left: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-700, #135589);
  }
}

/* Desktop & Tablet Landscape (>= 992px): Elegant Centered Floating Card */
@media (min-width: 992px) {
  .nav-item.dropdown.dropdown-mega {
    position: relative !important;
  }

  .nav-item.dropdown.dropdown-mega .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
    width: 380px !important;
    min-width: 320px !important;
    max-width: 90vw !important;
    margin-top: 12px !important;
    padding: 16px 18px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12) !important;
    background-color: #ffffff !important;
  }

  .nav-item.dropdown.dropdown-mega .dropdown-menu.show {
    animation: fadeInDesktop 0.25s ease-out;
  }

  .nav-item.dropdown.dropdown-mega .mega-content {
    padding: 0 !important;
  }

  .nav-item.dropdown.dropdown-mega .mega-content .container {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .nav-item.dropdown.dropdown-mega .mega-content .row {
    margin: 0 !important;
  }

  .nav-item.dropdown.dropdown-mega .mega-content [class*="col-"] {
    padding: 0 !important;
  }

  .nav-item.dropdown.dropdown-mega h6.mb-4 {
    margin-bottom: 12px !important;
    padding-left: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-700, #135589);
  }
}

.font-w-500 {
  font-weight: 500 !important;
}

.img-bank {
  width: 200px;
  transition: transform 0.5s ease;
}

.img-bank:hover {
  transform: scale(1.1);
}

.bg-custom-icon {
  border-radius: 26px;
  background: #ffffff;
  box-shadow: inset -35px -35px 70px #a3a3a3, inset 35px 35px 70px #ffffff;
  /* box-shadow: 0 0 0 0.25rem rgb(48 106 156 / 50%); */
  /* background: rgb(48, 106, 156);
  background: -moz-radial-gradient(
    circle,
    rgba(48, 106, 156, 1) 15%,
    rgba(255, 255, 255, 0) 43%
  );
  background: -webkit-radial-gradient(
    circle,
    rgba(48, 106, 156, 1) 15%,
    rgba(255, 255, 255, 0) 43%
  );
  background: radial-gradient(
    circle,
    rgba(48, 106, 156, 1) 15%,
    rgba(255, 255, 255, 0) 43%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#306a9c",endColorstr="#ffffff",GradientType=1); */
}

.single-tools-feature {
  padding: 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  backdrop-filter: blur(5px);
  transition: 0.3s;
  border: 1px solid transparent;
  height: 100%;
  box-shadow: 0px 0px 20px 4px rgba(173,173,173,0.1);
-webkit-box-shadow: 0px 0px 20px 4px rgba(173,173,173,0.1);
-moz-box-shadow: 0px 0px 20px 4px rgba(173,173,173,0.1);
}

.single-tools-feature .icon {
  margin-bottom: 26px;
}

.single-tools-feature .title {
  margin-bottom: 20px;
}

.single-tools-feature .disc {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 33px;
}

.sold-badge {
  position: absolute;
  top: 14px;
  right: -3%;
  width: 120px;
  max-width: 30%;
  height: auto;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

/* Property Media Container & Video Tour Overlay */
.property-media-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.property-media-wrap .lSSlideOuter {
  border-radius: 16px;
  overflow: hidden;
}

.btn-video-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(19, 85, 137, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-video-badge:hover {
  background: #0f456e;
  color: #ffffff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-video-badge .play-icon-wrap {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-700, #135589);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.btn-video-badge .play-pulse-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: videoPulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes videoPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(0.9); opacity: 0; }
}

/* Video Modal Cinema Styling */
#videoTourModal .modal-content {
  border-radius: 20px;
  background-color: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

#videoTourModal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#videoTourModal .modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#videoTourModal iframe {
  width: 100%;
  height: 100%;
  border: none;
}

