/* =========================================================
   IVORY HEIGHTS — Landing Page Styles
   Palette:
     --navy      : #16394B (primary / headings / dark sections)
     --navy-deep : #0E2733 (darker navy for footer/base)
     --gold      : #B08D57 (accent / CTA / highlights)
     --gold-light: #CBB795 (soft gold / dividers)
     --cream     : #F8F5F0 (section background)
     --ivory     : #FFFFFF
     --ink       : #2B2B2B (body text)
   ========================================================= */

:root {
  --navy: #16394b;
  --navy-deep: #0e2733;
  --gold: #b08d57;
  --gold-light: #cbb795;
  --cream: #f8f5f0;
  --ivory: #ffffff;
  --ink: #2b2b2b;
  --font-display: "Cormorant Garamond", "Playfair Display", serif;
  --font-body: "Jost", "Poppins", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
}

.text-gold {
  color: var(--gold) !important;
}
.bg-navy {
  background-color: var(--navy) !important;
}
.bg-navy-deep {
  background-color: var(--navy-deep) !important;
}
.bg-cream {
  background-color: var(--cream) !important;
}
.bg-gold {
  background-color: var(--gold) !important;
}

.eyebrow {
  font-family: var(--font-body);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
}

.divider-gold {
  width: 70px;
  height: 2px;
  background: var(--gold);
  margin: 18px 0;
}
.divider-gold.center {
  margin: 18px auto;
}

/* ---------- Buttons ---------- */
.btn-gold {
  background-color: var(--gold);
  border: 1px solid var(--gold);
  color: #fff;
  padding: 13px 34px;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.35s ease;
}
.btn-gold:hover {
  background-color: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline-cream {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  padding: 13px 34px;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.35s ease;
}
.btn-outline-cream:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn-navy {
  background-color: var(--navy);
  border: 1px solid var(--navy);
  color: #fff;
  padding: 13px 34px;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.35s ease;
}
.btn-navy:hover {
  background-color: transparent;
  color: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--navy-deep);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 39, 51, 0.55) 0%,
    rgba(14, 39, 51, 0.75) 55%,
    rgba(14, 39, 51, 0.95) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: 90px;
}
.hero-content .eyebrow {
  color: var(--gold-light);
}
.hero-content h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.08;
  margin-bottom: 20px;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-content p.lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  font-weight: 300;
  font-size: 1.1rem;
}
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
}
.hero-scroll .line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.4);
  margin: 10px auto 0;
  position: relative;
  overflow: hidden;
}
.hero-scroll .line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold-light);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% {
    top: -100%;
  }
  50% {
    top: 0%;
  }
  100% {
    top: 100%;
  }
}

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--navy);
  padding: 40px 0;
}
.stat-item {
  text-align: center;
  color: #fff;
}
.stat-item .num {
  font-family: var(--font-body);
  font-size: 2.6rem;
  color: var(--gold-light);
  font-weight: 600;
  line-height: 1;
}
.stat-item .label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 6px;
}

@media only screen and (max-width: 480px) and (orientation: portrait) {
  .stat-item .num {
    font-size: 1.6rem;
  }
  .stat-item .label {
    font-size: 0.6rem;
  }
}

/* ---------- Section base ---------- */
.section {
  padding: 100px 0;
}
@media (max-width: 767px) {
  .section {
    padding: 64px 0;
  }
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 6px;
}
.section-sub {
  color: #6b6b6b;
  max-width: 640px;
  font-weight: 300;
}

/* ---------- About ---------- */
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(22, 57, 75, 0.22);
}
.about-badge {
  position: absolute;
  bottom: -28px;
  right: -28px;
  background: var(--gold);
  color: #fff;
  padding: 26px 30px;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 16px 34px rgba(176, 141, 87, 0.4);
}
.about-badge .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.about-badge .txt {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-pill {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 18px;
  margin-bottom: 22px;
}
.info-pill h6 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-weight: 600;
}
.info-pill p {
  margin: 0;
  color: var(--navy);
  font-weight: 500;
}

