.error-name, .error-email, .error-phone, .error-email-valid, .error-phone-valid {
    color: red;
    float: left;
    margin-bottom: 10px;
    display: none;
}

#loading_bottom_1, #loading_bottom_2, #loading_bottom_3 {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -50px 0px 0px -50px;
}

#contactForm {
    position: relative;
}



/* ===== ROOT VARIABLES ===== */
:root {
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --purple-dark: #5b21b6;
  --green: #10b981;
  --green-light: #d1fae5;
  --green-bg: #f0fdf4;
  --green-mid: #ecfdf5;
  --text-dark: #1f2937;
  --text-med: #4b5563;
  --text-light: #9ca3af;
  --white: #ffffff;
  --border-purple: rgba(124,58,237,0.18);
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--green-bg);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
}

img, video, iframe { max-width: 100%; }

.container { max-width: 100%; }

.row { --bs-gutter-x: 1.5rem; }

h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; }

.section-pad { padding: 90px 0; }

.section-label {
  display: inline-block;
  background: rgba(124,58,237,0.07);
  color: var(--purple);
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--border-purple);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.25;
  position: relative;
}

/* centered underline for text-center headings */
.text-center .section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--green));
  border-radius: 2px;
  margin: 14px auto 0;
}

/* left-aligned underline */
.col-lg-6 .section-title::after,
.col-lg-5 .section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--green));
  border-radius: 2px;
  margin: 14px 0 0;
}

.section-subtitle {
  color: var(--text-med);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-text {
  color: var(--text-med);
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 14px;
}

/* ===== COMING SOON BANNER ===== */
.coming-soon-banner {
  background: linear-gradient(90deg, var(--purple-dark), var(--purple), var(--purple-dark));
  background-size: 200% auto;
  animation: bannerSlide 4s linear infinite;
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  z-index: 1100;
  position: relative;
}

@keyframes bannerSlide {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ===== NAVBAR ===== */
#mainNav {
  background: linear-gradient(135deg, #1c0548 0%, #0d2e1a 100%);
  border-bottom: 1px solid rgba(167,139,250,0.25);
  padding: 11px 0;
  transition: all 0.35s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.28);
  z-index: 1050;
}

#mainNav.scrolled {
  padding: 8px 0;
  background: linear-gradient(135deg, #140336 0%, #0a2214 100%);
  box-shadow: 0 6px 36px rgba(0,0,0,0.38);
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}

.brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.brand-accent { color: #86efac; }

.brand-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.25) !important;
  padding: 6px 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.nav-link {
  color: rgba(255,255,255,0.82) !important;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 13px !important;
  border-radius: 8px !important;
  transition: all 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,0.12);
}

.btn-nav-cta {
  background: linear-gradient(135deg, var(--green), #059669) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 9px 20px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(16,185,129,0.35) !important;
  border: none !important;
}

.btn-nav-cta:hover {
  background: linear-gradient(135deg, #059669, #047857) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 7px 20px rgba(16,185,129,0.48) !important;
}

/* ===== HERO ===== */
.hero-section {
  min-height: 100vh;
  background:
    linear-gradient(rgba(8,8,25,0.60), rgba(8,8,25,0.60)),
    url('../images/slider/slider-01.webp') center / cover no-repeat;
  background-color: #0d1b2a;
  position: relative;
  display: flex;
  align-items: center;
  padding: 130px 0 100px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91,33,182,0.25) 0%, rgba(16,185,129,0.08) 100%);
  pointer-events: none;
}

.coming-soon-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--green), #34d399);
  color: #fff;
  padding: 5px 18px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  box-shadow: 0 3px 12px rgba(16,185,129,0.4);
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-title span { color: var(--purple-light); }

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.87);
  margin-bottom: 20px;
  font-weight: 300;
}

.badge-item {
  background: rgba(255,255,255,0.11);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  padding: 7px 15px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
}

