/* ============================================
   PRESTIGE HORIZON - Real Estate Website
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #1a3a5c;
  --primary-dark: #0f2740;
  --primary-light: #2d6a9f;
  --gold: #C5A55A;
  --gold-dark: #8B6914;
  --gold-light: #e8d5a0;
  --text: #2d3436;
  --text-light: #636e72;
  --text-muted: #b2bec3;
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #0c1e30;
  --border: #e0e0e0;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.text-gold {
  color: var(--gold);
}

/* --- Preloader --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
}

.loader-inner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(197, 165, 90, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loader span {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 4px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 38px;
  font-size: 16px;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 165, 90, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

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

.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* --- Section Headers --- */
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 16px;
  position: relative;
  padding-left: 45px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.text-center .section-tag {
  padding-left: 0;
}

.text-center .section-tag::before {
  display: none;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
}

/* --- Header --- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

#header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
}

.logo-main {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 3px;
  line-height: 1.1;
}

.logo-sub {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 6px;
  color: var(--gold);
  text-transform: uppercase;
}

#navbar ul {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.5px;
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.header-phone i {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary-dark);
  transition: var(--transition);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 78px;
  left: 0;
  width: 100%;
  height: calc(100vh - 78px);
  background: #fff;
  z-index: 999;
  padding: 30px 24px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-link {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.mobile-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 14px 28px;
  background: var(--gold);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #0c1e30 0%, #1a3a5c 40%, #2d6a9f 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 30, 48, 0.5);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(197, 165, 90, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(45, 106, 159, 0.15) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 120px 24px 60px;
  margin: 0 auto 0 8%;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(197, 165, 90, 0.15);
  border: 1px solid rgba(197, 165, 90, 0.3);
  border-radius: 50px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero .btn-outline:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.hero-badge-row {
  display: flex;
  gap: 24px;
}

.hero-mini-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.hero-mini-badge i {
  color: var(--gold);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-scroll i {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* --- Stats --- */
.stats {
  background: var(--primary-dark);
  padding: 50px 0;
  position: relative;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--primary-light), var(--gold));
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

.stat-number.currency::before {
  content: '₹';
  font-size: 32px;
}

.stat-label {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-top: 4px;
}

.stat-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
}

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-1 {
  width: 85%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-2 {
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 55%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: var(--shadow-lg);
}

.about-experience {
  position: absolute;
  top: 20px;
  right: 10px;
  background: var(--gold);
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.exp-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.exp-text {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
  margin-top: 4px;
}

.about-lead {
  font-size: 18px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 16px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 28px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}

.about-feature i {
  font-size: 22px;
  color: var(--gold);
  margin-top: 2px;
}

.about-feature strong {
  display: block;
  font-size: 15px;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.about-feature span {
  font-size: 13px;
  color: var(--text-light);
}

/* --- Image Placeholders --- */
.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.img-placeholder i {
  font-size: 48px;
  opacity: 0.6;
}

.img-placeholder span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- Amenities --- */
.amenities {
  background: var(--bg-light);
}

.amenity-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0 32px;
  flex-wrap: wrap;
}

.amenity-tab {
  padding: 12px 28px;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.amenity-tab:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.amenity-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.amenity-panel {
  display: none;
}

.amenity-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.amenity-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.amenity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.amenity-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(197, 165, 90, 0.1), rgba(197, 165, 90, 0.05));
  border-radius: 50%;
  color: var(--gold);
  font-size: 28px;
}

.amenity-card h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.amenity-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- Floor Plans --- */
.floorplan-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 40px 0 36px;
}

.fp-tab {
  padding: 14px 36px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.fp-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.fp-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.floorplan-content {
  display: none;
}

.floorplan-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.fp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.fp-placeholder {
  min-height: 420px;
  border-radius: var(--radius);
  position: relative;
}

.fp-diagram {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 30px;
  width: 100%;
  max-width: 400px;
}

.fp-room {
  padding: 16px 10px;
  background: rgba(26, 58, 92, 0.08);
  border: 2px solid rgba(26, 58, 92, 0.2);
  border-radius: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.4;
}

.fp-room small {
  display: block;
  font-weight: 400;
  color: var(--text-light);
  margin-top: 4px;
}

.fp-room-living {
  grid-column: span 2;
}

.fp-room-balcony {
  background: rgba(197, 165, 90, 0.1);
  border-color: rgba(197, 165, 90, 0.3);
  color: var(--gold-dark);
}

.fp-details h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.fp-config {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}

.fp-size {
  padding: 8px 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.fp-price {
  padding: 8px 16px;
  background: rgba(197, 165, 90, 0.1);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-dark);
}

.fp-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.fp-spec {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}

.fp-spec i {
  font-size: 20px;
  color: var(--gold);
}

.fp-spec strong {
  display: block;
  font-size: 18px;
  color: var(--primary-dark);
  line-height: 1.2;
}

.fp-spec span {
  display: block;
  font-size: 12px;
  color: var(--text-light);
}

.fp-highlights {
  margin-bottom: 28px;
}

.fp-highlights li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}

.fp-highlights i {
  color: var(--gold);
  font-size: 14px;
}

.fp-actions {
  display: flex;
  gap: 12px;
}

/* --- Pricing --- */
.pricing {
  background: var(--bg-light);
}