/* ---------- Why Choose (Feature Cards) ---------- */
.feature-card {
  background: #fff;
  border: 1px solid #ece7dd;
  padding: 40px 30px;
  height: 100%;
  transition: all 0.35s ease;
  border-radius: 4px;
}
.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(22, 57, 75, 0.1);
}
.feature-card .icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 1.4rem;
}
.feature-card h5 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}
.feature-card p {
  color: #6b6b6b;
  font-size: 0.94rem;
  margin-bottom: 0;
}

/* ---------- Amenities ---------- */
.amenity-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/5;
}
.amenity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.amenity-card:hover img {
  transform: scale(1.08);
}
.amenity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 39, 51, 0) 40%,
    rgba(14, 39, 51, 0.85) 100%
  );
}
.amenity-card .amenity-label {
  position: absolute;
  bottom: 18px;
  left: 20px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}
.amenity-card .amenity-label small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 3px;
}

@media only screen and (max-width: 480px) and (orientation: portrait) {
  .amenity-card .amenity-label {
    font-size: 1rem;
    bottom: 10px;
    left: 12px;
  }
  .amenity-card .amenity-label small {
    font-size: 0.5rem;
    margin-bottom: 1px;
  }
}

/* ---------- Configuration / Pricing table ---------- */
.config-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.config-table th {
  background: var(--navy);
  color: #fff;
  padding: 18px 22px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.config-table td {
  padding: 20px 22px;
  border-bottom: 1px solid #eee3d3;
  font-size: 0.98rem;
  color: var(--ink);
}
.config-table tr:last-child td {
  border-bottom: none;
}
.config-table tr:hover td {
  background: var(--cream);
}
.config-table td.type {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 600;
}

/* =========================
   Responsive Table
========================= */

/* Tablet */
@media (max-width: 991px) {
  .config-table th,
  .config-table td {
    padding: 16px;
    font-size: 0.9rem;
  }

  .config-table td.type {
    font-size: 1rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  /* Horizontal scroll */
  .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

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

  .config-table th,
  .config-table td {
    padding: 14px 16px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .config-table td.type {
    font-size: 0.95rem;
  }
}

/* ---------- Floor Plans (Tabs / Gallery) ---------- */
.plan-tabs .nav-link {
  border: none;
  border-radius: 0;
  color: var(--navy);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-bottom: 2px solid transparent;
}
.plan-tabs .nav-link.active {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  background: transparent;
}

@media only screen and (max-width: 480px) and (orientation: portrait) {
  .plan-tabs .nav-link {
    font-size: 0.6rem;
    padding: 8px 10px;
  }
}
.plan-frame {
  border: 1px solid #eee3d3;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.plan-frame img {
  width: 100%;
  display: block;
}

/* ---------- Gallery ---------- */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 5px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item .gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 20px;
  background: linear-gradient(
    180deg,
    rgba(14, 39, 51, 0) 0%,
    rgba(14, 39, 51, 0.85) 100%
  );
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
}
.gallery-tall {
  height: 480px;
}
.gallery-short {
  height: 228px;
}

/* ---------- Location Salience ---------- */
.location-section {
  background: var(--navy-deep);
  color: #fff;
}
.location-section .section-title {
  color: #fff;
}
.location-section .section-sub {
  color: rgba(255, 255, 255, 0.65);
}
.map-frame {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.map-frame iframe,
.map-frame img {
  width: 100%;
  height: 420px;
  border: 0;
  object-fit: cover;
}

.loc-group {
  margin-bottom: 30px;
}
.loc-group h6 {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 8px;
}
.loc-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.loc-group li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}
.loc-group li:last-child {
  border-bottom: none;
}
.loc-group li span.dist {
  color: var(--gold-light);
  font-weight: 600;
  white-space: nowrap;
  padding-left: 10px;
}

.Connectivity .loc-group {
  border-radius: 5px;
  padding: 10px;
  box-shadow: rgba(255, 255, 255, 0.2) 0px 2px 8px 0px;
}

.third-cont-connectivity {
  margin-top: -42px;
}

/* ---------- Developer ---------- */
.developer-section {
  background: var(--cream);
}
.dev-logo {
  max-height: 60px;
  margin-bottom: 24px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  padding: 70px 0;
  text-align: center;
  color: var(--navy-deep);
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  color: var(--navy-deep);
}

/* ---------- Footer ---------- */
footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
  font-size: 0.9rem;
}
footer h6 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  margin-bottom: 18px;
}
footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
footer a:hover {
  color: var(--gold-light);
}
footer .footer-logo {
  height: 44px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding: 22px 0;
  font-size: 0.78rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}
