/* ============================================================
   ATS KINGSTON HEATH — style.css  v4 PIXEL-PERFECT
   All layout values verified from live site screenshots
   ============================================================ */

:root {
  --brown: #e1d3bb;
  --light-brown: #ba9a616e;
  --dark-brown: #ac772a;
  --gold: rgb(161,110,32);
  --white: #ffffff;
}

@font-face {
  font-family: Nephilm;
  src: url('../fonts/Nephilm.otf');
  font-display: swap;
}
@font-face {
  font-family: OpenSans-Regular;
  src: url('../fonts/Open_Sans.ttf');
  font-display: swap;
}

/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body, p, h1, h2, h3, h4, h5, h6, ul, li { margin: 0; padding: 0; }
ul { list-style: none; }
a { text-decoration: none; }
img { max-width: 100%; display: block; }

body {
  font-family: OpenSans-Regular, Arial, sans-serif;
  background-color: var(--brown);
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden !important; }
::-webkit-scrollbar { width: 0; }

.container { max-width: 1290px; }

/* ── TYPOGRAPHY ─────────────────────────────────────── */
.p-text {
  letter-spacing: 0.7px;
  word-spacing: 1px;
  line-height: 25px;
  font-size: 14px;
  text-align: justify;
  color: #000;
}
.brown-heading {
  font-family: Nephilm;
  margin-bottom: 25px;
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 3px;
  word-spacing: 1px;
  line-height: 34px;
}
.sub-head {
  color: #000;
  font-size: 15px;
  letter-spacing: 0.7px;
  word-spacing: 1px;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 10px;
}
.black-heading {
  text-align: center;
  margin-bottom: 56px;
  color: rgb(33,37,41);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  word-spacing: 1px;
  line-height: 25px;
  font-family: Nephilm;
}
.ai-text {
  position: absolute;
  color: #fff;
  font-size: 12px;
  letter-spacing: 2px;
  z-index: 2;
  font-weight: 400;
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn-brown,
.btn-brown:hover {
  background-color: var(--dark-brown);
  border-radius: 5px;
  text-transform: uppercase;
  font-size: 14px;
  margin-top: 20px;
  letter-spacing: 0.7px;
  word-spacing: 1px;
  display: inline-block;
  padding: 5px 20px;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  line-height: 1.5;
  color: #fff !important;
  font-family: OpenSans-Regular, Arial, sans-serif;
}

/* ── STICKY HEADER ──────────────────────────────────── */
.sticky-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  transform: translateY(-100%);
  transition: transform 0.35s;
  z-index: 9999;
  padding: 5px 0;
  background: #fff;
}
.sticky-header.show { transform: translateY(0); }
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img { height: 72px; object-fit: contain; transition: 0.35s; }
.menu-btn { text-align: center; cursor: pointer; }
.menu-btn .line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--gold);
  margin: 4px auto;
}
.menu-btn .menu-text {
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 400;
  font-size: 18px;
  padding: 5px 10px;
  font-family: Nephilm;
  line-height: 20px;
}

/* ── MOBILE HEADER ──────────────────────────────────── */
.mobile-header {
  display: none;
  background: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 9998;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

/* ── FULLSCREEN MENU ────────────────────────────────── */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,0.96);
  z-index: 99999;
  transform: translateX(-100%);
  transition: transform 0.4s;
}
.fullscreen-menu.is-open { transform: translateX(0); }
#menuOverlay { opacity: 0; visibility: hidden; transition: 0.4s; }
#menuOverlay.is-open { opacity: 1; visibility: visible; }
.close-btn {
  position: absolute;
  top: 60px; right: 89px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background-color: var(--gold);
  color: #fff;
  font-size: 20px;
  border: none;
  z-index: 100000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fullscreen-menu .logo-sidebar { height: 68px; }
.fullscreen-menu ul { list-style: none; padding: 0; text-align: center; }
.fullscreen-menu ul li { padding-top: 25px; }
.fullscreen-menu ul li a {
  font-size: 17px;
  font-family: Nephilm;
  letter-spacing: 2px;
  color: #000;
  text-decoration: none;
}
.fullscreen-menu ul li:hover { text-decoration: underline; }

/* ── SCROLL MARGIN ──────────────────────────────────── */
#aboutus, #highlights, #Amenities, #floorplan,
#locationmap, #projectGallery, #about-developer {
  scroll-margin-top: 80px;
}

/* ══════════════════════════════════════════════════════
   BANNER SECTION
   bg: white, padding: 0 15px 50px
   Left 70% = hero image | Right 30% = price panel
   ══════════════════════════════════════════════════════ */
