/* ============================================================
   TENGAH GARDEN RESIDENCES — Global Stylesheet
   Design System: Forest Green + Gold + Dark Navy
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --primary-green:   #2D6A4F;
  --dark-green:      #1B4332;
  --light-green:     #74C69D;
  --pale-green:      #D8F3DC;
  --gold:            #C9A84C;
  --gold-light:      #E8C97A;
  --dark-bg:         #1A1A2E;
  --dark-bg2:        #16213E;
  --off-white:       #F8F9FA;
  --white:           #FFFFFF;
  --text-dark:       #1C2B2B;
  --text-muted:      #6B7280;
  --border:          #E5E7EB;
  --card-shadow:     0 4px 20px rgba(0,0,0,0.08);
  --card-shadow-hover: 0 12px 40px rgba(0,0,0,0.16);
  --radius-card:     12px;
  --radius-btn:      6px;
  --font-body:       'Inter', sans-serif;
  --font-heading:    'Playfair Display', serif;
  --transition:      0.3s ease;
  --hero-overlay:    linear-gradient(135deg, rgba(27,67,50,0.85) 0%, rgba(26,26,46,0.75) 100%);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Page Fade-in --- */
body { animation: pageFade 0.5s ease forwards; }
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
p { font-size: 1rem; color: var(--text-muted); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.5px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer; border: none;
}
.btn-gold {
  background: var(--gold); color: var(--white);
  box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}
.btn-gold:hover {
  background: var(--gold-light); transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(201,168,76,0.5);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15); transform: translateY(-2px);
}
.btn-green {
  background: var(--primary-green); color: var(--white);
  box-shadow: 0 4px 16px rgba(45,106,79,0.3);
}
.btn-green:hover {
  background: var(--dark-green); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45,106,79,0.4);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(27, 67, 50, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow var(--transition), background var(--transition);
}
.navbar.scrolled {
  background: rgba(27, 67, 50, 0.99);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 70px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700;
  color: var(--white); white-space: nowrap;
}
.nav-logo .logo-leaf {
  width: 36px; height: 36px; background: var(--gold);
  border-radius: 50% 50% 50% 0; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--white); flex-shrink: 0;
}
.nav-logo span { line-height: 1.2; }
.nav-logo small { display: block; font-family: var(--font-body); font-size: 0.65rem; font-weight: 400; color: var(--light-green); letter-spacing: 1px; }

.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.85); font-size: 0.82rem; font-weight: 500;
  padding: 8px 10px; border-radius: 4px;
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.3px;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold); background: rgba(201,168,76,0.1);
}
.nav-links .btn-nav-cta {
  background: var(--gold); color: var(--white) !important;
  padding: 8px 16px; border-radius: var(--radius-btn); font-weight: 600;
  transition: all var(--transition);
}
.nav-links .btn-nav-cta:hover {
  background: var(--gold-light); transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201,168,76,0.4);
}

/* Countdown Bar */
.countdown-bar {
  background: var(--dark-green);
  padding: 6px 24px;
  display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
  font-size: 0.78rem; color: rgba(255,255,255,0.9); letter-spacing: 0.5px;
}
.countdown-bar .date-info { color: var(--gold-light); font-weight: 600; }
.countdown-units { display: flex; gap: 12px; }
.countdown-unit {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,0.1); border-radius: 6px; padding: 4px 10px; min-width: 48px;
}
.countdown-num { font-size: 1.1rem; font-weight: 700; color: var(--gold); font-family: var(--font-heading); }
.countdown-lbl { font-size: 0.6rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--white); border-radius: 2px; transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Dropdown */
.nav-mobile {
  display: none; flex-direction: column;
  background: var(--dark-green); border-top: 1px solid rgba(255,255,255,0.1);
  padding: 12px 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,0.85); padding: 12px 24px; font-size: 0.9rem; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background var(--transition), color var(--transition);
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--gold); background: rgba(201,168,76,0.1); }
.nav-mobile .btn-nav-cta {
  margin: 12px 24px 0; background: var(--gold); color: var(--white) !important;
  text-align: center; padding: 14px; border-radius: var(--radius-btn); font-weight: 600;
}

