/* =============================================================================================
   style.css — consolidated full stylesheet
   ============================================================================================= */

/* ================= ROOT VARIABLES ========== */
:root {
  --header-height: 72px;
  --header-height-sm: 64px;
}

/* ========== BODY FIX FOR FIXED HEADER ========== */
body {
  padding-top: var(--header-height);
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #111;
  background: #fff;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

/* ================= FIXED HEADER STYLES ================= */
.site-header {
  position: fixed;          /* Fixed to top */
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  z-index: 1400;
}

/* ================= CONTAINER ================= */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
}

/* ================= HEADER INNER ================= */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  padding: 0;
  box-sizing: border-box;
}

/* ================= LEFT: LOGO AREA ================= */
.logo-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
}

/* image logo sizing */
.logo-img {
  display: block;
  height: calc(var(--header-height) - 32px);
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

/* text logo */
.text-logo {
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.2px;
  color: #056597;
  display: inline-flex;
  align-items: center;
  user-select: none;
  line-height: 1;
}

/* ================= CENTER: NAVIGATION ================= */
.primary-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
  height: 100%;
  align-items: center;
}

.primary-nav ul {
  display: flex;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.primary-nav li {
  flex: 0 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
}

.primary-nav li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 6px;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  transition: background 0.18s ease, color 0.12s ease;
  white-space: nowrap;
}

.primary-nav li a .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-nav li a:hover,
.primary-nav li a:focus {
  background: rgba(128, 64, 128, 0.08);
  color: #3b0d4a;
}

/* active state */
.primary-nav li a.active {
  background: #056597;
  color: #fff;
}

/* brochure animation */
.download-svg {
  animation: pulse 1.6s infinite ease-in-out;
  transform-origin: center;
  display: block;
}

@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ================= RIGHT: TOGGLE BUTTON ================= */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.hamburger {
  width: 22px;
  height: 2px;
  background: #111;
  position: relative;
  display: block;
  transition: transform 0.18s ease, opacity 0.18s;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #111;
  transition: transform 0.18s ease, top 0.18s ease;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* hamburger open state (optional visual) */
.nav-toggle.is-open .hamburger { background: transparent; }
.nav-toggle.is-open .hamburger::before { transform: rotate(45deg) translate(4px, 4px); top: 0; }
.nav-toggle.is-open .hamburger::after  { transform: rotate(-45deg) translate(4px, -4px); top: 0; }

/* ================= MOBILE PANEL (updated for more reliable toggling) ================= */
.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 1450;
  visibility: hidden;            /* hide by default but keep in flow for transitions */
  pointer-events: none;          /* prevent clicks when closed */
  transition: visibility 0.01s linear 0.28s; /* small delay to allow inner transition */
}

.mobile-panel.open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.mobile-panel .mobile-panel-inner {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 78%;
  max-width: 420px;
  background: #fff;
  box-shadow: -12px 0 50px rgba(2,6,23,0.12);
  padding: 1.25rem;
  transform: translateX(110%); /* off-screen by default */
  transition: transform 0.28s cubic-bezier(.2, .9, .3, 1);
  will-change: transform, opacity;
  display: block;
  overflow-y: auto;
}

.mobile-panel.open .mobile-panel-inner {
  transform: translateX(0);     /* slide in */
}

.mobile-close {
  background: none;
  border: 0;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem;
  margin-bottom: 0.5rem;
}

.mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu a {
  display: block;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  color: #111;
  font-weight: 600;
}

/* ================= RESPONSIVE BREAKPOINTS ================= */
@media (min-width: 1200px) {
  :root { --header-height: 72px; }
  body { padding-top: var(--header-height); }
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-panel { display: none; } /* panel not needed on wide screens */
}

@media (max-width: 1199px) {
  :root { --header-height: 72px; }
  body { padding-top: var(--header-height); }
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 520px) {
  :root { --header-height: var(--header-height-sm); }
  body { padding-top: var(--header-height-sm); }
  .header-inner { min-height: var(--header-height-sm); }
  .logo-img {
    height: calc(var(--header-height-sm) - 24px);
    max-height: 40px;
  }
  .text-logo { font-size: 1.2rem; }
}

/* ================= HEADER SECTION END ================= */


/* =============================================================================================
                                   PRE-REGISTER SIDEBAR START 
============================================================================================== */

/* ================= TRP: PRE-REGISTER SIDEBAR START ================= */

/* Screen-reader only helper (prefixed) */
.trp-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  border: 0;
}

/* Default hidden (mobile, tablet) */
.trp-pre-register-sidebar {
  display: none;
}

/* Desktop only */
@media (min-width: 1200px) {
  .trp-pre-register-sidebar {
    display: block;
    position: fixed;
    top: calc(var(--header-height, 72px));
    left: 0;
    width: 20vw;                   /* 20% of viewport width, not causing overflow */
    max-width: 340px;              /* upper limit */
    min-width: 260px;              /* lower limit */
    height: calc(100vh - var(--header-height, 72px));
    box-shadow: 2px 0 18px rgba(2,6,23,0.06);
    background: #fff;
    padding: 28px 22px;
    box-sizing: border-box;
    z-index: 1350;
    overflow-y: auto;              /* scroll only if content taller */
    overflow-x: hidden;
  }

  /* Prevent layout scrollbars caused by sidebar */
  body {
    overflow-x: hidden;
  }
}

/* Form visuals */
.trp-pre-register-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  font-family: inherit;
}

/* Title */
.trp-pre-register-title {
  margin: 0 0 8px 0;
  font-size: 1.05rem;
  color: #222;
  font-weight: 700;
}

/* Inputs */
.trp-pre-register-form input[type="text"],
.trp-pre-register-form input[type="email"],
.trp-pre-register-form input[type="tel"] {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,0.18);
  background: transparent;
  font-size: 0.95rem;
  outline: none;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.trp-pre-register-form input::placeholder { color: #888; }

/* Focus state */
.trp-pre-register-form input:focus {
  border-bottom-color: rgba(75,16,80,0.85);
  box-shadow: 0 6px 18px rgba(75,16,80,0.04) inset;
}

/* Submit button */
.trp-pr-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  border: 0;
  background: #056597;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  text-transform: lowercase;
  letter-spacing: .4px;
  margin-top: 6px;
  width: 100%;
}
.trp-pr-btn:active { transform: translateY(1px); }

/* Message area */
.trp-pr-msg {
  min-height: 22px;
  font-size: 0.95rem;
  color: #0a6a2f;
  margin-top: 6px;
}

