:root {
  --color-primary: #023153;
  --color-primary-light: #0d426a;
  --color-primary-dark: #011f36;
  --color-accent: #e5b842;
  --color-accent-hover: #cf9f2d;
  --color-bg-page: #08121e; /* Deep midnight blue for the outer body background */
  --color-bg-light: #f8fafc;
  --color-bg-white: #ffffff;
  --color-text-dark: #0f172a;
  --color-text-muted: #64748b;
  --color-text-light: #ffffff;
  --font-root: "Outfit", sans-serif;
  --max-width: 1280px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-root);
  background-color: #fff;
  color: var(--color-text-dark);
  line-height: 1.5;
  overflow-x: hidden;
  padding: 16px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Global Container Wrapper */
.app-container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  position: relative;
  padding: 0 20px;
}

.main-content {
  width: 100%;
}

/* --------------------------------------------------
   FIXED NAVIGATION BAR
   -------------------------------------------------- */
.site-header {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 62px);
  /* max-width: 1216px; */
  z-index: 1000;
  transition: var(--transition);
}

.header-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 100px;
  padding: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 118px;
  height: 53px;
  aspect-ratio: 118/53;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -0.32px;
  color: var(--color-primary);
  position: relative;
  padding: 16px;
  transition: var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--color-primary-light);
}

.nav-link:hover::after {
  width: 100%;
}

.btn-enquire {
  color: #fff;
  font-family: var(--font-root);
  font-size: 19px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.38px;
  background-color: var(--color-primary);
  padding: 15px 32px;
  border-radius: 47px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-enquire .arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.btn-enquire:hover {
  background-color: var(--color-primary-light);
  box-shadow: 0 4px 15px rgba(2, 49, 83, 0.4);
}

.btn-enquire:hover .arrow-icon {
  transform: translate(2px, -2px);
}

/* --------------------------------------------------
   HERO SECTION
   -------------------------------------------------- */
.hero-section {
  width: 100%;
  margin: 0 auto;
  position: relative;
  border-radius: 32px;
  overflow: visible;
  background: url("../images/hero-bg.png") no-repeat center center / cover;
  padding: 16px;
  min-height: 665px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 40px;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
  width: 100%;
  padding-top: 120px;
}

.hero-content {
  max-width: 352px;
  width: 100%;
  margin-left: 40px;
  color: var(--color-text-light);
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid #deded5;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.05);
  color: #f6f6f4;
  font-family: var(--font-root);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 21.6px */
  letter-spacing: -0.36px;
  text-transform: capitalize;
  margin-bottom: 12px;
}

.badge-icon {
  width: 12.266px;
  height: 17.11px;
}

.hero-title {
  color: #fff;
  font-family: var(--font-root);
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -1.2px;
  text-transform: capitalize;
}

.hero-subtitle {
  color: #f6f6f4;
  font-family: var(--font-root);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.36px;
  text-transform: capitalize;
  margin-bottom: 8px;
}

.hero-description {
  color: rgba(246, 246, 244, 0.8);
  font-family: var(--font-root);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.28px;
  max-width: 540px;
}

/* Hero Enquiry Card */
.hero-form-container {
  justify-self: end;
  width: 100%;
  max-width: 320px;
}

.enquiry-card {
  background: var(--color-bg-white);
  border-radius: 24px;
  overflow: hidden;
}

.enquiry-header {
  background-color: var(--color-primary);
  padding: 16px 24px;
  text-align: center;
}

.enquiry-header h3 {
  color: #fff;
  font-family: var(--font-root);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.4px;
}

.enquiry-form {
  padding: 16px 24px 24px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #eaeaea;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text-dark);
  background-color: #fcfcfc;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus {
  border-color: var(--color-primary);
  background-color: var(--color-bg-white);
  box-shadow: 0 0 0 3px rgba(2, 49, 83, 0.08);
}

.form-group.has-error input {
  border-color: #e74c3c !important;
  background-color: #fdf2f2 !important;
}

.form-group.has-error label {
  color: #e74c3c !important;
}

.error-msg {
  display: block;
  color: #e74c3c;
  font-size: 12px;
  font-weight: 500;
  margin-top: 4px;
  animation: fadeIn 0.2s ease;
}

.phone-input-group {
  display: flex;
  gap: 8px;
}

.country-code-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: #f1f5f9;
  border: 1.5px solid #eaeaea;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
}

.country-code-selector .chevron-icon {
  color: var(--color-primary);
}

.phone-input-group input {
  flex: 1;
}

