/* ================================================
   J SQUARE HOUSING — STYLE.CSS (CLEANED)
   Duplicates removed, sections organized
   Last cleaned: May 2026
================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=DM+Sans:wght@300;400;500&family=Playfair+Display:wght@700;900&display=swap');

/* ================================================
   1. CSS VARIABLES (Design Tokens)
================================================ */
:root {
  /* Brand Colors */
  --gold:        #C8960C;
  --gold-light:  #E8B020;
  --gold-pale:   #FBF0D0;
  --gold-dark:   #8B6A00;

  /* Dark Backgrounds */
  --dark:        #1E1A0E;
  --dark2:       #261F10;
  --dark3:       #2E2614;

  /* Light Backgrounds */
  --cream:       #FDFAF3;
  --cream2:      #F5EDD8;
  --off-white:   #FAF5EA;
  --white:       #FFFFFF;

  /* Text */
  --text-muted:  #8A7050;

  /* Accent Colors */
  --green:       #2D7A45;
  --red:         #B94040;
  --blue:        #1A56C4;

  /* Animation Easings */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Misc */
  --radius:      12px;
  --shadow:      0 8px 40px rgba(44,24,16,0.15);
}


/* ================================================
   2. KEYFRAME ANIMATIONS
================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes why-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes mhSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes endShine {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}
@keyframes pulse {
  0%, 80%, 100% { opacity: .3; transform: scale(.7); }
  40%           { opacity: 1;  transform: scale(1); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ================================================
   3. BASE / RESET
================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

/* Subtle background glow overlay on entire page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 10%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 85% 80%, rgba(201,168,76,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 60% 40%, rgba(46,125,82,0.04) 0%, transparent 60%);
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream2); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  border-radius: 10px;
}


/* ================================================
   4. PAGE SYSTEM (SPA tab switching)
================================================ */
.page { display: none; min-height: auto; overflow: hidden; padding-top: 2%; }
.page.active { display: block; animation: fadeIn 0.45s var(--ease-out) both; }


/* ================================================
   5. NAVIGATION
================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(18,14,6,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,150,12,0.2);
  padding: 0 5%;
  transition: background 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  background: rgba(18,14,6,1);
  box-shadow: 0 4px 32px rgba(0,0,0,0.35);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; transition: opacity 0.2s; }
.nav-logo:hover { opacity: 0.85; }
.logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-weight: 900; color: #fff; font-size: 18px; letter-spacing: -1px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.nav-logo:hover .logo-icon {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 6px 20px rgba(200,150,12,0.4);
}
.logo-text { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.0rem; color: var(--white); line-height: 1.1; }
.logo-text span { display: block; font-family: 'DM Sans', sans-serif; font-weight: 300; font-size: 0.68rem; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none; padding: 8px 14px;
  border-radius: 8px; font-size: 0.88rem; font-weight: 500;
  transition: color 0.2s, background 0.2s, transform 0.2s;
  position: relative;
}
/* Underline animation on hover/active */
.nav-links a::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 1.5px; background: var(--gold);
  transition: left 0.25s var(--ease-out), right 0.25s var(--ease-out);
  border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.active::after { left: 14px; right: 14px; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); background: rgba(200,150,12,0.08); }
/* Hide Google Translate dynamic header top toolbars entirely */
.goog-te-banner-frame, 
.goog-te-banner,
.skiptranslate,
iframe[id*=":run.at"] {
  display: none !important;
  visibility: hidden !important;
}

body {
  top: 0 !important;
}

/* Prevent unwanted hover box highlights over translated strings */
.goog-text-highlight {
  background: transparent !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}
/* Enquiry CTA button */
.nav-cta {
  background: var(--gold) !important;
  color: var(--dark) !important;
  border-radius: 8px; padding: 9px 20px !important; font-weight: 600 !important;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(200,150,12,0.35) !important;
}

/* Post Land pill */
/* --- Language Dropdown Container & Button --- */
.lang-dropdown-container {
  position: relative;
  display: inline-block;
}
/* --- Premium Language Dropdown Button (Fixed Background) --- */
.lang-dropdown-btn {
  background: transparent !important; /* Intha grey background highlight-ai muzhumaiyaga thukkividum */
  border: none !important;            /* Box border-ai transparent aakkum */
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  outline: none !important;           /* Click பண்ணும்போது வர்ற blue/grey ring-ai thadukkum */
  box-shadow: none !important;
}

/* Hover பண்ணும்போது மட்டும் லேசான பிரீமியம் ஒயிட் கலர் மாறும் */
.lang-dropdown-btn:hover {
  background: transparent !important; 
  color: #fff !important;
}

/* Globe icon-ஓட கலர் மற்றும் ஒப்பசிட்டி */
.lang-dropdown-btn .globe-icon {
  stroke: rgba(255, 255, 255, 0.85) !important;
  opacity: 0.9;
  transition: transform 0.4s ease;
}

.lang-dropdown-btn:hover .globe-icon {
  stroke: #fff !important;
  transform: rotate(15deg); /* Element hover-il subtle rich micro-interaction zoom effect */
}


/* --- Premium Dropdown Menu Box --- */
.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  overflow: hidden;
  padding: 4px;
}

/* Luxury Interactive Hover Effects */
.lang-dropdown-container:hover .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown-container:hover .chevron-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu Option Elements */
.lang-opt {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.lang-opt:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding-left: 20px; /* Elegant nudge effect */
}

/* --- Mobile Menu Language Extension Styles --- */
.mobile-lang-section {
  padding: 15px 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
}

.mobile-lang-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
}

.mobile-cta {
  margin: 15px 25px;
  padding: 12px;
  background: #fff; /* Match your premium primary luxury background style here */
  color: #000 !important;
  text-align: center;
  font-weight: 600;
  border-radius: 4px;
}

/* Hamburger (mobile) */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: all 0.35s var(--ease-out); }

/* Mobile dropdown menu */
.mobile-menu {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0;
  background: rgba(18,14,6,0.98);
  backdrop-filter: blur(16px);
  z-index: 999;
  padding: 20px 5%;
  border-bottom: 1px solid rgba(200,150,12,0.2);
  animation: fadeInUp 0.3s var(--ease-out) both;
}
.mobile-menu a {
  display: block;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.95rem;
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-menu a:hover { color: var(--gold); padding-left: 8px; }
.mobile-menu.open { display: block; }

body.tamil-mode { word-break: keep-all; }


/* ================================================
   6. BUTTONS
================================================ */
/* Primary gold gradient button */
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff; padding: 14px 32px; border-radius: 50px;
  font-weight: 700; font-size: 0.92rem; text-decoration: none;
  border: none; cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 20px rgba(124,92,252,0.4);
  position: relative; overflow: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
  z-index: 1; /* 1. Added this to form a solid stacking base */
}

.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  opacity: 0; transition: opacity 0.3s;
  z-index: -1; /* 2. Added this so it updates strictly BEHIND the text */
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 32px rgba(124,92,252,0.5); }

/* Keep this layer logic secure */
.btn-primary span, .btn-primary img, .btn-primary i { position: relative; z-index: 2; }
/* Outline button */
.btn-outline {
  background: transparent; color: #fff;
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 0.92rem;
  border: 1.5px solid rgba(124,92,252,0.4);
  cursor: pointer; transition: all 0.3s var(--ease-out);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(124,92,252,0.08); transform: translateY(-2px); }

/* Write a review button */
.btn-write-review {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 11px 28px;
  border-radius: 8px;
  font-family: inherit; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: color 0.3s, transform 0.25s, box-shadow 0.3s;
  z-index: 0;
}
.btn-write-review::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease; z-index: -1;
}
.btn-write-review:hover::before { transform: scaleX(1); }
.btn-write-review:hover { color: var(--dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.3); }
.btn-write-review:active { transform: translateY(0px); }

