/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (DARK NAVY / WARM GOLD)
   ========================================================================== */
:root {
  --primary-color: #0b192c;      /* Deep Dark Navy */
  --secondary-color: #1e3e62;    /* Medium Blue Slate */
  --accent-gold: #d4af37;        /* Warm Premium Gold */
  --accent-cyan: #38bdf8;        /* Light Cyan/Blue for Highlights */
  
  --bg-main: #060d19;            /* Pitch Dark Background */
  --bg-card: rgba(30, 62, 98, 0.25); /* Glassmorphic Card BG */
  --border-light: rgba(255, 255, 255, 0.08); /* Soft Border */
  
  --text-white: #ffffff;
  --text-light: #e2e8f0;         /* Slate Light Gray */
  --text-muted: #94a3b8;         /* Cool Muted Gray */
  
  --font-heading: 'Outfit', sans-serif;
  --font-accent: 'Playfair Display', serif;
  
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-gold: 0 8px 32px 0 rgba(212, 175, 55, 0.15);
  --shadow-dark: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   BASE RESET & UTILITIES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-light);
  font-family: var(--font-heading);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

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

/* Common Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

.text-center {
  text-align: center;
}

.font-semibold {
  font-weight: 600;
}

/* Responsive Grid */
.grid {
  display: grid;
  gap: 2rem;
}

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

.grid-12 {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.col-lg-5 {
  flex: 0 0 calc(41.666% - 1rem);
  width: 41.666%;
}

.col-lg-6 {
  flex: 0 0 calc(50% - 1rem);
  width: 50%;
}

.col-lg-7 {
  flex: 0 0 calc(58.333% - 1rem);
  width: 58.333%;
}

.col-md-12 {
  width: 100%;
}

/* Alignment */
.align-center {
  align-items: center;
}

/* Section Header Typography */
.section-header {
  margin-bottom: 4rem;
}

.sub-title {
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.title-bar {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-cyan));
  margin: 1.25rem auto 0;
  border-radius: 2px;
}

/* Interactive Card Base */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-dark);
  transition: var(--transition-smooth);
}

.card:hover {
  border-color: rgba(212, 175, 55, 0.25);
  transform: translateY(-5px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-large {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

.btn-small {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), #aa7c11);
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f3e5ab, var(--accent-gold));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.2);
  margin-bottom: 1.5rem;
}

.divider {
  height: 1px;
  background: var(--border-light);
  margin: 1.5rem 0;
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1.5rem 0;
  background: transparent;
}

.header.scrolled {
  background: rgba(6, 13, 25, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-light);
  padding: 0.8rem 0;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Layout */
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-wrapper {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-white);
}

.logo-subtext {
  color: var(--accent-gold);
}

/* Nav Menu */
.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  position: relative;
  padding: 0.5rem 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition-smooth);
}

.nav-item:hover {
  color: var(--accent-gold);
}

.nav-item:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('assets/hero.jpg') no-repeat center center/cover;
  padding-top: 100px;
  padding-bottom: 120px;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(6, 13, 25, 0.45) 0%, rgba(6, 13, 25, 0.95) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 700px;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-white);
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.highlight-text {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-features {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-white);
  font-weight: 500;
}

.hero-feat-item i {
  color: var(--accent-cyan);
  font-size: 1.2rem;
  background: rgba(56, 189, 248, 0.1);
  padding: 0.6rem;
  border-radius: 50%;
}

.hero-cta-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Wave Divider SVG */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 2;
}

.hero-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
}

.hero-wave .shape-fill {
  fill: var(--bg-main);
}

/* ==========================================================================
   OVERVIEW SECTION
   ========================================================================== */
.overview-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

.overview-text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.overview-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
}

.stat-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-dark);
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Specifications Table */
.overview-table-wrapper {
  background: linear-gradient(135deg, rgba(30, 62, 98, 0.35) 0%, rgba(11, 25, 44, 0.6) 100%);
}

.table-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spec-label i {
  color: var(--accent-cyan);
  width: 20px;
}

.spec-value {
  color: var(--text-white);
  font-size: 0.95rem;
  text-align: right;
  max-width: 60%;
}

/* ==========================================================================
   LOCATION SECTION
   ========================================================================== */
.location-section {
  background: radial-gradient(ellipse at bottom, rgba(30, 62, 98, 0.15) 0%, rgba(6, 13, 25, 0) 70%);
}

.location-map-mockup {
  height: 480px;
  padding: 0;
  overflow: hidden;
  position: relative;
  background: #091220;
}

/* Mock Stylized Map Elements */
.map-bg {
  position: relative;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#1e293b 1px, transparent 1px);
  background-size: 24px 24px;
}

.map-road {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.1);
}

.road-horizontal {
  width: 100%;
  height: 12px;
  transform: translateY(-50%) rotate(-5deg);
}