/* Nav offset for sticky bar */
.nav-spacer { height: 70px; }

/* ============================================================
   PAGE HERO BANNERS (sub-pages)
   ============================================================ */
.page-hero {
  height: 320px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--dark-bg) 100%);
  display: flex; align-items: flex-end; padding-bottom: 40px;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.4);
  transition: transform 8s ease;
}
.page-hero:hover .page-hero-bg { transform: scale(1.04); }
.page-hero-content {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; padding: 0 24px; width: 100%;
}
.page-hero-tag {
  display: inline-block; background: var(--gold); color: var(--white);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 4px; margin-bottom: 12px;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1rem; margin-top: 8px; }

/* ============================================================
   SECTIONS & LAYOUT
   ============================================================ */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px;
}
.section-title { color: var(--text-dark); margin-bottom: 16px; }
.section-title span { color: var(--primary-green); }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; }
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white); border-radius: var(--radius-card);
  box-shadow: var(--card-shadow); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px); box-shadow: var(--card-shadow-hover);
}
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 24px; }
.card-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--primary-green);
  background: var(--pale-green); padding: 4px 10px; border-radius: 4px; margin-bottom: 12px;
}
.card-title { font-family: var(--font-heading); font-size: 1.2rem; color: var(--text-dark); margin-bottom: 8px; }
.card-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* Icon cards */
.icon-card {
  background: var(--white); border-radius: var(--radius-card); box-shadow: var(--card-shadow);
  padding: 36px 28px; text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border-bottom: 3px solid transparent;
}
.icon-card:hover {
  transform: translateY(-6px); box-shadow: var(--card-shadow-hover);
  border-bottom-color: var(--gold);
}
.icon-card .icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--pale-green); display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 20px;
}
.icon-card h3 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 10px; }
.icon-card p { font-size: 0.9rem; }

/* Stat cards (quick stats bar) */
.stats-bar {
  background: var(--white); border-top: 4px solid var(--gold);
  box-shadow: 0 -4px 30px rgba(0,0,0,0.08);
}
.stats-bar .container { display: flex; }
.stat-item {
  flex: 1; padding: 28px 20px; text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700;
  color: var(--primary-green); margin-bottom: 4px;
}
.stat-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.3px; }

/* ============================================================
   HOMEPAGE HERO
   ============================================================ */
