/* ==============================================================================
   PRATAP SINHA REAL ESTATE & INFRASTRUCTURE - DESIGN SYSTEM & CORE STYLES
   Pure Vanilla CSS3 - Modern, Responsive, Luxury Indian Real Estate Theme
   ============================================================================== */

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

:root {
  /* Primary Color Palette */
  --primary: #0C2340;        /* Deep Royal Navy */
  --primary-dark: #07172B;   /* Midnight Navy */
  --primary-light: #1A365D;  /* Rich Indigo Navy */
  
  /* Accent Gold / Bronze */
  --accent: #C59B27;         /* Imperial Indian Gold */
  --accent-light: #DFB743;   /* Bright Gold */
  --accent-dark: #9A7410;    /* Antique Bronze */
  --accent-soft: #FCF8EE;    /* Warm Gold Tint */

  /* Neutral & Base Colors */
  --text-main: #1E293B;      /* Deep Slate Charcoal */
  --text-muted: #64748B;     /* Muted Grey */
  --text-light: #94A3B8;     /* Light Grey */
  --bg-main: #FFFFFF;        /* Crisp White */
  --bg-subtle: #F8FAFC;      /* Soft Slate Background */
  --bg-card: #FFFFFF;        /* Card White */
  --border: #E2E8F0;         /* Subtle Border */
  --border-focus: #C59B27;   /* Focused Border */

  /* Functional Status Colors */
  --status-available: #10B981; /* Emerald Green */
  --status-sold: #EF4444;      /* Crimson Red */
  --status-rented: #F59E0B;    /* Amber Orange */
  --status-leased: #8B5CF6;    /* Purple */
  --status-reserved: #3B82F6;  /* Blue */
  --status-draft: #64748B;     /* Slate */

  /* Shadows & Elevation */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(12, 35, 64, 0.12), 0 8px 10px -6px rgba(12, 35, 64, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(12, 35, 64, 0.18), 0 10px 15px -5px rgba(12, 35, 64, 0.08);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container-max: 1280px;
  --header-height: 80px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-subtle);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* -----------------------------------------------------------------------------
   2. TYPOGRAPHY & HEADINGS
   ----------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p {
  color: var(--text-muted);
}

.text-gold { color: var(--accent); }
.text-navy { color: var(--primary); }
.text-white { color: #ffffff; }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-center { text-align: center; }

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(197, 155, 39, 0.25);
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
}

/* -----------------------------------------------------------------------------
   3. LAYOUT & CONTAINERS
   ----------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section-padding-sm {
  padding: 3rem 0;
}

.bg-white { background-color: var(--bg-main); }
.bg-subtle { background-color: var(--bg-subtle); }
.bg-navy { background-color: var(--primary); color: #ffffff; }

/* -----------------------------------------------------------------------------
   4. BUTTONS & UI CONTROLS
   ----------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(197, 155, 39, 0.35);
}

.btn-navy {
  background: var(--primary);
  color: #ffffff;
}
.btn-navy:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(12, 35, 64, 0.3);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
}

.btn-outline-navy {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline-navy:hover {
  background: var(--primary);
  color: #ffffff;
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
}
.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.35);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

/* -----------------------------------------------------------------------------
   5. TOPBAR & HEADER NAVIGATION (Luxury & Modern)
   ----------------------------------------------------------------------------- */
.topbar {
  background: #08182B;
  color: #94A3B8;
  font-size: 0.8rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-contact a, .topbar-contact span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #CBD5E1;
  font-weight: 500;
  transition: color 0.2s ease;
}
.topbar-contact a:hover {
  color: var(--accent);
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(197, 155, 39, 0.12);
  border: 1px solid rgba(197, 155, 39, 0.3);
  transition: all 0.2s ease;
  text-decoration: none;
}
.topbar-admin-link:hover {
  background: var(--accent);
  color: #0C2340;
}

/* Main Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 15px rgba(12, 35, 64, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 76px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.main-header.scrolled {
  height: 68px;
  box-shadow: 0 4px 25px rgba(12, 35, 64, 0.12);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 44px;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}
.brand-logo:hover {
  opacity: 0.9;
}

.brand-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--accent);
  background: rgba(197, 155, 39, 0.08);
}

.nav-link.active {
  color: var(--accent);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0.65rem;
  right: 0.65rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Dropdown Menu */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(12, 35, 64, 0.15);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 100;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  transition: all 0.2s ease;
  text-decoration: none;
}