/* Error style override */
.trp-pre-register-form .error { color: #b91c1c; }

/* Hide sidebar in print */
@media print {
  .trp-pre-register-sidebar { display: none !important; }
}

/* ================= TRP: PRE-REGISTER SIDEBAR END ================= */

/* =============================================================================================
                                   PRE-REGISTER SIDEBAR END 
============================================================================================== */


/* =============================================================================================
                                   REGISTER MODAL START 
============================================================================================== */

/* ================= REGISTER MODAL START ================= */
/* Modal overlay + centered panel, responsive
   Updated: removed country code dropdown, adjusted phone-row spacing.
*/

/* small utility */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* modal root - hidden by default (JS toggles .show or inline style) */
.register-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1500;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* -------------------------- Show helper -------------------------- */
.register-modal.show { display: block !important; }

/* backdrop - semi-opaque */
.register-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 17, 32, 0.60);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 220ms ease;
  z-index: 1500;
}
.register-modal.show .register-backdrop {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* panel centered in viewport */
.register-panel {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.98);
  z-index: 1501;
  width: 88%;
  max-width: 980px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(3, 12, 32, 0.45);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms cubic-bezier(.2,.9,.3,1);
  will-change: transform, opacity;
  box-sizing: border-box;
}
.register-modal.show .register-panel {
  opacity: 1 !important;
  transform: translate(-50%, -50%) scale(1) !important;
}

/* close button */
.register-close {
  position: absolute;
  right: 12px;
  top: 10px;
  background: rgba(48,64,80,0.06);
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #33475b;
  cursor: pointer;
  z-index: 1510;
  transition: background .12s ease, transform .08s ease;
}
.register-close:hover { background: rgba(48,64,80,0.12); transform: translateY(-1px); }
.register-close:focus { outline: 3px solid rgba(75,16,80,0.14); outline-offset: 2px; }

/* inner layout: two columns */
.register-inner {
  display: flex;
  width: 100%;
  min-height: 220px;
  box-sizing: border-box;
}

/* left brand column */
.register-brand {
  width: 34%;
  min-width: 220px;
  background: linear-gradient(180deg,#f7f9fb,#fff);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  box-sizing: border-box;
  border-right: 1px solid rgba(0,0,0,0.04);
}
.register-logo {
  width: 84px;
  height: auto;
  display: block;
  object-fit: contain;
}
.register-brand-text .brand-name {
  font-weight: 800;
  letter-spacing: .6px;
  color: #056597;
  font-size: 1.50rem;
}
.register-brand-text .brand-sub {
  font-size: .78rem;
  color: #586b7a;
}
.brand-promises { list-style: none; padding: 6px 0 0 0; margin: 0; color: #2d4a5a; }
.brand-promises li { margin: 8px 0; font-weight: 600; }

/* right form column */
.register-form-wrap {
  width: 66%;
  padding: 22px 28px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

/* Title */
.register-title {
  margin: 2px 0 6px 0;
  font-size: 1.15rem;
  color: #172b3a;
}
.register-title .accent { color: #c93b4b; font-weight: 700; }

/* ---------- Form layout & fields ---------- */
.register-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}

/* uniform input styles */
.register-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="tel"] {
  height: 44px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(13,23,34,0.08);
  border-radius: 6px;
  background: #fff;
  font-size: 0.95rem;
  outline: none;
  box-sizing: border-box;
  transition: box-shadow .12s ease, border-color .12s ease;
}
.register-form input::placeholder { color: #9aa5ad; }

.register-form input:focus {
  border-color: rgba(75,16,80,0.85);
  box-shadow: 0 8px 20px rgba(75,16,80,0.06);
  outline: none;
}

/* ---------- Phone row (no country select now) ---------- */
.phone-row {
  display: block;
}
.phone-row input {
  width: 100%;
  height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(13,23,34,0.08);
  border-radius: 6px;
  background: #fff;
  font-size: 0.95rem;
  box-sizing: border-box;
}

/* ---------- Submit button ---------- */
.register-submit,
.register-submit[type="submit"],
.register-form .register-submit {
  margin: 12px auto 0;
  padding: 12px 22px;
  border-radius: 8px;
  border: 0;
  color: white;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(90deg,#056597,#9f5b84);
  box-shadow: 0 8px 18px rgba(127,66,105,0.18);
  transition: transform .12s ease, box-shadow .12s ease;
  position: relative;
  overflow: hidden;
  display: block;
  width: 140px;
  text-align: center;
}
.register-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(127,66,105,0.18);
}

/* moving highlight */
.register-submit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.18), rgba(255,255,255,0.06));
  mix-blend-mode: overlay;
  animation: submit-glow 2.4s infinite linear;
}
@keyframes submit-glow {
  0% { transform: translateX(-100%); opacity: 0.5; }
  50% { transform: translateX(0%); opacity: 1; }
  100% { transform: translateX(100%); opacity: 0.5; }
}

/* message */
.register-msg {
  min-height: 20px;
  color: #0a6a2f;
  font-size: .95rem;
}

/* ---------- Responsive adjustments ---------- */
@media (max-width: 880px) {
  .register-panel {
    max-width: 720px;
    width: 92%;
    border-radius: 8px;
    box-sizing: border-box;
  }
  .register-inner { flex-direction: column; }
  .register-brand {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    align-items: center;
    text-align: center;
    padding: 14px;
  }
  .brand-promises { display: none; }
  .register-form-wrap { width: 100%; padding: 18px; }
  .register-logo { margin: 4px 0; max-width: 72px; }
  .register-close { right: 8px; top: 6px; width: 32px; height: 32px; font-size: 18px; }
  .register-submit { width: 100%; margin: 8px 0 0 0; }
}

@media (max-width: 480px) {
  .register-panel {
    width: 96%;
    max-width: 520px;
    border-radius: 6px;
  }
  .register-title { font-size: 1rem; }
  .register-brand { padding: 12px; }
  .register-form-wrap { padding: 12px; }
}

/* safety */
.register-panel,
.register-backdrop,
.register-modal { box-sizing: border-box; overflow-x: hidden; }

/* ================= REGISTER MODAL END ================= */


/* =============================================================================================
                                   REGISTER MODAL END 
============================================================================================== */


/* =============================================================================================
                                   SLIDER SECTION START
============================================================================================== */

/* ================= SLIDER SECTION START ================= */
/* Slider styles for the gallery section.
   Adjusted height so it takes less vertical space than full screen.
*/

.gallery-slider {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* The visible slider area (fills space beside left form) */
.slider-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 12px 12px;
  background: #000;
  /* reduced height for desktop view */
  height: 80vh; /* now takes 80% of visible screen height */
}