.home-hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: var(--hero-overlay), url('../images/hero.jpg');
  background-size: cover; background-position: center;
  animation: heroZoom 20s ease infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.15); border: 1px solid var(--gold);
  color: var(--gold); border-radius: 40px; padding: 8px 20px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge::before { content: '●'; font-size: 0.5rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-content h1 {
  color: var(--white); margin-bottom: 20px; max-width: 700px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-content h1 span { color: var(--gold-light); display: block; }
.hero-subtitle { color: rgba(255,255,255,0.82); font-size: 1.1rem; max-width: 560px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-dates {
  display: flex; gap: 24px; flex-wrap: wrap;
}
.hero-date-pill {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px; padding: 12px 20px;
  display: flex; align-items: center; gap: 10px;
}
.hero-date-pill i { color: var(--gold); }
.hero-date-pill .date-label { font-size: 0.7rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }
.hero-date-pill .date-val { font-size: 0.95rem; font-weight: 600; color: var(--white); }

/* ============================================================
   KEY DATES BANNER
   ============================================================ */
.key-dates-banner {
  background: var(--dark-green); color: var(--white); padding: 24px 0;
}
.key-dates-banner .container { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.kd-item { text-align: center; }
.kd-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 2px; color: var(--light-green); font-weight: 600; margin-bottom: 4px; }
.kd-date { font-family: var(--font-heading); font-size: 1.4rem; color: var(--gold); font-weight: 700; }
.kd-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.2); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
  padding: 64px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 28px; font-size: 1.05rem; }
.cta-banner .btn-gold { font-size: 1rem; padding: 16px 40px; }

/* ============================================================
   TABLES
   ============================================================ */
.table-wrap { overflow-x: auto; border-radius: var(--radius-card); box-shadow: var(--card-shadow); }
table { width: 100%; border-collapse: collapse; background: var(--white); }
thead { background: var(--dark-green); }
thead th {
  padding: 16px 20px; color: var(--white); font-size: 0.85rem;
  font-weight: 600; text-align: left; letter-spacing: 0.5px;
}
tbody tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
tbody tr:hover { background: var(--pale-green); }
tbody td { padding: 16px 20px; font-size: 0.9rem; color: var(--text-dark); }
tbody tr:last-child { border-bottom: none; }
.check-yes { color: #16a34a; font-weight: 700; }
.check-no { color: #dc2626; }
.highlight-row { background: rgba(45,106,79,0.04); font-weight: 600; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.gallery-filter-btn {
  padding: 8px 20px; border-radius: 40px; font-size: 0.85rem; font-weight: 500;
  border: 1.5px solid var(--border); color: var(--text-muted);
  background: var(--white); cursor: pointer; transition: all var(--transition);
}
.gallery-filter-btn:hover, .gallery-filter-btn.active {
  background: var(--primary-green); color: var(--white); border-color: var(--primary-green);
}
.gallery-grid {
  columns: 4; column-gap: 14px;
}
.gallery-item {
  break-inside: avoid; margin-bottom: 14px; border-radius: var(--radius-card);
  overflow: hidden; cursor: pointer; position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--card-shadow-hover); }
.gallery-item img, .gallery-item .gallery-placeholder {
  width: 100%; display: block; border-radius: var(--radius-card);
}
.gallery-placeholder {
  height: 220px; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: rgba(255,255,255,0.6); font-family: var(--font-heading);
  font-style: italic; text-align: center;
}
.gallery-caption-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white); padding: 28px 14px 12px;
  font-size: 0.8rem; opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover .gallery-caption-overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.95);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: -50px; right: 0;
  color: var(--white); font-size: 2rem; cursor: pointer; background: none; border: none;
  transition: color var(--transition);
}
.lightbox-close:hover { color: var(--gold); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }
.lightbox-nav button {
  background: rgba(255,255,255,0.1); color: var(--white);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 50%;
  width: 44px; height: 44px; font-size: 1rem; cursor: pointer;
  transition: all var(--transition);
}
.lightbox-nav button:hover { background: var(--gold); border-color: var(--gold); }
.lightbox-caption { color: rgba(255,255,255,0.75); font-size: 0.9rem; text-align: center; margin-top: 12px; }

/* ============================================================
   FLOOR PLANS
   ============================================================ */
.tab-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.tab-btn {
  padding: 10px 24px; border-radius: 40px; font-size: 0.88rem; font-weight: 600;
  border: 2px solid var(--border); color: var(--text-muted); background: var(--white);
  cursor: pointer; transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  background: var(--primary-green); color: var(--white); border-color: var(--primary-green);
}
.floorplan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.fp-card {
  background: var(--white); border-radius: var(--radius-card); box-shadow: var(--card-shadow);
  overflow: hidden; transition: transform var(--transition), box-shadow var(--transition);
}
.fp-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.fp-card-img {
  height: 200px; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 600; color: var(--white);
}
.fp-card-body { padding: 20px; }
.fp-type { font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--primary-green); margin-bottom: 6px; }
.fp-name { font-family: var(--font-heading); font-size: 1.3rem; color: var(--text-dark); margin-bottom: 4px; }
.fp-size { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2px; }
.fp-price { color: var(--gold); font-size: 1rem; font-weight: 700; margin-bottom: 16px; font-family: var(--font-heading); }
.fp-actions { display: flex; gap: 8px; }
.fp-actions .btn { padding: 10px 14px; font-size: 0.82rem; flex: 1; text-align: center; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-dark);
  margin-bottom: 8px;
}
.form-group label span { color: #ef4444; margin-left: 2px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--text-dark);
  background: var(--white); transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.12);
}
.form-group .error-msg { color: #ef4444; font-size: 0.8rem; margin-top: 6px; display: none; }
.form-group.error input, .form-group.error select, .form-group.error textarea {
  border-color: #ef4444;
}
.form-group.error .error-msg { display: block; }
.form-checkbox {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  font-size: 0.88rem; color: var(--text-muted);
}
.form-checkbox input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; cursor: pointer;
  accent-color: var(--primary-green);
}
.form-phone { display: flex; gap: 8px; }
.form-phone .phone-prefix {
  width: 80px; flex-shrink: 0; padding: 12px 12px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.95rem; background: var(--off-white);
  color: var(--text-dark);
}
.form-phone input { flex: 1; }