.footer-qr {
  background: #fff;
  padding: 8px;
  border-radius: 4px;
  width: 96px;
  height: 96px;
}
.footer-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rera-disclaimer {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- Fade-up reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RERA ── */
#rera {
  background: var(--dark);
  border-top: 1px solid rgba(196, 154, 46, 0.14);
}

.rera-section {
  padding: 60px 0;
  background: #1a6ba0; /* your bg-blue */
}

.rera-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* ── Stats grid (left column) ── */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-right: 1px solid #e4e8ee;
}

.stat-cell {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 20px;
  border-bottom: 1px dashed #c8d4e0;
}

.stat-cell:nth-child(odd) {
  border-right: 1px dashed #c8d4e0;
}
.stat-cell:nth-child(3),
.stat-cell:nth-child(4) {
  border-bottom: none;
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f0f5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #274c77;
  font-size: 15px;
  margin-top: 2px;
}

.stat-label {
  font-size: 11px;
  color: #6b7a8d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 5px;
}

.stat-value {
  font-size: 14px;
  font-weight: 600;
  color: #1a2a3a;
  margin: 0;
  line-height: 1.4;
}

/* ── Right column ── */
.rera-right {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: start;
  gap: 20px;
}

.project-name {
  font-size: 28px;
  font-weight: 700;
  color: #1a2a3a;
  margin: 0 0 8px;
  font-family: "Jost";
}

.project-addr {
  font-size: 14px;
  color: #4a5a6a;
  line-height: 1.65;
  margin: 0;
}

/* ── RERA badge ── */
.rera-badge {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f5f8fb;
  border: 1px solid #d8e4f0;
  border-radius: 10px;
  padding: 16px 18px;
}

.rera-qr {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}

.rera-num {
  font-size: 13px;
  font-weight: 600;
  color: #1a2a3a;
  margin: 0 0 6px;
}

.rera-desc {
  font-size: 12px;
  color: #6b7a8d;
  line-height: 1.6;
  margin: 0;
}

.rera-link {
  color: #1a6ba0;
  word-break: break-all;
}

/* ---------- Back to top ---------- */
#backToTop {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border: none;
}
#backToTop.show {
  opacity: 1;
  visibility: visible;
}

@media only screen and (max-width: 480px) and (orientation: portrait) {
  .mobile-left-side {
    display: flex;
    flex-direction: column;
    align-items: start;
  }
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991px) {
  .about-badge {
    right: 12px;
    bottom: -20px;
    padding: 18px 20px;
  }
  .gallery-tall {
    height: 320px;
  }
}
@media (max-width: 767px) {
  .navbar-nav .nav-link {
    margin: 6px 0;
  }
  .about-badge {
    position: static;
    margin-top: -40px;
    margin-left: 12px;
    display: inline-block;
  }
  .gallery-tall,
  .gallery-short {
    height: 240px;
  }
  .map-frame iframe,
  .map-frame img {
    height: 280px;
  }
}
@media (max-width: 767px) {
  .rera-box {
    padding: 24px 18px;
  }
  .rera-right {
    padding: 24px 20px;
  }
}