/* Google sign-in button */
.btn-google-signin {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; padding: 13px 20px;
  background: #fff; color: #3c4043;
  border: 1.5px solid #dadce0; border-radius: 8px;
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
  margin: 12px 0;
}
.btn-google-signin:hover { background: #f8f9fa; box-shadow: 0 2px 10px rgba(0,0,0,0.12); }
.btn-google-signin img { width: 20px; height: 20px; }


/* ================================================
   7. SECTION UTILITIES
================================================ */
.section { padding: 4%; width: 100%; }

.section-label {
  display: block; font-size: 0.75rem; font-weight: 700;
  color: var(--gold); text-transform: uppercase;
  letter-spacing: 3px; margin-bottom: 12px;
  padding-left: 7%; padding-right: 7%;
}
.section-title {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800;
  color: var(--dark); line-height: 1.2; margin-bottom: 20px;
  padding-left: 7%; padding-right: 7%;
}
.section-title.light { color: var(--white); }


/* ================================================
   8. HERO SECTION
================================================ */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; min-height: 100vh;
  position: relative; overflow: hidden;
  margin-top: -0.2in; 
  padding: 0; gap: 0;
    background: #0A0804 !important; /* Dark fallback — canvas paint ஆகும் வரை */
  min-height: 100vh;
}

/* Canvas-based animated background */
.hero-bg-canvas {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0; display: block;
  pointer-events: none;
  background: #0A0804; 
}
/* Static fallback bg (hidden — canvas takes over) */
.hero-bg { display: none;background: #0A0804; }

/* Gold grid overlay */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,150,12,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,150,12,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  animation: fadeIn 1.5s ease both;
}

/* Left side — text content */
.hero-content {
  position: relative; z-index: 2;
  padding: 100px 6% 80px 8%;
  display: flex; flex-direction: column; justify-content: center;
  animation: slideInLeft 0.9s var(--ease-out) 0.2s both;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,150,12,0.12);
  border: 1px solid rgba(200,150,12,0.3);
  border-radius: 50px; padding: 6px 16px;
  margin-bottom: 28px; width: fit-content;
  animation: scaleIn 0.6s var(--ease-spring) 0.5s both;
}
.hero-badge span { font-size: 0.78rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 900; color: var(--white); line-height: 1.12; margin-bottom: 22px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p { font-size: 1rem; color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 36px; max-width: 440px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Right side — image slider */
.hero-slider-wrap {
  position: relative; z-index: 2;
  height: 100vh; width: 100%;
  border-radius: 0; overflow: hidden; box-shadow: none;
  animation: slideInRight 0.9s var(--ease-out) 0.3s both;
}
.hero-slider { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1s ease, transform 8s ease;
  transform: scale(1.04);
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide-label {
  size: 19%;
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 24px;
  padding-bottom: 5%;
  background: linear-gradient(transparent, rgba(0,0,0,0.88));
  display: flex; flex-direction: column; gap: 4px;
}
.hero-slide-label strong { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: #fff; font-weight: 600; }
.hero-slide-label span { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

/* Slider dots */
.slider-dots { position: absolute; bottom: 20px; right: 20px; display: flex; gap: 6px; z-index: 3; }
.sdot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.35); border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease-spring); padding: 0;
}
.sdot.active { background: var(--gold); width: 22px; border-radius: 4px; }

/* Slider arrows */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.4); color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  width: 38px; height: 38px; border-radius: 50%;
  cursor: pointer; font-size: 1rem; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, transform 0.25s var(--ease-spring), border-color 0.25s;
}
.slider-arrow:hover { background: var(--gold); color: #000; transform: translateY(-50%) scale(1.1); border-color: var(--gold); }
.slider-arrow.left  { left: 14px; }
.slider-arrow.right { right: 14px; }

/* Stats bar below hero */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  background: rgb(255,255,255);
  border-radius: 69px;
  margin: 0 8%;
  position: relative; padding-top: 1.9%; z-index: 2;
  animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}
.hero-stat { background: rgba(15,12,5,0.92); padding: 24px; text-align: center; transition: background 0.3s; }
.hero-stat:hover { background: rgba(200,150,12,0.06); }
.hero-stat:first-child { border-radius: 16px 0 0 16px; }
.hero-stat:last-child  { border-radius: 0 16px 16px 0; }
.hero-stat-num   { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 900; color: var(--gold); line-height: 1; }
.hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }


/* ================================================
   9. ABOUT SECTION
================================================ */
.about-section { background: var(--cream); position: relative; overflow: hidden; }
.about-section::before {
  content: ''; position: absolute; top: -80px; left: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(200,150,12,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* Two column grid */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; align-items: stretch;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.12);
  transition: box-shadow 0.4s;
}
.about-grid:hover { box-shadow: 0 32px 100px rgba(0,0,0,0.16); }