.price-table {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.price-table table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th {
  background: var(--primary-dark);
  color: #fff;
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: left;
}

.price-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tr:hover td {
  background: rgba(197, 165, 90, 0.04);
}

.status-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.available {
  background: rgba(39, 174, 96, 0.1);
  color: #27ae60;
}

.status-badge.limited {
  background: rgba(230, 126, 34, 0.1);
  color: #e67e22;
}

.price-disclaimer {
  padding: 16px 24px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-light);
}

/* --- Gallery --- */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

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

.gallery-placeholder {
  min-height: 240px;
  border-radius: 0;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

/* --- Location --- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.location-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.loc-group h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.loc-group h4 i {
  color: var(--gold);
}

.loc-group ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.loc-group li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
}

.loc-group li i {
  font-size: 8px;
  color: var(--gold);
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.map-placeholder {
  min-height: 450px;
  border-radius: 0;
}

.map-address {
  font-size: 14px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin-top: 12px;
  opacity: 0.7;
  line-height: 1.6;
}

/* --- Testimonials --- */
.testimonials {
  background: var(--bg-light);
}

.testimonials-slider {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  min-height: 280px;
}

.testimonial-card {
  display: none;
  text-align: center;
  animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
  display: block;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.testimonial-author strong {
  display: block;
  font-size: 16px;
  color: var(--primary-dark);
}

.testimonial-author span {
  font-size: 13px;
  color: var(--text-light);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 50%, rgba(197, 165, 90, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 90% 50%, rgba(197, 165, 90, 0.08) 0%, transparent 50%);
}

.cta-content {
  position: relative;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: 40px;
  color: #fff;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Contact --- */
.contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(197, 165, 90, 0.1);
  border-radius: 50%;
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 15px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.contact-item span {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Contact Form */
.contact-form-wrapper {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.contact-form > p {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 28px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-light);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.1);
  background: #fff;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23636e72' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row .form-group:first-child {
  flex: 0 0 120px;
}

.flex-2 {
  flex: 2;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}

.form-check label {
  font-size: 13px;
  color: var(--text-light);
  cursor: pointer;
}

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
}

.form-note i {
  color: var(--gold);
  margin-right: 4px;
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  padding: 80px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo .logo-main {
  color: #fff;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: #fff;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact p i {
  color: var(--gold);
  margin-top: 4px;
}

.footer-rera {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8) !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 900;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .section {
    padding: 70px 0;
  }

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

  .hero h1 {
    font-size: 48px;
  }

  .hero-content {
    margin-left: 5%;
  }

  .stats-grid {
    gap: 24px;
  }

  .stat-number {
    font-size: 36px;
  }

  .about-grid,
  .fp-grid,
  .location-grid,
  .contact-grid {
    gap: 40px;
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

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

  .section-desc {
    font-size: 15px;
  }

  /* Header Mobile */
  #navbar {
    display: none;
  }

  .header-actions .header-phone,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  /* Hero Mobile */
  .hero h1 {
    font-size: 36px;
  }

  .hero-content {
    margin: 0;
    padding: 100px 20px 80px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-badge-row {
    flex-direction: column;
    gap: 10px;
  }

  .hero-scroll {
    display: none;
  }

  /* Stats Mobile */
  .stats {
    padding: 36px 0;
  }

  .stats-grid {
    flex-wrap: wrap;
    gap: 20px;
  }

  .stat-item {
    min-width: calc(33% - 16px);
  }

  .stat-number {
    font-size: 30px;
  }

  .stat-divider {
    display: none;
  }

  /* About Mobile */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-images {
    max-width: 500px;
    margin: 0 auto;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  /* Amenities Mobile */
  .amenity-tabs {
    gap: 6px;
  }

  .amenity-tab {
    padding: 10px 18px;
    font-size: 13px;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Floor Plans Mobile */
  .fp-grid {
    grid-template-columns: 1fr;
  }

  .fp-specs {
    grid-template-columns: repeat(2, 1fr);
  }

  .fp-actions {
    flex-direction: column;
  }

  .floorplan-tabs {
    gap: 8px;
  }

  .fp-tab {
    padding: 12px 24px;
    font-size: 14px;
  }

  /* Price Table Mobile */
  .price-table {
    overflow-x: auto;
  }

  .price-table table {
    min-width: 600px;
  }

  /* Gallery Mobile */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-placeholder {
    min-height: 180px;
  }

  /* Location Mobile */
  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-highlights {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .map-placeholder {
    min-height: 300px;
  }

  /* CTA Mobile */
  .cta-banner {
    padding: 60px 0;
  }

  .cta-banner h2 {
    font-size: 28px;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

  /* Contact Mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-wrapper {
    padding: 28px 20px;
  }

  /* Testimonials Mobile */
  .testimonial-text {
    font-size: 16px;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  /* Form Row */
  .form-row {
    flex-direction: column;
    gap: 16px;
  }

  .form-row .form-group:first-child {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 24px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .stat-item {
    min-width: calc(50% - 16px);
  }

  .stat-number {
    font-size: 26px;
  }

  .stat-number.currency::before {
    font-size: 20px;
  }

  .fp-specs {
    grid-template-columns: 1fr 1fr;
  }

  .fp-config {
    flex-direction: column;
    gap: 8px;
  }

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

  .gallery-placeholder {
    min-height: 200px;
  }

}