.banner-section {
  background-color: #fff;
  overflow: hidden;
  padding: 0 15px 50px !important;
  display: flex;
  align-items: stretch;
}
.banner-left-info { width: 70%; flex-shrink: 0; }
.hero-part { position: relative; width: 100%; overflow: hidden; }
.hero-part::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 37%;
  background-image: linear-gradient(rgba(255,255,255,0), rgba(0,0,0,0.63));
}
.hero-part .hero-bg {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}
.hero-logo { position: absolute; top: 10px; left: 33px; }
.hero-logo img { width: auto; height: 100px; }
.banner-section .menu-btn {
  position: absolute;
  bottom: 30px; left: 5%;
  text-align: center;
  cursor: pointer;
  z-index: 2;
}
.banner-section .menu-btn .line {
  display: block;
  width: 100%;
  height: 1px;
  background: #fff;
  margin: 4px auto;
}
.banner-section .menu-btn .menu-text {
  letter-spacing: 3px;
  color: #fff;
  font-weight: 400;
  font-size: 18px;
  padding: 5px 10px;
  font-family: Nephilm;
  line-height: 20px;
}
.banner-text-right-bottom { right: 20px; bottom: 30px; }
.banner-right-info {
  width: 30%;
  text-align: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.lux-top-img { margin-bottom: 0; }
.lux-top-img img,
.lux-logo img {
  margin: 10px auto 0;
  display: block;
  width: auto;
  height: 150px;
  position: relative;
  right: 15px;
}
.lux-logo img { height: 70px; }
.lux-title {
  font-size: 31px;
  font-family: Nephilm;
  line-height: 46px;
  text-align: center;
  margin: 0 auto;
  letter-spacing: 3px;
  width: 80%;
}
.lux-subtitle {
  font-size: 20px;
  text-transform: uppercase;
  margin-top: 7px;
  letter-spacing: 4px;
  font-family: Nephilm;
  line-height: 30px;
}
.starting {
  font-size: 15px;
  font-family: Nephilm;
  letter-spacing: 3px;
}
.price {
  font-size: 61px;
  font-family: Nephilm;
  color: var(--gold);
  letter-spacing: 3px;
  line-height: 1.2;
}
.lux-btn {
  background-color: var(--gold) !important;
  color: #fff !important;
  font-family: Nephilm;
  font-size: 16px;
  letter-spacing: 5px;
  text-transform: uppercase;
  padding: 5px 12px;
  display: block;
  width: 100%;
  cursor: pointer;
  border: none;
  text-decoration: none;
  text-align: center;
}

/* ══════════════════════════════════════════════════════
   ABOUT SECTION  (#aboutus)
   bg: elevation5 image + rgba(0,0,0,0.26) multiply
   LEFT col: EMPTY — bg image fills through
   RIGHT col: white floating content-box
   ══════════════════════════════════════════════════════ */
.about-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-image: url('https://atsprojects.co.in/images/ATS-Kingston-Heath-elevation5.webp');
  background-color: rgba(0,0,0,0.26);
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center center;
  padding-top: 60px;
  padding-bottom: 60px;
}
.about-section .bg-image { display: none; }
.about-section .logo-about {
  width: auto;
  height: 61px;
  margin: 0 auto 15px;
  filter: brightness(1);
}
.about-section .content-box {
  width: 100%;
  padding: 50px;
  border-radius: 5px;
  box-shadow: rgba(0,0,0,0.2) 0px 10px 40px;
  background: #fff;
}
.about-section .content-box .p-text { margin-bottom: 30px; }
.about-section .about-text-left-bottom { bottom: 15px; left: 15px; letter-spacing: 2px; }

/* ══════════════════════════════════════════════════════
   IMAGE SLIDER  (standalone section after #aboutus)
   Sits between Project Overview and Highlights
   Body brown bg, padding: 50px 0
   3 hover-expand items — flex:1 collapsed, flex:10 active
   Images: 457px tall, border-radius:10px
   Title (Nephilm 30px) shown only on active item
   ══════════════════════════════════════════════════════ */