/* Left — text side */
.about-text { padding: 60px 52px; background: var(--cream); display: flex; flex-direction: column; gap: 18px; }
.title-italic { font-style: italic; color: var(--gold); }
.about-para { font-size: 0.97rem; line-height: 1.75; color: #555; margin: 0; }

/* Value cards grid inside about */
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
.value-card {
  background: #fff;
  border: 1px solid  rgba(200,150,12,0.35);
  border-radius: 14px; padding: 20px 18px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, border-color 0.3s;
  cursor: default;
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); border-color: var(--gold); }
.value-icon { font-size: 1.5rem; margin-bottom: 10px; }
.value-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin: 0 0 4px; }
.value-card p  { font-size: 0.8rem; color: #777; margin: 0; line-height: 1.5; }

/* Right — dark side with quote + list */
.about-img { background: linear-gradient(160deg, #111108 0%, #1a170a 100%); position: relative; display: flex; align-items: stretch; }
.about-img-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradienht(circle at 20% 20%, rgba(200,150,12,0.14) 0%, transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(200,150,12,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.about-img-content { position: relative; z-index: 1; padding: 60px 48px; display: flex; flex-direction: column; gap: 36px; justify-content: center; }
.about-quote { font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-style: italic; color: var(--gold); line-height: 1.55; border-left: 3px solid var(--gold); padding-left: 20px; opacity: 0.92; }

/* Edge list items */
.edge-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.edge-list li { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.07); transition: padding-left 0.25s var(--ease-out); }
.edge-list li:last-child { border-bottom: none; }
.edge-list li:hover { padding-left: 4px; }
.edge-list li:hover .edge-icon { transform: scale(1.2) rotate(5deg); }
.edge-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; transition: transform 0.3s var(--ease-spring); }
.edge-text { display: flex; flex-direction: column; gap: 3px; }
.edge-text strong { font-size: 0.9rem; font-weight: 700; color: var(--gold); letter-spacing: 0.02em; }
.edge-text span   { font-size: 0.82rem; color: rgba(255,255,255,0.6); line-height: 1.5; }


/* ================================================
   10. WHY CHOOSE US — Ticker / Scrolling Strip
================================================ */
.why-section {
  background: linear-gradient(135deg, #0e0c05 0%, #141008 50%, #1a160a 100%);
  padding: 28px 0 !important;
  overflow: hidden; position: relative;
}
/* Fade edges */
.why-section::before, .why-section::after {
  content: ''; position: absolute; top: 0;
  width: 140px; height: 100%; z-index: 2; pointer-events: none;
}
.why-section::before { left:  0; background: linear-gradient(to right,  #0e0c05, transparent); }
.why-section::after  { right: 0; background: linear-gradient(to left, #0e0c05, transparent); }

.why-ticker-wrap { overflow: hidden; width: 100%; }
.why-ticker {
  display: flex; gap: 16px;
  width: max-content;
  animation: why-scroll 28s linear infinite;
}
.why-ticker:hover { animation-play-state: paused; }

.why-card {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 14px 20px;
  min-width: 220px; flex-shrink: 0;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-spring);
  cursor: default;
}
.why-card:hover { border-color: var(--gold); background: rgba(200,150,12,0.08); transform: translateY(-3px); }
.why-icon-box {
  width: 38px; height: 38px;
  background: rgba(200,150,12,0.14);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
  transition: background 0.3s, transform 0.3s var(--ease-spring);
}
.why-card:hover .why-icon-box { background: rgba(200,150,12,0.22); transform: scale(1.1) rotate(5deg); }
.why-card-text h4 { font-size: 0.85rem; font-weight: 700; color: #fff; margin: 0 0 2px; white-space: nowrap; }
.why-card-text p  { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin: 0; white-space: nowrap; }


/* ================================================
   11. PROJECT CARDS
================================================ */
.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; }
.proj-card {
  background: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
  cursor: pointer;
}
.proj-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.proj-img { height: 200px; position: relative; overflow: hidden; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.proj-card:hover .proj-img img { transform: scale(1.08); }
.proj-img-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.5) 100%); transition: opacity 0.3s; }
.proj-card:hover .proj-img-overlay { opacity: 0.8; }
.proj-badge { position: absolute; top: 14px; left: 14px; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--dark); font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; z-index: 2; }
.proj-body     { padding: 20px; }
.proj-location { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px; display: flex; align-items: center; gap: 4px; }
.proj-title    { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.proj-details  { display: flex; gap: 16px; margin-bottom: 14px; }
.proj-detail   { font-size: 0.8rem; color: var(--text-muted); }
.proj-detail strong { color: var(--dark); display: block; font-size: 0.88rem; }
.proj-price    { font-size: 1.05rem; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.proj-tags     { display: flex; gap: 6px; flex-wrap: wrap; }
.tag           { font-size: 0.7rem; background: rgba(200,150,12,0.08); color: var(--gold-dark); border-radius: 4px; padding: 3px 8px; font-weight: 600; }
.tag.green     { background: rgba(45,122,69,0.08); color: var(--green); }


/* ================================================
   12. TESTIMONIALS
================================================ */
.testimonials { background: linear-gradient(135deg, var(--cream2) 0%, #EDE5CC 100%); }

/* Horizontal scrollable track */
.test-scroll-track {
  display: flex; gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 24px 8% 16px 8%;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  -webkit-overflow-scrolling: touch;
}
.test-scroll-track::-webkit-scrollbar { height: 4px; }
.test-scroll-track::-webkit-scrollbar-track { background: rgba(0,0,0,0.06); border-radius: 99px; margin: 0 8%; }
.test-scroll-track::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 99px; }

.test-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  position: relative;
  background: var(--white); border-radius: 14px; padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
}
.test-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.test-stars  { color: var(--gold); font-size: 1rem; margin-bottom: 12px; }
.test-text   { font-size: 0.88rem; color: #4A4538; line-height: 1.75; margin-bottom: 16px; font-style: italic; }
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 0.9rem;
  transition: transform 0.3s var(--ease-spring);
}
.test-card:hover .test-avatar { transform: scale(1.1); }
.test-avatar-img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); flex-shrink: 0; }
.test-name { font-weight: 700; font-size: 0.88rem; color: var(--dark); }
.test-loc  { font-size: 0.75rem; color: var(--text-muted); }


/* ================================================
   13. TOOLS PAGE
================================================ */

/* Tools page header */
#page-tools h1 .shine-word {
  display: inline-block;
  background: linear-gradient(90deg, #8B6A00 0%, #8B6A00 20%, #E8B020 40%, #FBF0D0 50%, #E8B020 60%, #8B6A00 80%, #8B6A00 100%);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: endShine 3s ease-in-out infinite;
}

/* Category pills */
.cat-pill {
  padding: 8px 18px; border-radius: 30px;
  border: 1.5px solid rgba(201,168,76,0.18);
  font-size: 12.5px; cursor: pointer; color: var(--text-muted);
  background: transparent; font-family: 'DM Sans', sans-serif;
  transition: all .2s; font-weight: 500;
}
.cat-pill:hover { border-color: rgba(201,168,76,0.4); background: rgba(201,168,76,0.06); }
.cat-pill.on    { background: var(--gold); color: var(--dark); border-color: var(--gold); font-weight: 600; }

/* Tool grid */
#toolGrid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  align-content: start;
  gap: 12px;
  margin-bottom: 24px;
}

/* Tool card (tcard) */
.tcard {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 20px; cursor: pointer;
  transition: all 0.2s ease;
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
}
.tcard::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(201,168,76,0.04), transparent); opacity: 0; transition: .2s; }
.tcard:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.tcard:hover::before { opacity: 1; }
.tcard.have      { border-color: rgba(46,125,82,0.3); background: rgba(46,125,82,0.04); }
.tcard.have:hover { border-color: rgba(46,125,82,0.6); }
.tcard.active-card { border-color: var(--gold); background: rgba(201,168,76,0.08); box-shadow: 0 0 0 1px rgba(201,168,76,0.2), 0 12px 32px rgba(0,0,0,0.3); }
.tc-top  { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.tc-icon { font-size: 1.6rem; line-height: 1; }
.tc-tag  { font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 12px; letter-spacing: .04em; }
.tc-tag.have { background: rgba(46,125,82,0.15); color: #4eca80; }
.tc-tag.ai   { background: rgba(99,102,241,0.15); color: #818cf8; }
.tc-tag.new  { background: rgba(201,168,76,0.15); color: var(--gold); }
.tc-name { font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 5px; }
.tc-desc { font-size: 12px; color: var(--text-muted); line-height: 1.55; }

/* Tool panel container */
.tool-container {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(201,168,76,0.2);
  border-radius: 18px; padding: 0; overflow: hidden; margin-top: 8px;
  animation: slideDown .25s ease;
}
.tc-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px; border-bottom: 1px solid rgba(201,168,76,0.1);
  background: rgba(201,168,76,0.04);
}
.tc-ph-left  { display: flex; align-items: center; gap: 14px; }
.tc-ph-icon  { font-size: 2rem; }
.tc-ph-title { font-size: 18px; font-weight: 700; color: var(--dark); }
.tc-ph-sub   { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.tc-close {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.2); background: transparent;
  color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 16px; transition: .2s;
}
.tc-close:hover { background: rgba(201,168,76,0.1); color: var(--gold); }
.tc-panel-body { padding: 28px; }


/* ================================================
   14. SHARED FORM ELEMENTS (used in Tools + Contact)
================================================ */
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 12px; font-weight: 500; color: var(--dark); letter-spacing: .04em; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid rgba(201,168,76,0.18); border-radius: 10px;
  background: var(--cream); color: var(--dark);
  font-family: 'DM Sans', sans-serif; font-size: 0.92rem;
  outline: none; transition: border-color .2s, box-shadow .2s;
  color-scheme: light; appearance: auto;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,150,12,0.12);
}
.form-group select option { background: #fff; color: #1a1a2e; }
.form-group textarea { resize: vertical; min-height: 80px; }

/* Calc / Submit button */
.calc-btn {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark); font-weight: 700; font-size: 1rem;
  border: none; border-radius: 12px; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.3s var(--ease-out); margin-top: 8px;
  box-shadow: 0 4px 16px rgba(201,168,76,0.25);
}
.calc-btn:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,150,12,0.35); }
.calc-btn:active { transform: translateY(0); }

/* Result box — hidden by default, shown with .show */
.result-box {
  background: rgba(201,168,76,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 12px; padding: 20px; margin-top: 4px;
  display: none;
  animation: scaleIn 0.4s var(--ease-spring) both;
}
.result-box.show { display: block; }
.result-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.result-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 14px; text-align: center; transition: background 0.2s; }
.result-item:hover { background: rgba(255,255,255,0.07); }
.result-item.highlight-result { grid-column: 1 / -1; background: rgba(200,150,12,0.1); border: 1px solid rgba(200,150,12,0.3); }
.result-val   { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 800; color: var(--gold); margin-bottom: 4px; }
.result-label { font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }
.highlight-result .result-val { font-size: 2rem; }

/* Unit converter */
.converter-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-bottom: 20px; }
.conv-arrow  { text-align: center; font-size: 1.5rem; color: var(--gold); }
.unit-display { background: var(--cream); border: 1.5px solid var(--cream2); border-radius: 10px; padding: 16px; text-align: center; }
.unit-display .val       { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 800; color: var(--dark); }
.unit-display .unit-name { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* Conversion table */
.conv-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 0.85rem; }
.conv-table th { background: var(--dark); color: var(--gold); padding: 10px 14px; text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }
.conv-table td { padding: 10px 14px; border-bottom: 1px solid var(--cream2); color: var(--dark); transition: background 0.2s; }
.conv-table tr:hover td { background: var(--cream2); }

