*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --navy: #053750;
  --navy-mid: #1a3558;
  --navy-light: #243e63;
  --gold: #b8903a;
  --gold-light: #d4aa5a;
  --gold-pale: #f0d898;
  --cream: #f8f4ed;
  --cream-dark: #ede7d9;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-light: #7a7a7a;
  --border: rgba(184, 144, 58, 0.2);
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 80px;
  background: var(--navy);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 144, 58, 0.15);
  transition: all 0.3s ease;
}
nav.scrolled {
  background: var(--navy);
  height: 80px;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}
.nav-logo .logo-text {
  font-family: "Jost", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 6px;
  color: var(--white);
  line-height: 1;
}
.nav-logo .logo-text span {
  color: var(--gold);
}
.nav-logo .logo-sub {
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--gold-light);
  font-weight: 400;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--gold-light);
}
.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 9px 22px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: "Jost", sans-serif;
  font-weight: 400;
  transition: all 0.3s;
  text-decoration: none;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--navy);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--gold-light);
  transition: all 0.3s;
}

/* 1. Desktop & Global Styles (Apply to everything first) */
#hero {
  height: 100vh;
  min-height: 650px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* Background Settings */
  /* Added a gradient overlay to make your gold/white text pop against the image */
  background-image:
    linear-gradient(rgba(5, 55, 80, 0.3), rgba(5, 55, 80, 0.3)),
    url("https://magicpage-dev.propstory.com/ImageUploads/test/1nnx5eapkmoqwm6xy.webp");

  background-size: cover; /* Fill the screen without stretching */
  background-position: center; /* Keep image centered */
  background-repeat: no-repeat;
  background-attachment: fixed; /* Smooth parallax effect for Desktop */
}

