/* =========================================================
   START: ROOT VARIABLES
   ========================================================= */
:root {
  --accent: #5f0e58;
  --divider: #e6e6e6;
  --text: #000000;
  --muted: #000000;
  --gap: 22px;

  /* header height used to push page content below the fixed header */
  --header-h: 70px; /* default (mobile/tablet). desktop override below */
}

/* =========================================================
   START: BASE STYLES
   ========================================================= */
* {
  box-sizing: border-box;
}

/* UPDATED SECTION: 
   1. Added scroll-behavior: smooth to html
   2. Kept overflow-x: hidden on both to prevent side-scrolling
*/
html {
  scroll-behavior: smooth; /* <--- THIS WAS MISSING */
}

html,
body {
  overflow-x: hidden; /* prevents left/right page movement */
  margin: 0; /* Reset margin here to be safe */
  padding: 0;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f2f2f2; /* gray background */
  color: var(--text); /* Added color variable usage for consistency */

  /* reserve space at top equal to header height so content doesn't hide under fixed header */
  padding-top: var(--header-h);
}
/* =========================================================
   END: BASE STYLES
   ========================================================= */

/* =========================================================
   START: NAV WRAPPER (NOW FIXED)
   ========================================================= */
/* Make header fixed to top and full width but keep visual styles intact */
.nav-wrap {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);

  /* changed to fixed so header stays in view */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3000;
}

/* inner navbar container remains centered */
.navbar {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px;
  position: relative;
}

/* =========================================================
   START: LOGO AREA STYLES
   ========================================================= */

/* logo wrapper */
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* image logo */
.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

/* text logo */
.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #5f0e58;
  font-family: "Segoe UI", Arial, sans-serif;
  white-space: nowrap; /* prevents breaking into 2 lines */
  line-height: 1;
}

/* =========================================================
   END: LOGO AREA STYLES
   ========================================================= */

.spacer {
  flex: 1 1 auto;
}
/* =========================================================
   END: NAV WRAPPER
   ========================================================= */

/* =========================================================
   START: MENU DESKTOP STYLES
   ========================================================= */
.menu {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.menu li {
  position: relative;
}

/* vertical divider between menu items */
.menu li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: var(--divider);
}

/* Menu item container */
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px var(--gap);
  color: var(--text);
  text-decoration: none;
  white-space: nowrap; /* keep text in single line */
}

