/* ==========================================================================
   THE BANGALORE EMPLOYEES & SELF EMPLOYEES HOUSING CO-OPERATIVE SOCIETY LTD
   Modern, Accessible, High-Performance Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Kannada:wght@400;600;700&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --primary-navy: #0f2b48;
  --primary-navy-dark: #091a2d;
  --primary-navy-light: #183e68;
  --accent-cyan: #00a2c7;
  --accent-cyan-hover: #0287a6;
  --accent-cyan-light: #e0f7fa;
  --accent-cyan-glow: rgba(0, 162, 199, 0.25);
  --accent-amber: #f59e0b;
  --accent-emerald: #059669;
  --accent-emerald-light: #ecfdf5;

  /* Neutrals & Surfaces */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-tint: #f0f6fc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-light: #e2e8f0;
  --border-focus: #00a2c7;

  /* Gradients */
  --grad-navy: linear-gradient(135deg, #0f2b48 0%, #153e75 60%, #0d2847 100%);
  --grad-cyan: linear-gradient(135deg, #00a2c7 0%, #06b6d4 100%);
  --grad-hero-overlay: linear-gradient(180deg, rgba(15, 43, 72, 0.88) 0%, rgba(15, 43, 72, 0.72) 50%, rgba(15, 43, 72, 0.94) 100%);
  --grad-card-overlay: linear-gradient(180deg, transparent 0%, rgba(15, 43, 72, 0.92) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 43, 72, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 43, 72, 0.08), 0 1px 3px rgba(15, 43, 72, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 43, 72, 0.12), 0 4px 8px -2px rgba(15, 43, 72, 0.06);
  --shadow-xl: 0 20px 35px -5px rgba(15, 43, 72, 0.16), 0 10px 15px -5px rgba(15, 43, 72, 0.08);
  --shadow-cyan: 0 8px 25px -3px rgba(0, 162, 199, 0.35);

  /* Typography */
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-kannada: 'Noto Sans Kannada', 'Tunga', sans-serif;

  /* Radii & Transitions */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TOP ANNOUNCEMENT & UTILITY BAR
   ========================================================================== */
.top-bar {
  background-color: var(--primary-navy-dark);
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.reg-badge {
  background: rgba(0, 162, 199, 0.18);
  color: #38bdf8;
  padding: 0.18rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.helpline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #f1f5f9;
  font-weight: 600;
  transition: var(--transition);
}

.helpline-link:hover {
  color: var(--accent-cyan);
}

/* Language Toggle Button */
.lang-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.lang-toggle-btn:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

/* ==========================================================================
   STICKY MAIN NAVBAR
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  gap: 1.25rem;
  width: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 1;
  min-width: 0;
  text-decoration: none;
}

.brand-emblem-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.brand-link:hover .brand-emblem-img {
  transform: rotate(6deg) scale(1.06);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand-name-sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
  letter-spacing: 0.3px;
}

.brand-name-main {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.brand-name-main .brand-highlight {
  color: var(--accent-cyan);
}

.brand-name-desc {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.35rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary-navy);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--accent-cyan);
  transition: var(--transition);
  border-radius: 2px;
}

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

.nav-link:hover {
  color: var(--accent-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-cta-btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--grad-cyan);
  color: #ffffff;
  box-shadow: var(--shadow-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -3px rgba(0, 162, 199, 0.5);
}

.btn-secondary {
  background: var(--primary-navy);
  color: #ffffff;
}

.btn-secondary:hover {
  background: var(--primary-navy-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-outline:hover {
  background: var(--accent-cyan);
  color: #ffffff;
}

.btn-white {
  background: #ffffff;
  color: var(--primary-navy);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  color: var(--accent-cyan);
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 9px 8px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  transition: var(--transition);
  z-index: 1001;
}

.mobile-nav-toggle:hover {
  background: var(--bg-surface-tint);
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--primary-navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.25s ease, background-color 0.3s ease;
  transform-origin: center;
}

.mobile-nav-toggle.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
  background-color: var(--accent-cyan);
}

.mobile-nav-toggle.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
  background-color: var(--accent-cyan);
}

.mobile-cta-item {
  display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background-image: var(--grad-hero-overlay), url('../assets/images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 5.5rem 0 6rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -15%;
  right: -10%;
  width: 550px;
  height: 550px;
  max-width: 100%;
  background: radial-gradient(circle, rgba(0, 162, 199, 0.28) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #e0f2fe;
}

.hero-badge-wrap .dot {
  width: 8px;
  height: 8px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #38bdf8 0%, #00e5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-kannada-sub {
  font-family: var(--font-kannada);
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.hero-description {
  font-size: 1.12rem;
  color: #e2e8f0;
  margin-bottom: 2rem;
  max-width: 580px;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.hero-trust-indicators {
  display: flex;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #f1f5f9;
}

.trust-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(0, 162, 199, 0.25);
  border-radius: 50%;
  color: #38bdf8;
  font-size: 0.85rem;
}

/* Hero Quick Filter Card */
.hero-quick-card {
  background: rgba(255, 255, 255, 0.97);
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
}

.hero-quick-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--grad-cyan);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-heading {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.4rem;
}

.card-subtext {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-select,
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  background: #f8fafc;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-select:focus,
.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--accent-cyan-glow);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ==========================================================================
   METRICS & IMPACT COUNTER SECTION
   ========================================================================== */
.metrics-section {
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
}

.metrics-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.metric-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-right: 1px solid var(--border-light);
  padding-right: 1.5rem;
}

.metric-box:last-child {
  border-right: none;
  padding-right: 0;
}

.metric-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.metric-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   ABOUT SOCIETY & CO-OPERATIVE ADVANTAGE
   ========================================================================== */
.section {
  padding: 5.5rem 0;
}

.section-tint {
  background-color: var(--bg-surface-tint);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-cyan);
  background: var(--accent-cyan-light);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-floating-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-feature-item {
  display: flex;
  gap: 1.2rem;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-cyan-light);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about-feature-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
}