/* 2. Mobile & Tablet Styles (Adjustments for smaller screens) */
@media (max-width: 468px) {
  #hero {
    background-image:
      linear-gradient(rgba(5, 55, 80, 0.3), rgba(5, 55, 80, 0.3)),
      url("https://magicpage-dev.propstory.com/ImageUploads/test/1nnx5eapkmoqwvqye.webp");
    /* Disable fixed attachment: iOS/Android have performance issues with 'fixed' */
    background-attachment: scroll;

    /* Center the background: Since your image is wide (1257px), 
       'center' or '70%' ensures the most important part is visible on tall screens */
    background-position: center center;

    /* Adjust height for mobile browsers (optional but recommended) */
    height: 100svh; /* 'svh' prevents jumping when mobile browser bars disappear */
    min-height: 500px;
  }
}
.hero-topo {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'%3E%3Cdefs%3E%3Cstyle%3E.t%7Bfill:none;stroke:%23b8903a;stroke-width:1%7D%3C/style%3E%3C/defs%3E%3Cellipse class='t' cx='400' cy='300' rx='380' ry='280'/%3E%3Cellipse class='t' cx='400' cy='300' rx='320' ry='220'/%3E%3Cellipse class='t' cx='400' cy='300' rx='260' ry='160'/%3E%3Cellipse class='t' cx='400' cy='300' rx='200' ry='100'/%3E%3Cellipse class='t' cx='400' cy='300' rx='140' ry='55'/%3E%3Cellipse class='t' cx='180' cy='150' rx='200' ry='150'/%3E%3Cellipse class='t' cx='180' cy='150' rx='150' ry='100'/%3E%3Cellipse class='t' cx='620' cy='450' rx='220' ry='160'/%3E%3Cellipse class='t' cx='620' cy='450' rx='170' ry='110'/%3E%3Cellipse class='t' cx='100' cy='500' rx='160' ry='120'/%3E%3Cellipse class='t' cx='700' cy='100' rx='180' ry='130'/%3E%3C/svg%3E");
  background-size: cover;
}
.hero-content {
  position: relative;
  text-align: center;
  animation: heroFadeIn 1.4s ease forwards;
}
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-eyebrow {
  font-size: 14px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: white;
  font-weight: 400;
  margin-top: 50px;
  margin-bottom: 18px;
}
.hero-logo-display {
  font-family: "Jost", sans-serif;
  font-size: clamp(52px, 10vw, 100px);
  font-weight: 200;
  letter-spacing: 18px;
  color: var(--white);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-logo-display .logo-accent {
  color: var(--gold);
  font-weight: 600;
}
.hero-tagline {
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 300;
  color: white;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.hero-location {
  font-size: 17px;
  letter-spacing: 4px;
  color: white;
  font-weight: 400;
  margin-bottom: 52px;
}
.hero-stats {
  display: flex;
  gap: 56px;
  justify-content: center;
  margin-bottom: 52px;
}
.hero-stat {
  text-align: center;
}
.hero-stat .num {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  font-weight: 500;
  color: white;
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 11px;
  letter-spacing: 2.5px;
  color: white;
  text-transform: uppercase;
  margin-top: 4px;
}
.hero-divider {
  width: 1px;
  height: 40px;
  background: rgba(184, 144, 58, 0.3);
  align-self: center;
}
.hero-cta-wrap {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 38px;
  border: none;
  cursor: pointer;
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 38px;
  border: 1px solid white;
  cursor: pointer;
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 400;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover {
  background-color: white;
  border-color: var(--gold);
  color: var(--gold);
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
}
.hero-scroll span {
  font-size: 8px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.4);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ─── SECTIONS COMMON ─── */
/* section {
        padding: 100px 5%;
      } */
.section-eyebrow {
  font-size: 9px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 14px;
}
.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 400;
  /* color: var(--navy); */
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-title em {
  color: var(--gold);
  font-style: italic;
}
.section-title.white {
  color: var(--white);
}
.section-body {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-mid);
  max-width: 600px;
  font-weight: 300;
}
.section-body.wide {
  max-width: 820px;
}
.gold-rule {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin: 0 0 32px;
  display: block;
}

/* ─── OVERVIEW ─── */
#overview {
  background: var(--white);
}
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.overview-visual {
  position: relative;
}
.overview-img-main {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(
    135deg,
    var(--navy-mid) 0%,
    var(--navy) 60%,
    #0a1e38 100%
  );
  position: relative;
  overflow: hidden;
}
.overview-img-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='450' viewBox='0 0 600 450'%3E%3Crect width='600' height='450' fill='%230f2340'/%3E%3Cg opacity='0.12'%3E%3Cellipse cx='300' cy='225' rx='280' ry='200' fill='none' stroke='%23b8903a' stroke-width='1.5'/%3E%3Cellipse cx='300' cy='225' rx='220' ry='150' fill='none' stroke='%23b8903a' stroke-width='1'/%3E%3Cellipse cx='300' cy='225' rx='160' ry='100' fill='none' stroke='%23b8903a' stroke-width='0.8'/%3E%3C/g%3E%3Ctext x='300' y='200' text-anchor='middle' font-family='Jost' font-size='60' font-weight='200' letter-spacing='12' fill='white' opacity='0.9'%3EMAVIS%3C/text%3E%3Ctext x='300' y='240' text-anchor='middle' font-family='Georgia' font-size='16' fill='%23b8903a' letter-spacing='3'%3EPerungulathur, Chennai%3C/text%3E%3Ctext x='300' y='285' text-anchor='middle' font-family='Jost' font-size='11' fill='white' opacity='0.4' letter-spacing='2'%3E1 ACRE · 70 HOMES · S+5 FLOORS%3C/text%3E%3C/svg%3E")
    center / cover no-repeat;
}
.overview-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  padding: 20px 24px;
  text-align: center;
}
.overview-badge .big {
  font-family: "Cormorant Garamond", serif;
  font-size: 38px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
}
.overview-badge .sm {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--navy);
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 3px;
}
.overview-text {
  padding-left: 20px;
}
.overview-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  margin-top: 40px;
}
.spec-item {
  background: var(--cream);
  padding: 18px 20px;
}
.spec-item .spec-val {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
}
.spec-item .spec-key {
  font-size: 9px;
  letter-spacing: 2.5px;
  color: var(--text-light);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ─── DEVELOPER ─── */
#developer {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
#developer::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(184, 144, 58, 0.08);
  border-radius: 50%;
}
#developer::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(184, 144, 58, 0.06);
  border-radius: 50%;
  transform: translate(30%, -30%);
}
.developer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.developer-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 50px;
}
.dev-stat {
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}
.dev-stat .big {
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
}
.dev-stat .big sup {
  font-size: 22px;
  vertical-align: super;
}
.dev-stat .label {
  font-size: 10px;
  letter-spacing: 2px;
  color: black;
  text-transform: uppercase;
  margin-top: 4px;
}
.dev-quote {
  padding: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(184, 144, 58, 0.15);
  position: relative;
}
.dev-quote::before {
  content: '"';
  font-family: "Cormorant Garamond", serif;
  font-size: 100px;
  font-weight: 300;
  color: rgba(184, 144, 58, 0.15);
  position: absolute;
  top: -20px;
  left: 24px;
  line-height: 1;
}
.dev-quote p {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 28px;
}
.dev-signature {
  display: flex;
  align-items: center;
  gap: 16px;
}
.dev-sig-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.dev-sig-name {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold-light);
  text-transform: uppercase;
}
.dev-sig-title {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}
.dev-body {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
}

