/* ==========================================================
   CHANDAK CHEMBUR - CORE STYLESHEET (UPDATED)
   High-Contrast Badges, Animated 10:90 Ribbon, RERA Profile
   ========================================================== */

:root {
  --primary: #0e2a47;
  --secondary: #dfa82c;
  --secondary-hover: #c4911d;
  --dark: #1f2937;
  --light: #f8fafc;
  --white: #ffffff;
  --gray: #64748b;
  --border: #e2e8f0;
  --success: #16a34a;
  --offer-red: #dc2626;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-stack);
  color: var(--dark);
  background: var(--white);
}

body {
  line-height: 1.5;
  padding-bottom: 70px;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-gold {
  background: var(--secondary);
  color: #0e2a47;
  font-weight: 800;
}

.btn-gold:hover {
  background: var(--secondary-hover);
  color: #ffffff;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

/* ==========================================================
   HIGH-CONTRAST GOLD BADGE (FIXES DULL TEXT ON DARK HERO)
   ========================================================== */
.badge-hero {
  display: inline-block;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #0e2a47;
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 170, 0, 0.45);
  border: 1px solid #fff3c4;
}

.badge-sub {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  background: rgba(223, 168, 44, 0.15);
  color: #855f0b;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ==========================================================
   LIVELY ANIMATED RED 10:90 PAYMENT RIBBON
   ========================================================== */
.offer-ribbon {
  background: linear-gradient(-45deg, #b91c1c, #dc2626, #ef4444, #991b1b);
  background-size: 400% 400%;
  animation: gradientFlow 5s ease infinite;
  color: #ffffff;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.flash-tag {
  background: #ffffff;
  color: #b91c1c;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulseFlash 1.4s infinite ease-in-out;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulseFlash {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.88; box-shadow: 0 0 10px rgba(255, 255, 255, 0.9); }
}

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 65px;
}

.brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand span {
  color: var(--secondary);
}

.nav-links {
  display: none;
  gap: 1.2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: var(--secondary);
}

.nav-cta a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(14, 42, 71, 0.93), rgba(14, 42, 71, 0.93)),
              url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  color: var(--white);
  padding: 3rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 1.85rem;
  line-height: 1.25;
  margin-bottom: 0.8rem;
  font-weight: 800;
}

.hero-text h1 span {
  color: #ffd700;
}

.hero-offer-box {
  background: rgba(220, 38, 38, 0.22);
  border: 1px solid rgba(239, 68, 68, 0.5);
  border-left: 4px solid #ef4444;
  padding: 0.9rem 1.1rem;
  border-radius: 6px;
  margin: 1.2rem 0;
}

.hero-offer-box strong {
  color: #fecaca;
  display: block;
  font-size: 0.95rem;
}

.hero-offer-box p {
  font-size: 0.85rem;
  color: #f1f5f9;
  margin-top: 3px;
}

.hero-highlights {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
}

.highlight-item svg {
  fill: #ffd700;
  flex-shrink: 0;
}

/* Lead Forms */
.lead-form-box {
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  color: var(--dark);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.lead-form-box h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.2rem;
}

.lead-form-box p {
  font-size: 0.85rem;
  text-align: center;
  color: var(--gray);
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 0.8rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--dark);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus {
  outline: 2px solid var(--secondary);
}

.hp-field {
  display: none !important;
}

/* Section Shared */
section {
  padding: 3.5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.2rem;
}

.section-title h2 {
  font-size: 1.7rem;
  color: var(--primary);
  font-weight: 800;
}

.section-title p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-top: 0.3rem;
}

/* Project Elevation Gallery / Single Spotlight */
.project-gallery-box {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
}

.project-img-wrapper {
  position: relative;
  overflow: hidden;
  max-height: 480px;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.project-img-wrapper:hover img {
  transform: scale(1.03);
}

.img-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(14, 42, 71, 0.85);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

/* 10:90 Spotlight Scheme */
.scheme-card {
  background: linear-gradient(135deg, #0e2a47 0%, #173b64 100%);
  color: var(--white);
  border-radius: 12px;
  padding: 2.2rem 1.5rem;
  text-align: center;
  border: 2px solid #ffd700;
  box-shadow: 0 10px 30px rgba(14, 42, 71, 0.2);
  margin-bottom: 2.5rem;
}

.scheme-card h3 {
  font-size: 1.6rem;
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.scheme-card p {
  font-size: 0.95rem;
  max-width: 750px;
  margin: 0 auto 1.2rem auto;
  opacity: 0.92;
}

.scheme-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.scheme-badge-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Table */
.table-container {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 580px;
  text-align: left;
}

th, td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

th {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.offer-tag-cell {
  background: #fef2f2;
  color: var(--offer-red);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  display: inline-block;
}

/* Amenities */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.amenity-card {
  text-align: center;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.amenity-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.amenity-card h4 {
  font-size: 0.95rem;
  color: var(--primary);
}

/* Location */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.loc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.loc-list li {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--border);
  font-size: 0.9rem;
}

.loc-list strong {
  color: var(--primary);
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  padding: 1rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.faq-answer {
  padding: 0 1rem 1rem 1rem;
  font-size: 0.9rem;
  color: var(--gray);
  display: none;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question {
  color: var(--secondary);
}

/* ==========================================================
   UPDATED ABOUT FORTUNE SERIES STYLES
   ========================================================== */
.about-fortune-box {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  margin-top: 1.5rem;
}

.fortune-credentials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background: var(--light);
  border: 1px solid #e2e8f0;
  border-left: 5px solid var(--secondary);
  border-radius: 8px;
  padding: 1.2rem;
  margin: 1.2rem 0;
}

.credential-item {
  font-size: 0.92rem;
  color: var(--dark);
}

.credential-item strong {
  color: var(--primary);
}

.partner-brands-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.brand-pill {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
}

/* Mobile Sticky Bar */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  border-top: 1px solid var(--border);
  display: flex;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
}

.sticky-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--dark);
  gap: 2px;
}

.sticky-bar a.call-act {
  background: var(--primary);
  color: var(--white);
}

.sticky-bar a.enq-act {
  background: var(--secondary);
  color: #0e2a47;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 1rem;
}

.modal-content {
  background: var(--white);
  width: 100%;
  max-width: 440px;
  border-radius: 8px;
  position: relative;
  padding: 1.6rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  animation: pop 0.25s ease-out;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--gray);
  line-height: 1;
}

@keyframes pop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .hero-text h1 { font-size: 2.5rem; }
  .amenities-grid { grid-template-columns: repeat(4, 1fr); }
  .loc-grid { grid-template-columns: 1fr 1fr; }
  .fortune-credentials-grid { grid-template-columns: repeat(3, 1fr); }
  body { padding-bottom: 0; }
  .sticky-bar { display: none; }
}