.about-feature-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FEATURED RESIDENTIAL LAYOUTS
   ========================================================================== */
.projects-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.filter-btn {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-navy);
  border-color: var(--primary-navy);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 162, 199, 0.4);
}

.project-img-box {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-img-box img {
  transform: scale(1.06);
}

.project-badge-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 43, 72, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
}

.project-status-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-emerald);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.project-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.project-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

.project-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.spec-chip {
  background: var(--bg-surface-tint);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.project-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
}

.price-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.price-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.project-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

/* ==========================================================================
   INTERACTIVE PLOT COST & EMI CALCULATOR
   ========================================================================== */
.calc-wrapper {
  background: var(--primary-navy);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  position: relative;
  overflow: hidden;
}

.calc-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  max-width: 100%;
  background: radial-gradient(circle, rgba(0, 162, 199, 0.35) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.calc-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.calc-desc {
  color: #94a3b8;
  font-size: 0.98rem;
  margin-bottom: 2.25rem;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.control-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
}

.control-val-badge {
  background: rgba(0, 162, 199, 0.25);
  color: #38bdf8;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 700;
}

/* Dimension Pill Selector */
.dimension-pill-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.dim-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.dim-btn.active,
.dim-btn:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.dim-title {
  font-weight: 800;
  font-size: 1rem;
}

.dim-sub {
  font-size: 0.72rem;
  opacity: 0.85;
}

/* Sliders */
.range-slider {
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 162, 199, 0.8);
  transition: var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Calculator Output Box */
.calc-summary-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.summary-header h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--primary-navy);
  font-weight: 800;
}

.breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.breakdown-row strong {
  color: var(--primary-navy);
  font-weight: 700;
}

.breakdown-row.total {
  border-top: 2px dashed var(--border-light);
  padding-top: 0.85rem;
  font-size: 1.1rem;
}

.breakdown-row.total strong {
  font-size: 1.35rem;
  color: var(--accent-cyan);
  font-family: var(--font-heading);
}

.emi-highlight-box {
  background: var(--accent-cyan-light);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  text-align: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 162, 199, 0.2);
}