.dropdown-item:hover {
  background-color: var(--accent-soft);
  color: var(--accent-dark);
  padding-left: 1.5rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.btn-header-cta {
  background: linear-gradient(135deg, #C59B27 0%, #B38918 100%);
  color: #0C2340;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 3px 12px rgba(197, 155, 39, 0.25);
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.btn-header-cta:hover {
  background: linear-gradient(135deg, #D4AC38 0%, #C59B27 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(197, 155, 39, 0.4);
  color: #0C2340;
}

/* Mobile Hamburger Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* -----------------------------------------------------------------------------
   6. HERO SECTION & SEARCH ENGINE
   ----------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(12, 35, 64, 0.92) 0%, rgba(7, 23, 43, 0.96) 100%),
              url('assets/images/placeholders/project_1.svg') center/cover no-repeat;
  color: #ffffff;
  padding: 5.5rem 0 6.5rem 0;
  overflow: visible;
}

.hero-content {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 3rem auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(197, 155, 39, 0.2);
  color: var(--accent-light);
  border: 1px solid rgba(197, 155, 39, 0.4);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 1.2rem;
  color: #E2E8F0;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Search Box Container */
.search-box-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 2rem;
  color: var(--text-main);
  border: 1px solid var(--border);
  position: relative;
  margin-top: -2rem;
  z-index: 20;
}

.search-nav-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  overflow-x: auto;
}

.search-tab-btn {
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.search-tab-btn.active, .search-tab-btn:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  align-items: end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.15);
}

/* -----------------------------------------------------------------------------
   7. PROPERTY CARDS & LISTING GRID
   ----------------------------------------------------------------------------- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.property-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 155, 39, 0.35);
}

.card-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #E2E8F0;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .card-image-wrap img {
  transform: scale(1.05);
}

.card-badge-top-left {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.badge-sale { background: var(--primary); color: #ffffff; }
.badge-rent { background: #0284C7; color: #ffffff; }
.badge-featured { background: var(--accent); color: var(--primary-dark); }
.badge-hot { background: #DC2626; color: #ffffff; }
.badge-project { background: #7C3AED; color: #ffffff; }
.badge-auction { background: #9333EA; color: #ffffff; }
.badge-disputed { background: #D97706; color: #ffffff; }

.badge-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.badge-status-available { background: var(--status-available); color: #ffffff; }
.badge-status-sold { background: var(--status-sold); color: #ffffff; }
.badge-status-rented { background: var(--status-rented); color: #ffffff; }
.badge-status-leased { background: var(--status-leased); color: #ffffff; }
.badge-status-reserved { background: var(--status-reserved); color: #ffffff; }

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.card-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.card-type-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  color: var(--primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.card-specs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 500;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.spec-item strong {
  color: var(--primary);
  font-weight: 700;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: auto;
}

/* -----------------------------------------------------------------------------
   8. CATEGORY CAROUSEL & CARDS
   ----------------------------------------------------------------------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  background: var(--accent-soft);
}

.category-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.category-card:hover .category-icon-wrap {
  background: var(--accent);
  color: var(--primary-dark);
}

.category-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.category-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* -----------------------------------------------------------------------------
   9. SERVICES CARDS
   ----------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.service-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(197, 155, 39, 0.4);
  margin-bottom: 0.5rem;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* -----------------------------------------------------------------------------
   10. PROPERTY DETAILS PAGE STYLING
   ----------------------------------------------------------------------------- */
.property-details-header {
  background: #ffffff;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.details-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.details-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.details-price-box {
  text-align: right;
  flex-shrink: 0;
}

.details-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

/* Gallery Section */
.gallery-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.gallery-main {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  background-color: #000000;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.thumb-item {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  position: relative;
}

.thumb-item:hover, .thumb-item.active {
  border-color: var(--accent);
  opacity: 0.9;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Details Layout Split */
.property-details-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  padding: 3rem 0;
}

.details-block {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.details-block-title {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border);
}

.specs-table td {
  padding: 0.85rem 0.5rem;
  font-size: 0.95rem;
}

.specs-table td:first-child {
  color: var(--text-muted);
  font-weight: 500;
  width: 40%;
}

.specs-table td:last-child {
  color: var(--primary);
  font-weight: 600;
}

.amenities-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.amenity-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid var(--border);
}

.approvals-box {
  background: var(--accent-soft);
  border: 1px solid rgba(197, 155, 39, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1rem;
}

/* Sidebar Inquiry Card */
.sticky-sidebar {
  position: sticky;
  top: 100px;
}

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

/* -----------------------------------------------------------------------------
   11. CALCULATORS (EMI & AREA)
   ----------------------------------------------------------------------------- */
.calculator-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.calc-range-wrap {
  margin-bottom: 1.5rem;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.calc-result-box {
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.calc-emi-val {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-light);
  margin: 0.5rem 0 1.5rem 0;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

/* -----------------------------------------------------------------------------
   12. FOOTER
   ----------------------------------------------------------------------------- */
.site-footer {
  background: var(--primary-dark);
  color: #CBD5E1;
  padding: 5rem 0 2rem 0;
  border-top: 4px solid var(--accent);
}

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

.footer-title {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

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

.footer-links a:hover {
  color: var(--accent-light);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

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

/* -----------------------------------------------------------------------------
   13. LIGHTBOX & MODALS
   ----------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(12, 35, 64, 0.85);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1.5rem;
}

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

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

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

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-nav-btn:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

/* -----------------------------------------------------------------------------
   14. SKELETON LOADERS & TOAST ALERTS
   ----------------------------------------------------------------------------- */
.skeleton {
  background: linear-gradient(90deg, #E2E8F0 25%, #F1F5F9 50%, #E2E8F0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--primary);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  animation: toast-in 0.3s ease;
  border-left: 4px solid var(--accent);
}

.toast-success { border-left-color: var(--status-available); }
.toast-error { border-left-color: var(--status-sold); }

@keyframes toast-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* -----------------------------------------------------------------------------
   15. RESPONSIVE UTILITY GRIDS & FLOATING WHATSAPP
   ----------------------------------------------------------------------------- */
.grid-2col-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
}

.contact-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

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

.floating-whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 995;
  transition: all 0.3s ease;
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

@media screen and (max-width: 991px) {
  .grid-2col-layout, .contact-grid-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
    margin-bottom: 0.85rem !important;
  }

  .floating-whatsapp-btn {
    bottom: 5.5rem;
    right: 1.25rem;
    width: 48px;
    height: 48px;
  }

  .toast-container {
    bottom: 5.5rem;
    right: 1rem;
    left: 1rem;
  }
}