/* Success Message */
.success-card {
  display: none; text-align: center; background: var(--pale-green);
  border: 2px solid var(--light-green); border-radius: var(--radius-card);
  padding: 48px 32px; animation: successFade 0.5s ease;
}
.success-card.show { display: block; }
@keyframes successFade { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.success-card .success-icon { font-size: 3rem; margin-bottom: 16px; }
.success-card h3 { color: var(--primary-green); font-size: 1.6rem; margin-bottom: 12px; }
.success-card p { color: var(--text-muted); font-size: 1rem; }

/* Benefits list */
.benefits-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.benefits-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.95rem; color: var(--text-dark);
}
.benefits-list li i { color: var(--gold); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   REGISTER QUICK CONTACTS
   ============================================================ */
.quick-contacts { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.contact-btn {
  flex: 1; min-width: 160px; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 20px; border-radius: var(--radius-btn); font-weight: 600; font-size: 0.9rem;
  transition: all var(--transition);
}
.contact-btn-wa { background: #25D366; color: var(--white); }
.contact-btn-wa:hover { background: #1dbb57; transform: translateY(-2px); }
.contact-btn-call { background: var(--primary-green); color: var(--white); }
.contact-btn-call:hover { background: var(--dark-green); transform: translateY(-2px); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-image { border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--card-shadow-hover); }
.about-image img { width: 100%; height: 420px; object-fit: cover; }

.milestone-list { position: relative; padding-left: 32px; }
.milestone-list::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: var(--pale-green);
}
.milestone-item { position: relative; padding-bottom: 32px; }
.milestone-item:last-child { padding-bottom: 0; }
.milestone-item::before {
  content: ''; position: absolute; left: -28px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.milestone-date { font-size: 0.78rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }
.milestone-title { font-family: var(--font-heading); font-size: 1.1rem; color: var(--text-dark); margin-bottom: 4px; }
.milestone-desc { font-size: 0.9rem; color: var(--text-muted); }

/* ============================================================
   DEVELOPER PAGE
   ============================================================ */
.developer-logos {
  display: flex; align-items: center; justify-content: center; gap: 40px;
  flex-wrap: wrap; padding: 40px; background: var(--white);
  border-radius: var(--radius-card); box-shadow: var(--card-shadow); margin-bottom: 48px;
}
.dev-logo-box {
  text-align: center; padding: 20px 30px;
  border-right: 1px solid var(--border);
}
.dev-logo-box:last-child { border-right: none; }
.dev-logo-mark {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
  margin: 0 auto 12px;
}
.dev-logo-box h3 { font-size: 0.9rem; color: var(--text-dark); font-weight: 700; }
.dev-logo-box p { font-size: 0.75rem; color: var(--text-muted); }

.awards-grid { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.award-badge {
  background: var(--white); border-radius: 12px; box-shadow: var(--card-shadow);
  padding: 20px 24px; text-align: center; min-width: 130px;
  transition: transform var(--transition);
}
.award-badge:hover { transform: translateY(-4px); }
.award-badge .award-icon { font-size: 2rem; margin-bottom: 8px; }
.award-badge p { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }

/* ============================================================
   LOCATION PAGE
   ============================================================ */
.map-container {
  border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--card-shadow-hover);
  height: 450px; background: #e8f0e4;
}
.map-container iframe { width: 100%; height: 100%; border: none; }

.proximity-list { display: flex; flex-direction: column; gap: 10px; }
.proximity-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--white); border-radius: 8px;
  box-shadow: var(--card-shadow); font-size: 0.9rem;
  transition: transform var(--transition);
}
.proximity-item:hover { transform: translateX(4px); }
.proximity-item i { color: var(--gold); width: 18px; text-align: center; }
.proximity-item strong { color: var(--text-dark); }
.proximity-item span { color: var(--text-muted); }

.getting-here-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.getting-here-card {
  background: var(--white); border-radius: var(--radius-card);
  box-shadow: var(--card-shadow); padding: 28px; text-align: center;
}
.getting-here-icon { font-size: 2rem; margin-bottom: 12px; }
.getting-here-card h3 { font-size: 1rem; color: var(--text-dark); margin-bottom: 10px; }
.getting-here-card p { font-size: 0.85rem; color: var(--text-muted); }

/* ============================================================
   HIGHLIGHTS PAGE
   ============================================================ */
.facilities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.facility-item {
  background: var(--white); border-radius: 10px; box-shadow: var(--card-shadow);
  padding: 20px 16px; text-align: center;
  transition: transform var(--transition);
}
.facility-item:hover { transform: translateY(-4px); }
.facility-item .fi { font-size: 1.6rem; margin-bottom: 8px; }
.facility-item p { font-size: 0.82rem; color: var(--text-dark); font-weight: 500; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

.fade-in { opacity: 0; transition: opacity 0.8s ease; }
.fade-in.visible { opacity: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark-bg); color: rgba(255,255,255,0.75); padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .footer-logo {
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--white);
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.footer-brand .footer-logo .logo-leaf {
  width: 28px; height: 28px; background: var(--gold); border-radius: 50% 50% 50% 0;
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: var(--white); flex-shrink: 0;
}
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.75);
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }
.footer-col h4 {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--gold); }
.footer-col .contact-info { display: flex; flex-direction: column; gap: 10px; }
.footer-col .contact-info p { font-size: 0.85rem; display: flex; align-items: center; gap: 8px; }
.footer-col .contact-info i { color: var(--gold); width: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0;
}
.footer-bottom-content {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-disclaimer { font-size: 0.72rem; color: rgba(255,255,255,0.35); max-width: 700px; line-height: 1.6; }
.footer-copyright { font-size: 0.78rem; color: rgba(255,255,255,0.4); white-space: nowrap; }
.dev-logos-small { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.dev-logos-small span {
  font-size: 0.7rem; background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.5);
  padding: 3px 8px; border-radius: 4px;
}

/* ============================================================
   ALTERNATING BG SECTIONS
   ============================================================ */
.bg-white { background: var(--white); }
.bg-off { background: var(--off-white); }
.bg-dark { background: var(--dark-bg); }
.bg-green-pale { background: var(--pale-green); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 3; }
  .getting-here-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar .container { flex-wrap: wrap; }
  .stat-item { min-width: 50%; border-right: none; border-bottom: 1px solid var(--border); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery-grid { columns: 2; }
  .getting-here-grid { grid-template-columns: 1fr; }
  .countdown-bar { flex-direction: column; gap: 10px; text-align: center; }
  .hero-ctas { flex-direction: column; }
  .hero-dates { flex-direction: column; }
  .developer-logos { flex-direction: column; }
  .dev-logo-box { border-right: none; border-bottom: 1px solid var(--border); }
  .key-dates-banner .container { flex-direction: column; gap: 20px; }
  .kd-divider { width: 80px; height: 1px; }
  .floorplan-grid { grid-template-columns: 1fr; }
  .footer-bottom-content { flex-direction: column; }
  .lightbox-prev { left: -20px; }
  .lightbox-next { right: -20px; }
}
@media (max-width: 480px) {
  .section { padding: 50px 0; }
  .gallery-grid { columns: 1; }
  .stat-item { min-width: 100%; }
  .tab-bar { gap: 6px; }
  .tab-btn { padding: 8px 16px; font-size: 0.8rem; }
}