.icon-box {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Menu icons */
.nav-item svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* Menu text */
.nav-label {
  color: #000;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

/* Hover effects */
.nav-item:hover .nav-label,
.nav-item:hover svg {
  color: var(--accent);
}

/* Active item */
.nav-item.active .icon-box {
  background: var(--accent);
}
.nav-item.active svg {
  color: #fff;
}
/* =========================================================
   END: MENU DESKTOP STYLES
   ========================================================= */

/* =========================================================
   START: BROCHURE ICON ANIMATION
   ========================================================= */
.brochure-anim {
  animation: floatPulse 1.6s ease-in-out infinite;
}
@keyframes floatPulse {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}
/* =========================================================
   END: BROCHURE ICON ANIMATION
   ========================================================= */

/* =========================================================
   START: HAMBURGER BUTTON (3-LINE TOGGLE)
   ========================================================= */
.hamburger {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 16px;
  top: 10px;
  z-index: 2000;
}

.hamburger-line {
  width: 28px;
  height: 4px;
  background: #5f0e58;
  border-radius: 2px;
  margin: 2px 0;
}
/* =========================================================
   END: HAMBURGER BUTTON (3-LINE TOGGLE)
   ========================================================= */

/* =========================================================
   START: MOBILE & TABLET STYLES (<= 1024px)
   ========================================================= */
@media (max-width: 1024px) {
  /* show hamburger */
  .hamburger {
    display: flex !important;
  }

  /* hide spacer */
  .spacer {
    display: none;
  }

  /* mobile dropdown menu */
  .menu {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 70px;
    background: #fff;
    flex-direction: column;
    display: none;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    z-index: 1500;
  }

  .menu.open {
    display: flex;
  }

  .menu li + li::before {
    display: none;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid #eee;
    padding: 14px 18px;
  }
}
/* =========================================================
   END: MOBILE & TABLET STYLES
   ========================================================= */

/* =========================================================
   START: DESKTOP RULES (HIDE HAMBURGER >=1025px)
   ========================================================= */
@media (min-width: 1025px) {
  .hamburger {
    display: none !important;
  }
}
/* =========================================================
   END: DESKTOP RULES
   ========================================================= */

/* =========================================================
   START: DESKTOP HEIGHT REDUCTION (>=1025px)
   ========================================================= */
@media (min-width: 1025px) {
  /* reduce navbar height */
  .navbar {
    padding: 6px 16px;
  }

  /* shrink icon container */
  .icon-box {
    width: 36px;
    height: 36px;
  }

  /* shrink svg icons */
  .nav-item svg {
    width: 20px;
    height: 20px;
  }

  /* reduce nav-item padding */
  .nav-item {
    padding: 8px 18px;
  }

  /* reduce gaps */
  .navbar {
    gap: 8px;
  }

  /* fix vertical divider alignment */
  .menu li + li::before {
    top: 18%;
    bottom: 18%;
  }

  /* home icon tighter padding */
  .menu > li:first-child .nav-item {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* reflect reduced header height for desktop so body top padding stays accurate */
  :root {
    --header-h: 56px;
  } /* approx: 44px logo + 6px top + 6px bottom */
}
/* =========================================================
   END: DESKTOP HEIGHT REDUCTION
   ========================================================= */

/* ===================================================================================== */

/* ======================= START: RESPONSIVE FULL-WIDTH SLIDER (CSS) ======================= */

/* -----------------------
   NOTE:
   - Desktop height: 650px
   - Tablet height: 325px (≈50% of desktop)
   - Mobile height: 162px (≈25% of desktop)
   Change the values below if you want different proportions.
   ----------------------- */

/* Breakout + outer frame (full viewport width, centered visually in page) */
.slider-box {
  width: 100vw; /* full viewport width */
  margin-left: calc(50% - 50vw); /* breakout trick to span full width */
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  position: relative;
  z-index: 0;

  /* Outer gap / frame appearance */
  background: #f0f0f0;
  padding: 20px; /* visible gap around the inner slider */
  border-radius: 28px; /* outer rounded frame */
}

/* CSS variable that will be switched by media queries */
.slider {
  --slider-height: 600px; /* default (desktop) */
  width: 100%;
  height: var(--slider-height);
  border-radius: 22px; /* inner radius for the image area */
  overflow: hidden; /* ensure rounded corners clip images */
  position: relative;
  background: #000; /* fallback while images load */
}

/* Absolute-stacked images - only one visible by opacity animation */
.slide {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  width: 100%;
  height: 100%;
  object-fit: cover; /* fill while preserving aspect */
  display: block;
  opacity: 0;
  animation: fade 12s infinite;
}

/* staggered timing for 3 slides */
.slide:nth-child(1) {
  animation-delay: 0s;
}
.slide:nth-child(2) {
  animation-delay: 4s;
}
.slide:nth-child(3) {
  animation-delay: 8s;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  43% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Dots positioned on top of the image at the bottom */
.dots {
  position: absolute;
  bottom: 24px; /* sits inside the image near bottom */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 30; /* above images */
  pointer-events: none; /* purely decorative; remove if you add click JS */
}

.dots span {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  backdrop-filter: blur(3px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* -----------------------
   RESPONSIVE HEIGHT ADJUSTMENTS
   ----------------------- */

/* Tablet: ~50% height of desktop */
@media (max-width: 1199px) and (min-width: 768px) {
  .slider {
    --slider-height: 450px;
  } /* tablet */
  .slider-box {
    padding: 16px;
    border-radius: 20px;
  }
  .dots {
    bottom: 20px;
    gap: 10px;
  }
  .dots span {
    width: 12px;
    height: 12px;
  }
}

/* Mobile: ~25% height of desktop */
@media (max-width: 767px) {
  .slider {
    --slider-height: 300px;
  } /* mobile */
  .slider-box {
    padding: 12px;
    border-radius: 16px;
  }
  .dots {
    bottom: 16px;
    gap: 8px;
  }
  .dots span {
    width: 10px;
    height: 10px;
  }
}

/* Optional: further reduce height on very small devices */
@media (max-width: 420px) {
  .slider {
    --slider-height: 140px;
  } /* tiny phones */
}

/* ======================= END: RESPONSIVE FULL-WIDTH SLIDER (CSS) ======================= */

/* =============================================================================================
                                   ANIMATION KEYFRAMES 
============================================================================================== */

/* 1. Continuous Pulse for Badge (Scale + Shadow Glow) */
@keyframes badgePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(5, 101, 151, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(5, 101, 151, 0); /* Fades out */
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(5, 101, 151, 0);
  }
}

/* 2. Zoom In/Out for Price */
@keyframes priceZoom {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  } /* Zooms in slightly */
}

/* =============================================================================================
                                   PROJECT INFO PANEL START 
============================================================================================== */

.project-info {
  /* DESKTOP: Floating Glass Card */
  position: absolute;
  top: calc(var(--header-height, 70px) + 6px);
  right: 20px;
  width: 320px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;

  padding: 20px;
  gap: 10px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  box-sizing: border-box;
  border-radius: 12px;

  /* Dark Glass Theme */
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(0, 0, 0, 0.95) 100%
  );
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 1200;
  scrollbar-width: none;
}
.project-info::-webkit-scrollbar {
  display: none;
}

/* Badge */
.project-info .pi-badge {
  background: #5f0e58; /* Blue theme */
  padding: 5px 12px;
  font-weight: 700;
  font-size: 0.7rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 5px;

  /* ✅ ADDED ANIMATION HERE */
  animation: badgePulse 2s infinite;
}

.project-info .pi-badge:hover {
  opacity: 0.9;
  background-color: #ffffff;
  color: #5f0e58;
}

/* Titles */
.project-info .pi-title {
  width: 100%;
}
.project-info .pi-title h3 {
  margin: 0 0 5px 0;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
}
.project-info .pi-location {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}
.project-info .pi-builder {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* Details Table (Desktop) */
.pi-details {
  width: 100%;
  margin: 5px 0;
  padding: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.pi-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}
.pi-row:last-child {
  border-bottom: none;
}
.pi-row dt {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}
.pi-row dd {
  margin: 0;
  font-weight: 600;
  color: #fff;
  text-align: right;
}

/* Offer Section (Desktop) */
.pi-offer {
  width: 100%;
}
.pi-offer-line {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 5px;
}
.pi-offer-highlight {
  background: #5f0e58;
  padding: 10px;
  text-align: center;
  font-weight: 700;
  color: #fff;
  border-radius: 5px;
  font-size: 0.9rem;
}

/* Price Section */
.pi-price {
  margin-top: 5px;
}
.pi-price .pi-small {
  font-size: 0.8rem;
  opacity: 0.8;
}
.pi-price .pi-large {
  font-size: 2rem;
  font-weight: 800;
  margin: 2px 0;
  color: #fff;

  /* ✅ ADDED ANIMATION HERE (Ensures smooth rendering) */
  display: inline-block;
  animation: priceZoom 2s ease-in-out infinite;
}
.pi-price .pi-crore {
  font-size: 1.1rem;
  font-weight: 700;
}
.pi-price .pi-onwards {
  display: block;
  font-size: 0.75rem;
  opacity: 0.6;
}

/* CTA Button */
.pi-cta {
  width: 100%;
  margin-top: 5px;
}
.pi-cta .btn {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background: #fff;
  color: #5f0e58;
  text-transform: uppercase;
}



/* ================= MOBILE & TABLET VIEW (MATCHING YOUR IMAGE) ================= */
@media (max-width: 1199px) {
  .project-info {
    /* Reset Position: Sit naturally below slider */
    position: static;
    width: 100%;
    max-width: 100%; /* Ensure full width */
    margin: 0;
    max-height: none;
    overflow: visible;
    border-radius: 0;

    /* STYLE CHANGE: White Card Look */
    background: #fff;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px 0; /* Padding top/bottom only */
    gap: 0; /* Remove gap, we handle spacing manually */
  }

  /* 1. Badge */
  .project-info .pi-badge {
    background: #5f0e58; /* Main Color */
    color: #fff;
    font-size: 0.8rem;
    padding: 6px 15px;
    margin-bottom: 15px;
    align-self: center;

    /* Ensure animation works on mobile too */
    animation: badgePulse 2s infinite;
  }

  .project-info .pi-badge:hover {
  opacity: 0.9;
  background-color: #ffffff;
  color: #5f0e58;
}

  /* 2. Titles */
  .project-info .pi-title h3 {
    color: #5f0e58; /* Main Color */
    font-size: 1.6rem;
    margin-bottom: 8px;
    padding: 0 15px;
  }
  .project-info .pi-location {
    color: #555;
    padding: 0 15px;
  }
  .project-info .pi-builder {
    color: #888;
    font-weight: 600;
  }

  /* 3. Details Section - Gray Box Look */
  .pi-details {
    background: #f1f5f9; /* Light Gray Background */
    border: none;
    border-radius: 0; /* Full width or square edges */
    margin: 20px 0;
    padding: 15px 0;
    width: 100%;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.03);
  }

  .pi-row {
    border: none;
    justify-content: center; /* Center align rows like the image */
    padding: 4px 0;
    font-size: 0.95rem;
    gap: 8px;
  }
  .pi-row dt {
    color: #111;
    font-weight: 700;
    opacity: 1;
  }
  .pi-row dd {
    color: #444;
    font-weight: 500;
    text-align: left;
  }

  /* 4. Offer Section - Solid Band Look */
  .pi-offer {
    width: 100%;
    background: #5f0e58; /* Solid Main Color Background */
    padding: 15px 0;
    margin-bottom: 20px;
  }
  .pi-offer-line {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
  }
  /* Little divider line below "Exclusive Offers" */
  .pi-offer-line:after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    margin: 4px auto 0;
  }
  .pi-offer-highlight {
    background: transparent;
    box-shadow: none;
    color: #fff;
    font-size: 1.2rem;
    padding: 0;
    margin-top: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  /* 5. Price Section */
  .pi-price .pi-small {
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
  }
  .pi-price .pi-large {
    color: #5f0e58;
    text-shadow: none;
    font-size: 2.4rem;
    margin: 10px 0;
    /* Ensure animation works on mobile too */
    animation: priceZoom 2s ease-in-out infinite;
  }
  .pi-price .pi-onwards {
    color: #777;
    font-weight: 600;
  }

  /* 6. Button */
  .pi-cta {
    margin-top: 10px;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .pi-cta .btn {
    background: #5f0e58;
    color: #fff;
    max-width: 250px; /* Constrain button width */
  }
}

/* =============================================================================================
                                   PROJECT INFO PANEL END 
============================================================================================== */

/* ============================================================
   PROJECT / OVERVIEW SECTION
   (No Root Variables - Hardcoded Colors)
   ============================================================ */

/* Main Container - Transparent (relies on your page background) */
.project-card {
  width: 100%;
  display: block;
  padding: 10px;
  box-sizing: border-box;
}

/* Inner Card - The White Box */
.project-card__inner {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  /* FIXED: Explicit White Background */
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  overflow: hidden;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  /* DEFAULT MOBILE LAYOUT (Stack) */
  display: flex;
  flex-direction: column;
}

/* ============================================================
   DESKTOP STYLES (Min-width: 1025px)
   - Full Width
   - Equal Height Columns using Flexbox
   ============================================================ */
@media (min-width: 1025px) {
  .project-card__inner {
    flex-direction: row; /* Side by side */
    align-items: stretch; /* Forces overview strip to match height */
  }

  /* Left Content */
  .project-card__left {
    flex: 1; /* Fills remaining width */
    padding: 40px 50px;
    border-right: 1px solid #e2e8f0; /* Separator line */
  }

  /* Right Overview Strip */
  .project-card__right {
    position: relative;
    width: 140px; /* Fixed width */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9fafb; /* Slight tint for contrast */
    z-index: 5;
  }

  .project-card__vertical {
    display: inline-block;
    font-size: 24px;
    color: #5f0e58;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: rotate(90deg);
    white-space: nowrap;
  }
}

/* ============================================================
   CONTENT STYLES
   ============================================================ */

.project-card__title {
  font-size: 38px;
  line-height: 1.1;
  margin: 0 0 10px 0;
  color: #5f0e58;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.project-card__subtitle {
  font-size: 18px;
  color: #6b7280;
  margin: 0 0 20px 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Tagline with vertical accent bar */
.project-card__tagline {
  margin: 0 0 24px 0;
  font-size: 16px;
  color: #374151;
  font-weight: 600;
  font-style: italic;
  border-left: 4px solid #5f0e58; /* Accent Color */
  padding-left: 16px;
  line-height: 1.5;
}

.project-card__text {
  font-size: 15px;
  line-height: 1.8;
  color: #374151;
  margin: 0 0 16px 0;
  text-align: justify;
  -webkit-font-smoothing: antialiased;
}

/* Button Styles */
.project-card__cta {
  margin-top: 25px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 6px;
  box-sizing: border-box;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn--download {
  background: #5f0e58; /* Accent Color */
  color: #ffffff;
}

.btn--download:hover {
  opacity: 0.9;
}

/* ============================================================
   TABLET & MOBILE BREAKPOINTS (Max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  /* Inner card remains column flex (stacked) from default settings */

  .project-card__left {
    padding: 30px 25px;
    order: 2; /* Content second */
    border-right: none;
  }

  /* Overview Label moves to top */
  .project-card__right {
    width: 100%;
    height: auto;
    padding: 15px 25px;
    display: flex;
    justify-content: flex-start;
    border-bottom: 1px solid #e2e8f0;
    background-color: #f9fafb;
    order: 1; /* Label first */
  }

  .project-card__vertical {
    transform: none; /* Reset rotation */
    font-size: 16px;
    letter-spacing: 1px;
    color: #5f0e58;
    font-weight: 700;
    text-transform: uppercase;
  }

  .project-card__title {
    font-size: 32px;
  }
  .project-card__subtitle {
    font-size: 16px;
  }
  .project-card__text {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* Mobile Small */
@media (max-width: 767px) {
  .project-card {
    padding: 15px;
  }
  .project-card__left {
    padding: 25px 20px;
  }
  .project-card__title {
    font-size: 28px;
  }
}

/* ============================================================
   SECTION 2: SITE & FLOOR PLANS
   (Layout: Desktop 4 | Tablet 2 | Mobile 2 Side-by-Side)
   ============================================================ */
/* ============================================================
   SECTION 2: SITE & FLOOR PLANS
   ============================================================ */

/* Main Section Container */
.plans-section {
  width: 100%;
  display: block;
  padding: 10px;
  box-sizing: border-box;
}

/* Inner White Card */
.plans-card {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  overflow: hidden;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

/* DESKTOP LAYOUT */
@media (min-width: 1025px) {
  .plans-card {
    flex-direction: row;
    align-items: stretch;
  }
  .plans-card__content {
    flex: 1;
    padding: 40px 50px;
    border-right: 1px solid #e2e8f0;
  }
  .plans-card__strip {
    width: 140px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9fafb;
    z-index: 5;
  }
  .plans-card__vertical-text {
    display: inline-block;
    font-size: 24px;
    color: #5f0e58;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: rotate(90deg);
    white-space: nowrap;
  }
}

/* GRID SYSTEM */
.plans-grid {
  display: grid;
  width: 100%;
  gap: 20px;
}
.plans-header {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  display: block;
  margin-bottom: 5px;
  align-self: end;
}

/* DESKTOP GRID */
@media (min-width: 1025px) {
  .plans-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .header-master {
    grid-column: 1;
    grid-row: 1;
  }
  .header-floor {
    grid-column: 2 / span 3;
    grid-row: 1;
  }
  .plan-item--master {
    grid-column: 1;
  }
}

/* TABLET GRID */
@media (max-width: 1024px) and (min-width: 768px) {
  .plans-grid {
    grid-template-columns: 1fr 1fr;
  }
  .header-master {
    grid-column: 1;
    grid-row: 1;
  }
  .header-floor {
    grid-column: 2;
    grid-row: 1;
  }
  .plan-item--master {
    grid-column: 1;
  }
}

/* MOBILE GRID */
@media (max-width: 767px) {
  .plans-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .header-master {
    grid-column: 1;
    grid-row: 1;
    font-size: 16px;
  }
  .header-floor {
    grid-column: 2;
    grid-row: 1;
    font-size: 16px;
    margin-top: 0;
  }
  .plan-item--master {
    grid-column: 1;
    grid-row: 2;
  }
  .plan-img-box {
    height: 140px;
  }
}

/* CARD STYLES */
.plan-item {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
  position: relative;
}
.plan-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.plan-img-box {
  width: 100%;
  height: 220px;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  position: relative;
  overflow: hidden;
}
.plan-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}
.plan-footer {
  width: 100%;
  background-color: #5f0e58;
  color: #ffffff;
  text-align: center;
  padding: 12px 0;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.plan-item--master .plan-img-box {
  background: #fff;
  height: 100%;
}

/* OVERLAY STYLES */
.plan-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(42, 35, 64, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
  cursor: pointer;
}
.plan-item:hover .plan-overlay,
.plan-item:active .plan-overlay {
  opacity: 1;
  visibility: visible;
}
.plan-item:hover .plan-img-box img {
  filter: blur(3px);
  transform: scale(1.05);
}
.popup-trigger-btn {
  background-color: #ffffff;
  color: #5f0e58;
  border: none;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}
.popup-trigger-btn:hover {
  transform: scale(1.05);
  background-color: #f3f4f6;
}

/* RESPONSIVE PADDING */
@media (max-width: 1024px) {
  .plans-card {
    flex-direction: column;
  }
  .plans-card__content {
    padding: 30px;
    border-right: none;
    order: 2;
  }
  .plans-card__strip {
    width: 100%;
    height: auto;
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    justify-content: flex-start;
    order: 1;
  }
  .plans-card__vertical-text {
    transform: none;
    font-size: 18px;
    color: #5f0e58;
  }
}
@media (max-width: 767px) {
  .plans-card__content {
    padding: 15px;
  }
  .plans-card__strip {
    padding: 12px;
  }
}

/* ============================================================
   UPDATED: LIGHTBOX (BIG IMAGE VIEWER) STYLES
   ============================================================ */
.lightbox-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Prevent scrolling */
  background-color: rgba(0, 0, 0, 0.95); /* Darker background */
  /* Flexbox for perfect centering */
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  display: block;
  /* Allow image to be as big as possible while respecting aspect ratio */
  width: auto;
  height: auto;
  max-width: 95vw; /* 95% of viewport width */
  max-height: 95vh; /* 95% of viewport height */
  object-fit: contain; /* Ensure the whole image is visible */
  border-radius: 4px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s ease-out;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10000; /* Ensure close button is on top */
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ============================================================
   SECTION 3: PRICE SECTION (START)
   ============================================================ */

/* Main Section Container */
.price-section {
  width: 100%;
  display: block;
  padding: 10px;
  box-sizing: border-box;
}

/* Inner White Card (Consistent with previous sections) */
.price-card {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  overflow: hidden;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  /* Mobile First: Stack Vertical */
  display: flex;
  flex-direction: column;
}

/* ============================================================
   DESKTOP LAYOUT (Min-width: 1025px)
   ============================================================ */
@media (min-width: 1025px) {
  .price-card {
    flex-direction: row; /* Horizontal: Content Left | Strip Right */
    align-items: stretch;
  }

  /* Left Content Area */
  .price-card__content {
    flex: 1;
    padding: 40px 50px;
    border-right: 1px solid #e2e8f0;
  }

  /* Right Vertical Label Strip */
  .price-card__strip {
    width: 140px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9fafb;
    z-index: 5;
  }

  .price-card__vertical-text {
    display: inline-block;
    font-size: 24px;
    color: #5f0e58;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: rotate(90deg);
    white-space: nowrap;
  }
}

/* ============================================================
   PRICE LAYOUT (Table vs Card)
   ============================================================ */

.price-layout {
  display: flex;
  width: 100%;
  gap: 30px;
}

/* Column 1: The Table (Takes more space) */
.price-col-left {
  flex: 6; /* Approx 60% */
}

/* Column 2: The Cost Sheet Card (Takes less space) */
.price-col-right {
  flex: 4; /* Approx 40% */
}

/* ============================================================
   TABLE STYLES
   ============================================================ */
.price-table-wrapper {
  width: 100%;
  overflow-x: auto; /* Scroll on very small screens if needed */
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.price-table thead {
  background-color: #f9fafb;
}

.price-table th {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 800;
  color: #000000;
  border-bottom: 1px solid #e2e8f0;
}

.price-table td {
  padding: 16px 20px;
  font-size: 15px;
  color: #374151;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
  font-weight: 500;
}

.price-table tr:last-child td {
  border-bottom: none;
}

/* Price Cell Styling */
.price-cell-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap; /* Allows wrapping on small screens */
}

.price-amount {
  font-weight: 700;
  color: #5f0e58;
  font-size: 16px;
}

/* Small "Price Breakup" Button */
.price-btn-breakup {
  background-color: #5f0e58; /* Accent Color */
  color: #fff;
  border: none;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.price-btn-breakup:hover {
  opacity: 0.9;
  background-color: #e2e8f0;
  color: #5f0e58;
}

/* ============================================================
   COST SHEET CARD STYLES
   ============================================================ */
.cost-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  height: 100%; /* Match height of table if possible */
  position: relative;
}

/* Image Box */
.cost-img-box {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  position: relative;
  overflow: hidden;
}

.cost-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Footer (Purple Bar) */
.cost-footer {
  width: 100%;
  background-color: #5f0e58;
  color: #ffffff;
  text-align: center;
  padding: 12px 0;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* OVERLAY STYLES (Reused logic from Plans section) */
.cost-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(42, 35, 64, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
  cursor: pointer;
}

.cost-card:hover .cost-overlay {
  opacity: 1;
  visibility: visible;
}

.cost-card:hover .cost-img-box img {
  filter: blur(3px);
  transform: scale(1.05);
}

/* Button inside Overlay */
.cost-btn {
  background-color: #ffffff;
  color: #5f0e58;
  border: none;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* TABLET (768px - 1024px) */
/* Requirement: Layout remains generally side-by-side but strip moves to top */
@media (max-width: 1024px) {
  .price-card {
    flex-direction: column;
  }

  .price-card__content {
    padding: 30px;
    border-right: none;
    order: 2;
  }

  .price-card__strip {
    width: 100%;
    height: auto;
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    justify-content: flex-start;
    order: 1;
  }

  .price-card__vertical-text {
    transform: none;
    font-size: 18px;
    color: #5f0e58;
  }

  /* Adjust gap for tablet */
  .price-layout {
    gap: 20px;
  }
}

/* MOBILE (Max-width 767px) */
@media (max-width: 767px) {
  .price-card__content {
    padding: 20px;
  }

  .price-layout {
    flex-direction: column; /* Stack vertically */
    gap: 30px;
  }

  .price-col-left,
  .price-col-right {
    flex: 1;
    width: 100%;
  }

  /* On mobile, stack the Price and Button in the table cell */
  .price-cell-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-amount {
    margin-bottom: 5px;
  }

  .cost-img-box {
    height: 180px;
  }
}

/* ============================================================
   SECTION 3: PRICE SECTION (END)
   ============================================================ */

/* ============================================================
   SECTION 4: GALLERY SECTION (START)
   ============================================================ */

/* Main Section Container */
.gallery-section {
  width: 100%;
  display: block;
  padding: 10px;
  box-sizing: border-box;
}

/* Inner White Card */
.gallery-card {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  overflow: hidden;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

/* DESKTOP LAYOUT (Min-width: 1025px) */
@media (min-width: 1025px) {
  .gallery-card {
    flex-direction: row;
    align-items: stretch;
  }
  .gallery-card__content {
    flex: 1;
    padding: 40px 50px;
    border-right: 1px solid #e2e8f0;
  }
  .gallery-card__strip {
    width: 140px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9fafb;
    z-index: 5;
  }
  .gallery-card__vertical-text {
    display: inline-block;
    font-size: 24px;
    color: #2a2340;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: rotate(90deg);
    white-space: nowrap;
  }
}

/* ============================================================
   TABS STYLING
   ============================================================ */
.gallery-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 15px;
}

.gallery-tab-btn {
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  color: #6b7280; /* Gray text for inactive */
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.gallery-tab-btn:hover {
  background-color: #f3f4f6;
  color: #5f0e58;
}

/* Active Tab State */
.gallery-tab-btn.active {
  background-color: #5f0e58; /* Accent Color */
  color: #ffffff;
  border-color: #5f0e58;
  box-shadow: 0 4px 6px rgba(42, 35, 64, 0.2);
}

/* ============================================================
   GALLERY GRID STYLING
   ============================================================ */
/* Default state: HIDDEN */
.gallery-grid-container {
  display: none;
  width: 100%;
}

/* Active state: SHOW AS GRID */
.gallery-grid-container.active {
  display: grid;
  animation: fadeEffect 0.5s;
}

/* Grid Layout with Gaps */
.gallery-grid-container {
  /* GAP UPDATE: 24px gap on all sides between cards */
  gap: 24px;
}

/* --- GRID COLUMNS RESPONSIVENESS --- */
/* Desktop: 4 items per row */
@media (min-width: 1025px) {
  .gallery-grid-container.active {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tablet: 2 items per row */
@media (max-width: 1024px) and (min-width: 768px) {
  .gallery-grid-container.active {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 item per row */
@media (max-width: 767px) {
  .gallery-grid-container.active {
    grid-template-columns: 1fr;
    gap: 20px; /* Slightly smaller gap on mobile */
  }
}

/* ============================================================
   IMAGE ITEM STYLING
   ============================================================ */
.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #f3f4f6;
  border: 1px solid #e2e8f0;
  /* Fixed Height */
  height: 220px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Hover Effect: Card lifts up */
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Image zooms inside the card on hover */
.gallery-item:hover img {
  transform: scale(1.1);
}

/* Overlay with Icon */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(42, 35, 64, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.zoom-icon {
  color: #fff;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  padding: 10px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Fade Animation */
@keyframes fadeEffect {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   LIGHTBOX STYLES (REQUIRED FOR ZOOM)
   ============================================================ */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  animation: zoomIn 0.3s;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

.lightbox-close:hover {
  color: #bbb;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 1024px) {
  .gallery-card {
    flex-direction: column;
  }
  .gallery-card__content {
    padding: 30px;
    border-right: none;
    order: 2;
  }
  .gallery-card__strip {
    width: 100%;
    height: auto;
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    justify-content: flex-start;
    order: 1;
  }
  .gallery-card__vertical-text {
    transform: none;
    font-size: 18px;
    color: #5f0e58;
  }
}

@media (max-width: 767px) {
  .gallery-card__content {
    padding: 20px;
  }
  .gallery-tabs {
    gap: 10px;
    justify-content: space-between;
  }
  .gallery-tab-btn {
    flex: 1;
    padding: 12px 10px;
    font-size: 13px;
    text-align: center;
  }
  .gallery-item {
    height: 200px;
  }
}

/* ============================================================
   SECTION 4: GALLERY SECTION (END)
   ============================================================ */

/* ============================================================
   SECTION 5: AMENITIES SECTION (Horizontal Slider)
   ============================================================ */

/* Main Section Container */
.amenities-section {
  width: 100%;
  display: block;
  padding: 10px;
  box-sizing: border-box;
}

/* Inner White Card */
.amenities-card {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  overflow: hidden;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  display: flex;
  flex-direction: column;
}

/* DESKTOP LAYOUT (Min-width: 1025px) */
@media (min-width: 1025px) {
  .amenities-card {
    flex-direction: row; /* Horizontal: Content | Strip */
    align-items: stretch;
  }

  .amenities-card__content {
    flex: 1;
    min-width: 0; /* Critical Fix: Prevents slider from pushing right strip away */
    padding: 40px 50px;
    border-right: 1px solid #e2e8f0;
  }

  /* Right Vertical Label Strip */
  .amenities-card__strip {
    width: 140px;
    flex-shrink: 0; /* Ensures it never shrinks */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9fafb;
    z-index: 5;
    border-left: 1px solid #e2e8f0;
  }

  .amenities-card__vertical-text {
    display: inline-block;
    font-size: 24px;
    color: #5f0e58;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: rotate(90deg);
    white-space: nowrap;
  }
}

/* ============================================================
   HORIZONTAL SCROLLING LOGIC
   ============================================================ */

/* The Viewing Window */
.amenities-window {
  width: 100%;
  /* Height: (Item Height ~72px * 3 Rows) + Gaps */
  height: 280px;
  overflow: hidden;
  position: relative;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f9fafb;
}

/* The Track that moves Left */
.amenities-track {
  display: grid;
  grid-template-rows: repeat(3, 1fr); /* 3 Fixed Rows */
  grid-auto-flow: column; /* Items flow into columns */
  gap: 20px;

  width: max-content; /* Allows track to be as long as needed */
  padding: 20px;

  /* Animation: Slide Right to Left */
  animation: scrollLeft 15s linear infinite;
}

/* Pause on Hover */
.amenities-track:hover {
  animation-play-state: paused;
}

/* ============================================================
   AMENITY ITEM STYLING
   ============================================================ */

.amenity-item {
  width: 260px; /* Fixed width for consistent grid */
  height: 70px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.amenity-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  border-color: #5f0e58;
}

/* Icon Box */
.amenity-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f3f4f6;
  border-radius: 6px;
}

/* Icon Styling */
.amenity-icon svg,
.amenity-icon img {
  width: 24px;
  height: 24px;
  color: #5f0e58;
}

/* Text */
.amenity-text {
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* ============================================================
   ANIMATION KEYFRAMES
   ============================================================ */
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  } /* Moves half way (since we duplicated items) */
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 1024px) {
  .amenities-card {
    flex-direction: column;
  }

  .amenities-card__content {
    padding: 30px;
    border-right: none;
    order: 2; /* Content below strip */
  }

  /* Strip moves to Top */
  .amenities-card__strip {
    width: 100%;
    height: auto;
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    border-left: none;
    justify-content: flex-start;
    order: 1; /* Strip on Top */
  }

  .amenities-card__vertical-text {
    transform: none;
    font-size: 18px;
    color: #5f0e58;
  }
}

@media (max-width: 767px) {
  .amenities-card__content {
    padding: 15px;
  }
  .amenity-item {
    width: 220px;
    padding: 10px 15px;
  }
}

/* ============================================================
   SECTION 5: AMENITIES SECTION (END)
   ============================================================ */

/* ============================================================
   SECTION 6: VIRTUAL SITE TOUR (START)
   ============================================================ */

/* Main Section Container */
.tour-section {
  width: 100%;
  display: block;
  padding: 10px;
  box-sizing: border-box;
}

/* Inner White Card (Consistent with other sections) */
.tour-card {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  overflow: hidden;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  display: flex;
  flex-direction: column;
}

/* DESKTOP LAYOUT (Min-width: 1025px) */
@media (min-width: 1025px) {
  .tour-card {
    flex-direction: row;
    align-items: stretch;
  }
  .tour-card__content {
    flex: 1;
    padding: 40px 50px;
    border-right: 1px solid #e2e8f0;
  }
  .tour-card__strip {
    width: 140px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9fafb;
    z-index: 5;
  }
  .tour-card__vertical-text {
    display: inline-block;
    font-size: 24px;
    color: #5f0e58;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: rotate(90deg);
    white-space: nowrap;
  }
}

/* ============================================================
   VIDEO THUMBNAIL WRAPPER
   ============================================================ */
.tour-wrapper {
  position: relative;
  width: 100%;
  height: 400px; /* Fixed height for a cinematic look */
  border-radius: 8px;
  overflow: hidden;
  background-color: #000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* The Background Image */
.tour-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.5s ease;
}

.tour-wrapper:hover .tour-bg-img {
  transform: scale(1.05); /* Slight zoom on hover */
  opacity: 0.7; /* Darken slightly to make button pop */
}

/* Gradient Overlay at Bottom (For Text Readability) */
.tour-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  pointer-events: none;
}

/* ============================================================
   PLAY BUTTON
   ============================================================ */
.tour-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulse-white 2s infinite;
  z-index: 10;
  transition: transform 0.3s ease;
}

.tour-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.tour-play-btn svg {
  width: 60px;
  height: 60px;
  fill: #5f0e58; /* Accent Color */
  margin-left: 5px; /* Visual center adjustment for triangle */
}

@keyframes pulse-white {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* ============================================================
   TEXT OVERLAY
   ============================================================ */
.tour-info {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #ffffff;
  z-index: 5;
  padding: 0 20px;
}

.tour-title {
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.tour-subtitle {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.9;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 1024px) {
  .tour-card {
    flex-direction: column;
  }
  .tour-card__content {
    padding: 30px;
    border-right: none;
    order: 2;
  }
  .tour-card__strip {
    width: 100%;
    height: auto;
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    justify-content: flex-start;
    order: 1;
  }
  .tour-card__vertical-text {
    transform: none;
    font-size: 18px;
    color: #5f0e58;
  }

  .tour-wrapper {
    height: 350px;
  }
}

@media (max-width: 767px) {
  .tour-card__content {
    padding: 15px;
  }
  .tour-wrapper {
    height: 250px;
  }

  .tour-play-btn {
    width: 60px;
    height: 60px;
  }
  .tour-play-btn svg {
    width: 50px;
    height: 50px;
  }

  .tour-title {
    font-size: 20px;
  }
  .tour-subtitle {
    font-size: 14px;
  }
}

/* ============================================================
   SECTION 6: VIRTUAL SITE TOUR (END)
   ============================================================ */

/* ============================================================
   SECTION 7: LOCATION SECTION (START)
   ============================================================ */

/* Main Section Container */
.location-section {
  width: 100%;
  display: block;
  padding: 10px;
  box-sizing: border-box;
}

/* Inner White Card */
.location-card {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  overflow: hidden;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  display: flex;
  flex-direction: column;
}

/* DESKTOP LAYOUT (Min-width: 1025px) */
@media (min-width: 1025px) {
  .location-card {
    flex-direction: row;
    align-items: stretch;
  }
  .location-card__content {
    flex: 1;
    padding: 40px 50px;
    border-right: 1px solid #e2e8f0;
  }
  .location-card__strip {
    width: 140px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9fafb;
    z-index: 5;
  }
  .location-card__vertical-text {
    display: inline-block;
    font-size: 24px;
    color: #5f0e58;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: rotate(90deg);
    white-space: nowrap;
  }
}

/* ============================================================
   TOP PART: MAPS CONTAINER
   ============================================================ */
.maps-container {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

/* 1. LEFT COLUMN (Google Map) - Takes available space */
.map-column-left {
  flex: 1; /* Grows to fill width */
  display: flex;
  flex-direction: column;
}

/* 2. RIGHT COLUMN (Image) - Fixed Width for Square Shape */
.map-column-right {
  /* Set width to 320px to match the height (Square) */
  flex: 0 0 320px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
}

.map-heading {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 15px;
}

/* Map & Image Box Styling */
.google-map-box {
  width: 100%;
  height: 320px; /* Fixed Height */
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.google-map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.location-img-box {
  width: 100%;
  height: 320px; /* Matches width (320px) for Square */
  background-color: #f3f4f6;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.location-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Overlay & Button */
.location-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(42, 35, 64, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
  cursor: pointer;
}

.location-img-box:hover .location-overlay {
  opacity: 1;
  visibility: visible;
}

.location-img-box:hover img {
  transform: scale(1.05);
}

.location-btn {
  background-color: #ffffff;
  color: #5f0e58;
  border: none;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   BOTTOM PART: CONNECTIVITY GRID (Single Line)
   ============================================================ */
.connectivity-grid {
  display: grid;
  gap: 20px;
  width: 100%;
  border-top: 1px solid #e2e8f0;
  padding-top: 30px;
}

/* Columns */
@media (min-width: 1025px) {
  .connectivity-grid {
    grid-template-columns: repeat(3, 1fr);
  } /* Changed to 3 cols to give more space for single line text */
}

@media (max-width: 1024px) and (min-width: 768px) {
  .connectivity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .connectivity-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* List Items - Single Line Logic */
.connect-item {
  display: flex;
  align-items: center; /* Vertically center icon and text */
  gap: 12px;
  font-size: 14px;
  color: #374151;

  /* Force Single Line */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* Adds ... if text is too long */
}

.connect-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #5f0e58;
}

.connect-item strong {
  color: #111827;
  font-weight: 600;
  margin-right: 5px;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 1024px) {
  .location-card {
    flex-direction: column;
  }
  .location-card__content {
    padding: 30px;
    border-right: none;
    order: 2;
  }
  .location-card__strip {
    width: 100%;
    height: auto;
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    justify-content: flex-start;
    order: 1;
  }
  .location-card__vertical-text {
    transform: none;
    font-size: 18px;
    color: #5f0e58;
  }

  /* Stack Maps on Tablet/Mobile */
  .maps-container {
    flex-direction: column;
    gap: 30px;
  }

  /* Reset fixed width on mobile/tablet so it fills screen */
  .map-column-right {
    flex: 1;
    max-width: 100%;
  }

  .google-map-box,
  .location-img-box {
    height: 300px;
  }
}

@media (max-width: 767px) {
  .location-card__content {
    padding: 20px;
  }
  .google-map-box,
  .location-img-box {
    height: 250px;
  }
}

/* ============================================================
   SECTION 7: LOCATION SECTION (END)
   ============================================================ */

/* ============================================================
   SECTION 8: ABOUT DEVELOPER SECTION (START)
   ============================================================ */

/* Main Section Container */
.about-section {
  width: 100%;
  display: block;
  padding: 10px;
  box-sizing: border-box;
}

/* Inner White Card */
.about-card {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  overflow: hidden;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  /* Flexbox for centering content internally */
  display: flex;
  flex-direction: column;
  padding: 20px 25px; /* Generous padding for clean look */
}

/* ============================================================
   DEVELOPER LOGOS (Centered)
   ============================================================ */
.about-logo-wrapper {
  width: 100%;
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center;
  margin-bottom: 10px; /* Space below logos */
  gap: 20px; /* Space between logos if using multiple images */
}

.about-logo-img {
  max-width: 100px; /* Adjust based on your actual logo size */
  height: auto;
  object-fit: contain;
}

/* ============================================================
   CONTENT TEXT
   ============================================================ */
.about-heading {
  font-size: 24px;
  font-weight: 700;
  color: #5f0e58; /* Accent Color */
  margin-bottom: 20px;
  text-align: left; /* Left Aligned Heading */
}

.about-text {
  font-size: 16px;
  line-height: 1.8; /* Good readability */
  color: #374151; /* Dark Gray text */
  text-align: justify; /* Justified Alignment */
  margin: 0;
  font-weight: 400;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 1024px) {
  .about-card {
    padding: 40px;
  }
}

@media (max-width: 767px) {
  .about-card {
    padding: 30px 20px;
  }

  .about-logo-wrapper {
    margin-bottom: 30px;
  }

  .about-heading {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .about-text {
    font-size: 14px;
    line-height: 1.6;
    text-align: left; /* Justify can look weird on very small screens, optional switch to left */
  }
}

/* ============================================================
   SECTION 8: ABOUT DEVELOPER SECTION (END)
   ============================================================ */

/* ============================================================
   SECTION 9: DISCLAIMER SECTION (START)
   ============================================================ */

/* Main Section Container */
.disclaimer-section {
  width: 100%;
  display: block;
  padding: 10px;
  box-sizing: border-box;
}

/* Inner White Card */
.disclaimer-card {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  overflow: hidden;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  /* Padding for content */
  padding: 10px 10px;
}

/* Disclaimer Text Styling */
.disclaimer-text {
  font-size: 7px; /* Slightly smaller than body text is standard for disclaimers */
  line-height: 1.6;
  color: #374151; /* Dark Gray */
  text-align: justify; /* Clean block alignment */
  margin: 0;
  font-weight: 400;
}

.disclaimer-text strong {
  color: #000000; /* Black for the label */
  font-weight: 700;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 767px) {
  .disclaimer-card {
    padding: 20px;
  }

  .disclaimer-text {
    font-size: 13px; /* Smaller for mobile */
    text-align: left; /* Left align is often easier to read on small screens */
  }
}

/* ============================================================
   SECTION 9: DISCLAIMER SECTION (END)
   ============================================================ */
/* ============================================================
   SECTION 10: FOOTER SECTION (START)
   ============================================================ */

/* Main Footer Container */
.site-footer {
  width: 100%;
  display: block;
  background-color: #ffffff; /* White Background */
  color: #000000;
  padding: 10px 10px;
  box-sizing: border-box;
  margin-top: 0px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Inner Container */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer Text Wrapper */
.footer-text {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.8); /* Dark Text */
  margin: 0;

  /* Flexbox to align text and Logo Image */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* Space between text and logo */
  flex-wrap: wrap; /* Allows wrapping on small screens */
  text-align: center;
}

/* Developer Logo Styling (Inline) */
.dev-logo {
  height: 26px; /* Height adjusted to match text size */
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  transition: opacity 0.2s ease;
}

.dev-logo:hover {
  opacity: 0.8;
}

/* Link Wrapper */
.dev-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 767px) {
  .footer-text {
    font-size: 12px;
    flex-direction: column; /* Stack vertically on mobile */
    gap: 8px;
  }

  .dev-logo {
    height: 22px;
  }
}

/* ============================================================
   SECTION 10: FOOTER SECTION (END)
   ============================================================ */

/* ========================= START BOTTOM BUTTONS =================================== */

/* =========================================
   CEW – CONTACT WIDGET (Global)
   ========================================= */
.cew-container {
  font-family: "Poppins", sans-serif;
  position: fixed;
  bottom: 20px;
  right: 16px;
  z-index: 9900;
  display: flex;
  flex-direction: column-reverse;
  gap: 15px;
  pointer-events: none;
}

.cew-action-btn {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #5f0e58;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation:
    cewPopInDesktop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards,
    cewPulseLoop 2s ease-in-out infinite 0.6s;
}

/* ICON — THIS IS WHAT ANIMATES */
.cew-action-btn i {
  color: #ffffff;
  font-size: 20px;
  transition: transform 0.3s ease;
}

/* Entrance stagger */
.cew-btn-whatsapp {
  animation-delay: 0.1s, 0.7s;
}
.cew-btn-enquire {
  animation-delay: 0.2s, 0.8s;
}
.cew-btn-call {
  animation-delay: 0.3s, 0.9s;
}

/* =========================================
   HOVER — ICON ONLY (NO CLIPPING POSSIBLE)
   ========================================= */
.cew-action-btn:hover i {
  animation: cewIconWobble 0.4s ease-in-out forwards;
}

.cew-action-btn:hover {
  background-color: #15406e;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes cewPopInDesktop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  80% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes cewPulseLoop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

/* ICON wobble — SAFE */
@keyframes cewIconWobble {
  0% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.2) rotate(-10deg);
  }
  50% {
    transform: scale(1.2) rotate(10deg);
  }
  75% {
    transform: scale(1.2) rotate(-10deg);
  }
  100% {
    transform: scale(1.2) rotate(0deg);
  }
}

/* =========================================
   MOBILE VIEW
   ========================================= */
@media (max-width: 768px) {
  .cew-container {
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: row;
    width: 100%;
    height: 45px;
    background: #5f0e58;
    gap: 0;
  }

  .cew-action-btn {
    flex: 1;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  .cew-action-btn i {
    animation: cewMobileIconLoop 2s ease-in-out infinite;
  }

  .cew-btn-call i {
    animation-delay: 0s;
  }
  .cew-btn-enquire i {
    animation-delay: 0.2s;
  }
  .cew-btn-whatsapp i {
    animation-delay: 0.4s;
  }

  body {
    padding-bottom: 60px;
  }
}

@keyframes cewMobileIconLoop {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* ========================= END BOTTOM BUTTONS =================================== */
