/* Future Estate - Premium Real Estate Design */

:root {
  --primary: #af792f;
  --primary-dark: #8d6020;
  --primary-light: rgba(175, 121, 47, 0.1);
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --bg: #faf9f7;
  --card-bg: #ffffff;
  --border: #e8e6e3;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Top Bar */
.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1031;
  background: #111827;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  padding: 0.55rem 0;
  letter-spacing: 0.02em;
}
.top-bar-text {
  letter-spacing: 0.02em;
}
.top-bar-phone {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.top-bar-phone:hover {
  color: #c48a3a;
}

.top-bar .marquee.marquee-dual {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  overflow: hidden;
  box-sizing: border-box;
}

.top-bar .marquee.marquee-dual .marquee-row {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.top-bar .marquee.marquee-dual .marquee-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  will-change: transform;
}

.top-bar .marquee.marquee-dual .marquee-track span {
  display: inline-block;
  flex-shrink: 0;
  padding-right: 2rem;
}

.top-bar .marquee.marquee-dual .marquee-row-ltr .marquee-track {
  animation: marquee-left-to-right 18s linear infinite;
}

.top-bar .marquee.marquee-dual .marquee-row-rtl .marquee-track {
  animation: marquee-right-to-left 18s linear infinite;
}

@keyframes marquee-left-to-right {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes marquee-right-to-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.top-bar .marquee.marquee-single {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  position: relative;
}

.top-bar .marquee.marquee-single .marquee-single-text {
    font-size: 15px;
  display: inline-block;
  padding-left: 1rem;
  padding-right: 1rem;
  line-height: 1.2;
  font-weight: 700;
  animation: marquee-single-bounce 8s linear infinite alternate;
  will-change: transform;
}

@keyframes marquee-single-bounce {
  0% {
    transform: translateX(calc(100vw - 100% - 2rem));
  }

  100% {
    transform: translateX(0);
  }
}

.text-yellow-300 {
  color: #facc15;
}

.offer-marquee-line {
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.offer-marquee-line .text-yellow-300 {
  display: inline-block;
  margin: 0 0.35rem;
  font-size: 0.95rem;
  line-height: 1;
  animation: offer-star-pop 1.2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes offer-star-pop {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.28) rotate(12deg);
    opacity: 1;
  }
}
.enquiry-box-accent-main-div {
  margin-top: 40px;
}
/* Navbar */
.top-bar + .navbar {
  top: 56px;
}
.navbar {
  background: transparent !important;
  padding: 0.4rem 0;
  transition:
    top 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}
.navbar:not(.scrolled) .navbar-brand,
.navbar:not(.scrolled) .nav-link {
  color: #fff !important;
}
.navbar:not(.scrolled) .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}
.navbar:not(.scrolled) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar.scrolled {
  top: 0;
  background: var(--card-bg) !important;
  box-shadow: 0 1px 0 var(--border);
}
.navbar.scrolled .navbar-brand {
  color: var(--text) !important;
}
.navbar-brand img {
  height: 55px;
  width: auto;
  display: block;
  object-fit: contain;
}
.navbar:not(.scrolled) .navbar-brand img {
  filter: brightness(0) invert(1);
}
.navbar.scrolled .navbar-toggler {
  border-color: var(--border);
}
.navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-brand {
  display: flex;
  align-items: center;
}
.nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem !important;
  transition: color 0.2s;
}
.navbar.scrolled .btn-enquire {
  color: #fff;
}
.navbar.scrolled .nav-link {
  color: var(--text-muted);
}
.text-cls {
  color: #818181;
}
.nav-link:hover {
  color: var(--primary) !important;
}
.btn-enquire {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s;
}
.btn-enquire:hover {
  background: var(--primary-dark) !important;
  color: #fff !important;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 92px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/projects/1 (1).jpeg") center/cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 45%,
    rgba(0, 0, 0, 0.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
}
.badge-rera {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.4rem 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border-radius: 6px;
}
.hero h1 {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(2.75rem, 6.5vw, 4.25rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.hero-tagline {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 0.5rem;
}
.hero-desc {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 2rem;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.hero-stat-num {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 0.8rem;
  opacity: 0.9;
}
.hero-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 2px solid var(--primary);
  transition:
    color 0.2s,
    border-color 0.2s;
}
.hero-cta-link:hover {
  color: var(--primary);
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.25rem;
  animation: heroScroll 2.5s ease-in-out infinite;
}
.hero-scroll:hover {
  color: rgba(255, 255, 255, 0.9);
}
@keyframes heroScroll {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateX(-50%) translateY(4px);
    opacity: 1;
  }
}

/* Enquiry Box */
.enquiry-box {
  position: relative;
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.enquiry-box-accent {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 10px;
  background: var(--primary);
  border-radius: 20px 20px 0px 0px;
}
.enquiry-box h4 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.enquiry-box .form-control {
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.enquiry-box .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
  outline: none;
}
.enquiry-box .btn-primary {
  background: var(--primary);
  border: none;
  padding: 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  margin-top: 0.25rem;
}
.enquiry-box .btn-primary:hover {
  background: var(--primary-dark);
}

/* Enquiry Modal */
.enquiry-modal-content {
  position: relative;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}
.enquiry-modal-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 8px 8px 0 0;
}
.enquiry-modal-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
}
.enquiry-modal-content .modal-header .modal-title {
  font-family: "Libre Baskerville", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}
.enquiry-modal-content .form-control {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
}
.enquiry-modal-content .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
  outline: none;
}
.enquiry-modal-content .btn-primary {
  margin-top: 0.25rem;
  padding: 0.75rem;
}
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-backdrop.show {
  opacity: 0.5;
}