/* ─── AMENITIES ─── */
#amenities {
  background: var(--cream);
}
.amenities-header {
  text-align: center;
  margin-bottom: 70px;
}
.amenities-header .section-body {
  margin: 0 auto;
}
.amenities-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.tab-btn {
  padding: 14px 30px;
  font-family: "Jost", sans-serif;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 400;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.3s;
}
.tab-btn.active,
.tab-btn:hover {
  color: var(--navy);
  border-bottom-color: var(--gold);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  background: var(--border);
  max-width: 1200px;
  margin: 0 auto;
}
.amenity-card {
  background: var(--white);
  padding: 36px 28px;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
}
.amenity-card:hover {
  background: var(--navy);
}
.amenity-card:hover .amenity-name {
  color: var(--white);
}
.amenity-card:hover .amenity-icon {
  border-color: rgba(184, 144, 58, 0.4);
}
.amenity-card:hover .amenity-icon svg {
  stroke: var(--gold-light);
}
.amenity-icon {
  width: 58px;
  height: 58px;
  /* border: 1px solid var(--border); */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: border-color 0.3s;
}

.amenity-name {
  font-size: 13px;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0.5px;
  transition: color 0.3s;
}
.clubhouse-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.club-info .section-title {
  font-size: 40px;
}
.club-list {
  list-style: none;
  margin-top: 28px;
}
.club-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--text-mid);
}
.club-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  flex-shrink: 0;
}
.club-floors {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.floor-card {
  background: var(--navy);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.floor-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 42px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  min-width: 48px;
}
.floor-detail .floor-name {
  font-size: 13px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 1px;
}
.floor-detail .floor-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}

/* ─── GALLERY ─── */
#gallery {
  background: var(--navy);
  padding: 100px 0;
}
.gallery-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 5%;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 3px;
  padding: 0 5%;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--navy-mid);
}
.gallery-item:first-child {
  grid-row: span 2;
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 35, 64, 0.8) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold-light);
  text-transform: uppercase;
}
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.gallery-placeholder .icon {
  font-size: 28px;
  opacity: 0.3;
}
.gallery-placeholder .txt {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
}

/* SVG illustration placeholders for gallery */
.gal-svg {
  width: 100%;
  height: 100%;
}

/* ─── MASTER PLAN ─── */
#masterplan {
  background: var(--white);
}
.masterplan-header {
  text-align: center;
  margin-bottom: 60px;
}
.plan-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--border);
}
.plan-tab {
  padding: 14px 32px;
  font-family: "Jost", sans-serif;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 400;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.3s;
}
.plan-tab.active,
.plan-tab:hover {
  color: var(--navy);
  border-bottom-color: var(--gold);
}
.plan-content {
  display: none;
}
.plan-content.active {
  display: block;
}
.master-plan-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.plan-diagram {
  background: var(--navy);
  padding: 40px;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plan-legend {
  padding: 20px 0;
}
.plan-legend-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 24px;
}
.legend-list {
  list-style: none;
}
.legend-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-mid);
}
.legend-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  color: var(--gold);
  min-width: 24px;
  line-height: 1;
}
/* ─── FLOOR PLANS ─── */
#floorplan {
  background: var(--cream);
  padding: 80px 0; /* Added padding for better spacing */
}

.fp-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.fp-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.fp-btn {
  padding: 12px 28px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  font-family: "Jost", sans-serif;
  font-size: 11px; /* Slightly increased for readability */
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: all 0.3s ease;
}

.fp-btn.active,
.fp-btn:hover {
  background: var(--navy);
  color: #fff; /* Ensuring white text on dark background */
  border-color: var(--navy);
}

.fp-display {
  max-width: 1000px; /* Adjusted for better focus */
  margin: 0 auto;
  display: none;
  padding: 0 20px;
}