.road-vertical {
  width: 12px;
  height: 100%;
  transform: translateX(-50%) rotate(25deg);
}

/* Pulse animation for key pin */
.pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.2);
  animation: pulseGrad 2s infinite;
  z-index: 1;
}

@keyframes pulseGrad {
  0% {
    width: 20px;
    height: 20px;
    opacity: 0.8;
  }
  100% {
    width: 100px;
    height: 100px;
    opacity: 0;
  }
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 5;
  color: var(--accent-gold);
  font-size: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pin-label {
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--accent-gold);
  color: var(--primary-color);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-top: 0.25rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.map-target-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  color: var(--accent-cyan);
  font-size: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.8;
  transition: var(--transition-smooth);
}

.map-target-pin:hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.15);
}

.target-label {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--secondary-color);
  color: var(--text-white);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.25rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  border: 1px solid var(--border-light);
}

/* Distances Details List */
.location-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

.location-text {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.location-distances {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.distance-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.distance-time {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.25);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.5rem;
  min-width: 70px;
  text-align: center;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.distance-text h5 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

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

/* ==========================================================================
   AMENITIES SECTION
   ========================================================================== */
.amenities-section {
  background-color: #08111e;
}

.amenities-image-wrapper {
  display: flex;
  align-items: center;
}

.image-box {
  width: 100%;
  padding: 0;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.amenities-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.image-box:hover .amenities-img {
  transform: scale(1.05);
}

/* Lightbox activation zoom indicator overlay */
.image-overlay-zoom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 25, 44, 0.6);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-smooth);
}

.image-box:hover .image-overlay-zoom,
.tab-img-wrapper:hover .image-overlay-zoom {
  opacity: 1;
}

.image-overlay-zoom i {
  font-size: 2rem;
  color: var(--accent-gold);
}

.image-overlay-zoom span {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-white);
}

.amenities-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

.amenities-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.amenity-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.amenity-card:hover {
  border-color: rgba(56, 189, 248, 0.25);
  background: rgba(56, 189, 248, 0.02);
}

.amenity-icon {
  font-size: 1.5rem;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.amenity-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.amenity-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   APARTMENT DESIGNS SECTION
   ========================================================================== */
.tab-container {
  padding: 0;
  overflow: hidden;
}

.tab-header {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  background: rgba(0, 0, 0, 0.2);
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--accent-gold);
  transition: var(--transition-smooth);
}

.tab-btn.active {
  color: var(--accent-gold);
  background: rgba(30, 62, 98, 0.1);
}

.tab-btn.active::after {
  width: 100%;
}

.tab-body {
  padding: 3rem;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-img-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-light);
}

.tab-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tab-img-wrapper:hover .tab-img {
  transform: scale(1.03);
}

.tab-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.tab-info h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.tab-text {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.room-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.r-spec-item {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--accent-cyan);
  padding-left: 0.75rem;
}

.rs-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.rs-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
}

/* ==========================================================================
   MORTGAGE CALCULATOR SECTION
   ========================================================================== */
.calculator-section {
  background-color: #08111e;
}

.calc-input-card {
  flex: 0 0 calc(50% - 1rem);
  width: 50%;
}

.calc-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.calc-card-title i {
  color: var(--accent-gold);
}

.input-group-calc {
  margin-bottom: 2rem;
}

.input-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.input-labels label {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
}

.calc-val-display {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 0.1rem 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.15);
}

/* Styled Range Sliders */
.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: opacity 0.2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-gold);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  border: 2px solid var(--primary-color);
  transition: var(--transition-smooth);
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--text-white);
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-gold);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  border: 2px solid var(--primary-color);
  transition: var(--transition-smooth);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Interest Calculation Method (Radios) */
.interest-method {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.method-label {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
}

.radio-label input {
  display: none;
}

.custom-radio {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  transition: var(--transition-smooth);
}

.radio-label input:checked + .custom-radio {
  border-color: var(--accent-gold);
}

.radio-label input:checked + .custom-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--accent-gold);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Results Card styling */
.calc-output-wrapper {
  flex: 0 0 calc(50% - 1rem);
  width: 50%;
}

.calc-results-card {
  background: linear-gradient(135deg, rgba(30, 62, 98, 0.4) 0%, rgba(11, 25, 44, 0.75) 100%);
  border-color: rgba(56, 189, 248, 0.15);
}

.calc-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.summary-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 1.2rem 1rem;
}

.summary-box.main-box {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(56, 189, 248, 0.05) 100%);
  border-color: rgba(212, 175, 55, 0.2);
}

.summary-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.summary-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
}

.main-box .summary-label {
  color: var(--accent-gold);
  font-weight: 600;
}

.main-box .summary-value {
  font-size: 1.8rem;
  color: var(--accent-gold);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

.payment-breakdown-wrapper h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.table-scroll {
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  margin-bottom: 1.5rem;
}

.payment-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.payment-table th {
  background: rgba(6, 13, 25, 0.8);
  position: sticky;
  top: 0;
  padding: 0.75rem;
  text-align: left;
  color: var(--text-white);
  border-bottom: 1px solid var(--border-light);
}

.payment-table td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--text-light);
}