.badge-item i { margin-right: 5px; color: #6ee7b7; }

.hero-bullets { list-style: none; padding: 0; margin: 18px 0; }

.hero-bullets li {
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  margin-bottom: 9px;
  text-align: left;
  display: inline-flex;
  align-items: center;
  width: 100%;
  justify-content: center;
}

.hero-bullets li i { color: #34d399; margin-right: 9px; font-size: 1rem; flex-shrink: 0; }

.btn-primary-custom {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  border: none;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14.5px;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(124,58,237,0.38);
  text-decoration: none;
  display: inline-block;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(124,58,237,0.5);
  color: #fff;
}

.btn-outline-custom {
  color: #fff;
  border: 2px solid rgba(255,255,255,0.55);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  background: transparent;
}

.btn-outline-custom:hover { background: #fff; color: var(--purple); border-color: #fff; }

/* Hero Form Card */
.hero-form-card {
  background: rgba(255,255,255,0.98);
  border-radius: 18px;
  padding: 36px 30px;
  border: 2px solid var(--border-purple);
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}

.form-title {
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.form-subtitle { color: var(--text-med); font-size: 13px; margin-bottom: 22px; }

.custom-input {
  border: 2px solid rgba(124,58,237,0.14);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  transition: all 0.2s;
  background: #fafcff;
  color: var(--text-dark);
}

.custom-input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
  background: #fff;
  outline: none;
}

.btn-form-submit {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(124,58,237,0.32);
}

.btn-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(124,58,237,0.48);
  color: #fff;
}

.form-privacy { font-size: 11.5px; color: var(--text-light); margin-bottom: 0; }

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2.2s infinite;
}

.scroll-indicator a { color: rgba(255,255,255,0.6); font-size: 1.4rem; text-decoration: none; }

@keyframes bounce {
  0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== ABOUT ===== */
.about-section {
  background: #fff;
  position: relative;
}

.about-section::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, rgba(240,253,244,0.7) 0%, rgba(245,240,255,0.7) 100%);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
  z-index: 0;
}

.about-section .container { position: relative; z-index: 1; }

.about-real-img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 18px;
  border: 3px solid var(--border-purple);
  box-shadow: 0 16px 50px rgba(124,58,237,0.15);
  display: block;
}

.about-image-wrap { position: relative; }

.about-badge-float {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--purple);
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(124,58,237,0.42);
}

.about-badge-float span { font-size: 11px; display: block; opacity: 0.85; }
.about-badge-float strong { font-size: 1.2rem; }

.about-feature {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--green-bg);
  border: 2px solid rgba(124,58,237,0.1);
  border-radius: 9px;
  padding: 13px 16px;
  transition: all 0.2s;
}

.about-feature:hover { border-color: var(--purple); transform: translateY(-2px); }
.about-feature i { font-size: 1.25rem; color: var(--purple); }
.about-feature span { font-size: 13.5px; font-weight: 600; color: var(--text-dark); }

/* ===== HIGHLIGHTS ===== */
.highlights-section {
  background: var(--green-bg);
  position: relative;
}

.highlights-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(124,58,237,0.05) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(16,185,129,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.stat-card {
  background: #fff;
  border: 2px solid var(--border-purple);
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--green));
  border-radius: 16px 16px 0 0;
}

.stat-card:hover { border-color: var(--purple); transform: translateY(-6px); box-shadow: 0 18px 40px rgba(124,58,237,0.16); }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label { color: var(--text-med); font-size: 13.5px; font-weight: 600; }

.highlight-card {
  background: #fff;
  border: 2px solid var(--border-purple);
  border-left: 4px solid var(--purple);
  border-radius: 16px;
  padding: 32px 26px;
  height: 100%;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.highlight-card:hover {
  border-color: var(--purple);
  border-left-color: var(--green);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(124,58,237,0.14);
}

.highlight-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--green-light), rgba(167,139,250,0.18));
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  color: var(--purple);
  border: 1px solid rgba(124,58,237,0.12);
}

.highlight-card h5 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.highlight-card p { color: var(--text-med); font-size: 13.5px; line-height: 1.75; margin: 0; }