.btn-submit {
  width: 100%;
  background-color: var(--color-bg-white);
  border: 1.5px solid #eaeaea;
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.submit-arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.btn-submit:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  border-color: var(--color-primary);
  box-shadow: 0 10px 20px rgba(2, 49, 83, 0.2);
}

.btn-submit:hover .submit-arrow-icon {
  transform: translate(2px, -2px);
  filter: brightness(0) invert(1); /* makes blue arrow white on hover */
}

/* --------------------------------------------------
   HERO BOTTOM FEATURES BAR
   -------------------------------------------------- */
.features-bar {
  background-color: var(--color-bg-white);
  border-radius: 100px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(234, 234, 234, 0.8);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

/* .feature-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background-color: #f4f7fa;
  border-radius: 50%;
  flex-shrink: 0;
} */

.feature-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.feature-info {
  display: flex;
  flex-direction: column;
}

.feature-value {
  color: var(--color-primary);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 155%;
  letter-spacing: -0.4px;
}

.feature-label {
  color: #236aa1;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%;
  letter-spacing: -0.34px;
}

.feature-divider {
  width: 1px;
  height: 36px;
  background-color: #deded5;
  margin: 0 24px;
}

/* --------------------------------------------------
   SECTIONS GENERAL STYLING
   -------------------------------------------------- */
.section {
  padding: 120px 40px 20px;
  margin: 0 auto;
}

.section-container {
  width: 100%;
}

.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  background-color: rgba(2, 49, 83, 0.06);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section-title {
  color: #023153;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.8px;
  text-transform: capitalize;
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 650px;
  margin-bottom: 40px;
}

/* --------------------------------------------------
   OVERVIEW SECTION
   -------------------------------------------------- */
.overview-content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.overview-text p {
  font-size: 21px;
  font-style: normal;
  font-weight: 400;
  line-height: 143%;
  letter-spacing: -0.42px;
  background: linear-gradient(180deg, #023153 0%, rgba(2, 49, 83, 0.4) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}

.btn-download-brochure {
  display: inline-block;
  padding: 15px 35px;
  justify-content: center;
  align-items: center;
  gap: 11px;
  border-radius: 58px;
  border: 1px solid #deded5;
  background: #fff;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.05);
  color: #023153;
  font-size: 19px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.38px;
}

.btn-download-brochure:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 49, 83, 0.2);
}

.overview-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  width: 536px;
  max-width: 100%;
  height: 483px;
  justify-self: end;
}

.overview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.overview-image-wrapper:hover .overview-image {
  transform: scale(1.04);
}

.overview-stats-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1.5px solid #eaeaea;
  padding-top: 40px;
  margin-top: 50px;
  width: 100%;
}

.stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.stat-number {
  color: #023153;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: 155%;
  letter-spacing: -0.64px;
}

.stat-text {
  color: #236aa1;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%;
  letter-spacing: -0.32px;
}

.stat-col-divider {
  width: 1.5px;
  height: 40px;
  background-color: #eaeaea;
  margin: 0 20px;
}

/* MP Varam Overview Section */
.mp-varam-overview-container {
  border-radius: 24px;
  background: #f6f6f4;
  padding: 40px;
  margin-top: 64px;
  border: 1px solid #eaeaea;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.01);
}

.mp-overview-title {
  color: #023153;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.8px;
  text-transform: capitalize;
  margin-bottom: 24px;
}

.mp-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mp-overview-card {
  border-radius: 40px;
  border: 1px solid #deded5;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.05);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition);
}

.mp-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(2, 49, 83, 0.08);
  border-color: rgba(2, 49, 83, 0.15);
}

.mp-spec-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 24px;
}

.mp-overview-card h4 {
  color: #023153;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -0.48px;
  text-transform: capitalize;
  margin-bottom: 4px;
}

.mp-overview-card span {
  color: #236aa1;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.36px;
  text-transform: capitalize;
}

/* Button UI */
.btn-primary {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 14px 30px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(2, 49, 83, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-primary-light);
  box-shadow: 0 8px 20px rgba(2, 49, 83, 0.35);
  transform: translateY(-2px);
}

/* --------------------------------------------------
   FLOOR PLAN SECTION
   -------------------------------------------------- */
/* Section Title Wrapper */
.section-title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  width: 100%;
}

.btn-schedule-visit {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px 12px 24px;
  border-radius: 58px;
  border: 1px solid #deded5;
  background: #fff;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.05);
  color: #023153;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.32px;
}