/* Lead Popup */
.lead-popup-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2.25rem;
  background: rgba(9, 14, 24, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
  z-index: 1000000000;
}
.lead-popup-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lead-popup-modal {
  position: relative;
  width: min(420px, calc(100vw - 4.5rem));
  max-height: min(78vh, 620px);
  overflow: hidden;
  border-radius: 5px;
  background: transparent;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  transform: translateY(28px) scale(0.97);
  transition: transform 0.35s ease;
}
.lead-popup-overlay.show .lead-popup-modal {
  transform: translateY(0) scale(1);
}
.lead-popup-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  overflow: hidden;
  background: #0f172a;
}
.lead-popup-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(78vh, 620px);
  object-fit: contain;
  display: block;
}
.lead-popup-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.78);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background 0.2s ease;
}
.lead-popup-close:hover {
  background: rgba(17, 24, 39, 0.92);
  transform: scale(1.05);
}
.lead-popup-close i {
  font-size: 1rem;
}
body.popup-open {
  overflow: hidden;
}
body.popup-open .app-container {
  position: relative;
  z-index: 1;
}

/* Sections */
.section-py {
  padding: 5.5rem 0;
}
.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: "Libre Baskerville", serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Overview */
.section-overview {
  background: var(--bg);
}
.overview-visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.overview-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.overview-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 6px;
}

/* Stat boxes */
.stat-box {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: 100%;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.stat-box:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.stat-box i {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.stat-box h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text);
}
.stat-box p {
  color: var(--text-muted);
}

/* Flat cards */
.section-flats {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
}
.flat-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow 0.25s,
    border-color 0.25s,
    transform 0.25s;
  overflow: hidden;
}
.flat-card:hover {
  transform: translateY(-4px);
}
.flat-card-header {
  position: relative;
  padding: 1.25rem 1.5rem;
  background: var(--primary-light);
  border-bottom: 1px solid var(--border);
}
.flat-card-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.35rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 6px;
}
.flat-card-badge.popular {
  background: var(--primary-dark);
  margin-left: 0.5rem;
}
.flat-card-header .flat-card-badge {
  color: #fff;
  padding: 0.35rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 6px;
}
.flat-card .card-body {
  padding: 1.75rem;
}
.flat-card:hover {
  box-shadow: var(--shadow-lg);
}
.flat-featured {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(175, 121, 47, 0.08);
}
.flat-card h5 {
  font-family: "Libre Baskerville", serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text);
}

/* Site plan */
.section-site-plan {
  background: #fff;
  border-top: 1px solid var(--border);
}
.site-plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: #2563b8;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.site-plan-title {
  font-size: clamp(2.25rem, 4vw, 3.4rem);
  margin-bottom: 1.5rem;
}
.site-plan-copy {
  font-size: 1.05rem;
  line-height: 1.95;
  color: #2f3640;
  margin-bottom: 2rem;
}
.site-plan-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.site-plan-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid #dceaf9;
  background: #fff;
  color: #16844d;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 10px 24px rgba(20, 46, 92, 0.05);
}
.site-plan-visual {
  background: #f5f1ea;
  padding: 0.75rem;
}
.site-plan-visual img {
  width: 100%;
  display: block;
}