/* Offset by left form (20%) only on desktop */
@media (min-width: 1200px) {
  .slider-viewport {
    margin-left: 20vw; /* matches your left form width */
    width: calc(100% - 20vw);
    height: 90vh; /* slightly smaller on large screens */
  }
}

/* On tablet or small desktop */
@media (max-width: 1199px) and (min-width: 768px) {
  .slider-viewport {
    margin-left: 0;
    width: 100%;
    height: 70vh; /* reduced a bit more for mid screens */
  }
}

/* On mobile, full width but smaller height */
@media (max-width: 767px) {
  .slider-viewport {
    margin-left: 0;
    width: 100%;
    height: 55vh; /* smaller height for mobiles */
  }
}

/* Slides layout */
.slides {
  display: flex;
  transition: transform 0.7s ease-in-out;
  height: 100%;
  will-change: transform;
}

.slide {
  min-width: 100%;
  flex: 0 0 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Pagination dots */
.pagination {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
  pointer-events: auto;
}

.pagination button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.pagination button.active {
  background: #056597; /* your theme accent color */
  transform: scale(1.3);
}

/* ================= SLIDER SECTION END ================= */



/* =============================================================================================
                                   SLIDER SECTION END 
============================================================================================== */


/* =============================================================================================
                                   PROJECT INFO PANEL START 
============================================================================================== */

/* ================= PROJECT INFO PANEL START ================= */

.project-info {
  position: absolute; /* ✅ changed from absolute to fixed — stays in place while scrolling */
  top: calc(var(--header-height, 72px) + 12px); /* ✅ always just below the header */
  right: 1vw;               /* slight inset from right edge for breathing room */
  width: 20vw;
  min-width: 260px;
  max-width: 380px;
  padding: 18px;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(6,6,6,0.35) 0%, rgba(4,4,4,0.55) 100%);
  box-shadow: 0 10px 30px rgba(6,10,18,0.28);
  backdrop-filter: blur(4px);
  /* isolation prevents weird stacking interactions with parents */
  isolation: isolate;
  /* Keep this below the modal's z-index (modal uses very high z-index) */
  z-index: 1200; /* ✅ slightly lower than modal but above content */
}

/* Badge */
.project-info .pi-badge {
  align-self: center;
  background: #056597;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 0.86rem;
  border-radius: 4px;
  letter-spacing: .6px;
  color: #fff;
}

/* Titles */
.project-info .pi-title h3,
.project-info .pi-title h4 {
  margin: 6px 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}
.project-info .pi-location {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.95);
}
.project-info .pi-builder {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.9);
}

/* Details */
.pi-details {
  margin: 6px 0 0;
  padding: 10px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.95);
}
.pi-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 6px 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.95);
}
.pi-row dt { font-weight: 700; opacity: 0.95; }
.pi-row dd { margin:0; font-weight: 600; opacity: 0.95; }

/* Offer band */
.pi-offer { margin-top: 6px; }
.pi-offer-line {
  background: rgba(255,255,255,0.04);
  padding: 10px;
  text-align: center;
  font-weight: 700;
  color: #fff;
  border-radius: 3px;
  font-size: 0.92rem;
}
.pi-offer-highlight {
  margin-top: 6px;
  background: #056597;
  padding: 10px;
  text-align: center;
  font-weight: 800;
  color: #fff;
  border-radius: 3px;
  font-size: 0.98rem;
  box-shadow: 0 6px 14px rgba(75,16,80,0.15);
}