.btn-schedule-visit:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  border-color: var(--color-primary);
}

.btn-schedule-visit .arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s;
}

.btn-schedule-visit:hover .arrow-icon {
  transform: translate(2px, -2px);
}

/* Floor Plan Grid Layout */
.floor-plan-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: flex-start;
  width: 100%;
}

.floor-plan-tabs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.floor-tab-btn {
  background-color: #f8fafc;
  border: 1.5px solid #eaeaea;
  border-radius: 14px;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #475569;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.floor-tab-btn .chevron-right {
  color: #94a3b8;
  transition: transform 0.25s;
}

.floor-tab-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-light);
  box-shadow: 0 8px 20px rgba(2, 49, 83, 0.15);
}

.floor-tab-btn.active .chevron-right {
  color: var(--color-text-light);
  transform: translateX(4px);
}

.floor-tab-btn:hover:not(.active) {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
  color: var(--color-primary);
}

/* Blueprint card styles */
.floor-plan-blueprint-container {
  width: 100%;
}

.floor-tab-panel {
  display: none;
}

.floor-tab-panel.active {
  display: block;
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floor-plan-image-wrapper {
  position: relative;
  width: 592px;
  max-width: 100%;
  height: 468px;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
}

.floor-plan-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.floor-plan-image-wrapper:hover .floor-plan-img {
  transform: scale(1.02);
}

/* --------------------------------------------------
   GALLERY SECTION
   -------------------------------------------------- */

/* Gallery Carousel Styles */
.gallery-carousel-container {
  overflow: hidden;
  width: 100%;
  border-radius: 24px;
  position: relative;
}

.gallery-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 10px 0;
}

.gallery-carousel-item {
  flex-shrink: 0;
  width: 500px;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}

.gallery-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-carousel-item:hover img {
  transform: scale(1.03);
}

.gallery-carousel-controls {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  margin-top: 24px;
}

.carousel-arrow {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid #236aa1;
  background: none;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.carousel-arrow:hover:not(.disabled) {
  background-color: var(--color-primary);
  color: #ffffff;
}

.carousel-arrow.disabled {
  border-color: #eaeaea;
  color: #cbd5e1;
  cursor: not-allowed;
  pointer-events: none;
}

/* --------------------------------------------------
   PERFECTLY POSITIONED SECTION
   -------------------------------------------------- */
.positioned-section,
.site-plan-section {
  background: #ffffff;
}

.positioned-title-wrapper {
  align-items: flex-start;
}

.section-title-wrapper-inner h2 {
  color: #023153;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.8px;
  text-transform: capitalize;
  margin-bottom: 8px;
}

.section-title-wrapper-inner p {
  color: rgba(2, 49, 83, 0.4);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.32px;
}

.section-kicker {
  width: min(100%, 560px);
  margin-top: 6px;
  color: #7b8794;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.positioned-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 40px;
  align-items: stretch;
}

.location-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.location-accordion {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid #deded5;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.03);
}

.location-accordion-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px 12px 12px;
  border: 0;
  background: #ffffff;
  color: var(--color-primary);
  cursor: pointer;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 155%;
  letter-spacing: -0.4px;
}

.location-head-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.location-head-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.accordion-chevron {
  flex: 0 0 auto;
  color: #0d6ca3;
  transition: transform 0.25s ease;
}

.location-accordion:not(.active) .accordion-chevron {
  transform: rotate(180deg);
}

.location-accordion-body {
  display: none;
  padding: 0 14px 14px;
}

.location-accordion.active .location-accordion-body {
  display: grid;
  gap: 10px;
}

.nearby-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 58px;
  border: 1px solid #deded5;
  background: #fff;
  color: #023153;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.28px;
}

.nearby-row strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #236aa1;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.28px;
  white-space: nowrap;
}

.nearby-row img {
  width: 12px;
  height: 17px;
  object-fit: contain;
}

.positioned-map-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%) 0
      0 / 24px 24px,
    linear-gradient(225deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%) 0
      0 / 24px 24px,
    #023153;
}

.map-road {
  position: absolute;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(2, 49, 83, 0.08);
}

.road-horizontal {
  left: 8%;
  right: 8%;
  height: 13px;
}

.road-horizontal.top {
  top: 30%;
}

.road-horizontal.middle {
  top: 56%;
}

.road-horizontal.bottom {
  top: 76%;
}

.road-vertical {
  top: 16%;
  bottom: 14%;
  width: 13px;
}

.road-vertical.left {
  left: 32%;
}