/* Corrected for Centering */
.fp-display.active {
  display: flex;
  flex-direction: column; /* Stacked for a cleaner look */
  align-items: center; /* Center horizontally */
  justify-content: center; /* Center vertically if needed */
  animation: fadeIn 0.5s ease; /* Smooth transition */
}

.fp-diagram {
  background: #f8f9fa; /* Light grey instead of Navy makes the plan pop more */
  width: 100%;
  max-width: 800px; /* Prevents the image from getting too massive */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px; /* Subtle rounding for modern look */
  overflow: hidden;
}

.fp-diagram img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Fade in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .fp-header {
    margin-bottom: 30px;
  }
  .fp-btn {
    padding: 10px 20px;
    font-size: 10px;
    width: 45%; /* Buttons side by side on mobile */
  }
}
.fp-info {
  padding: 20px 0;
}
.fp-type {
  font-family: "Cormorant Garamond", serif;
  font-size: 42px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 6px;
}
.fp-unit {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 30px;
}
.fp-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
.fp-spec-cell {
  background: var(--white);
  padding: 16px 18px;
}
.fp-spec-val {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--navy);
}
.fp-spec-key {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-light);
  text-transform: uppercase;
  margin-top: 3px;
}
.fp-note {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(184, 144, 58, 0.08);
  border-left: 3px solid var(--gold);
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.6;
}
.fp-units-list {
  margin-top: 24px;
}
.fp-units-list h4 {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
}
.unit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.unit-chip {
  padding: 4px 12px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  letter-spacing: 1px;
}

/* ─── LOCATION ─── */
#location {
  background: var(--navy);
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.location-map {
  background: var(--navy);
  padding: 40px;
  min-height: 450px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.location-cats {
}
.loc-category {
  margin-bottom: 36px;
}
.loc-cat-title {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.loc-cat-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.loc-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.loc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.loc-item .name {
  color: var(--text-mid);
}
.loc-item .dist {
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  color: var(--gold);
  font-weight: 500;
}
.location-header {
  margin-bottom: 50px;
}

/* ─── SPECIFICATIONS ─── */
#specifications {
  background: var(--navy);
}
.specs-header {
  text-align: center;
  margin-bottom: 70px;
}
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: rgba(184, 144, 58, 0.1);
  max-width: 1200px;
  margin: 0 auto;
}
.spec-category {
  background: var(--navy-mid);
  padding: 32px 28px;
}
.spec-cat-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
}
.spec-cat-title {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 16px;
}
.spec-cat-items {
  list-style: none;
}
.spec-cat-items li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}
.spec-cat-items li:last-child {
  border-bottom: none;
}
.spec-cat-items li strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

/* ─── PAYMENT ─── */
#payment {
  background: var(--cream);
}
.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.payment-table {
  background: var(--white);
  overflow: hidden;
}
.payment-table table {
  width: 100%;
  border-collapse: collapse;
}
.payment-table th {
  background: var(--navy);
  color: var(--gold-light);
  padding: 14px 20px;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 400;
  text-align: left;
}
.payment-table td {
  padding: 14px 20px;
  font-size: 13px;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}