/* Price block */
.pi-price { margin-top: 10px; text-align: center; color: #fff; }
.pi-price .pi-small { font-size: 0.92rem; opacity: 0.95; color: rgba(255,255,255,0.95); }
.pi-price .pi-large {
  margin-top: 4px;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
  text-shadow: 0 4px 18px rgba(11,10,12,0.35);
}
.pi-price .pi-crore { font-size: 1.2rem; font-weight: 900; margin-left: 4px; }
.pi-price .pi-onwards { display: block; font-size: 0.9rem; font-weight: 700; margin-top: 6px; opacity: 0.95; }

/* CTA */
.pi-cta { 
  margin-top: 10px; 
  display: flex; 
  justify-content: center; 
}

.pi-cta .btn { 
  min-width: 160px; 
  padding: 10px 18px; 
  border-radius: 6px; 
  font-weight: 700; 
  cursor: pointer; 
  border: none; 
  background: #056597;   /* ✅ Added background color */
  color: #fff;           /* ✅ Added text color */
}


/* ================= Responsive: mobile & tablet ================= */
/* Convert to centered white card below slider and center content */
@media (max-width: 1199px) {
  .project-info {
    position: static; /* ✅ stays below hero image for tablets/mobiles */
    top: auto;
    right: auto;
    width: 100%;
    min-width: auto;
    max-width: none;
    border-radius: 8px;
    margin: 18px 0 0;
    background: #fff;
    color: #111;
    box-shadow: 0 6px 18px rgba(6,10,18,0.06);
    padding: 18px;
    z-index: 20;
    backdrop-filter: none;
    /* center all text and children */
    text-align: center;
    align-items: center;
  }

  /* Badge centered */
  .project-info .pi-badge {
    margin: 0 auto 10px;
    background: #056597;
    color: #fff;
  }

  /* Titles: accent color and centered */
  .project-info .pi-title h3,
  .project-info .pi-title h4 {
    color: #056597;
    margin: 6px 0;
  }
  .project-info .pi-location,
  .project-info .pi-builder { color: #333; opacity: 0.95; }

  /* Details: make each row stack and center for narrow screens */
  .pi-details {
    background: #f7f7f8;
    padding: 14px;
    width: 100%;
  }
  .pi-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95rem;
    color: #111;
  }

  /* Offer / highlight */
  .pi-offer-line { color: #111; background: transparent; }
  .pi-offer-highlight { background: #056597; color: #fff; }

  /* Price styling for mobile */
  .pi-price .pi-large { font-size: 2.2rem; color: #056597; text-shadow: none; }

  /* Button centered */
  .pi-cta { justify-content: center; width: 100%; }
  .pi-cta .btn { min-width: 180px; }
}

/* ================= PROJECT INFO PANEL END ================= */



/* =============================================================================================
                                   PROJECT INFO PANEL END 
============================================================================================== */



/* =============================================================================================
                                   PROJECT OVERVIEW START 
============================================================================================== */
/* ===================== OVERVIEW SECTION STYLES (UPDATED - BUTTON FIXED) ===================== */
/* Core section — light background area (right-side pale color) */
.overview-section {
  background: #e8f0f3;
  padding: 10px 0;
  box-sizing: border-box;
}

/* Container that centers the white card — JS will update its padding-left */
.overview-container {
  position: relative;
  margin: 0 auto;
  max-width: 1520px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 16px;
  box-sizing: border-box;
  transition: padding-left 180ms ease;
}

/* ========== WIDER WHITE BOX STYLE ========== */
.overview-box {
  position: relative;
  width: 100%;
  max-width: 1350px;
  background: #fff;
  padding: 60px 70px 70px 70px; /* 🔹 adjusted: equal padding on both sides */
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(20, 30, 40, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  overflow: hidden; /* 🔹 ensures content (button) stays inside */
}

/* Mobile-only inline label */
.overview-mobile-label {
  display: none;
  font-weight: 700;
  margin-bottom: 12px;
  color: rgba(43, 35, 64, 0.95);
}

/* Typography */
.ov-title {
  margin: 0 0 8px;
  font-size: 48px;
  line-height: 1.02;
  font-weight: 900;
  color: #056597;
  letter-spacing: -0.5px;
}
.ov-subtitle { margin: 0 0 18px; font-size: 20px; color:#3d3555; font-weight:600; }
.ov-lead { font-weight:700; margin-bottom: 14px; color:#222; }
.ov-paragraphs p { margin-bottom:18px; color:#333; font-size:17px; line-height:1.9; }

/* Download button */
.ov-cta {
  margin-top: 24px; /* 🔹 adds breathing room */
  margin-bottom: 0;
  display: flex;
  justify-content: flex-start;
}
.btn-brochure {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #056597;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(111, 31, 87, 0.12);
  white-space: nowrap;
}
.btn-brochure .btn-icon { animation: arrow-drop 1.1s ease-in-out infinite; }
@keyframes arrow-drop {
  0% { transform: translateY(0); }
  45% { transform: translateY(6px); opacity: .75; }
  80% { transform: translateY(2px); }
  100% { transform: translateY(0); }
}
.btn-dots {
  display: inline-flex;
  gap: 6px;
  margin-left: 8px;
  align-items: center;
}
.btn-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  display: inline-block;
}

/* downloading animation */
.btn-brochure.downloading .btn-dots span:nth-child(1) { animation: dotPulse .9s infinite .05s; }
.btn-brochure.downloading .btn-dots span:nth-child(2) { animation: dotPulse .9s infinite .22s; }
.btn-brochure.downloading .btn-dots span:nth-child(3) { animation: dotPulse .9s infinite .38s; }
@keyframes dotPulse {
  0% { opacity: 0; transform: translateY(-2px); }
  30% { opacity: 1; transform: translateY(0); }
  60% { opacity: .3; transform: translateY(-1px); }
  100% { opacity: 0; transform: translateY(-2px); }
}
.btn-brochure[aria-busy="true"] { pointer-events: none; opacity: .98; }

/* Vertical label inside card — rotated using writing-mode */
.vertical-label {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  width: 72px;
  background: transparent;
  border: 0;
  writing-mode: vertical-rl;
  color: rgba(43, 35, 64, 0.95);
  font-size: 60px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  box-sizing: border-box;
}
.vertical-label:focus { outline: 3px solid rgba(111, 31, 87, 0.12); border-radius: 4px; }

/* Tablet: reduce paddings & sizes */
@media (max-width: 1199px) and (min-width: 768px) {
  .overview-box {
    max-width: 980px;
    padding: 40px 36px 50px 36px; /* 🔹 tightened padding for tablet */
  }
  .ov-title { font-size: 40px; }
  .ov-subtitle { font-size: 18px; }
  .vertical-label { right: 8px; font-size: 20px; width: 44px; }
  .ov-cta { justify-content: center; } /* 🔹 center button for tablet */
}

/* Mobile: stacked layout, hide vertical label and show inline label */
@media (max-width: 767px) {
  .overview-section { padding: 20px 12px; }
  .overview-container { display: block; max-width: 100%; padding: 0 12px; }
  .overview-box {
    padding: 20px 20px 28px 20px;
    max-width: 100%;
    border-radius: 10px;
  }
  .vertical-label { display: none; }
  .overview-mobile-label { display: block; }
  .ov-title { font-size: 26px; }
  .ov-subtitle { font-size: 15px; }
  .ov-paragraphs p { font-size: 15px; line-height: 1.6; }
  .btn-brochure {
    width: 100%;
    justify-content: center;
    font-size: 16px;
  }
  .ov-cta { justify-content: center; }
}

/* Ensure container resets on smaller screens */
@media (max-width: 1199px) {
  .overview-container { padding-left: 0 !important; padding-right: 16px; }
}
@media (max-width: 767px) {
  .overview-container { padding-left: 12px !important; padding-right: 12px !important; }
}

/* Helper */
.fixed-sidebar, #left-form, .side-form, .enquiry-form { z-index: 60; position: relative; }



/* =============================================================================================
                                   PROJECT OVERVIEW END 
============================================================================================== */



/* =============================================================================================
                                   SITE & FLOOR PLAN START 
============================================================================================== */

/* ================= SITE & FLOOR PLAN STYLES (MATCH OVERVIEW LOOK) ================= */

/* Section wrapper — pale right-side background same as overview */
.site-floor-section {
  background: #e8f0f3;
  padding: 10px 0;
  box-sizing: border-box;
}

/* Container centers the white card */
.site-floor-container {
  position: relative;
  margin: 0 auto;
  max-width: 1520px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 16px;
  box-sizing: border-box;
  transition: padding-left 180ms ease;
}

/* White box container */
.site-floor-box {
  position: relative;
  width: 100%;
  max-width: 1350px;
  background: #fff;
  padding: 80px 80px 80px 48px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(20, 30, 40, 0.08);
  border: 1px solid rgba(0,0,0,0.04);
  box-sizing: border-box;
  overflow: visible;
  min-height: 360px; /* slightly taller box */
}

/* mobile: add small horizontal margin so white box isn't flush-left */
@media (max-width: 767px) {
  .site-floor-box {
    margin-left: 20px;
    margin-right: 8px;
  }
}

/* Decorative subtle background band removed (simplified look) */
.site-floor-box::after {
  display: none;
}

/* mobile inline label (hidden on desktop) */
.site-floor-mobile-label {
  display: none;
  font-weight: 700;
  color: #2b2340;
  margin-bottom: 12px;
}

/* Smaller grid of cards (4 columns instead of 3) */
.sf-grid {
  display: grid;
  grid-template-columns: repeat(4, 0.4fr);
  gap: 24px;
  align-items: start;
}

/* Card styling */
.sf-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 6px;
  overflow: visible;
  box-shadow: 0 4px 12px rgba(20,30,40,0.05);
  border: 1px solid rgba(0,0,0,0.04);
  width: 100%;
  position: relative;
  margin-top: 28px;
}

/* Smaller aspect ratio for smaller cards */
.sf-card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  background: #f3f3f3;
  display: block;
  overflow: hidden;
  min-height: 180px;
}

/* Top badge above card */
.sf-top-badge {
  position: absolute;
  left: 6px;
  top: -40px;
  z-index: 40;
  background: #ffffff;
  color: #2b2340;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(20,30,40,0.06);
  transform-origin: left center;
  pointer-events: none;
}

/* Images fill box - keep image visually below overlay */
.sf-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center;
  transition: transform 300ms ease;
  position: relative;
  z-index: 1; /* ensure image is below overlay/button */
}

/* Overlay on hover - bring above image and allow interactions only when visible */
.sf-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12,12,12,0.48);
  opacity: 0;
  transition: opacity 200ms ease;
  z-index: 20;          /* IMPORTANT: put overlay above image */
  pointer-events: none; /* disable pointer events when hidden */
}

/* show overlay on hover / keyboard focus and enable pointer-events so button can be clicked */
.sf-card:hover .sf-overlay,
.sf-card:focus-within .sf-overlay {
  opacity: 1;
  pointer-events: auto; /* allow clicks when visible */
}

/* View button */
.sf-view-btn {
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.85);
  color: #fff;
  padding: 12px 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 4px;
  cursor: pointer;
  backdrop-filter: blur(2px);
  z-index: 30;          /* ensure button is above overlay contents */
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

/* keyboard focus visible */
.sf-view-btn:focus {
  outline: 3px solid rgba(91,33,80,0.14);
  outline-offset: 2px;
}

/* Caption bar */
.sf-card-caption {
  background: #056597;
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 10px 8px;
  font-size: 15px;
}

/* Vertical label — now INSIDE the white box (matches Overview)
   — single line only (no wrapping). */
.sf-vertical-label {
  position: absolute;
  right: 12px; /* inside the white box */
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  width: 80px;
  writing-mode: vertical-rl;
  color: #2b2340;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: transparent;
  border: none;
  z-index: 10;
  pointer-events: none;
  white-space: nowrap; /* ensure one line only */
}

/* Lightbox */
.sf-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
.sf-lightbox[aria-hidden="false"] {
  display: flex;
}
.sf-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}
.sf-lightbox-panel {
  position: relative;
  z-index: 100000;
  max-width: 92%;
  max-height: 92%;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  background: #111;
  padding: 18px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sf-lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  object-fit: contain;
}
.sf-lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 28px;
  cursor: pointer;
  z-index: 100001;
}