.road-vertical.center {
  left: 58%;
}

.road-vertical.right {
  left: 78%;
}

.map-route-line {
  position: absolute;
  inset: 30% 29% auto auto;
  width: 23%;
  height: 28%;
  border-right: 9px solid #ffffff;
  border-bottom: 9px solid #ffffff;
  transform: skewX(-25deg);
  opacity: 0.96;
}

.map-point {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.map-point.project {
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  background: #e5b842;
}

.map-point.poonamallee {
  right: 16%;
  top: 29%;
}

.map-point.koyambedu {
  right: 20%;
  bottom: 22%;
}

.map-label {
  position: absolute;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 700;
}

.map-label.school {
  left: 17%;
  top: 21%;
}

.map-label.hospital {
  left: 42%;
  bottom: 31%;
}

.map-label.metro {
  right: 12%;
  top: 58%;
}

.connectivity-block {
  margin-top: 40px;
}

.subsection-title {
  margin-bottom: 18px;
  color: #023153;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.64px;
  text-transform: capitalize;
}

.connectivity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.transport-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid #deded5;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.05);
}

.transport-card h4 {
  margin-bottom: 8px;
  color: #023153;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -0.32px;
  text-transform: capitalize;
}

.transport-card p {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #236aa1;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.32px;
}

.transport-card p img {
  width: 12px;
  height: 17px;
  object-fit: contain;
}

.transport-icon img {
  width: 61px;
  height: 61px;
  object-fit: contain;
}

/* --------------------------------------------------
   SITE PLAN SECTION
   -------------------------------------------------- */
.site-plan-stage {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: 18px;
  background: #dddfd5;
}