.emi-sub {
  font-size: 0.82rem;
  color: var(--accent-cyan-hover);
  font-weight: 700;
  text-transform: uppercase;
}

.emi-amount {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-navy);
}

/* ==========================================================================
   AMENITIES & TOWNSHIP INFRASTRUCTURE
   ========================================================================== */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.amenity-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.amenity-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--accent-cyan-light);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.amenity-card:hover .amenity-icon {
  background: var(--accent-cyan);
  color: #ffffff;
  transform: rotate(6deg) scale(1.08);
}

.amenity-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.amenity-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MEMBERSHIP ELIGIBILITY & ALLOTMENT ROADMAP
   ========================================================================== */
.eligibility-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.eligibility-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.eligibility-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--accent-cyan);
}

.eligibility-card.self-emp::before {
  background: var(--accent-amber);
}

.eligibility-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.eligibility-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary-navy);
}

.eligibility-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.check-list li svg {
  width: 18px;
  height: 18px;
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Process Roadmap */
.roadmap-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.step-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
}

.step-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-navy);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(15, 43, 72, 0.25);
}

.step-icon {
  font-size: 2rem;
  margin: 0.75rem 0 0.85rem;
  color: var(--accent-cyan);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testi-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars-row {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.testi-quote {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testi-member {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--accent-cyan);
  font-size: 1.1rem;
  border: 2px solid var(--accent-cyan-light);
}

.testi-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-navy);
}

.testi-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   INQUIRY & SITE VISIT BOOKING SECTION
   ========================================================================== */
.booking-section {
  background-image: var(--grad-hero-overlay), url('../assets/images/clubhouse.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 5.5rem 0;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.booking-info-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.booking-info-desc {
  font-size: 1.05rem;
  color: #e2e8f0;
  margin-bottom: 2rem;
}

.shuttle-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
}

.booking-form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--text-main);
  box-shadow: var(--shadow-xl);
}

/* Sector Toggle Pill */
.sector-toggle-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: #f1f5f9;
  padding: 0.35rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.sector-pill {
  padding: 0.6rem;
  text-align: center;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.sector-pill.active {
  background: #ffffff;
  color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--accent-cyan);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: none;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--primary-navy-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-logo {
  filter: brightness(0) invert(1);
  height: 50px;
  margin-bottom: 1.25rem;
}

.footer-kannada-name {
  font-family: var(--font-kannada);
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.footer-about {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: var(--transition);
}

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

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
  color: #cbd5e1;
}

.footer-contact-icon {
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   MODAL DIALOGS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 43, 72, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform 0.28s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-navy);
  transition: var(--transition);
  z-index: 10;
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: #ef4444;
}

.modal-body {
  padding: 2.5rem;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary-navy);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border-left: 5px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Large Tablets & Small Desktops (<= 1080px) */
@media (max-width: 1080px) {
  .hero-grid,
  .calc-wrapper,
  .booking-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .projects-grid,
  .amenities-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .metric-box {
    border-right: none;
  }

  .roadmap-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

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

/* Navigation Breakpoint (<= 1040px) */
@media (max-width: 1040px) {
  .mobile-nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 2rem;
    gap: 0.25rem;
    border-bottom: 3px solid var(--accent-cyan);
    box-shadow: 0 16px 32px rgba(15, 43, 72, 0.15);
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease, visibility 0.28s;
    z-index: 999;
  }

  .nav-menu.is-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    display: flex;
  }

  .nav-link {
    display: block;
    padding: 0.8rem 1rem;
    font-size: 1.02rem;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--border-light);
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--bg-surface-tint);
    color: var(--accent-cyan);
    padding-left: 1.25rem;
  }

  .nav-link::after {
    display: none;
  }

  .mobile-cta-item {
    display: block;
    margin-top: 1rem;
    padding-top: 0.5rem;
  }

  .btn-mobile-nav {
    width: 100%;
    padding: 0.85rem;
    font-size: 0.98rem;
    justify-content: center;
  }
}