.payment-table tr:last-child td {
  border-bottom: none;
}
.payment-table td:last-child {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  color: var(--gold);
  font-weight: 500;
  text-align: right;
}
.payment-table tr.total-row td {
  background: var(--cream);
  font-weight: 500;
}
.rera-box {
  margin-top: 30px;
  padding: 20px 24px;
  background: var(--white);
  border-left: 3px solid var(--gold);
}
.rera-box .rera-label {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.rera-box .rera-num {
  font-size: 12px;
  color: var(--text-mid);
  font-family: "Jost", monospace;
}
.payment-info {
  padding: 10px 0;
}
.payment-info .section-body {
  font-size: 14px;
}

/* ─── CONTACT ─── */
#contact {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600'%3E%3Cellipse cx='400' cy='300' rx='380' ry='280' fill='none' stroke='%23b8903a' stroke-width='0.5' opacity='0.08'/%3E%3Cellipse cx='400' cy='300' rx='280' ry='180' fill='none' stroke='%23b8903a' stroke-width='0.5' opacity='0.06'/%3E%3C/svg%3E")
    center / cover;
}
.contact-wrap {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}
.contact-wrap .section-title {
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 12px;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 50px;
  text-align: left;
}
.form-full {
  grid-column: span 2;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(184, 144, 58, 0.2);
  padding: 14px 16px;
  color: var(--white);
  font-family: "Jost", sans-serif;
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
}
.form-group select option {
  background: var(--navy);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-submit {
  grid-column: span 2;
  text-align: center;
  margin-top: 10px;
}
.form-submit button {
  background: var(--gold);
  color: var(--navy);
  padding: 16px 60px;
  border: none;
  cursor: pointer;
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
  width: 100%;
}
.form-submit button:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.contact-disclaimer {
  margin-top: 16px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1.6;
}

/* ─── FOOTER ─── */
footer {
  background: white;
  padding: 20px 20px;
  border-top: 1px solid rgba(184, 144, 58, 0.1);
}

/* ─── ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .overview-grid,
  .developer-grid,
  .master-plan-display,
  .location-grid,
  .payment-grid,
  .fp-display.active {
    grid-template-columns: 1fr;
  }
  .developer-grid {
    gap: 50px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item:first-child {
    grid-row: span 1;
  }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  /* section {
          padding: 70px 5%;
        } */
  .overview-badge {
    right: 0;
    bottom: 0;
  }
}
@media (max-width: 600px) {
  .hero-stats {
    gap: 14px;
  }
  .hero-stat .num {
    font-size: 26px;
  }
  .hero-cta-wrap {
    flex-direction: column;
    align-items: center;
  }
  .clubhouse-details {
    grid-template-columns: 1fr;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .form-full {
    grid-column: span 1;
  }
  .form-submit {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.gallery-card {
  background: #0f2340;
  border: 1px solid rgba(184, 144, 58, 0.2);

  margin: 10px; /* Space between items */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
}

.gallery-card:hover {
  border-color: #b8903a;
  background: #152d4e;
}

.gal-svg {
  max-width: 100%;
  max-height: 100%;
  /* margin-bottom: 20px; */
}

.gallery-label {
  color: #b8903a;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.2rem;
}

/* Custom Gold Dots */
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #b8903a !important;
}
.amenity-card {
  background: #ffffff;
  border: 1px solid #eee;
  padding: 40px 20px;
  text-align: center;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin: 10px; /* Space for the shadow to show */
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.amenity-card:hover {
  border-color: #b8903a;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.amenity-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: #b8903a;
  stroke-width: 1.5;
  margin-bottom: 15px;
}

.amenity-name {
  font-family: "Jost", sans-serif;
  font-weight: 500;
  color: #333;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

/* Gold Dot styling for Owl Carousel */
.amenities-carousel .owl-dots .owl-dot.active span {
  background: #b8903a !important;
}
/* Accordion Styling */
.custom-location-accordion .accordion-item {
  background-color: transparent !important;
}

.custom-location-accordion .accordion-button {
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 20px 10px;
  color: #fff !important;
}

/* Change arrow color to gold */
.custom-location-accordion .accordion-button::after {
  filter: invert(70%) sepia(50%) saturate(500%) hue-rotate(10deg)
    brightness(90%) contrast(90%);
}

.custom-location-accordion .accordion-button:not(.collapsed) {
  color: #b8903a !important;
  background-color: transparent;
}

.text-gold {
  color: #b8903a;
  font-size: 0.9rem;
}

.loc-list {
  font-family: "Jost", sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Map responsive adjustment */
.location-map-container svg {
  max-height: 500px;
  width: 100%;
}
#developer {
  padding: 100px 0; /* Extra breathing room */
  background: #0a111a; /* Darker luxury background */
}

.dev-stat .big {
  font-weight: 600;
  line-height: 1.2;
}

.dev-stat .label {
  margin-top: 10px;
  line-height: 1.4;
}

/* On mobile, make the stats text a bit smaller to fit side-by-side */
@media (max-width: 576px) {
  .dev-stat .big {
    font-size: 1.8rem !important;
  }
  .dev-stat .label {
    font-size: 0.7rem !important;
  }
}
.custom-input {
  /* background: rgba(255, 255, 255, 0.05) !important; */
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: black !important;
  padding: 12px 15px !important;
  border-radius: 5px !important;
}

.custom-input:focus {
  border-color: #b8903a !important;
  box-shadow: none !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.btn-gold {
  background-color: #b8903a;
  color: #000;
  border: none;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background-color: #9c7a31;
  transform: translateY(-2px);
  color: #000;
}

/* For the MAVIS Logo Spacing */
.brand-name span {
  font-weight: 300;
}
.maha-logo {
  width: 150px;
  height: 40px;
  margin-right: 10px;
}
/* --- LUXURY MODAL ENHANCEMENTS --- */

.luxury-modal-enhanced {
  background: linear-gradient(135deg, #053750 0%, #032333 100%) !important;
  border: 1px solid rgba(184, 144, 58, 0.4) !important;
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

.modal-gold-bar {
  height: 4px;
  background: linear-gradient(
    90deg,
    #8a6d3b,
    #b8903a,
    #e1b966,
    #b8903a,
    #8a6d3b
  );
}

.modal-title-alt {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  color: #fff;
  font-style: italic;
  letter-spacing: 1px;
}

.modal-subtitle {
  color: #b8903a;
  font-family: "Jost", sans-serif;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-top: 5px;
}

/* Floating Label Inputs with Glass Effect */
.glass-input {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border-radius: 8px !important;
  transition: all 0.3s ease;
}

.glass-input:focus {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: #b8903a !important;
  box-shadow: 0 0 15px rgba(184, 144, 58, 0.1) !important;
}

/* Floating Label text color fix */
.form-floating > label {
  color: rgba(255, 255, 255, 0.5) !important;
}

.form-floating > .form-control:focus ~ label {
  color: #b8903a !important;
}

/* The Animated Luxury Button */
.btn-luxury-submit {
  background: #b8903a;
  background: linear-gradient(45deg, #8a6d3b 0%, #b8903a 50%, #8a6d3b 100%);
  background-size: 200% auto;
  color: #fff;
  border: none;
  margin-top: 30px;
  width: 100%;
  padding: 18px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 2px;
  transition: 0.5s;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-luxury-submit:hover {
  background-position: right center; /* Moves the gradient */
  transform: translateY(-2px);
  color: #fff;
}

.rera-badge {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  transform: scale(0.85) translateY(-0.75rem) translateX(0.15rem) !important;
  /* Adjust translateY if the label hits the top border */
}
.success_msg,
.error_msg {
  text-align: center;
  display: none;
}
/* Container for the stats */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap; /* Default: stay in one line */
}

/* Container styling */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap; /* Default: stays in one line for desktop */
}

/* Mobile specific styling */
@media (max-width: 768px) {
  .hero-stats {
    flex-wrap: wrap; /* Allows items to drop to the next line */
    gap: 20px 0; /* Adds vertical spacing between the rows */
  }

  .hero-stat {
    flex: 0 0 50%; /* Forces each stat to take exactly half the width */
    text-align: center;
    padding: 10px;
  }

  /* Hide dividers on mobile to keep the 2x2 grid clean */
  .hero-divider {
    display: none;
  }
}
/* --- OWL CAROUSEL CUSTOM NAV --- */

/* 1. Container for the buttons */
.spaces-carousel .owl-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* 2. Individual Arrow Styling (The Circle) */
.spaces-carousel .owl-nav button.owl-prev,
.spaces-carousel .owl-nav button.owl-next {
  width: 50px;
  height: 50px;
  background: transparent !important; /* Transparent base */
  color: #b8903a !important; /* Gold Arrow */
  border: 1px solid #b8903a !important; /* Gold Circle Border */
  border-radius: 50% !important; /* Makes it a circle */
  font-size: 24px !important; /* Size of the arrow */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease !important;
}

/* 3. Hover Effect */
.spaces-carousel .owl-nav button.owl-prev:hover,
.spaces-carousel .owl-nav button.owl-next:hover {
  background: #b8903a !important; /* Fills with Gold */
  color: #ffffff !important; /* Arrow turns White */
  transform: scale(1.1); /* Slight pop effect */
}

/* 4. Fix for the default Arrow Text */
.spaces-carousel .owl-nav span {
  line-height: 1;
  display: block;
  margin-top: -4px; /* Centering the span text vertically */
}

/* --- AMENITIES CAROUSEL CUSTOM NAV --- */

/* Center the navigation buttons below the carousel */
.amenities-carousel .owl-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px; /* Space between items and buttons */
}

/* Style the buttons into circles */
.amenities-carousel .owl-nav button.owl-prev,
.amenities-carousel .owl-nav button.owl-next {
  width: 45px;
  height: 45px;
  background: transparent !important;
  color: #b8903a !important; /* Gold Icon */
  border: 1px solid rgba(184, 144, 58, 0.5) !important; /* Muted Gold Border */
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px !important;
  transition: all 0.4s ease !important;
}

/* Hover Effect: Fill with Gold */
.amenities-carousel .owl-nav button.owl-prev:hover,
.amenities-carousel .owl-nav button.owl-next:hover {
  background: #053750 !important;
  color: #ffffff !important; /* White Icon on Hover */
  border-color: #053750 !important;
  transform: translateY(-3px); /* Subtle lift effect */
  box-shadow: 0 5px 15px rgba(184, 144, 58, 0.3);
}

/* Ensure icons are perfectly centered */
.amenities-carousel .owl-nav i {
  line-height: 0;
}
.gold-rule1 {
  margin: 0 auto 20px;
  display: block;
  width: 50px;
  height: 2px;
  background: #b8903a;
}
.max-w {
  max-width: 600px;
}
.heading1 {
  width: 50px;
  height: 2px;
  background: #b8903a;
}
.floor-h {
  max-width: 700px;
}
.Connectivity {
  color: #b8903a;
  letter-spacing: 2px;
}
.con-p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.7);
}
.location-map-container {
  border-radius: 10px;
}
.dev1 {
  max-width: 800px;

  line-height: 1.8;
}
.big1 {
  font-size: 2.5rem;
  color: #b8903a;
  font-family: "Cormorant Garamond", serif;
}
.label1 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.6;
}
.brand1 {
  color: #b8903a;
  font-family: "Jost";
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.brand2 {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  max-width: 450px;
}
.rera1 {
  border-left: 2px solid #b8903a;
  background: rgba(184, 144, 58, 0.05);
}
.registered {
  font-size: 10px;
  letter-spacing: 2px;
  color: #b8903a;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.rera-n {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}
.contact1 {
  border: 1px solid rgba(237, 167, 16, 0.2);
  border-radius: 15px;
}
.journey {
  font-family: "Cormorant Garamond";
  font-style: italic;
}
.success_msg {
  color: green;
}
.error_msg {
  color: red;
}
.form1 {
  letter-spacing: 1px;
  color: white;
}
.phone1 {
  padding-left: 40px !important;
}
.bottom {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}
.phone-s {
  /* padding: 15px 45px !important; */
}
.label-p {
  padding-left: 45px !important;
}
/* Keep same background always */
.custom-input {
  background-color: #fff !important; /* or your desired color */
  transition: none !important;
}

/* On focus */
.custom-input:focus {
  background-color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
}

/* On valid / invalid input */
.custom-input:valid,
.custom-input:invalid {
  background-color: #fff !important;
}

/* For Chrome autofill */
input:-webkit-autofill {
  background-color: #fff !important;
  -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
  -webkit-text-fill-color: #000 !important;
}
#hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
}

/* Dark overlay for readability */
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 5, 0.2),
    rgba(9, 9, 9, 0.56)
  );
  z-index: 1;
}

/* Keep content above overlay */
.hero-content {
  position: relative;
  z-index: 2;
}
.amenity-card:hover img {
  filter: brightness(0) invert(1);
}
/* Ensure label moves properly */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  transform: scale(0.85) translateY(-1.5rem) translateX(0.15rem);
  opacity: 0.8;
}

/* Prevent text overlap */
.form-floating > .form-control {
  padding-top: 1.6rem;
  padding-bottom: 0.5rem;
}
/* Placeholder color */
#floatPhone::placeholder {
  color: #b2b2b2;
  opacity: 1; /* ensures full visibility */
}
#floatName::placeholder {
  color: #b2b2b2;
  opacity: 1; /* ensures full visibility */
}

#floatEmail::placeholder {
  color: #b2b2b2;
  opacity: 1; /* ensures full visibility */
}
#hero {
  position: relative; /* Required so absolute child stays inside */
  overflow: hidden;
}

.hero-rera {
  position: absolute;
  top: 100px; /* Distance from top */
  right: 20px; /* Distance from right */
  z-index: 10; /* Keeps it above the background */

  /* Styling */
  color: #ffffff;
  /* background: rgba(
    14,
    74,
    136,
    0.7
  );  */
  padding: 5px 15px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  pointer-events: none; /* User can click through it if needed */
}

/* Mobile Adjustment */
@media (max-width: 768px) {
  .hero-rera {
    top: 100px;
    right: 10px;
    font-size: 10px;
    padding: 3px 10px;
  }
}