.image-slider {
  padding: 50px 0;
  background-color: var(--brown);
  /* Fixed height prevents layout reflow on hover (stops flickering) */
  min-height: 590px;
}
.image-slider .slider-content {
  width: 100%;
  display: flex;
  margin: 0 auto;
  /* Contain height so flex changes never affect external layout */
  height: 457px;
  overflow: hidden;
}
.slider-content .slider-item {
  position: relative;
  cursor: pointer;
  flex: 1;
  margin: 10px;
  /* overflow:hidden clips the image neatly during flex transition */
  overflow: hidden;
  border-radius: 10px;
  transition: flex 0.5s ease;
  flex-shrink: 0;
}
.slider-content .slider-item.active { flex: 10; }
.slider-content .slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  /* Prevent img from causing resize — parent controls the height */
  min-height: 100%;
}
.slider-content .slider-item .image-bottom-text {
  bottom: 8px;
  left: 20px;
  z-index: 99;
  text-align: center;
  font-family: Nephilm;
  letter-spacing: 3px;
  display: none;
}
.slider-content .slider-item .image-bottom-text { display: none; }
.slider-content .slider-item.active .image-bottom-text { display: block; }

/* Title sits BELOW the slider-content container — reserve space always */
.slider-content .slider-item .slider-bottom-title {
  /* Always reserve space — visibility:hidden prevents reflow flicker */
  visibility: hidden;
  opacity: 0;
  color: #000;
  font-size: 30px;
  text-align: center;
  font-family: Nephilm;
  letter-spacing: 3px;
  margin-top: 20px;
  line-height: 1.3;
  min-height: 40px;
  transition: opacity 0.4s ease;
}
.slider-content .slider-item.active .slider-bottom-title {
  visibility: visible;
  opacity: 1;
}

/* ══════════════════════════════════════════════════════
   HIGHLIGHTS / ATSPR SECTION  (#highlights)
   Tab buttons: white pill → active dark-brown filled
   ══════════════════════════════════════════════════════ */
.atspr-section {
  padding: 50px 0;
  background-color: var(--light-brown);
}
.sec-title { text-align: center; margin-bottom: 30px; }
.tab-content .custom-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  gap: 0 30px;
}
.tab-content .custom-tab-btn {
  font-size: 18px;
  color: #000;
  display: block;
  padding: 10px 30px;
  background-color: #fff;
  border-radius: 5px !important;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  font-family: OpenSans-Regular, Arial, sans-serif;
}
.tab-content ul li {
  color: #000;
  border-radius: 5px;
  display: flex;
  align-items: center;
}
.custom-tab-btn.active,
.nav-pills .nav-link.active.custom-tab-btn {
  background-color: var(--dark-brown) !important;
  color: #fff !important;
}
.custom-tab-btn:not(.active):hover { background-color: rgb(240,240,240); }
.tab-content .tab-left-info img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.tab-content .tab-left-info .ai-text { bottom: 15px; left: 15px; }
.tab-content .col-md-6:nth-child(1) { background-color: #333; }
.tab-content .col-md-6:nth-child(2) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.tab-content .col-md-6:nth-child(2) .content-panel {
  padding: 40px 20px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.tab-content .content-panel .icon-style {
  height: 80px;
  width: auto;
  margin-bottom: 20px;
}
.tab-content .brown-heading { margin-bottom: 15px; font-size: 20px; text-align: center; }

/* ══════════════════════════════════════════════════════
   SECTION LABEL  (.right-border-link)
   Positioned at bottom-left of each section
   Gold uppercase text + horizontal dash (::after)
   pointer-events: none (not clickable)
   ══════════════════════════════════════════════════════ */
.right-border-link {
  font-size: 28px;
  line-height: 1.5;
  font-weight: 400;
  padding: 8px 16px 8px 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  width: 100%;
  height: 100%;
  position: relative;
  top: 84px;
  text-transform: uppercase;
  text-decoration: none !important;
  font-family: Nephilm;
  letter-spacing: 4px;
  pointer-events: none;
  color: var(--dark-brown) !important;
}
.right-border-link::after {
  content: "";
  position: absolute;
  right: 0;
  width: 30px;
  height: 2px;
  background: #000;
  top: 50%;
}

/* ══════════════════════════════════════════════════════
   SHARED PATTERN for Amenities / Master Plan / Floor Plan
   / Location Map / Construction Status

   Layout:
   - .section-wrapper: position relative, has a tall right image
   - .floating-card: position absolute, top: -100px (or custom),
     left: container-offset (~102px), width: 500px, bg white
   - .section-label: sits below the image, bottom left area
   ══════════════════════════════════════════════════════ */

/* Container must be position:relative for absolute children */
.amenities-section .container,
.master-plan-section .container,
.floor-plan-section .container,
.location-map-section .container,
.construction-status-section .container {
  position: relative;
}

/* Right image fills the right side */
.right-img {
  position: relative;
  overflow: hidden;
  margin-left: auto;
}
.right-img img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.right-img .ai-text { bottom: 15px; right: 35px; z-index: 3; letter-spacing: 2px; }

/* View Plan / button centered on blurred image */
.right-img .btn-brown {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 9px 30px;
  letter-spacing: 1.5px;
  font-size: 15px;
  text-transform: capitalize;
  margin-top: 0;
  z-index: 3;
}

/* Section bottom label wrapper */

/* ══════════════════════════════════════════════════════
   AMENITIES SECTION  (#Amenities)
   padding-top: 130px  bg: light-brown
   Floating card: top:-100px left:0 w:500px
   Image: 480px tall
   ══════════════════════════════════════════════════════ */
.amenities-section {
  padding-top: 130px;
  padding-bottom: 40px;
  background-color: var(--light-brown);
}
/* amenities right-img uses col-md-9 width automatically */
.amenities-section .right-img img { height: 480px; }
.amenities-section .ai-text { bottom: 15px; right: 35px; z-index: 3; letter-spacing: 2px; }

/* Amenities floating carousel card */
#amenitiesSlider {
  position: absolute;
  top: -100px;
  left: 12px;
  width: 500px;
  padding: 20px 20px 44px;
  text-align: center;
  border-radius: 5px;
  background-color: #fff;
  z-index: 10;
}
#amenitiesSlider .carousel-item img {
  width: auto;
  height: 60px;
  margin: 0 auto 15px;
  display: block;
}
#amenitiesSlider .carousel-item .sub-head {
  font-family: Nephilm;
  color: #000;
  font-size: 15px;
  letter-spacing: 0.7px;
  word-spacing: 1px;
  text-transform: uppercase;
  width: fit-content;
  margin: 0 auto 20px;
  text-align: center;
}
#amenitiesSlider .carousel-item .p-text { padding-bottom: 10px; }
#amenitiesSlider .carousel-item .brown-heading { margin-bottom: 25px; }
#amenitiesSlider .carousel-indicators { position: relative; bottom: auto; margin-top: 16px; }
#amenitiesSlider .carousel-indicators [data-bs-target] {
  width: 12px; height: 12px;
  background-color: var(--dark-brown);
  border-radius: 50%; border: none;
  margin: 0 4px; opacity: 1;
}
#amenitiesSlider .carousel-indicators .active { background-color: #000; }