/* Spec blocks */
.section-specs {
  background: var(--bg);
}
.spec-block {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: box-shadow 0.25s;
}
.spec-block:hover {
  box-shadow: var(--shadow);
}
.spec-block h6 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--primary);
}

/* Spec highlights, tables, amenities */
.spec-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.spec-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--card-bg);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}
.spec-highlight-item i {
  font-size: 1.25rem;
  color: var(--primary);
}
.spec-tables {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.spec-table-block {
  background: var(--card-bg);
  padding: 1.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.spec-table-block h6 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-light);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.spec-table tr {
  border-bottom: 1px solid var(--border);
}
.spec-table tr:last-child {
  border-bottom: none;
}
.spec-table td {
  padding: 0.6rem 0;
  vertical-align: top;
}
.spec-table td:first-child {
  color: var(--text-muted);
  font-weight: 500;
  width: 38%;
}
.spec-table td:last-child {
  color: var(--text);
}
.spec-amenities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.spec-amenities span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--text);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}
.spec-amenities span i {
  color: var(--primary);
  font-size: 1rem;
}

/* Developer */
.section-developer {
  background: linear-gradient(180deg, #faf9f7 0%, #f3eee5 100%);
  border-top: 1px solid var(--border);
}
.developer-card {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.developer-copy {
  font-size: 1.05rem;
  line-height: 1.95;
  color: #2f3640;
  text-align: center;
}

/* Gallery */
.section-gallery {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.section-gallery .section-label {
  color: var(--primary);
}
.section-gallery .section-title {
  color: var(--text);
}
.section-gallery .section-subtitle {
  color: var(--text-muted);
}
.gallery-showcase {
  max-width: 1000px;
  margin: 0 auto;
}
.gallery-main-wrap {
  position: relative;
  margin-bottom: 1.5rem;
}
.gallery-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.gallery-main-link {
  display: block;
  position: relative;
  aspect-ratio: 16/10;
}
.gallery-main-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}
.gallery-main-link:hover img {
  opacity: 0.92;
}
.gallery-main-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 70%);
  font-family: "Libre Baskerville", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}