/* ================= SITE & FLOOR: container accepts left offset ================= */
@media (max-width: 1199px) {
  .site-floor-container {
    padding-left: 0 !important;
  }
}

/* Responsive adjustments */
@media (max-width: 1199px) {
  .sf-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .sf-card-media {
    aspect-ratio: 16/9;
    min-height: 200px;
  }
  .sf-vertical-label {
    display: none;
  }
}

@media (max-width: 767px) {
  .site-floor-container {
    padding: 0 12px;
  }
  .site-floor-box {
    padding: 18px;
    border-radius: 10px;
  }
  .sf-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sf-card-media {
    aspect-ratio: 4/3;
    min-height: 180px;
  }
  .sf-top-badge {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin: 8px 12px;
    box-shadow: none;
    background: rgba(255,255,255,0.98);
    pointer-events: auto;
  }
  .sf-card { margin-top: 6px; }
  .sf-vertical-label { display: none; }
}

/* small accessibility improvement: focus ring for inline badges */
.sf-top-badge:focus {
  outline: 3px solid rgba(91,33,80,0.14);
}

/* ================= SITE & FLOOR PLAN STYLES END ================= */



/* =============================================================================================
                                   SITE & FLOOR PLAN END 
============================================================================================== */

/* =============================================================================================
                                   PRICING SECTION START 
============================================================================================== */
/* ========== PRICE SECTION CSS START (TABLET KEEPS ROWS; MOBILE STACKS) ========== */

/* Pale background */
.price-section {
  background: #e8f0f3;
  padding: 0px 0;
  box-sizing: border-box;
}

/* Card wrapper */
.price-card {
  position: relative;
  margin: 0 auto;
  max-width: 1350px;
  padding: 10px 16px 0px 2px;
  box-sizing: border-box;
}

/* White panel */
.price-panel {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 12px;
  padding: 22px 28px;
  box-shadow: 0 10px 40px rgba(20,30,40,0.06);
  box-sizing: border-box;
  overflow: visible;
}

/* Vertical rotated label inside panel (right) */
.price-vertical {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-weight: 400;
  font-size: 60px;
  color: #2b2340;
  opacity: .95;
  pointer-events: none;
  user-select: none;
  z-index: 5;
}

/* Grid */
.price-grid { display: grid; grid-template-columns: 0.5fr 0.4fr; gap: 28px; align-items: start; }

/* Table container */
.price-table {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eef2f5;
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
}