.payment-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.calc-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.calc-disclaimer i {
  color: var(--accent-cyan);
  margin-top: 0.15rem;
}

/* Custom Scrollbar for payment table scroll */
.table-scroll::-webkit-scrollbar {
  width: 6px;
}

.table-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.table-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.table-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   REGISTRATION SECTION
   ========================================================================== */
.registration-section {
  background: radial-gradient(ellipse at top, rgba(30, 62, 98, 0.2) 0%, rgba(6, 13, 25, 0) 80%);
}

.registration-intro .badge {
  background: rgba(212, 175, 55, 0.08);
  color: var(--accent-gold);
  border-color: rgba(212, 175, 55, 0.2);
}

.intro-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.intro-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

/* Contact information items */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-text .c-title {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-text .c-val {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
}

.contact-text .c-val a:hover {
  color: var(--accent-gold);
}

/* Form Styles */
.form-card {
  position: relative;
  overflow: hidden;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.input-wrapper {
  position: relative;
}

.input-wrapper i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.8rem;
  border-radius: 8px;
  background: rgba(6, 13, 25, 0.4);
  border: 1px solid var(--border-light);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.input-wrapper select {
  cursor: pointer;
  /* Remove default styling for select arrow in modern browsers */
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1em;
  padding-right: 2.5rem;
}

.input-wrapper select option {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.input-wrapper textarea {
  padding-left: 2.8rem;
  resize: vertical;
}

.text-area-wrapper i {
  top: 1.25rem;
  transform: none;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
  border-color: var(--accent-gold);
  background: rgba(6, 13, 25, 0.6);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* Error Messages & Form validation visual aids */
.form-group.has-error input {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

.error-msg {
  display: none;
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.35rem;
}

.form-group.has-error .error-msg {
  display: block;
}

/* Form Success Overlay */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
  transform: scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.form-success-overlay.active {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

.success-content {
  max-width: 400px;
}

.success-icon {
  font-size: 4rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.success-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.success-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: #030810;
  border-top: 1px solid var(--border-light);
  padding-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  padding-bottom: 4rem;
}

.footer-col h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.75rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-gold);
}

.brand-col .logo-link {
  margin-bottom: 1.5rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 1.1rem;
}

.social-links a:hover {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-details-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-details-list li i {
  color: var(--accent-cyan);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 2rem 0;
  background-color: #02050b;
}

.footer-bottom-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-container p {
  margin: 0;
}

.footer-bottom-container .disclaimer {
  color: var(--text-muted);
  opacity: 0.5;
  font-size: 0.75rem;
  max-width: 800px;
}

/* ==========================================================================
   IMAGE LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(6, 13, 25, 0.95);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 900px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-dark);
  animation: zoomEffect 0.3s ease;
}

@keyframes zoomEffect {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: var(--text-light);
  font-size: 2.5rem;
  font-weight: 700;
  transition: var(--transition-smooth);
  cursor: pointer;
  user-select: none;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--accent-gold);
}

#lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 900px;
  text-align: center;
  color: var(--text-muted);
  padding: 15px 0;
  font-size: 0.95rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .col-lg-5, .col-lg-6, .col-lg-7 {
    flex: 0 0 100%;
    width: 100%;
  }
  
  .calc-input-card, .calc-output-wrapper {
    flex: 0 0 100%;
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .brand-col {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4rem 0;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  /* Mobile Navbar */
  .mobile-nav-toggle {
    display: block;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(6, 13, 25, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-light);
    box-shadow: var(--shadow-dark);
    padding: 8rem 2rem 2rem;
    z-index: 1000;
    transition: var(--transition-smooth);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .nav-item {
    font-size: 1.15rem;
  }
  
  .nav-cta {
    width: 100%;
    text-align: center;
  }
  
  .hero-section {
    padding-top: 140px;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 2.4rem;
  }
  
  .hero-features {
    gap: 1rem;
  }
  
  .overview-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .location-map-mockup {
    height: 320px;
  }
  
  .amenities-img {
    height: 300px;
  }
  
  .amenities-grid {
    grid-template-columns: 1fr;
  }
  
  .tab-body {
    padding: 1.5rem;
  }
  
  .tab-btn {
    font-size: 0.95rem;
    padding: 1rem 0.5rem;
  }
  
  .tab-img {
    height: 250px;
  }
  
  .room-specs {
    grid-template-columns: 1fr;
  }
  
  .calc-summary-grid {
    grid-template-columns: 1fr;
  }
  
  .summary-box.main-box {
    grid-column: span 1;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .brand-col {
    grid-column: span 1;
  }
  
  .lightbox-content {
    width: 95%;
  }
}