.gallery-slide-count {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
  z-index: 5;
}
.gallery-nav:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}
.gallery-prev {
  left: 1rem;
}
.gallery-next {
  right: 1rem;
}
.gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0 0.25rem;
  scrollbar-width: thin;
}
.gallery-thumbs::-webkit-scrollbar {
  height: 6px;
}
.gallery-thumbs::-webkit-scrollbar-track {
  background: var(--border);
  border-radius: 3px;
}
.gallery-thumbs::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 3px;
}
.gallery-thumb {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  padding: 0;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card-bg);
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.gallery-thumb:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}
.gallery-thumb.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(0, 0, 0, 0.15);
}
.gallery-progress-bar {
  height: 100%;
  width: 0;
  background: var(--primary);
  animation: galleryProgress 4s linear forwards;
}
@keyframes galleryProgress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* Location */
.section-location {
  background: var(--bg);
}
.location-map-wrap {
  max-width: 1000px;
  margin: 0 auto 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.location-map-iframe {
  display: block;
  width: 100%;
  height: 400px;
  min-height: 300px;
}
.location-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}
.location-address-block {
  background: linear-gradient(165deg, #1a1d21 0%, #252a30 100%);
  color: #fff;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.location-pin {
  width: 52px;
  height: 52px;
  background: rgba(175, 121, 47, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.location-pin i {
  font-size: 1.5rem;
  color: var(--primary);
}
.location-address-block h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.location-address {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.location-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: gap 0.2s;
}
.location-map-link:hover {
  color: #c48a3a;
  gap: 0.65rem;
}
.connectivity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  grid-row: span 2;
  align-content: start;
}
.connectivity-item {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.connectivity-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.connectivity-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.connectivity-icon i {
  font-size: 1.25rem;
  color: var(--primary);
}
.connectivity-info strong {
  font-size: 0.95rem;
  color: var(--text);
}
.connectivity-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.rera-badge-block {
  grid-column: 1;
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--primary);
  box-shadow: var(--shadow-sm);
}
.rera-badge-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.rera-badge-icon i {
  font-size: 1.35rem;
  color: var(--primary);
}
.rera-badge-block h6 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.rera-ids {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.rera-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: gap 0.2s;
}
.rera-badge-link:hover {
  color: var(--primary-dark);
  gap: 0.5rem;
}

/* Location Advantages */
.location-advantages {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.location-advantages-title {
  font-family: "Libre Baskerville", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  margin-bottom: 1.75rem;
}
.location-advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.location-advantage-item {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.location-advantage-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.location-advantage-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.location-advantage-icon i {
  font-size: 1.35rem;
  color: var(--primary);
}
.location-advantage-item h6 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.location-advantage-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Contact CTA */
.section-cta {
  background: linear-gradient(140deg, #111827 0%, #1f2937 50%, #111827 100%);
  color: #fff;
}
.contact-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon i {
  font-size: 1.25rem;
  color: var(--primary);
}
.contact-block strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.25rem;
}
.contact-block p {
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}
.contact-block a {
  color: #fff;
  text-decoration: none;
}
.contact-block a:hover {
  color: var(--primary);
}
.btn-cta {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--primary);
  color: #fff !important;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-cta:hover {
  background: var(--primary-dark);
  color: #fff !important;
}

/* Footer */
.footer {
  background: #0d1117;
  color: rgba(255, 255, 255, 0.85);
}
.footer-top {
  padding: 4.5rem 0;
  border-top: 3px solid var(--primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem 2.5rem;
  align-items: start;
}
.footer-logo {
  display: inline-block;
  margin-bottom: 0.5rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-logo:hover {
  opacity: 0.9;
}
.footer-logo img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-rera-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}
.footer-tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 320px;
}
.footer-company-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
  margin: -0.4rem 0 1.4rem;
  max-width: 360px;
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-item i {
  color: var(--primary);
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.footer-contact-item:hover {
  color: var(--primary);
}
.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.65rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-cta-block {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.75rem;
}
.footer-cta-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-cta-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}
.footer-cta-btn:hover {
  background: var(--primary-dark);
  color: #fff !important;
}
.footer-bottom {
  background: rgba(0, 0, 0, 0.25);
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}
.footer-rera {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.25s;
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  transition: all 0.2s;
}
.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.bg-primary {
  background: var(--primary) !important;
}
.text-primary {
  color: var(--primary) !important;
}

html {
  scroll-behavior: smooth;
}
section[id] {
  scroll-margin-top: 120px;
}

@media (max-width: 991px) {
  .gallery-thumb {
    width: 110px;
    height: 73px;
  }
  .location-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .connectivity-grid {
    grid-row: span 1;
  }
  .rera-badge-block {
    grid-column: 1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-cta-block {
    grid-column: 1 / -1;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .top-bar + .navbar {
    top: 0;
  }
  .section-py {
    padding: 4rem 0;
  }
  .footer-top {
    padding: 3rem 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .footer-brand {
    text-align: center;
  }
  .footer-tagline {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-company-desc {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-contact-list {
    align-items: center;
  }
  .footer-contact-item {
    justify-content: center;
  }
  .footer-col {
    text-align: center;
  }
  .footer-cta-block {
    text-align: center;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-stats {
    gap: 1.5rem;
  }
  .hero-stat-num {
    font-size: 1.6rem;
  }
  .site-plan-copy {
    line-height: 1.8;
  }
  .site-plan-tags span {
    width: 100%;
    justify-content: center;
  }
  .developer-card {
    padding: 2rem 1.4rem;
    border-radius: 14px;
  }
  .developer-copy {
    font-size: 1rem;
    line-height: 1.8;
  }
  .gallery-thumb {
    width: 95px;
    height: 63px;
  }
  .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .gallery-prev {
    left: 0.5rem;
  }
  .gallery-next {
    right: 0.5rem;
  }
  .connectivity-grid {
    grid-template-columns: 1fr;
  }
  .location-map-wrap {
    margin-bottom: 1.5rem;
  }
  .location-map-iframe {
    height: 320px;
    min-height: 250px;
  }
  .lead-popup-overlay {
    padding: 1rem 1.5rem;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
  }
  .lead-popup-modal {
    width: min(360px, calc(100vw - 3rem));
    max-height: min(72vh, 520px);
    margin: 0;
  }
  .lead-popup-media {
    min-height: auto;
  }
  .lead-popup-media img {
    max-height: min(72vh, 520px);
  }
}

@media (max-width: 575px) {
  .lead-popup-modal {
    border-radius: 5px;
  }
  .lead-popup-media {
    border-radius: 5px;
  }
  .lead-popup-close {
    top: 0.65rem;
    right: 0.65rem;
  }
}

.footer-company-desc a {
  color: #fff;
}

.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}

.marquee span {
  display: inline-block;
  animation: marquee 10s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}