/* Rows (applies to tr.row) */
.price-table .row {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr 0.85fr;
  align-items: center;
  border-bottom: 1px solid #f3f6f8;
  background: #fff;
}
.price-table .row--head { background: #fbfdff; font-weight: 700; color: #122036; }
.price-table .row:last-child { border-bottom: 0; }

/* Cells (th / td) */
.price-table .cell {
  padding: 18px 14px;
  box-sizing: border-box;
  font-size: 15px;
  color: #1f2b3a;
  text-align: left;
  vertical-align: middle;
}
.price-table .cell .cell-text { color: #64758a; }

/* SBA cell */
.price-table .cell--sba { display:flex; align-items:center; gap:10px; }

/* Price cell inline */
.price-table .cell--price {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 12px;
  white-space:nowrap;
}
.price-table .price-val { font-weight:700; color:#172b4d; margin-right:6px; }

/* Buttons */
.btn {
  border-radius: 999px;
  padding: 8px 12px;
  font-weight:700;
  cursor:pointer;
  border:1px solid transparent;
  background:transparent;
  font-size:13px;
  line-height:1;
  white-space:nowrap;
}
.btn-outline { color:#056597; border-color:#056597; background:#fff; }
.btn-outline:hover { background:#056597; color:#fff; }

/* Right column */
.price-right { display:flex; flex-direction:column; gap:18px; align-items:stretch; }

/* Image + overlay */
.image-wrap {
  position: relative;
  display:block;
  border-radius:6px;
  overflow:hidden;
  border:1px solid #efeff2;
  background:#fff;
}
.image-preview { display:block; width:100%; height:auto; object-fit:cover; }
.image-overlay {
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  background: rgba(0,0,0,0.35);
  opacity:0;
  transition: opacity .18s ease;
  pointer-events:none;
}
.image-wrap:hover .image-overlay,
.image-wrap:focus-within .image-overlay {
  opacity:1;
  pointer-events:auto;
}
.image-view-btn {
  padding:12px 18px;
  border-radius:999px;
  background:#fff;
  color:#056597;
  font-weight:800;
  border:2px solid #056597;
  cursor:pointer;
  white-space:nowrap;
}

/* CTA pill */
.cta {
  width:100%;
  padding:16px 22px;
  border-radius:40px;
  background: #056597;
  color:#fff;
  font-weight:800;
  border:0;
  text-align:center;
  cursor:pointer;
  box-shadow:0 10px 30px rgba(43,35,64,0.12);
}

/* Desktop offset for large screens */
@media (min-width:1200px) {
  .price-card { max-width: 1350px; margin-left: calc(20vw + 16px); }
}

/* ================= RESPONSIVE RULES ================= */

/* ---------- Tablet (>=576px and <=1024px) — KEEP ROW (column-wise) ---------- */
/* Tablet keeps the three-column grid for each row so it stays as Type | SBA | Price */
@media (min-width: 576px) and (max-width: 1024px) {
  /* layout: left + right columns but allow narrower right column */
  .price-grid { grid-template-columns: 1fr 0.95fr; gap: 22px; }

  /* Keep table header visible on tablet */
  .price-table thead { display: table-header-group; }

  /* Keep rows in horizontal column layout (3 columns) */
  .price-table .row {
    display: grid;
    grid-template-columns: 0.9fr 1.35fr 0.85fr;
    gap: 0;
  }

  /* regular cell rules (no stacking) */
  .price-table .cell { display: block; padding: 14px 12px; border-top: 0; }
  .price-table .cell--price {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap: 12px;
    white-space: nowrap;
  }

  /* image overlay & CTA minor adjustments */
  .image-view-btn { padding: 10px 14px; font-size: 14px; }
  .cta { padding: 14px 18px; font-size: 15px; }

  /* hide vertical label */
  .price-vertical { display: none; }
}

/* ---------- Mobile (<=575.98px) — STACKED CARD STYLE ---------- */
/* On phones we hide the thead and turn each row into a stacked card with labels */
@media (max-width: 575.98px) {
  /* hide header on mobile to avoid duplication */
  .price-table thead,
  .price-table .row--head {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* stack grid to single column: table + image */
  .price-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* white card centering */
  .price-card { margin-left: 0 !important; padding-left: 12px; padding-right: 12px; }

  /* each data row becomes a card */
  .price-table .row {
    display: block !important;
    margin: 12px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eef2f5;
    background: #fff;
    box-shadow: none;
  }

  /* stack cells inside the card */
  .price-table .row .cell {
    display: block;
    padding: 12px 14px;
    border-top: 1px solid #f3f6f8;
    position: relative;
  }
  .price-table .row .cell:first-child { border-top: 0; }

  /* Insert labels before each value - scoped to tbody only */
  .price-table tbody .row .cell:nth-child(1)::before {
    content: "Type";
    display: block;
    font-weight: 700;
    color: #122036;
    margin-bottom: 8px;
    font-size: 14px;
  }
  .price-table tbody .row .cell:nth-child(2)::before {
    content: "SBA";
    display: block;
    font-weight: 700;
    color: #122036;
    margin-bottom: 8px;
    font-size: 14px;
  }
  .price-table tbody .row .cell:nth-child(3)::before {
    content: "Price";
    display: block;
    font-weight: 700;
    color: #122036;
    margin-bottom: 8px;
    font-size: 14px;
  }

  /* SBA text style and spacing */
  .price-table .cell-text { color: #64758a; margin-top: 4px; display: block; }

  /* Price cell layout: keep price & button on same horizontal line */
  .price-table .cell--price {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .price-table .price-val { font-weight: 800; color: #172b4d; margin: 0; }

  /* Buttons */
  .btn { padding: 8px 10px; font-size: 13px; }

  /* image and cta adjustments for small phones */
  .image-view-btn { padding: 10px 12px; font-size: 14px; }
  .cta { padding: 12px 14px; border-radius: 28px; font-size: 15px; }

  /* hide vertical label */
  .price-vertical { display: none; }
}

/* Narrow mobile small tweaks */
@media (max-width: 400px) {
  .price-table .cell { padding: 10px; font-size: 14px; }
  .btn { padding: 7px 10px; font-size: 13px; }
  .cta { padding: 10px 12px; font-size: 14px; }
}

/* ========== PRICE SECTION CSS END (TABLET KEEPS ROWS; MOBILE STACKS) ========== */



/* =============================================================================================
                                   PRICING SECTION END 
============================================================================================== */

/* =============================================================================================
                                   GALLERY START 
============================================================================================== */

/* ================= GALLERY SECTION CSS START (UPDATED: buttons under title on tablet/mobile) ================= */

.project-gallery { padding: 10px 0; box-sizing: border-box; background-color: #e8f0f3;}
.project-gallery .pg-container {
  margin: 0 auto;
  max-width: 1520px;
  padding: 0 16px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  transition: margin-left 180ms ease, max-width 180ms ease;
}

/* White card */
.project-gallery .pg-card {
  position: relative;
  width: 100%;
  max-width: 1350px;
  background: #fff;
  padding: 60px 70px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(20,30,40,0.08);
  border: 1px solid rgba(0,0,0,0.04);
  box-sizing: border-box;
  overflow: visible;
}

/* Right vertical label inside white card */
.project-gallery .pg-vertical {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 40px;
  font-weight: 700;
  color: rgba(43,35,64,0.95);
  pointer-events: none;
  user-select: none;
  width: 72px;
  text-align: center;
}

/* Header: title + filters */
/* NOTE: we keep header row on desktop; on tablet/mobile it will become column (buttons below title) */
.project-gallery .pg-header {
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:18px;
  flex-wrap:wrap;
  justify-content: flex-start;
}
.project-gallery .pg-title { margin:0; font-size:28px; color:#2b2340; font-weight:800; }
.project-gallery .pg-filters { display:inline-flex; gap:10px; align-items:center; }

/* Filter buttons */
.pg-filter {
  padding: 8px 14px;
  border-radius: 8px;
  border: 2px solid rgba(75,16,80,0.12);
  background: transparent;
  font-weight:700;
  cursor:pointer;
  color:#2b2340;
  white-space: nowrap;
}
.pg-filter--active,
.pg-filter:focus,
.pg-filter:hover {
  background: #056597;
  color: #fff;
  border-color: #056597;
}
.pg-filter:focus { outline: 3px solid rgba(75,16,80,0.12); outline-offset: 2px; }

/* Grid layout: 4 columns desktop */
.project-gallery .pg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 8px;
}

/* Item/card */
.project-gallery .pg-item { display:block; }
.project-gallery .pg-media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f3f3;
  min-height: 180px;
  display: block;
}
.project-gallery .pg-media img { width: 100%; height: 100%; object-fit: cover; display:block; }

/* Overlay & view button */
.project-gallery .pg-overlay {
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  background: rgba(12,12,12,0.36); opacity: 0; transition: opacity .18s ease;
  pointer-events: none;
}
.project-gallery .pg-media:focus-within .pg-overlay,
.project-gallery .pg-item:hover .pg-overlay,
.project-gallery .pg-item:focus-within .pg-overlay { opacity: 1; pointer-events: auto; }
.project-gallery .pg-view {
  padding: 10px 16px; border-radius: 6px; border: 2px solid rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.08); color: #fff; font-weight:700; cursor:pointer; backdrop-filter: blur(2px);
}

/* Tablet (<=1199px): STACK header vertically so filters appear below title */
@media (max-width: 1199px) {
  .project-gallery .pg-container { display:block; padding: 0 16px; }
  .project-gallery .pg-card { padding: 40px 36px; max-width: 980px; border-radius: 10px; }
  .project-gallery .pg-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .project-gallery .pg-vertical { display: none; }

  /* key change: stack header so filters go below title */
  .project-gallery .pg-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .project-gallery .pg-filters {
    margin-top: 6px;
  }
}

/* Mobile (<=767px): 2 columns, buttons below title */
@media (max-width: 767px) {
  .project-gallery .pg-card { padding: 20px; }
  .project-gallery .pg-title { font-size:22px; }
  .project-gallery .pg-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .project-gallery .pg-media { min-height: 140px; }
  .project-gallery .pg-vertical { display: none; }

  /* ensure stacked header on mobile as well */
  .project-gallery .pg-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .project-gallery .pg-filters { margin-top: 6px; }
}

/* Desktop fallback to avoid going under left fixed sidebar if JS missing:
   This provides a reasonable default (20vw) and is overridden by JS when available. */
@media (min-width: 1200px) {
  .project-gallery .pg-container {
    margin-left: calc(20vw + 16px);
    max-width: calc(100% - (20vw + 48px));
  }
}

/* ================= GALLERY SECTION CSS END ================= */


/* =============================================================================================
                                   GALLERY END 
============================================================================================== */


/* =============================================================================================
                                    VIRTUAL SITE TOUR START 
============================================================================================== */

/* =========================
   VIRTUAL SITE TOUR — FINAL FIXED CSS
   ========================= */

/* Section baseline */
.virtual-section-small {
  box-sizing: border-box;
  background: #e8f0f3;
  padding: 10px 16px;
}

/* Desktop: clear left sidebar (20vw pattern) — only adjust left padding on very wide screens */
@media (min-width: 1200px) {
  .virtual-section-small {
    padding-left: calc(20vw + 36px);
  }
}
@media (min-width: 1100px) and (max-width: 1199px) {
  .virtual-section-small { padding-left: calc(20vw + 26px); }
}
@media (max-width: 1099px) {
  .virtual-section-small { padding-left: 16px; padding-right: 16px; }
}

/* Wrapper */
.virtual-box-small {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0px;
  box-sizing: border-box;
}

/* Top heading (INSIDE white card on tablet/mobile) */
.virtual-top-heading {
  display: none;              /* hidden on desktop */
  font-size: 28px;
  font-weight: 800;
  color: #2b2340;
  margin: 0 0 18px 0;
  padding-left: 8px;
}

/* White inner card */
.virtual-content {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 12px 36px rgba(20,30,40,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  overflow: visible;
  box-sizing: border-box;
}

/* Reserve right space for rotated label on >=1200 only */
@media (min-width: 1200px) {
  .virtual-content { padding-right: calc(72px + 28px); }
}
@media (max-width: 1199px) {
  .virtual-content { padding-right: 18px; }
}

/* Consistent height settings */
.virtual-card {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  box-sizing: border-box;
  min-height: 220px;
}

/* Desktop heights */
@media (min-width: 1400px) {
  .virtual-card { height: 420px; min-height: 380px; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .virtual-card { height: 380px; min-height: 340px; }
}
/* Tablet */
@media (min-width: 992px) and (max-width: 1199px) {
  .virtual-card { height: 340px; min-height: 300px; }
}
/* Mobile */
@media (max-width: 991px) {
  .virtual-card { height: 34vh; min-height: 180px; }
}

/* Thumbnail fills card */
.vc-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-select: none;
  user-select: none;
}

/* Overlay & center band */
.vc-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.36) 70%);
  pointer-events: none;
}
.vc-band {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 110px;
  background: rgba(0,0,0,0.28);
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* Play button */
.vc-play {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  box-shadow: 0 10px 34px rgba(43,35,64,0.12);
}
.vc-play:focus {
  outline: 3px solid rgba(5,101,151,0.16);
  outline-offset: 4px;
}
.vc-triangle {
  width: 0;
  height: 0;
  border-left: 20px solid rgba(43,35,64,0.95);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  display: inline-block;
}

/* Caption */
.vc-caption {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  z-index: 5;
  text-align: center;
  color: #fff;
  text-shadow: 0 8px 24px rgba(0,0,0,0.45);
  width: 92%;
}
.vc-title { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.4px; }
.vc-sub { margin: 6px 0 0; font-size: 14px; opacity: 0.95; }

/* Rotated label inside white card (desktop only) */
.virtual-side {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  width: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  pointer-events: none;
  user-select: none;
}
.virtual-side span {
  font-size: 32px;
  font-weight: 800;
  color: #2b2340;
  white-space: nowrap;
}
.virtual-side { padding-right: 6px; }

/* ================================
   Responsive Fix: heading inside card
   ================================ */
@media (max-width: 1099px) {
  /* Heading visible INSIDE white box */
  .virtual-top-heading {
    display: block;
    position: relative;
    z-index: 10;
    background: #fff;
    border-radius: 12px 12px 0 0;
    padding: 16px 18px 10px 18px;
    margin-bottom: -4px; /* visually merges with white content box */
  }

  /* Stack vertically */
  .virtual-content {
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    padding-right: 18px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 36px rgba(20,30,40,0.06);
  }

  .virtual-side { display: none; }
}

/* Modal (fallback preview) */
.virtual-modal-small {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 140000;
}
.virtual-modal-small[aria-hidden="false"] { display: flex; }

.virtual-modal-backdrop-small {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 140001;
  cursor: pointer;
}

/* modal inner */
.virtual-modal-inner-small {
  position: relative;
  z-index: 140005;
  width: min(1100px, 96vw);
  height: min(660px, 86vh);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 18px;
}
.virtual-modal-content-small {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(6,10,20,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.virtual-modal-content-small .player-wrap {
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.virtual-modal-content-small img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* close button */
.virtual-modal-close-small {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 0;
  background: #fff;
  color: #056597;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  z-index: 140010;
}
.virtual-modal-close-small:focus { outline: 3px solid rgba(5,101,151,0.18); outline-offset: 3px; }

/* Responsive tweaks */
@media (max-width: 900px) {
  .virtual-box-small { padding: 12px; }
  .vc-play { width: 72px; height: 72px; top: 44%; }
  .vc-title { font-size: 20px; }
  .vc-sub { font-size: 14px; }
  .virtual-modal-inner-small { height: 56vh; }
  .virtual-modal-content-small .player-wrap { width: calc(100% - 24px); height: calc(100% - 24px); }
  .virtual-modal-close-small { top: 8px; right: 8px; }
}
@media (max-width: 420px) {
  .vc-play { width: 56px; height: 56px; }
  .vc-title { font-size: 16px; }
  .vc-sub { font-size: 12px; }
  .virtual-modal-inner-small { height: 50vh; width: 94vw; padding: 10px; }
  .virtual-modal-content-small .player-wrap { width: calc(100% - 16px); height: calc(100% - 16px); }
}

/* Accessibility and small helpers */
.virtual-card,
.vc-play,
.virtual-modal-close-small { -webkit-tap-highlight-color: transparent; }
.vc-play:active { transform: translateY(1px); }
.virtual-modal-backdrop-small:focus { outline: none; }

/* Ensure modal sits above project-info */
.virtual-modal-small { z-index: 140000 !important; }

/* End Virtual Site Tour CSS */



/* =============================================================================================
                                   VIRTUAL SITE TOUR END 
============================================================================================== */


/* =============================================================================================
                                   REGISTR BUTTON START 
============================================================================================== */

/* ================= Floating Enquiry Button ================= */

.floating-enquiry-btn {
  position: fixed;
  right: 28px;
  bottom: 30px;
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #007b9a;   /* enquiry theme color */
  color: #fff;
  border: none;
  box-shadow: 0 8px 20px rgba(6, 30, 50, 0.18);
  cursor: pointer;
  z-index: 120000;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

/* Hover / Focus */
.floating-enquiry-btn:hover,
.floating-enquiry-btn:focus {
  transform: translateY(-4px);
  background-color: #005f75;
  box-shadow: 0 12px 28px rgba(6, 30, 50, 0.25);
  outline: none;
}

/* Focus outline (for keyboard users) */
.floating-enquiry-btn:focus {
  box-shadow: 0 0 0 4px rgba(0, 123, 154, 0.25);
}

/* SVG icon */
.floating-enquiry-btn svg {
  width: 26px;
  height: 26px;
  display: block;
}

/* Gentle pulse animation */
.floating-enquiry-btn.pulse {
  animation: enquiryPulse 2.8s infinite;
}
@keyframes enquiryPulse {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.05); }
  100% { transform: translateY(0) scale(1); }
}

/* Desktop only */
@media (max-width: 1199.98px) {
  .floating-enquiry-btn {
    display: none !important;
  }
}

/* Slightly larger for very wide screens */
@media (min-width: 1600px) {
  .floating-enquiry-btn {
    right: 42px;
    bottom: 36px;
    width: 68px;
    height: 68px;
  }
}

/* =============================================================================================
                                   REGISTR BUTTON END 
============================================================================================== */



/* =============================================================================================
                                   BOTTOM BUTTONS START 
============================================================================================== */
/* ========== Bottom bar visuals (use your existing colors) ========== */

.bottom-action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  background: #056597;
  color: #fff;
  z-index: 160000;
  box-shadow: 0 -3px 10px rgba(0,0,0,0.08);
  border-top: 1px solid rgba(255,255,255,0.05);
  box-sizing: border-box;
  margin: 0;
  padding: 0; /* no body padding by default */
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

.bottom-action-bar .bar-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #fff;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 0 8px;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background .16s ease, transform .16s ease;
}

.bottom-action-bar .bar-item-button {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border-radius: 2px;
}

.bottom-action-bar .bar-item:hover,
.bottom-action-bar .bar-item:focus {
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
  outline: none;
}

/* safe-area support for the bar itself */
@supports(padding:max(0px)) {
  .bottom-action-bar {
    padding-bottom: max(env(safe-area-inset-bottom), 0px);
  }
}

/* small-screen taller bar */
@media (max-width: 420px) {
  .bottom-action-bar { height: 60px; }
  .bottom-action-bar .bar-item { font-size: 13px; padding: 0 6px; }
}

/* hide bottom bar on desktop (floating button used) */
@media (min-width: 1200px) {
  .bottom-action-bar { display: none; }
}

/* Floating Enquiry Button (desktop) */
.floating-enquiry-btn {
  position: fixed;
  right: 20px;
  bottom: 26px;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #007b9a;
  color: #fff;
  border: none;
  box-shadow: 0 8px 18px rgba(6,30,50,0.18);
  cursor: pointer;
  z-index: 170000;
  transition: transform .18s ease, box-shadow .18s ease;
  box-sizing: border-box;
}
.floating-enquiry-btn:hover,
.floating-enquiry-btn:focus { transform: translateY(-3px); outline: none; }
.floating-enquiry-btn svg { width: 20px; height: 20px; }
@media (max-width:1199.98px) { .floating-enquiry-btn { display: none; } }

/* Spacer element: default zero height; JS will set height when needed */
#bottomBarSpacer {
  display: block;
  width: 100%;
  height: 0;
  pointer-events: none;
  transition: height 180ms ease;
}

/* Prevent horizontal overflow */
html, body { max-width: 100%; box-sizing: border-box; }

/* =============================================================================================
                                   BOTTOM BUTTONS END 
============================================================================================== */