.site-plan-media {
  width: 100%;
  height: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.site-plan-media img,
.site-plan-media video {
  width: min(92%, 900px);
  max-height: 500px;
  object-fit: contain;
  transform: scale(var(--site-plan-zoom, 1));
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-plan-tools {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.site-plan-tool {
  width: 43px;
  height: 43px;
  cursor: pointer;
  object-fit: contain;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.site-plan-tool:hover {
  transform: translateY(-1px);
}

.site-plan-tool:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* --------------------------------------------------
   FOOTER STYLING
   -------------------------------------------------- */
/* --------------------------------------------------
   FOOTER STYLING
   -------------------------------------------------- */
.main-footer {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  border-radius: 24px;
  padding: 40px;
  margin: 0px auto;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 135px;
}

.footer-logo-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.footer-logo-wrapper img {
  width: 238px;
  height: 107px;
  object-fit: contain;
}

.logo-gold-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: 1.5px;
  line-height: 1;
}

.logo-gold-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 4px;
}

.logo-gold-stars {
  color: var(--color-accent);
  font-size: 11px;
  letter-spacing: 3px;
  margin-top: 4px;
}

.footer-desc-text {
  color: #deded5;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.36px;
}

.footer-content-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  gap: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-text-stack {
  display: flex;
  flex-direction: column;
}

.contact-label {
  color: #deded5;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 155%;
  letter-spacing: -0.4px;
}

.contact-val {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.32px;
}

.footer-links-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 20px;
}

.links-title {
  color: #fff;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.36px;
}

.footer-links-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links-inline a {
  color: #deded5;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -0.32px;
  transition: var(--transition);
}

.footer-links-inline a:hover {
  color: var(--color-accent);
}

.links-divider {
  color: rgba(255, 255, 255, 0.2);
}

.footer-brochure-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brochure-title {
  color: #fff;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.36px;
}

.btn-download-brochure-white {
  width: fit-content;
  color: var(--color-primary);
  padding: 12px 16px 12px 24px;
  border-radius: 58px;
  border: 1px solid #deded5;
  background: #fff;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.05);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-download-brochure-white:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.arrow-wrapper-circle .arrow-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 36px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------
   ANIMATIONS
   -------------------------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* --------------------------------------------------
   RESPONSIVE DESIGN (MEDIA QUERIES)
   -------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-section {
    padding: 120px 40px 140px 40px;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-form-container {
    justify-self: center;
    max-width: 420px;
  }

  .features-bar-container {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin-top: 40px;
  }

  .features-bar {
    border-radius: 24px;
    padding: 24px;
    flex-wrap: wrap;
    gap: 20px;
  }

  .feature-item {
    flex: 1 1 calc(50% - 10px);
  }

  .feature-divider {
    display: none;
  }

  .overview-content-grid,
  .floor-plan-card,
  .location-grid,
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .overview-image-wrapper {
    width: 100%;
    max-width: 536px;
    height: auto;
    aspect-ratio: 536 / 483;
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .header-container {
    padding: 8px 16px;
  }

  .logo-img {
    height: 36px;
  }

  .site-nav {
    display: none; /* simple hidden layout for mobile - can expand if hamburger needed */
  }

  .btn-enquire {
    padding: 8px 18px;
    font-size: 13px;
  }

  .main-content {
    margin-top: 80px;
  }

  .hero-section {
    padding: 80px 24px 40px 24px;
    border-radius: 20px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .section {
    padding: 40px 20px;
    margin: 40px auto;
    border-radius: 20px;
  }

  .features-bar {
    padding: 16px;
  }

  .feature-item {
    flex: 1 1 100%;
  }

  .section-title {
    font-size: 28px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .main-footer {
    padding: 40px 20px 20px 20px;
    border-radius: 20px 20px 0 0;
  }
}

/* Success Modal */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 18, 30, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  backdrop-filter: blur(8px);
}

.success-modal-content {
  background: var(--color-bg-white);
  padding: 40px;
  border-radius: 24px;
  max-width: 440px;
  width: calc(100% - 40px);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.success-icon-wrapper {
  width: 64px;
  height: 64px;
  background: rgba(46, 204, 113, 0.12);
  color: #2ecc71;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 24px auto;
}

.success-check-icon {
  width: 32px;
  height: 32px;
}

.success-modal-content h3 {
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.success-modal-content p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Toast Container */
.toast-container {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  width: calc(100% - 60px);
}

/* Toast Card */
.toast {
  background-color: var(--color-bg-white);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-left: 5px solid transparent;
  color: var(--color-text-dark);
  font-weight: 500;
  font-size: 14px;
  animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.toast.success {
  border-left-color: #2ecc71;
  background-color: #ffffff;
}

.toast.error {
  border-left-color: #e74c3c;
  background-color: #ffffff;
}

.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.toast.success .toast-icon {
  color: #2ecc71;
}

.toast.error .toast-icon {
  color: #e74c3c;
}

.toast-message {
  flex: 1;
}

.toast-fadeout {
  opacity: 0;
  transform: translateY(10px);
}

@keyframes toastSlideIn {
  from {
    transform: translateX(100%) translateY(0);
    opacity: 0;
  }
  to {
    transform: translateX(0) translateY(0);
    opacity: 1;
  }
}

/* Media Query responsiveness for stats bar and toast */
@media (max-width: 1024px) {
  .overview-stats-bar {
    flex-wrap: wrap;
    gap: 30px 10px;
    padding-top: 30px;
    margin-top: 40px;
  }

  .stat-col {
    flex: 1 1 calc(50% - 20px);
  }

  .stat-col-divider {
    display: none;
  }

  .mp-overview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .mp-varam-overview-container {
    padding: 30px 20px;
  }

  .floor-plan-layout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .floor-plan-image-wrapper {
    width: 100%;
    max-width: 592px;
    height: auto;
    aspect-ratio: 592 / 468;
    justify-self: center;
  }

  .positioned-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .positioned-map-card {
    min-height: 360px;
  }

  .site-plan-stage,
  .site-plan-media {
    min-height: 420px;
  }

  .gallery-carousel-item {
    width: 380px;
    height: 280px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .main-footer {
    padding: 40px 30px;
  }
}

@media (max-width: 600px) {
  .toast-container {
    bottom: 20px;
    right: 20px;
    width: calc(100% - 40px);
  }

  .stat-col {
    flex: 1 1 100%;
  }

  .mp-overview-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-carousel-item {
    width: 290px;
    height: 210px;
  }

  .gallery-carousel-track {
    gap: 16px;
  }

  .positioned-title-wrapper {
    gap: 18px;
  }

  .location-accordion-head {
    min-height: 54px;
    padding: 0 14px;
    font-size: 14px;
  }

  .nearby-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
  }

  .connectivity-grid {
    grid-template-columns: 1fr;
  }

  .transport-card {
    min-height: 76px;
    padding: 16px;
  }

  .positioned-map-card {
    min-height: 300px;
    border-radius: 18px;
  }

  .map-point {
    min-width: 70px;
    min-height: 24px;
    font-size: 9px;
  }

  .site-plan-stage,
  .site-plan-media {
    min-height: 320px;
  }

  .site-plan-tools {
    top: 12px;
    right: 12px;
  }

  .footer-links-inline {
    gap: 12px 8px;
  }

  .footer-brochure-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