/* ══════════════════════════════════════════════════════
   MASTER PLAN SECTION
   padding-top: 130px  bg: light-brown
   Floating card: top:-100px left:0 w:500px
   Image: 490px tall blurred
   ══════════════════════════════════════════════════════ */
.master-plan-section {
  padding-top: 130px;
  padding-bottom: 40px;
  background-color: var(--light-brown);
}
.master-plan-section .right-img img {
  height: 490px;
  width: 100%;
  filter: blur(5px);
}
.mp-content-box {
  position: absolute;
  top: -100px;
  left: 12px;
  width: 500px;
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  background-color: #fff;
  z-index: 10;
}
.mp-content-box img {
  width: auto;
  height: 60px;
  margin: 0 auto 15px;
  display: block;
}
.mp-content-box .sub-head {
  font-family: Nephilm;
  color: #000;
  font-size: 15px;
  letter-spacing: 0.7px;
  word-spacing: 1px;
  text-transform: uppercase;
  width: fit-content;
  margin: 0 auto 10px;
  text-align: center;
}
.mp-content-box .brown-heading { margin-bottom: 25px; }

/* ══════════════════════════════════════════════════════
   FLOOR PLAN SECTION  (#floorplan)
   padding-top: 40px  bg: light-brown
   Floating badge: top:0 left:0 w:24% border-radius:10px
   Image: 440px tall blurred
   ══════════════════════════════════════════════════════ */
.floor-plan-section {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: var(--light-brown);
}
.floor-plan-section .right-border-link { top: -24px; }
.floor-plan-section .right-border-link::after { right: 25px; }
.floor-plan-section .right-img { overflow: hidden; }
.floor-plan-section .right-img img {
  height: 440px;
  width: 100%;
  filter: blur(5px);
  object-position: 10% center;
  object-fit: cover;
}
.fp-content-box {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fff;
  padding: 21px;
  border-radius: 10px;
  width: 24%;
  z-index: 10;
}
.fp-content-box .sub-head {
  background-color: var(--dark-brown);
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  text-align: center;
  font-size: 18px;
  display: block;
  margin: 0;
  width: 100%;
}
/* Floor plan label position */
.floor-plan-section .section-label-row .right-border-link {
  position: relative;
  top: 0;
  left: 0;
}