/* ===== HOMES / PRICING ===== */
.homes-section {
  background: linear-gradient(180deg, var(--green-bg) 0%, #fff 30%);
}

.features-list { display: flex; flex-direction: column; gap: 15px; }

.feature-item { display: flex; align-items: flex-start; gap: 14px; }
.feature-item > i { font-size: 1.15rem; color: var(--green); margin-top: 3px; flex-shrink: 0; }
.feature-item strong { display: block; font-size: 14.5px; color: var(--text-dark); margin-bottom: 2px; }
.feature-item p { font-size: 13px; color: var(--text-med); margin: 0; line-height: 1.6; }

.pricing-card {
  background: #fff;
  border: 2px solid var(--border-purple);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 44px rgba(124,58,237,0.12);
}

.pricing-header {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pricing-header h4 { font-size: 1.15rem; margin: 0; color: #fff; }

.pricing-badge {
  background: rgba(255,255,255,0.18);
  padding: 4px 13px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.pricing-body { padding: 24px; }

.config-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.config-type {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--purple);
  min-width: 60px;
}

.config-details { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.config-area { font-size: 13px; color: var(--text-med); }
.config-price { font-size: 14px; font-weight: 700; color: var(--text-dark); }

.config-divider { height: 1px; background: rgba(124,58,237,0.1); margin: 4px 0; }

.btn-config {
  background: rgba(124,58,237,0.07);
  color: var(--purple);
  border: 1.5px solid rgba(124,58,237,0.28);
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-config:hover { background: var(--purple); color: #fff; border-color: var(--purple); }

.pricing-footer {
  background: var(--green-bg);
  border-top: 1px solid rgba(124,58,237,0.1);
  padding: 14px 24px;
  font-size: 13px;
  color: var(--text-med);
}

/* ===== AMENITIES ===== */
.amenities-section {
  background: linear-gradient(160deg, #e8f4fd 0%, var(--green-bg) 40%, #f3e8ff 100%);
  position: relative;
  overflow: hidden;
}

.amenities-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.amenities-section::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.amenity-card {
  background: #fff;
  border: 2px solid var(--border-purple);
  border-radius: 16px;
  padding: 38px 22px;
  text-align: center;
  margin: 8px 4px;
  transition: all 0.3s;
  height: 100%;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.amenity-card:hover { border-color: var(--purple); transform: translateY(-6px); box-shadow: 0 16px 44px rgba(124,58,237,0.16); }

.amenity-icon {
  width: 74px;
  height: 74px;
  background: linear-gradient(135deg, var(--green-light), rgba(167,139,250,0.18));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.85rem;
  color: var(--purple);
  border: 2px solid rgba(124,58,237,0.12);
}

.amenity-card h5 { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.amenity-card p { color: var(--text-med); font-size: 13.5px; line-height: 1.75; margin: 0; }

.amenitiesSwiper {
  padding-bottom: 52px !important;
  padding-top: 8px !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}

.swiper-button-next, .swiper-button-prev {
  color: var(--purple) !important;
  background: #fff;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  border: 2px solid var(--border-purple);
}

.swiper-button-next::after, .swiper-button-prev::after { font-size: 13px !important; font-weight: 900; }
.swiper-pagination-bullet-active { background: var(--purple) !important; }
.swiper-pagination-bullet { background: rgba(124,58,237,0.3) !important; }

/* ===== LOCATION ===== */
.location-section {
  background: linear-gradient(160deg, #fff 0%, var(--green-bg) 60%, #f0ebff 100%);
}

.location-points { display: flex; flex-direction: column; gap: 18px; }

.location-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.75);
  border: 1.5px solid var(--border-purple);
  border-radius: 12px;
  padding: 14px 16px;
  transition: all 0.25s;
  backdrop-filter: blur(4px);
}

.location-point:hover {
  border-color: var(--purple);
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(124,58,237,0.1);
  background: #fff;
}

.loc-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--green-light), rgba(167,139,250,0.18));
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--purple);
  flex-shrink: 0;
  border: 1.5px solid var(--border-purple);
}

.location-point strong { display: block; font-size: 14.5px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.location-point p { font-size: 13px; color: var(--text-med); margin: 0; line-height: 1.6; }

.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--border-purple);
  box-shadow: 0 8px 30px rgba(0,0,0,0.09);
}

/* ===== FLOOR PLANS ===== */
.floorplans-section { background: var(--green-bg); }

.floorplan-card {
  background: #fff;
  border: 2px solid var(--border-purple);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0,0,0,0.06);
  transition: all 0.3s;
}

.floorplan-card:hover { border-color: var(--purple); box-shadow: 0 14px 38px rgba(124,58,237,0.12); }

.floorplan-type {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  padding: 13px 22px;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.floorplan-preview {
  position: relative;
  height: 270px;
  background: var(--green-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floorplan-placeholder { color: rgba(124,58,237,0.12); }

.floorplan-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(3px) brightness(0.55);
  transition: filter 0.3s;
}

.lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12,12,38,0.82);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  gap: 12px;
  z-index: 2;
}

.lock-overlay i { color: rgba(255,255,255,0.65); }
.lock-overlay p { font-size: 14px; color: rgba(255,255,255,0.8); margin: 0; }

.btn-unlock {
  background: linear-gradient(135deg, var(--green), #059669);
  color: #fff;
  border: none;
  padding: 10px 26px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-unlock:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 6px 20px rgba(16,185,129,0.4); }

.floorplan-info {
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  border-top: 1px solid rgba(124,58,237,0.08);
}

.floorplan-info span { font-size: 13px; color: var(--text-med); font-weight: 500; }

/* ===== GALLERY ===== */
.gallery-section {
  background: linear-gradient(180deg, #fff 0%, var(--green-bg) 100%);
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(124,58,237,0.09);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-ph { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(124,58,237,0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  opacity: 0;
  transition: all 0.3s;
  z-index: 2;
}

.gallery-ph {
  height: 200px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  transition: transform 0.4s ease;
  background-size: cover;
  background-position: center;
}

.gi-tall .gallery-ph { height: 415px; }

.gallery-ph span {
  background: rgba(0,0,0,0.52);
  color: #fff;
  padding: 4px 11px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.gi-exterior { background: linear-gradient(rgba(0,0,0,0.25),rgba(0,0,0,0.45)), url('../images/gallery/exterior_view.jfif') center/cover no-repeat; }
.gi-living   { background: linear-gradient(rgba(0,0,0,0.15),rgba(0,0,0,0.40)), url('../images/gallery/living_room.jfif') center/cover no-repeat; }
.gi-kitchen  { background: linear-gradient(rgba(0,0,0,0.15),rgba(0,0,0,0.40)), url('../images/gallery/kitchen.jfif') center/cover no-repeat; }
.gi-bedroom  { background: linear-gradient(rgba(0,0,0,0.15),rgba(0,0,0,0.40)), url('../images/gallery/bedroom.jfif') center/cover no-repeat; }
.gi-garden   { background: linear-gradient(rgba(0,0,0,0.15),rgba(0,0,0,0.40)), url('../images/gallery/landscaped_garden.jfif') center/cover no-repeat; }
.gi-gym      { background: linear-gradient(rgba(0,0,0,0.15),rgba(0,0,0,0.40)), url('../images/gallery/fitness_center.jfif') center/cover no-repeat; }
.gi-club     { background: linear-gradient(rgba(0,0,0,0.15),rgba(0,0,0,0.40)), url('../images/gallery/clubhouse.jfif') center/cover no-repeat; }
.gi-pool     { background: linear-gradient(rgba(0,0,0,0.15),rgba(0,0,0,0.40)), url('../images/gallery/pool_area.jfif') center/cover no-repeat; }
.gi-play     { background: linear-gradient(rgba(0,0,0,0.15),rgba(0,0,0,0.40)), url('../images/gallery/kids_playarea.jfif') center/cover no-repeat; }

/* ===== INVESTMENT ===== */
.investment-section {
  background: linear-gradient(160deg, var(--green-bg) 0%, #f5f0ff 100%);
  position: relative;
  overflow: hidden;
}

.investment-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.investment-points { display: flex; flex-direction: column; gap: 22px; }

.inv-point { display: flex; align-items: flex-start; gap: 16px; }

.inv-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(124,58,237,0.3);
}

.inv-point h6 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.inv-point p { font-size: 13px; color: var(--text-med); margin: 0; line-height: 1.65; }

.why-choose-card {
  background: #fff;
  border: 2px solid var(--border-purple);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 10px 44px rgba(124,58,237,0.1);
}

.why-choose-card h4 { font-size: 1.25rem; color: var(--text-dark); margin-bottom: 12px; }
.why-choose-card h4 i { color: var(--purple); }
.why-choose-card > p { color: var(--text-med); font-size: 14px; margin-bottom: 20px; line-height: 1.75; }

.why-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.why-list li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--text-dark); font-weight: 500; }
.why-list li i { color: var(--green); font-size: 1.05rem; flex-shrink: 0; }

/* ===== FAQ ===== */
.faq-section {
  background: linear-gradient(160deg, var(--green-bg) 0%, #fff 50%, var(--green-bg) 100%);
}

.faq-accordion { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  border: 2px solid var(--border-purple) !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: none !important;
}

.faq-btn {
  color: var(--text-dark) !important;
  font-weight: 600;
  font-size: 15px;
  background: #fff !important;
  padding: 18px 22px;
  box-shadow: none !important;
}

.faq-btn:not(.collapsed) {
  background: rgba(124,58,237,0.04) !important;
  color: var(--purple) !important;
}

.faq-btn::after { filter: invert(30%) sepia(60%) saturate(2200%) hue-rotate(245deg); }

.faq-body {
  color: var(--text-med);
  font-size: 14px;
  line-height: 1.82;
  padding: 16px 22px 20px;
  background: rgba(240,253,244,0.5);
}

/* ===== CONTACT ===== */
.contact-section {
  background: linear-gradient(135deg, #f5f0ff 0%, var(--green-bg) 50%, #e8f9f2 100%);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 80%, rgba(16,185,129,0.06) 0%, transparent 50%),
                    radial-gradient(circle at 90% 20%, rgba(124,58,237,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.contact-form-card {
  background: #fff;
  border: 2px solid var(--border-purple);
  border-radius: 20px;
  padding: 42px 38px;
  box-shadow: 0 10px 46px rgba(124,58,237,0.1);
}

.form-label { font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }


.privacy-check .form-check-label { font-size: 13px; color: var(--text-med); line-height: 1.6; }
.privacy-check a { color: var(--purple); font-weight: 600; }
.privacy-check .form-check-input:checked { background-color: var(--purple); border-color: var(--purple); }

.form-success-msg {
  text-align: center;
  padding: 50px 20px;
  color: var(--green);
}

.form-success-msg h4 { font-size: 1.9rem; color: var(--text-dark); margin-bottom: 10px; }
.form-success-msg p { color: var(--text-med); font-size: 15px; }

/* ===== FINAL CTA ===== */
.final-cta-section {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a0d4a 50%, #0d2818 100%);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(124,58,237,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.final-cta-title {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.final-cta-text { color: rgba(255,255,255,0.78); font-size: 1rem; max-width: 660px; margin: 0 auto; line-height: 1.85; }

.btn-final-cta {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  padding: 14px 34px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  transition: all 0.3s;
  box-shadow: 0 5px 22px rgba(124,58,237,0.4);
  text-decoration: none;
}

.btn-final-cta:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 10px 32px rgba(124,58,237,0.5); }

.btn-final-outline {
  color: #fff;
  border: 2px solid rgba(255,255,255,0.48);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-final-outline:hover { background: #fff; color: var(--purple); border-color: #fff; }

.btn-final-whatsapp {
  background: #25d366;
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-final-whatsapp:hover { background: #128c7e; color: #fff; transform: translateY(-2px); }

/* ===== FOOTER ===== */
.site-footer {
  background: #0a1628;
  color: rgba(255,255,255,0.72);
  padding: 65px 0 30px;
}

.footer-brand h4 { font-size: 1.65rem; color: #fff; margin-bottom: 14px; }
.footer-brand h4 span { color: var(--purple-light); }
.footer-brand p { font-size: 13.5px; line-height: 1.82; }

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.08);
}

.footer-social a:hover { background: var(--purple); color: #fff; border-color: var(--purple); }

.footer-heading { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; font-family: 'Inter', sans-serif; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 13.5px; transition: color 0.2s; }
.footer-links a:hover { color: var(--purple-light); }

.footer-contact p { font-size: 13.5px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.footer-contact i { color: var(--purple-light); width: 15px; flex-shrink: 0; font-size: 14px; }
.footer-contact a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover { color: var(--purple-light); }

.rera-info {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 7px;
  padding: 10px 14px;
}

.rera-info small { font-size: 12px; color: rgba(255,255,255,0.45); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 22px;
  margin-top: 46px;
  text-align: center;
}

.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,0.38); margin-bottom: 6px; }
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--purple-light); }
.footer-disclaimer { font-size: 11px !important; max-width: 700px; margin: 0 auto !important; color: rgba(255,255,255,0.22) !important; }

/* ===== MOBILE STICKY BAR ===== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 2px solid var(--border-purple);
  display: flex;
  z-index: 1040;
  box-shadow: 0 -4px 22px rgba(0,0,0,0.1);
}

.sticky-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 11px 6px;
  text-decoration: none;
  font-size: 10.5px;
  font-weight: 800;
  gap: 4px;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sticky-btn i { font-size: 1.25rem; }

.sticky-call { color: var(--purple); }
.sticky-call:hover { background: rgba(124,58,237,0.07); color: var(--purple); }

.sticky-whatsapp {
  color: #1a9e4f;
  border-left: 1px solid rgba(0,0,0,0.06);
  border-right: 1px solid rgba(0,0,0,0.06);
}

.sticky-whatsapp:hover { background: rgba(37,211,102,0.08); color: #1a9e4f; }

.sticky-enquire { color: var(--purple-dark); }
.sticky-enquire:hover { background: rgba(124,58,237,0.07); color: var(--purple-dark); }

/* ===== SCROLL TO TOP ===== */
.scroll-top-btn {
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 46px;
  height: 46px;
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(124,58,237,0.42);
}

.scroll-top-btn.visible { opacity: 1; visibility: visible; }
.scroll-top-btn:hover { background: var(--purple-dark); transform: translateY(-3px); }

/* ===== RESPONSIVE ===== */
@media (min-width: 992px) {
  .scroll-top-btn { bottom: 22px; }
  .hero-bullets li { justify-content: center; }
}

@media (max-width: 991px) {
  .section-pad { padding: 70px 0; }
  .hero-section { padding: 110px 0 130px; }
  body { padding-bottom: 66px; }

  /* Navbar mobile dropdown */
  #navMenu {
    background: linear-gradient(160deg, #1c0548, #0d2e1a);
    border-radius: 0 0 12px 12px;
    padding: 10px 0 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .navbar-nav { padding: 0 8px; }
  .nav-link { border-radius: 8px !important; margin-bottom: 2px; }

  /* Prevent overflow from decorative elements */
  .amenities-section::before,
  .amenities-section::after,
  .investment-section::before,
  .highlights-section::before { display: none; }
}

@media (max-width: 767px) {
  .section-pad { padding: 56px 0; }
  .section-title { font-size: 1.5rem; }
  .hero-form-card { padding: 24px 18px; }
  .contact-form-card { padding: 24px 18px; }
  .why-choose-card { padding: 24px 20px; }

  /* Captcha fix - stack on mobile */
  .captcha-box .d-flex { flex-wrap: wrap; gap: 10px !important; }
  .captcha-question {
    font-size: 1rem;
    padding: 10px 14px;
    min-width: unset;
    white-space: normal;
    flex: 1 1 auto;
  }
  .captcha-eq { display: none; }
  .captcha-input { max-width: 80px; flex-shrink: 0; }
  .btn-captcha-refresh { flex-shrink: 0; }

  .config-row { flex-wrap: wrap; gap: 8px; }
  .gi-tall .gallery-ph { height: 260px; }

  /* Fix map overflow */
  .map-wrapper iframe { height: 280px; }

  /* Hero badges wrap fix */
  .hero-badges { justify-content: center; }
  .badge-item { font-size: 12px; padding: 6px 10px; }

  /* About badge float repositioned */
  .about-badge-float { bottom: 10px; right: 10px; padding: 10px 14px; }
  .about-badge-float strong { font-size: 1rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.85rem; }
  .stat-number { font-size: 2.4rem; }
  .section-title { font-size: 1.4rem; }
  .hero-form-card { padding: 20px 16px; }
  .contact-form-card { padding: 20px 16px; }

  /* Ensure no overflowing cards */
  .highlight-card,
  .stat-card,
  .amenity-card,
  .floorplan-card,
  .why-choose-card {
    min-width: 0;
    width: 100%;
  }

  .final-cta-section { padding: 60px 0; }
  .btn-final-cta, .btn-final-outline, .btn-final-whatsapp {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}


/* Custom CAPTCHA Section */
.captcha-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    border: 2px solid #e2e8f0;
    position: relative;
}

.captcha-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--secondary-color);
}

.captcha-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.captcha-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
}

.captcha-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    background: var(--white-color);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
}

.captcha-code {
    font-family: 'Courier New', monospace;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 10px;
    padding: 15px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 8px;
    color: var(--primary-color);
    user-select: none;
    text-align: center;
    flex-grow: 1;
    margin-right: 20px;
    border: 1px dashed #cbd5e1;
}

.captcha-refresh-btn {
    background: var(--gradient-primary);
    color: var(--white-color);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(12, 74, 110, 0.2);
}

.captcha-refresh-btn:hover {
    transform: rotate(180deg);
    box-shadow: 0 8px 20px rgba(12, 74, 110, 0.3);
}

.captcha-input-container {
    margin-bottom: 15px;
}

.captcha-input {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    background-color: var(--white-color);
}

.captcha-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(12, 74, 110, 0.1);
}

.captcha-message {
    font-size: 0.9rem;
    margin-top: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    display: none;
    align-items: center;
    gap: 10px;
}

.captcha-success {
    background-color: #d1fae5;
    color: #065f46;
    display: flex;
}

.captcha-error {
    background-color: #fee2e2;
    color: #991b1b;
    display: flex;
}