/* Tablets & Mobile (<= 768px) */
@media (max-width: 768px) {
  /* Container & Layout */
  .container {
    padding: 0 1.2rem;
  }

  /* Top Bar */
  .top-bar-content {
    justify-content: center;
    gap: 0.6rem;
  }

  .top-bar-left, .top-bar-right {
    justify-content: center;
    gap: 0.85rem;
  }

  /* Header - Hide desktop CTA button on mobile so header NEVER blows out */
  .nav-actions {
    display: none;
  }

  .nav-container {
    padding: 0.65rem 1.2rem;
    gap: 0.75rem;
  }

  .brand-name-desc {
    display: none;
  }

  .brand-name-main {
    font-size: 0.95rem;
  }

  /* Sections */
  .section {
    padding: 3.75rem 0;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .section-title {
    font-size: clamp(1.75rem, 5.5vw, 2.2rem);
  }

  /* Hero */
  .hero-section {
    padding: 3.5rem 0 4rem;
  }

  .hero-glow {
    width: 260px;
    height: 260px;
    right: -20px;
    top: -20px;
  }

  .calc-glow {
    width: 220px;
    height: 220px;
    right: -20px;
    top: -20px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.4rem);
    line-height: 1.18;
    margin-bottom: 1rem;
  }

  .hero-kannada-sub {
    font-size: 0.98rem;
    margin-bottom: 0.85rem;
  }

  .hero-description {
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-trust-indicators {
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.25rem;
  }

  .hero-quick-card {
    padding: 1.75rem 1.25rem;
  }

  /* Metrics Section */
  .metrics-section {
    margin-top: -2rem;
  }

  .metrics-card {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem;
    gap: 1.25rem;
  }

  .metric-box {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1.25rem;
    padding-right: 0;
  }

  .metric-box:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* About Floating Card */
  .about-floating-card {
    position: static;
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  /* Grids */
  .projects-grid,
  .amenities-grid,
  .testimonials-grid,
  .eligibility-cards-row,
  .roadmap-steps,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .amenity-card,
  .eligibility-card,
  .step-card,
  .testi-card {
    padding: 1.5rem 1.25rem;
  }

  /* Dimension Selector & Calculator */
  .dimension-pill-group {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc-wrapper {
    padding: 1.75rem 1.25rem;
    gap: 2rem;
  }

  .calc-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  .calc-summary-card {
    padding: 1.5rem 1.25rem;
  }

  /* Booking & Forms */
  .booking-section {
    padding: 3.5rem 0;
  }

  .booking-info-title {
    font-size: clamp(1.75rem, 5.5vw, 2.2rem);
  }

  .booking-form-card {
    padding: 1.75rem 1.25rem;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  /* Modals & Toast */
  .modal-overlay {
    padding: 0.75rem;
  }

  .modal-body {
    padding: 1.75rem 1.25rem;
  }

  .toast-notice {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: calc(100% - 2rem);
    padding: 0.75rem 1rem;
  }

  /* Footer */
  .site-footer {
    padding: 3.5rem 0 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }

  .footer-bottom div[style*="display: flex"] {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Compact Mobile (<= 580px) */
@media (max-width: 580px) {
  .container {
    padding: 0 1rem;
  }

  .top-bar-timing {
    display: none;
  }

  .top-bar-content {
    justify-content: space-between;
  }

  .reg-badge {
    font-size: 0.72rem;
    padding: 0.15rem 0.5rem;
  }

  .helpline-link {
    font-size: 0.78rem;
  }

  .nav-container {
    padding: 0.6rem 1rem;
  }

  .brand-emblem-img {
    height: 38px;
    width: 38px;
  }

  .brand-name-sub {
    font-size: 0.64rem;
  }

  .brand-name-main {
    font-size: 0.84rem;
    white-space: normal;
    line-height: 1.15;
  }

  .project-actions {
    grid-template-columns: 1fr;
  }

  .filter-btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
  }
}

/* Extra Compact Phones (<= 380px) */
@media (max-width: 380px) {
  .brand-name-main {
    font-size: 0.78rem;
  }

  .dimension-pill-group {
    grid-template-columns: 1fr;
  }
}