/* ══════════════════════════════════════════════════════
   LOCATION MAP SECTION  (#locationmap)
   padding-top: 200px  bg: light-brown
   Floating card: top:-156px left:0 w:563px
   Map image: 551px tall
   ══════════════════════════════════════════════════════ */
.location-map-section {
  padding-top: 200px;
  padding-bottom: 40px;
  background-color: var(--light-brown);
}
.location-map-section .right-img img { height: 551px; width: 100%; }
.location-map-section .right-img .ai-text { bottom: 15px; right: 35px; }
.lm-content-box {
  position: absolute;
  top: -156px;
  left: 12px;
  width: 563px;
  padding: 15px 25px 30px;
  text-align: center;
  border-radius: 5px;
  background-color: #fff;
  z-index: 10;
}
.lm-content-box > img {
  width: auto;
  height: 60px;
  margin: 0 auto 15px;
  display: block;
}
.lm-content-box .sub-head {
  font-family: Nephilm;
  color: #000;
  font-size: 15px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  width: fit-content;
  margin: 0 auto 10px;
  text-align: center;
}
.lm-content-box .brown-heading { margin-bottom: 30px; }

/* Location list */
.location-map-section .location-list {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 0;
}
.location-map-section .location-list .item {
  letter-spacing: 0.5px;
  line-height: 25px;
  font-size: 12px;
  color: #000;
  width: 50%;
  text-align: left;
  display: flex;
  align-items: center;
}
.location-map-section .location-list .icon img {
  width: auto;
  height: 20px;
  opacity: 0.6;
}
.location-map-section .location-list .time {
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 50px;
  margin-right: 10px;
  margin-left: 5px;
  display: inline-block;
  width: 60px;
  text-align: center;
}
.location-map-section .location-list .place {
  font-size: 12px;
  color: #000;
  margin-left: 15px;
}

/* ══════════════════════════════════════════════════════
   CONSTRUCTION STATUS SECTION
   padding-top: 110px  padding-bottom: 70px  bg: light-brown
   Floating card: top:-70px left:57px
   Tower image: 550px tall
   ══════════════════════════════════════════════════════ */
.construction-status-section {
  padding-bottom: 70px;
  padding-top: 110px;
  background-color: var(--light-brown);
}
.construction-status-section .right-img img {
  height: 550px;
  width: 100%;
  object-fit: cover;
}
.construction-status-section .right-img .ai-text { bottom: 15px; right: 35px; }
.ct-content-box {
  position: absolute;
  left: 57px;
  top: -70px;
  background-color: #fff;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 5px;
  padding: 40px 50px;
  width: 380px;
}
.ct-content-box > img {
  width: auto;
  height: 60px;
  margin: 0 auto 15px;
  display: block;
}
.ct-content-box > .btn-brown {
  background-color: var(--dark-brown);
  color: #fff;
  text-decoration: none;
  padding: 10px 30px;
  border-radius: 5px;
  margin: 7px auto 0;
  display: inline-block;
  font-size: 16px;
  text-transform: capitalize;
  margin-top: 20px;
}
.ct-content-box .brown-heading { margin-bottom: 10px; }

/* ══════════════════════════════════════════════════════
   PROJECT GALLERY  (#projectGallery)
   ══════════════════════════════════════════════════════ */