/* Duty rates list */
.duty-rates { margin-top: 20px; }
.duty-rate-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--cream); border-radius: 8px; margin-bottom: 8px; }
.duty-rate-item .rate-name { font-size: 0.88rem; font-weight: 600; color: var(--dark); }
.duty-rate-item .rate-val  { font-weight: 700; color: var(--gold); }

/* Score bar */
.score-bar-wrap { height: 8px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; margin-top: 8px; }
.score-bar { height: 100%; border-radius: 4px; transition: width .6s ease; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

/* Checklist items */
.dc-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); cursor: pointer; transition: .15s; }
.dc-item:last-child { border-bottom: none; }
.dc-item:hover { background: rgba(201,168,76,0.03); padding-left: 4px; border-radius: 6px; }
.dc-cb { width: 20px; height: 20px; border: 2px solid rgba(201,168,76,0.3); border-radius: 5px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; transition: .2s; }
.dc-cb.checked { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.dc-text { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* AI output area */
.ai-output {
  white-space: pre-wrap; font-size: 13.5px; color: rgba(0, 0, 0, 0.8); line-height: 1.9;
  background: rgba(201,168,76,0.04); border: 1px solid rgba(201,168,76,0.15);
  border-radius: 10px; padding: 18px; margin-top: 8px;
}
.copy-btn { width: 100%; margin-top: 12px; padding: 12px; border-radius: 10px; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; transition: .2s; }
.copy-btn.green  { background: #25D366; color: #fff; }
.copy-btn.purple { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); color: #fff; }
.copy-btn.gold   { background: var(--gold); color: var(--dark); }
.copy-btn:hover  { opacity: .9; transform: translateY(-1px); }

/* AI loading spinner */
.ai-loading { display: flex; align-items: center; gap: 10px; padding: 20px; color: var(--text-muted); font-size: 13px; }
.ai-loading span { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 1s infinite; }
.ai-loading span:nth-child(2) { animation-delay: .2s; }
.ai-loading span:nth-child(3) { animation-delay: .4s; }

/* Vastu compass */
.vastu-compass  { display: flex; align-items: center; justify-content: center; margin: 16px 0; }
.compass-ring   { width: 120px; height: 120px; border-radius: 50%; border: 2px solid rgba(201,168,76,0.3); display: flex; align-items: center; justify-content: center; position: relative; background: rgba(201,168,76,0.04); }
.compass-inner  { font-size: 2.5rem; cursor: pointer; transition: .3s; }
.vastu-dirs     { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 12px; }
.vdir           { padding: 10px 6px; text-align: center; border-radius: 8px; border: 1px solid rgba(255,255,255,0.06); cursor: pointer; transition: .2s; font-size: 12px; color: var(--text-muted); }
.vdir:hover     { border-color: rgba(201,168,76,0.3); background: rgba(201,168,76,0.05); }
.vdir.selected  { background: rgba(201,168,76,0.15); border-color: var(--gold); color: var(--gold); }
.vdir .dir-icon  { font-size: 1.2rem; display: block; margin-bottom: 3px; }
.vdir .dir-name  { font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.vdir .dir-score { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

/* Custom dropdown styling (for constructor tool) */
.custom-dd          { background: #ffffff !important; color: #1a1a2e !important; color-scheme: light !important; border: 1.5px solid #c9a84c !important; border-radius: 10px !important; box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important; }
.custom-dd div      { background: #ffffff !important; color: #1a1a2e !important; padding: 11px 16px !important; font-size: 0.9rem !important; font-family: 'DM Sans', sans-serif !important; cursor: pointer !important; }
.custom-dd div:hover { background: #fdf6e3 !important; color: #c9a84c !important; }


/* ================================================
   15. MUHURTHAM TOOL (scoped to #panel-muhurtham)
================================================ */
.mh-wrap    { padding: 0; color: var(--dark); }
.mh-header  { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.mh-badge   { display: inline-block; background: #c9a227; color: #1a1000; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; margin-bottom: 8px; }
.mh-title   { font-size: clamp(20px, 3vw, 28px); font-weight: 700; line-height: 1.2; font-family: 'Cormorant Garamond', serif; }
.mh-title span { color: #c9a227; }
.mh-sub     { font-size: 13px; opacity: 0.6; margin-top: 4px; }

/* Live clock */
.mh-clock   { text-align: right; background: rgba(0,0,0,0.05); border: 1px solid rgba(201,162,39,0.25); border-radius: 10px; padding: 10px 16px; }
.mh-time    { font-size: 22px; font-weight: 700; color: #c9a227; letter-spacing: 0.06em; font-family: monospace; }
.mh-date    { font-size: 12px; opacity: 0.55; margin-top: 2px; }

/* Stats row */
.mh-stats       { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 1.5rem; }
.mh-stat        { background: rgba(255,255,255,0.05); border: 1px solid rgba(201,162,39,0.18); border-radius: 10px; padding: 14px 16px; }
.mh-stat-label  { font-size: 11px; opacity: 0.5; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.mh-stat-val    { font-size: 20px; font-weight: 700; font-family: 'Cormorant Garamond', serif; }
.mh-stat-val.gold { color: #c9a227; }

/* Month strip */
.mh-months { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 1.2rem; scrollbar-width: thin; scrollbar-color: #c9a227 transparent; }
.mh-months::-webkit-scrollbar       { height: 3px; }
.mh-months::-webkit-scrollbar-thumb { background: #c9a227; border-radius: 2px; }
.mh-mcell { flex: 0 0 auto; padding: 7px 12px; border-radius: 8px; border: 1px solid rgba(201,162,39,0.2); background: rgba(255,255,255,0.04); cursor: pointer; text-align: center; transition: all 0.15s; }
.mh-mcell:hover  { border-color: rgba(201,162,39,0.5); background: rgba(255,255,255,0.08); }
.mh-mcell.active { background: #c9a227; border-color: #c9a227; color: #1a1000; }
.mh-mc-en { font-size: 12px; font-weight: 700; }
.mh-mc-ta { font-size: 11px; opacity: 0.7; margin-top: 1px; }
.mh-mcell.active .mh-mc-ta { opacity: 0.85; }

/* Filter pills */
.mh-pills { display: flex; gap: 8px; margin-bottom: 1.2rem; flex-wrap: wrap; }
.mh-pill  { padding: 6px 14px; border-radius: 20px; border: 1px solid rgba(201,162,39,0.2); background: rgba(255,255,255,0.04); font-size: 12px; cursor: pointer; color: rgba(31,18,18,0.6); font-family: 'Noto Sans Tamil', 'DM Sans', sans-serif; transition: all 0.15s; }
.mh-pill:hover  { border-color: rgba(201,162,39,0.5); }
.mh-pill.active { background: #c9a227; border-color: #c9a227; color: #1a1000; font-weight: 700; }

/* Day grid */
.mh-day {
  background: #fff;
  border: 1.5px solid #e8dfc8;
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.mh-day:hover {
  border-color: #c9a84c;
  box-shadow: 0 4px 14px rgba(201,168,76,0.18);
}
.mh-day.muhurtham {
  border-left: 3px solid #c9a84c;
  background: #fdfaf4;
}
.mh-day.land {
  border-left: 3px solid #4eca80;
  background: #f4fdf8;
}
.mh-day-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 10px; margin-bottom: 1.2rem; }
.mh-day-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(201,162,39,0.40); border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.15s; display: flex; justify-content: space-between; align-items: flex-start; }
.mh-day-card:hover { border-color: rgba(201,162,39,0.4); background:1px solid rgba(0, 0, 0, 0.07); transform: translateY(-1px); }
.mh-day-card.type-muhurtham { border-left: 3px solid #c9a227; }
.mh-day-card.type-land      { border-left: 3px solid #4ade80; }
.mh-dc-date { font-size: 14px; font-weight: 700; margin-bottom: 2px; font-family: 'Cormorant Garamond', serif; }
.mh-dc-day  { font-size: 11px; opacity: 0.55; margin-bottom: 5px; }
.mh-dc-star { font-size: 11px; opacity: 0.55; margin-bottom: 8px; }
.mh-dc-badge { display: inline-block; font-size: 10px; padding: 2px 8px; border-radius: 10px; font-weight: 700; }
.badge-muhurtham { background: rgba(201,162,39,0.15); color: #e8c55a; border: 1px solid rgba(201,162,39,0.3); }
.badge-land      { background: rgba(74,222,128,0.1); color: #86efac; border: 1px solid rgba(74,222,128,0.25); }
.mh-dc-right { text-align: right; min-width: 68px; flex-shrink: 0; }
.mh-score        { font-size: 24px; font-weight: 800; font-family: 'Cormorant Garamond', serif; line-height: 1; }
.mh-score .denom { font-size: 10px; opacity: 0.4; font-weight: 400; }
.score-high { color: #4ade80; }
.score-mid  { color: #facc15; }
.score-low  { color: #f87171; }
.mh-score-bar  { width: 60px; height: 3px; background: rgba(4,4,4,0.1); border-radius: 2px; margin: 5px 0 5px auto; }
.mh-score-fill { height: 100%; border-radius: 2px; }
.mh-dc-hint    { font-size: 10px; opacity: 0.35; }

/* Day detail card */
.mh-detail { background: rgba(255,255,255,0.05); border: 1px solid rgba(201,162,39,0.35); border-radius: 12px; padding: 1.25rem; margin-bottom: 1rem; position: relative; animation: mhSlideIn 0.2s ease; }
.mh-detail::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #c9a227, transparent); border-radius: 12px 12px 0 0; }
.mh-detail-close { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; color: rgba(0,0,0,0.6); width: 28px; height: 28px; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.mh-detail-close:hover { background: rgba(255,255,255,0.12); color: #262525; }
.mh-detail-date    { font-size: 17px; font-weight: 700; font-family: 'Cormorant Garamond', serif; color: #c9a227; margin-bottom: 3px; }
.mh-detail-star    { font-size: 12px; opacity: 0.55; margin-bottom: 1rem; }
.mh-detail-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 10px; }
.mh-dm             { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 10px 12px; }
.mh-dm-label       { font-size: 10px; opacity: 0.45; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.mh-dm-val         { font-size: 12px; font-weight: 600; }
.mh-detail-note    { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-left: 3px solid #c9a227; border-radius: 0 8px 8px 0; padding: 10px 12px; font-size: 12px; opacity: 0.75; line-height: 1.7; }
.mh-empty          { text-align: center; padding: 2.5rem; opacity: 0.4; font-size: 14px; grid-column: 1 / -1; }
/* ================================================
   16. MARKET INSIGHTS PAGE
================================================ */
.insights-header { background: linear-gradient(135deg, var(--dark) 0%, var(--dark3) 100%); padding: 60px 8% 40px; }
.insights-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,3vw,2.6rem); color: var(--white); margin-bottom: 12px; }
.insights-header p  { color: rgba(255,255,255,0.55); font-size: 0.95rem; }

.filter-bar { padding: 20px 8%; background: var(--cream2); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid rgba(0,0,0,0.06); }
.filter-bar label { font-size: 0.82rem; font-weight: 700; color: var(--dark); text-transform: uppercase; letter-spacing: 1px; }
.filter-bar select, .filter-bar input { padding: 9px 14px; border: 1.5px solid rgba(0,0,0,0.1); border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 0.88rem; background: var(--white); color: var(--dark); outline: none; transition: border-color 0.25s; }
.filter-bar select:focus, .filter-bar input:focus { border-color: var(--gold); }

.insights-body { padding: 40px 8%; }
.area-cards    { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 40px; }
.area-card {
  background: var(--white); border-radius: 16px; padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border-top: 3px solid var(--gold);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
  cursor: pointer;
}
.area-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.area-name    { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.area-metrics { display: flex; justify-content: space-between; margin-bottom: 14px; }
.metric       { text-align: center; }
.metric-val   { font-weight: 800; font-size: 1rem; color: var(--dark); }
.metric-label { font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }
.growth-bar   { height: 6px; background: var(--cream2); border-radius: 3px; overflow: hidden; }
.growth-fill  { height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light)); border-radius: 3px; transition: width 0.8s var(--ease-out); }
.infra-dots   { display: flex; gap: 3px; margin-top: 8px; }
.dot          { width: 20px; height: 6px; border-radius: 3px; background: var(--cream2); transition: background 0.3s; }
.dot.filled   { background: linear-gradient(90deg, var(--gold-dark), var(--gold)); }

.price-table-wrap { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.price-table    { width: 100%; border-collapse: collapse; }
.price-table th { background: var(--dark); color: var(--gold); padding: 14px 20px; text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px; }
.price-table td { padding: 14px 20px; border-bottom: 1px solid var(--cream2); font-size: 0.88rem; color: var(--dark); transition: background 0.2s; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--cream); }
.growth-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 0.78rem; font-weight: 700; padding: 3px 8px; border-radius: 20px; background: rgba(45,122,69,0.08); color: var(--green); }
.infra-score  { font-weight: 700; color: var(--gold); }


/* ================================================
   17. SERVICES PAGE
================================================ */
.services-header { background: linear-gradient(135deg, var(--dark) 0%, var(--dark3) 100%); padding: 60px 8% 40px; }
.services-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,3vw,2.6rem); color: var(--white); margin-bottom: 12px; }
.services-body { padding: 40px 8%; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.svc-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.07); transition: transform 0.35s var(--ease-spring), box-shadow 0.35s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.svc-top { padding: 32px 28px 24px; background: linear-gradient(135deg, var(--dark) 0%, var(--dark3) 100%); }
.svc-icon-wrap { width: 60px; height: 60px; background: rgba(200,150,12,0.12); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 16px; transition: background 0.3s, transform 0.3s var(--ease-spring); }
.svc-card:hover .svc-icon-wrap { background: rgba(200,150,12,0.22); transform: scale(1.1) rotate(5deg); }
.svc-card h3     { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--white); margin-bottom: 8px; }
.svc-card .svc-short { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.6; }
.svc-bottom      { padding: 20px 28px 24px; }
.svc-features    { list-style: none; }
.svc-features li { font-size: 0.83rem; color: #4A4538; padding: 6px 0; border-bottom: 1px solid var(--cream2); display: flex; align-items: center; gap: 8px; transition: padding-left 0.2s; }
.svc-features li:hover { padding-left: 4px; }
.svc-features li:last-child { border-bottom: none; }
.svc-features li::before { content: '✓'; color: var(--green); font-weight: 700; }
.svc-cta { display: block; text-align: center; padding: 12px; background: var(--cream); color: var(--dark); font-weight: 700; font-size: 0.85rem; text-decoration: none; border-radius: 8px; margin-top: 16px; transition: background 0.3s, transform 0.2s; }
.svc-cta:hover { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--dark); transform: translateY(-1px); }


/* ================================================
   18. CONTACT PAGE
================================================ */
.contact-header { background: linear-gradient(135deg, var(--dark) 0%, var(--dark3) 100%); padding: 60px 8% 40px; }
.contact-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,3vw,2.6rem); color: var(--white); margin-bottom: 12px; }
.contact-body { padding: 40px 8%; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

.contact-form-card { background: var(--white); border-radius: 20px; padding: 36px; box-shadow: 0 4px 30px rgba(0,0,0,0.08); transition: box-shadow 0.3s; }
.contact-form-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.12); }
.contact-form-card h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--dark); margin-bottom: 6px; }
.contact-form-card p  { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card { background: var(--white); border-radius: 16px; padding: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.07); transition: box-shadow 0.3s, transform 0.3s var(--ease-spring); }
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.contact-card h3 { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--dark); margin-bottom: 14px; }
.contact-item { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-ico { width: 36px; height: 36px; background: rgba(200,150,12,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; transition: background 0.3s, transform 0.3s var(--ease-spring); }
.contact-item:hover .contact-ico { background: rgba(200,150,12,0.2); transform: scale(1.1); }
.contact-item span { font-size: 0.88rem; color: #4A4538; }

.whatsapp-btn { display: flex; align-items: center; justify-content: center; gap: 10px; background: #25D366; color: #fff; border-radius: 12px; padding: 14px; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: all 0.3s var(--ease-out); margin-top: 4px; }
.whatsapp-btn:hover { background: #1ebe59; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(37,211,102,0.35); }
.call-btn { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--blue); color: #fff; border-radius: 12px; padding: 14px; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: all 0.3s var(--ease-out); margin-top: 8px; }
.call-btn:hover { background: #1d4ed8; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(26,86,196,0.35); }

.enquiry-list { background: var(--cream); border-radius: 14px; padding: 20px; margin-top: 16px; }
.enquiry-item { background: var(--white); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); display: flex; justify-content: space-between; align-items: center; transition: transform 0.2s, box-shadow 0.2s; }
.enquiry-item:hover { transform: translateX(4px); box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.enquiry-item:last-child { margin-bottom: 0; }
.enq-name   { font-weight: 600; font-size: 0.88rem; color: var(--dark); }
.enq-detail { font-size: 0.75rem; color: var(--text-muted); }
.enq-status { font-size: 0.72rem; font-weight: 700; padding: 3px 8px; border-radius: 20px; background: rgba(45,122,69,0.1); color: var(--green); }


/* ================================================
   19. TOAST NOTIFICATION
================================================ */
.toast {
  position: fixed; bottom: 30px; right: 30px;
  background: linear-gradient(135deg, var(--dark), var(--dark3));
  color: var(--white); padding: 16px 24px; border-radius: 12px;
  border-left: 4px solid var(--gold); font-size: 0.88rem; z-index: 9999;
  transform: translateX(200px); opacity: 0;
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.toast.show { transform: translateX(0); opacity: 1; }

/* Portal toast (used in listings page) */
.portal-toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 3000;
  background: var(--dark); color: var(--cream);
  padding: 0.9rem 1.4rem; border-radius: 10px; font-size: 0.84rem; line-height: 1.5;
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
  border-left: 3px solid var(--gold); max-width: 300px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.portal-toast.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* Mini confirm bar (delete / sold confirm) */
.mini-confirm-box {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, var(--dark), var(--dark3));
  color: var(--cream); border-radius: 12px; padding: 1.1rem 1.5rem;
  box-shadow: 0 16px 48px rgba(0,0,0,0.38);
  display: none; align-items: center; gap: 1rem; z-index: 3000;
  max-width: 400px; width: 90%; transition: transform 0.3s var(--ease-out);
  border: 1px solid rgba(200,150,12,0.2);
}
.mini-confirm-box.show { display: flex; transform: translateX(-50%) translateY(0); }
.mc-msg { font-size: 0.84rem; flex: 1; line-height: 1.55; color: rgba(247,242,232,0.85); }
.mc-yes { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--dark); border: none; padding: 0.45rem 1.1rem; border-radius: 6px; cursor: pointer; font-size: 0.8rem; font-weight: 500; font-family: inherit; white-space: nowrap; transition: all 0.25s var(--ease-out); }
.mc-yes:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)); transform: translateY(-1px); }
.mc-no  { background: none; color: rgba(247,242,232,0.5); border: none; padding: 0.45rem 0.8rem; border-radius: 6px; cursor: pointer; font-size: 0.8rem; font-family: inherit; transition: color 0.2s; }
.mc-no:hover { color: rgba(247,242,232,0.8); }


/* ================================================
   20. LAND PORTAL (Post page)
================================================ */
.portal-page-wrap    { padding: 40px 5%; max-width: 1320px; margin: 0 auto; }
.portal-page-header  { text-align: center; margin-bottom: 2.5rem; padding: 0 1rem; }
.portal-page-header .section-label { font-size: 0.63rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; display: block; }
.portal-page-header h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem,4vw,3rem); font-weight: 300; line-height: 1.15; margin-bottom: 1rem; color: var(--dark); }
.portal-page-header h2 em { font-style: italic; color: var(--gold); }
.portal-gold-line  { width: 40px; height: 2px; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); margin: 1.2rem auto; }
.portal-sub        { color: rgba(10,10,10,0.52); line-height: 1.85; font-size: 0.92rem; max-width: 520px; margin: 0 auto; }

/* Toolbar (search + filters + post button) */
.portal-toolbar {
  display: flex; gap: 0.9rem; align-items: center; flex-wrap: wrap;
  margin-bottom: 2rem; background: var(--white);
  border: 1px solid rgba(200,150,12,0.2); border-radius: 10px;
  padding: 1rem 1.4rem; box-shadow: 0 4px 20px rgba(200,150,12,0.07);
}
.portal-search  { flex: 1; min-width: 180px; padding: 0.65rem 1rem; background: var(--off-white); border: 1.5px solid rgba(200,150,12,0.2); border-radius: 6px; font-family: inherit; font-size: 0.88rem; color: var(--dark); outline: none; transition: border-color 0.25s, box-shadow 0.25s; }
.portal-search::placeholder { color: rgba(10,10,10,0.35); }
.portal-search:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,150,12,0.1); }
.portal-filter  { padding: 0.65rem 1rem; background: var(--off-white); border: 1.5px solid rgba(200,150,12,0.2); border-radius: 6px; font-family: inherit; font-size: 0.82rem; color: var(--dark); outline: none; cursor: pointer; transition: border-color 0.25s; }
.portal-filter:focus { border-color: var(--gold); }
.portal-post-btn { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--dark); padding: 0.7rem 1.5rem; border: none; border-radius: 6px; font-family: inherit; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: all 0.3s var(--ease-out); white-space: nowrap; box-shadow: 0 4px 14px rgba(200,150,12,0.25); }
.portal-post-btn:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(200,150,12,0.35); }

/* Listings grid */
.listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.5rem; }
.listing-card  { background: var(--white); border: 1px solid rgba(200,150,12,0.14); border-radius: 12px; overflow: visible; transition: transform 0.35s var(--ease-spring), box-shadow 0.35s, border-color 0.35s; position: relative; }
.listing-card:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(200,150,12,0.14); border-color: rgba(200,150,12,0.35); }

/* Sold state */
.sold-ribbon    { position: absolute; top: 0; left: 0; right: 0; z-index: 6; background: linear-gradient(90deg, #b83232, #e04545); color: #fff; text-align: center; padding: 0.4rem; font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 500; border-radius: 12px 12px 0 0; }
.listing-card.is-sold { opacity: 0.75; }
.listing-card.is-sold .listing-thumb { filter: grayscale(60%); }
.sold-stamp     { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-18deg); font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 600; letter-spacing: 0.12em; color: rgba(183,50,50,0.22); pointer-events: none; z-index: 7; white-space: nowrap; }

/* Thumbnail */
.listing-thumb      { height: 180px; background: var(--dark); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 11px 11px 0 0; }
.listing-thumb img  { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 0.5s var(--ease-out); }
.listing-card:hover .listing-thumb img { transform: scale(1.06); }
.listing-thumb-grid { position: absolute; inset: 0; opacity: 0.07; background-image: linear-gradient(rgba(200,150,12,0.7) 1px, transparent 1px), linear-gradient(90deg, rgba(200,150,12,0.7) 1px, transparent 1px); background-size: 18px 18px; }
.listing-thumb-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(200,150,12,0.1), transparent); }
.listing-thumb-icon { font-size: 3.2rem; opacity: 0.35; position: relative; z-index: 1; }

/* Type + photo count badges on thumbnail */
.listing-type-badge { position: absolute; bottom: 0.75rem; left: 0.75rem; z-index: 2; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--dark); font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 20px; font-weight: 500; }
.listing-type-badge.commercial { background: var(--dark); color: var(--gold); border: 1px solid rgba(200,150,12,0.4); }
.listing-type-badge.farm  { background: #2a6e43; color: #fff; }
.listing-type-badge.plot  { background: #1a5276; color: #fff; }
.photo-count-badge { position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 2; background: rgba(0,0,0,0.6); color: #fff; font-size: 0.6rem; padding: 0.2rem 0.55rem; border-radius: 10px; display: flex; align-items: center; gap: 3px; }

/* Three-dot menu */
.listing-menu-wrap { position: absolute; top: 0.65rem; right: 0.65rem; z-index: 20; }
.listing-menu-btn  { width: 30px; height: 30px; border: none; background: rgba(0,0,0,0.45); backdrop-filter: blur(4px); border-radius: 50%; cursor: pointer; color: #fff; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; transition: background 0.2s, transform 0.2s var(--ease-spring); line-height: 1; padding: 0; }
.listing-menu-btn:hover { background: rgba(0,0,0,0.75); transform: scale(1.1); }
.listing-dropdown  { position: absolute; top: 36px; right: 0; background: var(--white); border: 1px solid rgba(200,150,12,0.22); border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,0.18); min-width: 160px; overflow: hidden; opacity: 0; pointer-events: none; transform: translateY(-8px) scale(0.97); transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out); z-index: 100; }
.listing-dropdown.open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.dd-btn        { display: flex; align-items: center; gap: 0.7rem; width: 100%; padding: 0.78rem 1.1rem; background: none; border: none; font-family: inherit; font-size: 0.82rem; color: var(--dark); cursor: pointer; text-align: left; transition: background 0.2s, padding-left 0.2s; white-space: nowrap; }
.dd-btn:hover  { background: var(--off-white); padding-left: 1.4rem; }
.dd-btn .dd-icon { font-size: 0.9rem; width: 18px; text-align: center; }
.dd-btn.danger { color: #c0392b; }
.dd-btn.danger:hover { background: #fff2f2; }
.dd-divider    { height: 1px; background: rgba(200,150,12,0.1); margin: 3px 0; }

/* Card body */
.listing-body       { padding: 1.25rem 1.3rem 1.3rem; }
.listing-title-row  { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.3rem; }
.listing-title      { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 400; color: var(--dark); line-height: 1.25; flex: 1; }
.listing-price      { font-family: 'Cormorant Garamond', serif; font-size: 1.08rem; color: var(--gold); font-weight: 600; white-space: nowrap; }
.listing-location   { font-size: 0.74rem; color: var(--text-muted); margin-bottom: 0.85rem; letter-spacing: 0.05em; }
.listing-location::before { content: '📍'; font-size: 0.65rem; margin-right: 0.3rem; }
.listing-specs      { display: flex; gap: 0.45rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.listing-spec       { font-size: 0.63rem; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(200,150,12,0.07); color: #7a5c10; border: 1px solid rgba(200,150,12,0.18); padding: 0.2rem 0.55rem; border-radius: 20px; }
.listing-description { font-size: 0.81rem; color: rgba(10,10,10,0.5); line-height: 1.72; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-footer     { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(200,150,12,0.1); padding-top: 0.9rem; }
.listing-owner      { display: flex; align-items: center; gap: 0.55rem; }
.owner-avatar       { width: 30px; height: 30px; border-radius: 50%; background: rgba(200,150,12,0.14); border: 1px solid rgba(200,150,12,0.28); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 0.82rem; color: var(--gold); font-weight: 600; flex-shrink: 0; }
.owner-info .owner-name   { font-size: 0.74rem; color: rgba(10,10,10,0.65); font-weight: 400; }
.owner-info .owner-role   { font-size: 0.62rem; color: var(--gold); letter-spacing: 0.06em; }
.owner-info .listing-date { font-size: 0.64rem; color: rgba(10,10,10,0.32); }
.listing-call-btn   { display: flex; align-items: center; gap: 0.4rem; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--dark); padding: 0.45rem 1rem; border-radius: 6px; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; border: none; cursor: pointer; font-family: inherit; transition: all 0.3s var(--ease-out); box-shadow: 0 3px 10px rgba(200,150,12,0.25); }
.listing-call-btn:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,150,12,0.35); }
.sold-label   { font-size: 0.74rem; color: #c0392b; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }

/* Empty state */
.portal-empty { grid-column: 1 / -1; text-align: center; padding: 4rem 2rem; }
.portal-empty .pe-icon { font-size: 3rem; display: block; margin-bottom: 1rem; opacity: 0.35; }
.portal-empty p { font-size: 0.9rem; color: rgba(10,10,10,0.4); line-height: 1.8; }


/* ================================================
   21. OVERLAYS (Post + Review + Key Prompt)
================================================ */

/* Shared backdrop */
.overlay-backdrop {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10,10,10,0.7); backdrop-filter: blur(10px);
  display: none; align-items: flex-start; justify-content: center;
  padding: 2rem 1rem; overflow-y: auto;
  animation: fadeIn 0.3s ease both;
}
.overlay-backdrop.active { display: flex; }

/* Panel */
.post-panel { background: #fff; border-radius: 16px; max-width: 600px; width: 100%; box-shadow: 0 40px 100px rgba(0,0,0,0.28); position: relative; animation: scaleIn 0.35s var(--ease-spring) both; margin: auto; overflow: hidden; }
.post-panel-header { background: linear-gradient(135deg, var(--dark), var(--dark3)); padding: 1.8rem 2rem 1.5rem; border-bottom: 2px solid var(--gold); position: relative; }
.post-panel-header h2    { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; color: #fff; margin-bottom: 0.3rem; }
.post-panel-header h2 em { font-style: italic; color: var(--gold); }
.post-panel-header p     { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.6; }
.post-panel-body { padding: 2rem; background: var(--cream); }

/* Close button */
.close-btn { position: absolute; top: 1.2rem; right: 1.4rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s, transform 0.2s var(--ease-spring); }
.close-btn:hover { background: rgba(255,255,255,0.18); color: #fff; transform: scale(1.1) rotate(90deg); }

/* Step progress bar */
.step-bar { display: flex; gap: 4px; margin-top: 1.2rem; }
.step-dot-bar       { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.12); transition: background 0.4s; }
.step-dot-bar.active { background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); }
.step-label-row { display: flex; gap: 0; margin-top: 0.5rem; }
.step-lbl       { flex: 1; font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.3); transition: color 0.3s; text-align: center; }
.step-lbl.active { color: var(--gold); }

/* Panel form fields (pf) — different from .form-group which is for Tools/Contact */
.pf { margin-bottom: 1.2rem; }
.pf label { display: block; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: #555; margin-bottom: 0.5rem; font-weight: 400; }
.pf input, .pf textarea, .pf select { width: 100%; padding: 0.82rem 1rem; background: #F8F5EE; border: 1.5px solid rgba(200,150,12,0.22); color: #0A0A0A; border-radius: 6px; font-family: inherit; font-size: 0.9rem; transition: border-color 0.25s, box-shadow 0.25s; outline: none; resize: none; }
.pf input::placeholder, .pf textarea::placeholder { color: #AAAAAA; }
.pf input:focus, .pf textarea:focus, .pf select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,150,12,0.12); }
.pf select { cursor: pointer; }
.pf select option { background: #fff; color: #0A0A0A; }
.pf textarea { height: 90px; }
.pf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Type chips (Residential / Commercial etc) */
.type-chip          { padding: 0.5rem 1rem; border: 1.5px solid rgba(200,150,12,0.2); border-radius: 20px; cursor: pointer; font-size: 0.78rem; color: #666; background: #F8F5EE; transition: all 0.25s var(--ease-out); user-select: none; }
.type-chip:hover    { border-color: rgba(200,150,12,0.45); color: #333; transform: translateY(-1px); }
.type-chip.selected { background: rgba(200,150,12,0.12); border-color: var(--gold); color: #0A0A0A; font-weight: 500; }

/* Panel action buttons */
.panel-actions { display: flex; gap: 0.8rem; margin-top: 1.5rem; }
.btn-back   { flex: 1; padding: 0.9rem; background: none; border: 1.5px solid rgba(200,150,12,0.28); border-radius: 6px; font-family: inherit; font-size: 0.85rem; color: #555; cursor: pointer; transition: border-color 0.25s, color 0.25s, transform 0.2s; }
.btn-back:hover { border-color: var(--gold); color: var(--dark); transform: translateY(-1px); }
.btn-next   { flex: 2; padding: 0.9rem; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); border: none; border-radius: 6px; font-family: inherit; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dark); cursor: pointer; transition: all 0.3s var(--ease-out); box-shadow: 0 4px 16px rgba(200,150,12,0.28); }
.btn-next:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,150,12,0.35); }
.btn-cancel { flex: 1; padding: 0.9rem; background: none; border: 1.5px solid rgba(200,150,12,0.22); border-radius: 6px; font-family: inherit; font-size: 0.85rem; color: #777; cursor: pointer; transition: border-color 0.2s, transform 0.2s; }
.btn-cancel:hover { border-color: var(--gold); transform: translateY(-1px); }
.btn-post   { flex: 2; padding: 0.9rem; background: var(--dark); border: 2px solid var(--gold); border-radius: 6px; font-family: inherit; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); cursor: pointer; transition: background 0.25s, transform 0.2s, box-shadow 0.25s; }
.btn-post:hover { background: var(--dark3); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }

/* Photo upload area */
.photo-upload-area { border: 2px dashed rgba(200,150,12,0.38); border-radius: 10px; padding: 1.5rem; text-align: center; background: #F8F5EE; cursor: pointer; transition: border-color 0.25s, background 0.25s, transform 0.2s; position: relative; margin-bottom: 1.2rem; }
.photo-upload-area:hover, .photo-upload-area.drag-over { border-color: var(--gold); background: rgba(200,150,12,0.05); transform: scale(1.01); }
.photo-upload-area input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.photo-upload-icon  { font-size: 2rem; margin-bottom: 0.5rem; display: block; }
.photo-upload-label { font-size: 0.82rem; color: #666; line-height: 1.6; }
.photo-upload-label strong { color: #333; display: block; margin-bottom: 0.2rem; }
.photo-upload-label span   { font-size: 0.72rem; color: #aaa; }
.photo-preview-grid  { display: grid; grid-template-columns: repeat(4,1fr); gap: 0.5rem; margin-top: 0.8rem; }
.photo-preview-item  { position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden; border: 1px solid rgba(200,150,12,0.2); transition: transform 0.2s var(--ease-spring); }
.photo-preview-item:hover { transform: scale(1.03); }
.photo-preview-item img   { width: 100%; height: 100%; object-fit: cover; }
.photo-remove-btn    { position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; background: rgba(0,0,0,0.7); border: none; border-radius: 50%; color: #fff; font-size: 0.6rem; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; transition: background 0.2s, transform 0.2s; }
.photo-remove-btn:hover { background: rgba(180,0,0,0.85); transform: scale(1.1); }
.photo-preview-item.add-more { background: rgba(200,150,12,0.05); border: 1.5px dashed rgba(200,150,12,0.28); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; cursor: pointer; color: var(--gold); transition: background 0.25s, transform 0.25s var(--ease-spring); }
.photo-preview-item.add-more:hover { background: rgba(200,150,12,0.1); transform: scale(1.05); }
.photo-count-info { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.4rem; }


/* ================================================
   22. FOOTER
================================================ */
footer { background: linear-gradient(160deg, #110e06 0%, #1a160a 60%, #221c0c 100%); padding: 0 0 24px; border-top: 1px solid rgba(200,150,12,0.15);   margin-top: 3px;}

.footer-top-bar { background: rgba(200,150,12,0.06); border-bottom: 1px solid rgba(200,150,12,0.12); padding: 10px 8%; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 0.75rem; color: rgba(255,255,255,0.5); letter-spacing: 0.05em; }
.ftb-divider { color: rgba(200,150,12,0.3); }

.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1.2fr 1.1fr 1.1fr; gap: 32px; margin-bottom: 40px; padding: 48px 8% 0; color: rgb(232,210,180); }

.footer-social { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; align-items: stretch; }
.social-btn    { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.78rem; text-decoration: none; padding: 9px 16px; border-radius: 8px; transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.25s; width: 100%; font-weight: 500; letter-spacing: 0.03em; }
.social-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,0.05); }

.footer-col h4 { color: var(--gold); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; }
.footer-col a  { display: block; color: rgba(227,215,215,0.9); text-decoration: none; font-size: 0.82rem; margin-bottom: 9px; transition: color 0.2s, padding-left 0.2s; }
.footer-col a:hover { color: var(--gold); padding-left: 6px; }
.footer-highlight-link { color: var(--gold) !important; font-weight: 600; }

.footer-contact-box { margin-top: 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(200,150,12,0.1); border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.fcb-item      { font-size: 0.78rem; color: rgba(227,215,215,0.9); display: flex; align-items: center; gap: 8px; line-height: 1.4; }
.fcb-item span { color: rgb(251,251,251); }
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.83rem; line-height: 1.7; margin-top: 14px; max-width: 260px; }

.footer-bottom  { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 8% 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,0.25); font-size: 0.75rem; }
.footer-badges  { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge   { background: rgba(224,224,224,0.08); color: var(--gold); font-size: 0.68rem; font-weight: 700; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: 1px; border: 1px solid rgba(200,150,12,0.2); transition: background 0.2s, transform 0.2s; }
.footer-badge:hover { background: rgba(200,150,12,0.12); transform: translateY(-1px); }


/* ================================================
   23. SCROLL REVEAL ANIMATIONS
   JS adds .visible to trigger these
================================================ */
.reveal       { opacity: 0; transform: translateY(32px);  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-32px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(32px);  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.fade-in { animation: fadeUp .4s ease both; }


/* ================================================
   24. RESPONSIVE — MOBILE BREAKPOINTS
================================================ */

/* Medium screens */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 1024px) {
  .projects-grid  { grid-template-columns: repeat(2,1fr); }
  .area-cards     { grid-template-columns: repeat(2,1fr); }
  .services-grid  { grid-template-columns: repeat(2,1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .about-grid     { grid-template-columns: 1fr; }
  .contact-body   { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .about-grid     { grid-template-columns: 1fr; }
  .about-text     { padding: 44px 28px; }
  .about-img-content { padding: 44px 28px; }
}

/* Tablet */
@media (max-width: 768px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }

  .hero { grid-template-columns: 1fr; background: #0A0804 !important; }
  .hero-content      { padding: 100px 6% 40px; }
  .hero-slider-wrap  { height: 300px; }
  .hero-stats        { margin: 0 4%; grid-template-columns: repeat(2,1fr); border-radius: 12px; }
  .hero-stat:nth-child(2) { border-radius: 0 12px 0 0; }
  .hero-stat:nth-child(3) { border-radius: 0 0 0 12px; }

  .about-grid   { grid-template-columns: 1fr; }
  .about-text   { padding: 3rem 6%; }
  .about-values { grid-template-columns: 1fr; }

  .section { padding: 60px 5%; }
  .section-label, .section-title { padding-left: 6%; padding-right: 6%; }

  .hero-stats   { margin: 0 5%; }

  .projects-grid  { grid-template-columns: 1fr; }
  .area-cards     { grid-template-columns: 1fr; }
  .services-grid  { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .footer-top-bar { justify-content: center; text-align: center; }

  .contact-body { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }
  .result-grid  { grid-template-columns: 1fr 1fr; }
  .pf-two       { grid-template-columns: 1fr; }

  .portal-toolbar { flex-direction: column; }
  .portal-search, .portal-filter { width: 100%; }
  .portal-post-btn { width: 100%; }
  .photo-preview-grid { grid-template-columns: repeat(3,1fr); }

  #toolGrid { grid-template-columns: repeat(2,1fr) !important; }

  #panel-muhurtham .mh-stats  { grid-template-columns: 1fr 1fr; }
  #panel-muhurtham .mh-stats .mh-stat:last-child { grid-column: 1 / -1; }
  #panel-muhurtham .mh-detail-metrics { grid-template-columns: 1fr; }
  #panel-muhurtham .mh-header { flex-direction: column; }
  #panel-muhurtham .mh-clock  { text-align: left; }
}

/* Small mobile */
@media (max-width: 640px) {
  .result-grid  { grid-template-columns: 1fr; }
  .main { padding: 20px 4% 60px; }
}

@media (max-width: 480px) {
  .about-values { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
  #toolGrid { grid-template-columns: 1fr !important; }
}