.project-gallery-section {
  padding-top: 60px;
  padding-bottom: 60px;
}
.project-gallery-section .gallery .row > div { padding: 0 15px; }
.project-gallery-section .sec-title .sub-head {
  font-family: Nephilm;
  color: #000;
  font-size: 15px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  width: fit-content;
  margin: 0 auto 20px;
  text-align: center;
}
.project-gallery-section .sec-title .brown-heading { margin-bottom: 50px; }
.project-gallery-section .gallery-left-flex-row {
  display: grid;
  place-content: space-between center;
  height: 100%;
}
.project-gallery-section .both-img-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 30px;
}
.project-gallery-section .both-img-flex a {
  height: 300px;
  overflow: hidden;
  border-radius: 5px;
  width: 48% !important;
}
.gallery a.with-caption.image-link {
  position: relative;
  display: block;
  width: 100%;
}
.gallery a.with-caption.image-link::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.5));
  border-radius: 5px;
}
.gallery a.with-caption.image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  display: block;
}
.gallery .ai-text { bottom: 15px; letter-spacing: 1px; font-size: 12px; }
.project-gallery-section .ai-text { z-index: 3; }
.project-gallery-section .ai-text.left-text { left: 15px; }
.project-gallery-section .gallery .ai-text.right-text { right: 35px; }
.project-gallery-section .one-img-flex a {
  height: 100%; width: 100%;
  border-radius: 5px; overflow: hidden;
  display: block; position: relative;
}
.project-gallery-section .last-col a {
  height: 100%; border-radius: 5px;
  display: block; overflow: hidden; position: relative;
}
.project-gallery-section .last-col a .left-text { width: 70%; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 99999;
  justify-content: center;
  align-items: center;
}
.lightbox-content { position: relative; max-width: 90vw; }
.lightbox-content img { max-width: 90vw; max-height: 80vh; border-radius: 5px; }
.lightbox-title { color: #fff; text-align: center; margin-top: 10px; font-family: Nephilm; letter-spacing: 2px; }
.lightbox-close {
  position: absolute; top: -15px; right: -15px;
  width: 30px; height: 30px;
  background: var(--gold); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; z-index: 10;
}

/* ══════════════════════════════════════════════════════
   FOOTER / ABOUT ATS  (#about-developer)
   ══════════════════════════════════════════════════════ */
.footer-section { padding-bottom: 30px; padding-top: 30px; }
.footer-section .footer-top-content { position: relative; }
.footer-section .footer-top-bg {
  opacity: 0.2;
  position: absolute;
  bottom: 0;
  width: 100%; height: 54%;
  object-fit: cover;
  object-position: center;
}
.footer-section .footer-logo {
  margin: 0 auto 15px;
  display: block;
  width: auto; height: 60px;
  filter: brightness(0);
}
.footer-section .sub-head {
  font-family: Nephilm;
  color: #000;
  font-size: 15px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  width: fit-content;
  margin: 0 auto 20px;
  text-align: center;
}
.footer-section .brown-heading { font-size: 26px; letter-spacing: 0.7px; }
.footer-section .footer-left-text { padding-right: 40px; }

.contact-form .card {
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  width: 100%;
  margin-left: auto;
  z-index: 9;
  position: relative;
}
.contact-form form .field { margin-bottom: 16px; }
.contact-form form .field input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ddd;
  padding: 8px 0;
  font-size: 14px;
  outline: none;
  background: transparent;
  font-family: OpenSans-Regular, Arial, sans-serif;
}
.contact-form form .field input::placeholder { color: #999; }
.contact-form .submit-btn {
  padding: 10px 30px;
  border-radius: 5px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: var(--dark-brown);
  color: #fff;
  margin-top: 18px;
  width: 100%;
  font-size: 15px;
  cursor: pointer;
}
.submit-btn:active { transform: translateY(1px); }
.checkbox-row {
  text-align: left;
  display: flex;
  align-items: baseline;
  gap: 0 2px;
  margin-top: 12px;
}
.checkbox-row input[type="checkbox"] {
  width: 9px !important;
  height: 9px !important;
  position: relative !important;
  top: 1px !important;
  flex-shrink: 0;
}
.checkbox-text {
  font-weight: 400;
  color: #000;
  font-size: 10px;
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 15px;
}
.footer-bottom-content { margin-top: 30px; }
.footer-bottom-content .contact-info {
  border-top: 1px solid rgba(165,114,37,0.85);
  border-bottom: 1px solid rgba(165,114,37,0.85);
  padding: 24px 0;
  text-align: left;
}
.footer-bottom-content .contact-info .footer-flex-title {
  font-size: 20px;
  text-transform: capitalize;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.7px;
  text-align: left;
}
.footer-bottom-content .contact-info .p-text { color: rgb(33,37,41); text-align: left; }
.footer-bottom-content .contact-info a { color: rgb(0,0,0); font-size: 14px; text-decoration: none; display: block; }
.footer-bottom-content .contact-info .row div:nth-child(2) {
  border-right: 1px solid rgba(165,114,37,0.85);
  border-left: 1px solid rgba(165,114,37,0.85);
  padding: 0 30px;
}
.footer-bottom-content .contact-info .col-md-4 {
  padding: 10px 30px;
}
.footer-bottom-content a {
  color: #000;
  text-transform: capitalize;
  font-size: 14px;
  line-height: 26px;
  letter-spacing: 0.5px;
  text-decoration: none;
}
.footer-bottom-content a:hover { text-decoration: underline; }
.footer-bottom-content .disclaimer-content {
  width: 100%;
  padding: 20px 15px 0;
}
.footer-bottom-content .disclaimer-content .pb-10 { padding-bottom: 10px; }
.footer-bottom-content .disclaimer-content .disclaimer-text,
.footer-bottom-content .disclaimer-content .disclaimer-text button {
  font-size: 13px;
  margin-top: 15px;
  line-height: 19.5px;
  color: rgb(33,37,41);
}
.footer-bottom-content .read-more-content { display: none; }
.footer-bottom-content .read-more-button {
  color: #000;
  cursor: pointer;
  background: none;
  padding: 0;
  border: none;
  font-weight: bold;
  font-size: 13px;
}

/* ══════════════════════════════════════════════════════
   POPUP FORMS
   ══════════════════════════════════════════════════════ */
.popup-form .overlay {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 80px;
  z-index: 9999;
  overflow-y: auto;
}
.popup-form .hidden { display: none; }
.popup-form .popup-box {
  width: auto; max-width: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup-form .popup-box .popup-content {
  position: relative;
  border-radius: 10px;
  max-width: 90%;
  background: #fff;
  margin: 0 auto;
  transform: translateY(-80px);
  opacity: 0;
  transition: 0.4s;
}
.popup-form .popup-box .popup-content.open-animate {
  transform: translateY(0);
  opacity: 1;
}
.popup-form .close-btn {
  position: absolute;
  color: #fff;
  font-size: 15px;
  top: -11px; right: -5px;
  z-index: 10;
  padding: 0;
  background-color: rgb(175,117,28);
  width: 25px; height: 25px;
  line-height: 0;
  border: none;
  cursor: pointer;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup-form .popup-content { display: flex; width: 100%; }
.popup-form .popup-left { padding: 20px 20px 35px; width: 50%; }
.popup-form .popup-left img { width: 100%; height: 100%; object-fit: cover; }
.popup-form .popup-right { width: 50%; padding: 20px; }
.popup-form .popup-right h2 {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: capitalize;
}
.popup-form .popup-right input {
  position: relative;
  padding: 5px 10px;
  width: 100%; height: 40px;
  outline: 0;
  border-width: 0 0 1px;
  border-bottom-style: solid;
  border-bottom-color: rgb(229,229,229);
  transition: box-shadow 150ms ease-out;
  font-size: 14px;
  margin-bottom: 11px;
  border-radius: 0;
  background: transparent;
}
.popup-form .submit-btn {
  width: 100%; height: 40px;
  cursor: pointer;
  color: #000;
  border-radius: 0;
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  background: transparent;
  border-top: 0; border-right: 0; border-left: 0;
  border-bottom: 1px solid rgba(0,0,0,0.19) !important;
}
.popup-form-two .popup-box { max-width: 500px; }
.popup-form-two .popup-right { width: 100%; padding: 24px; }
.popup-form-two .close-btn { width: 40px; height: 40px; top: 10px; right: 10px; font-size: 19px; }
.popup-form-two .popup-right .text-center img { width: auto; height: 52px; margin-bottom: 10px; }
.popup-form-two .popup-right .text-center h2 {
  margin-bottom: 15px; margin-top: 15px;
  font-size: 18px; font-weight: 500;
  width: 100%; color: #000;
  padding: 10px; border-radius: 5px;
  font-family: Nephilm; letter-spacing: 3px;
}
.popup-form-two .submit-btn {
  padding: 10px 30px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: var(--dark-brown) !important;
  color: #fff !important;
  margin-top: 18px;
  width: 100%;
  cursor: pointer;
  height: auto;
  border: 0 !important;
  display: block;
}
.popup-form-two .popup-right input { font-size: 15px; height: 50px; }

/* ── RIGHT FIXED BAR ─────────────────────────────────── */
.right-fixed-bar {
  position: fixed;
  right: -28px; top: 35%;
  z-index: 99;
  background: var(--dark-brown);
  border-radius: 5px 0 0 5px;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100px;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  display: block;
  color: #fff !important;
}
.right-fixed-bar .fixed-btn {
  width: 75px;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0;
  padding: 16px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.right-fixed-bar .icon img { width: 20px; margin-bottom: 6px; filter: invert(1); }
.right-fixed-bar.hidden { transform: translateX(140%); opacity: 0; }
.right-fixed-bar.show { transform: translateX(0); opacity: 1; }

/* ── MOBILE BOTTOM BAR ──────────────────────────────── */
.mobile-btn {
  position: fixed; bottom: 0;
  width: 100%;
  background-color: rgb(13,13,12);
  z-index: 99;
  display: none;
  justify-content: center;
}
.mobile-btn .btn {
  background-color: var(--gold);
  width: 100%;
  border: none;
  border-radius: 0;
  padding: 12px 0;
  margin-top: 0;
  color: #fff;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  display: block;
}
.mobile-btn .btn:nth-child(1) { border-right: 1px solid #fff; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE — 991px
   ══════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .lux-btn { width: 100%; }
  .right-border-link { font-size: 20px; padding-left: 0; }
  .master-plan-section .right-img img { height: 550px; }
  .right-img img { height: auto !important; }
  .logo img { height: 40px; }
  .lux-logo img { right: 0; }
  .lux-title { width: 100%; }
  .price { font-size: 40px; }
  .hero-logo img { display: none; }
  .footer-section .footer-left-text { padding-right: 0; }
  .contact-form .card { padding: 14px; }
  #amenitiesSlider, .mp-content-box, .lm-content-box { width: 400px; }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — 767px  MOBILE
   ══════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Show mobile header, hide sticky */
  .mobile-header { display: block !important; }
  .sticky-header { display: none !important; }

  /* Menu close button moves */
  .fullscreen-menu .close-btn { top: 10px; right: 10px; }

  /* Banner stacks vertically */
  .banner-section { flex-direction: column; }
  .banner-left-info { width: 100%; padding: 0; }
  .banner-section .menu-btn { display: none; }
  .hero-part .hero-bg { height: 420px; }
  .banner-right-info { width: 100%; height: auto; padding: 30px 15px; }
  .lux-logo img { margin-top: 34px; margin-bottom: 34px; right: 0; }
  .lux-top-img img { right: 0; }
  .lux-title { margin-bottom: 34px; width: 100%; }
  .price { margin-bottom: 24px; font-size: 40px; }

  /* About section */
  .about-section .content-box { width: 100%; padding: 20px; }

  /* Tabs */
  .tab-content .custom-tab-btn { padding: 5px; font-size: 10px; }
  .tab-content > .tab-pane .row { flex-direction: column-reverse; }

  /* Sections with floating cards — stack vertically */
  .amenities-section > .container,
  .master-plan-section > .container,
  .floor-plan-section > .container,
  .location-map-section > .container,
  .construction-status-section > .container {
    display: flex !important;
    flex-direction: column-reverse;
  }

  /* All floating cards become normal flow */
  #amenitiesSlider,
  .mp-content-box,
  .fp-content-box,
  .lm-content-box,
  .ct-content-box {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
  }

  /* Section labels on mobile */
  .right-border-link {
    font-size: 16px;
    border-radius: 5px;
    letter-spacing: 3px;
    padding: 8px 20px;
    width: fit-content;
    position: relative;
    top: 0;
    margin: 20px auto 30px;
    text-align: center;
    background-color: var(--gold) !important;
    color: #fff !important;
    pointer-events: auto;
  }
  .right-border-link::after { display: none; }

  /* Section padding mobile */
  .amenities-section { padding-top: 0; }
  .master-plan-section { padding-top: 20px; padding-bottom: 20px; }
  .location-map-section { padding-top: 20px; }
  .construction-status-section { padding-top: 20px; }

  /* Gallery */
  .project-gallery-section .both-img-flex { flex-direction: column; }
  .project-gallery-section .both-img-flex a { width: 100% !important; height: 250px !important; }
  .project-gallery-section .both-img-flex a:nth-child(1) { margin-bottom: 30px; }
  .project-gallery-section .one-img-flex { margin-bottom: 30px; }

  /* Footer */
  .footer-section .footer-left-text { margin-bottom: 30px; padding-right: 0; }
  .footer-bottom-content .contact-info .row div:nth-child(2) { border: 0; margin: 30px 0; }
  .footer-bottom-content .disclaimer-content { padding-bottom: 30px; }

  /* Popup */
  .popup-form .popup-content { flex-direction: column; }
  .popup-form .popup-left, .popup-form .popup-right { width: 100%; padding: 11px; }
  .popup-form .popup-right h2 { font-size: 16px; margin-bottom: 13px; }
  .popup-form .overlay { align-items: flex-start; padding: 10px 0; }

  /* Mobile CTA bar */
  .right-fixed-bar { display: none !important; }
  .mobile-btn { display: flex !important; }

  /* Body padding for fixed bottom bar */
  body { padding-bottom: 50px; }
  /* Image slider mobile */
  .image-slider .slider-content { flex-direction: column; }
  .slider-content .slider-item { margin: 5px 0; flex: 1 !important; }
  .slider-content .slider-item img { height: 280px; }
  .slider-content .slider-item .slider-bottom-title { font-size: 18px; display: block !important; }
  .slider-content .slider-item .image-bottom-text { display: block !important; }
}

/* ── 560px ────────────────────────────────────────────── */
@media (max-width: 560px) {
  .location-map-section .location-list { flex-direction: column; gap: 15px 0; }
  .location-map-section .location-list .item { width: 100%; }
}
