/* BuildFlow Global Design System Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Hind:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Mukta:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --navy-deep: #071739;
  --navy-medium: #0B1F4D;
  --navy-light: #102B6A;
  --yellow: #F5B400;
  --yellow-glow: #FFC107;
  --yellow-light: #FFCC29;
  
  --white: #FFFFFF;
  --gray-light: #F7FAFC;
  --gray-medium: #E2E8F0;
  --gray-dark: #2D3748;
  
  --text-dark: #071739;
  --text-light: #F7FAFC;
  --text-muted: #A0AEC0;
  --success: #38A169;
  --error: #E53E3E;
  
  /* Fonts */
  --font-title: 'Poppins', 'Mukta', sans-serif;
  --font-body: 'Inter', 'Hind', sans-serif;
  
  /* Layout */
  --header-height: 120px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  /* Shadow & Glow */
  --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.15), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-premium: 0 15px 35px -5px rgba(7, 23, 57, 0.3);
  --shadow-gold-glow: 0 0 20px rgba(245, 180, 0, 0.45);
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Base resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
}

/* Typography styles */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
h4 { font-size: clamp(1.05rem, 2vw, 1.25rem); }
h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

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

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

/* --- Layout Utility Classes & Responsive Grid System --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
}

.section-padding {
  padding: clamp(40px, 6vw, 80px) 0;
}

.grid-2, .grid-3, .grid-4, .hero-grid, .stats-outer-grid, .stats-inner-grid, .app-download-grid, .about-split-grid, .contact-grid, .form-row-2, .details-grid, .profile-grid, .dashboard-grid, .profile-meta-grid, .specs-grid {
  display: grid;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }

.hero-grid { grid-template-columns: 1fr; gap: 40px; align-items: center; max-width: 800px; }
.stats-outer-grid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.stats-inner-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
.app-download-grid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-split-grid { grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.contact-grid { grid-template-columns: 1fr 1.2fr; gap: 40px; }
.form-row-2 { grid-template-columns: 1fr 1fr; gap: 16px; }
.details-grid { grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.profile-grid { grid-template-columns: 1.2fr 0.8fr; gap: 40px; margin-bottom: 48px; }
.dashboard-grid { grid-template-columns: 280px 1fr; gap: 32px; }
.profile-meta-grid {
  border-top: 1.5px solid var(--gray-medium);
  border-bottom: 1.5px solid var(--gray-medium);
  padding: 20px 0;
  margin-bottom: 24px;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  font-size: 0.95rem;
}
.specs-grid { grid-template-columns: 1fr 1fr; gap: 16px; font-size: 0.9rem; }

.bg-navy {
  background-color: var(--navy-deep);
  color: var(--text-light);
}
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 {
  color: var(--text-light);
}

.bg-navy-light {
  background-color: var(--navy-medium);
  color: var(--text-light);
}
.bg-navy-light h1, .bg-navy-light h2, .bg-navy-light h3, .bg-navy-light h4 {
  color: var(--text-light);
}

.bg-gray {
  background-color: var(--gray-light);
}

.text-yellow {
  color: var(--yellow);
}

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

/* Glassmorphism utility */
.glass-panel {
  background: rgba(11, 31, 77, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 180, 0, 0.15);
  box-shadow: 0 8px 32px 0 rgba(7, 23, 57, 0.37);
  color: var(--text-light);
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-light) 100%);
  color: var(--navy-deep);
  box-shadow: 0 4px 15px rgba(245, 180, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--yellow);
  border-color: var(--yellow);
}

.btn-secondary:hover {
  background: var(--yellow);
  color: var(--navy-deep);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-glow);
}

.btn-navy {
  background: var(--navy-medium);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

/* Floating WhatsApp Widget */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* Floating Call Widget */
.call-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #102B6A 0%, #071739 100%);
  border: 1.5px solid var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(16, 43, 106, 0.4), 0 0 15px rgba(245, 180, 0, 0.15);
  z-index: 999;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.call-float svg {
  width: 26px;
  height: 26px;
  fill: var(--yellow);
}

.call-float:hover {
  transform: scale(1.1) rotate(-15deg);
  box-shadow: 0 12px 30px rgba(16, 43, 106, 0.6), 0 0 25px rgba(245, 180, 0, 0.3);
}

.back-to-top {
  position: fixed;
  bottom: 105px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--navy-medium);
  border: 1px solid var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 998;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  fill: var(--yellow);
}

.back-to-top:hover {
  background: var(--yellow);
  transform: translateY(-5px);
}
.back-to-top:hover svg {
  fill: var(--navy-deep);
}

/* Global Sticky Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
}

header.scrolled {
  height: 88px;
  background: rgba(7, 23, 57, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(245, 180, 0, 0.15);
}

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

.logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--yellow);
}

.logo-img {
  height: clamp(90px, 11vw, 110px);
  width: auto;
  max-width: 360px;
  object-fit: contain;
  display: block;
  transition: var(--transition-smooth);
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

header.scrolled .logo-img {
  height: clamp(65px, 8vw, 75px);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-title);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--yellow);
  transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--yellow);
}

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

/* Mega menu dropdown styles */
.dropdown {
  position: relative;
}

.mega-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 850px;
  background: var(--navy-medium);
  border: 1.5px solid var(--yellow-glow);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.1fr;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 100;
}

.dropdown:hover .mega-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(10px);
}

.mega-column h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.mega-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-column ul li a {
  font-size: 0.9rem;
  color: var(--text-light);
  display: block;
}

.mega-column ul li a:hover {
  padding-left: 5px;
  color: var(--yellow-light);
}

/* ===========================
   HERO SLIDER — Premium Crossfade
   =========================== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
}

.hero-slider {
  position: relative;
  width: 100%;
  /* Fixed height so all slides stack perfectly */
  min-height: 600px;
}

@media (max-width: 768px) {
  .hero-slider {
    min-height: 560px;
  }
}

/* All slides: absolutely stacked */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  padding-top: 150px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  z-index: 1;
}

/* Active slide floats on top */
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 3;
}

/* Ghost spacer — forces the slider container to have height */
.hero-slide-spacer {
  visibility: hidden;
  pointer-events: none;
  padding-top: 150px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
}

/* === Slide content animations === */
.hero-slide-content > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0s, transform 0s;
}

.hero-slide.active .hero-slide-content > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

/* Staggered delays per element */
.hero-slide.active .hero-slide-content span { transition-delay: 0.30s; }
.hero-slide.active .hero-slide-content h1   { transition-delay: 0.50s; }
.hero-slide.active .hero-slide-content p    { transition-delay: 0.70s; }
.hero-slide.active .hero-slide-content .hero-cta { transition-delay: 0.85s; }
.hero-slide.active .hero-slide-content .hero-badges { transition-delay: 1.0s; }

/* === Right-side image animation === */
.hero-slide .floating-hero-img img {
  opacity: 0;
  transform: scale(0.92) translateX(20px);
  transition: opacity 0s, transform 0s;
}

.hero-slide.active .floating-hero-img img {
  opacity: 1;
  transform: scale(1) translateX(0);
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1) 0.45s,
              transform 1.1s cubic-bezier(0.4, 0, 0.2, 1) 0.45s;
}

/* === Progress bar === */
.slider-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--yellow);
  z-index: 20;
  width: 0%;
  transition: none;
  box-shadow: 0 0 8px rgba(245, 180, 0, 0.6);
}

.slider-progress-bar.running {
  width: 100%;
  transition: width 6s linear;
}

/* === Dot pagination === */
.slider-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
  align-items: center;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.35s ease;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.slider-dots .dot.active {
  background: var(--yellow);
  width: 32px;
  border-radius: 5px;
  border-color: var(--yellow);
  box-shadow: 0 0 10px rgba(245, 180, 0, 0.55);
}

/* === Arrow buttons === */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(7, 23, 57, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  outline: none;
  line-height: 1;
}

.slider-arrow svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.slider-arrow:hover {
  background: var(--yellow);
  color: var(--navy-deep);
  border-color: var(--yellow);
  box-shadow: 0 0 20px rgba(245, 180, 0, 0.45);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev { left: 28px; }
.slider-arrow.next { right: 28px; }

@media (max-width: 768px) {
  .slider-arrow { display: none; }
  .hero-slide { padding-top: 120px; padding-bottom: 60px; }
}

/* Hamburger & Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1002;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--white);
  border-radius: 3px;
  transition: var(--transition-smooth);
}

/* Hamburger active transformation */
.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--navy-deep);
  z-index: 1001;
  padding: 100px 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  transition: var(--transition-smooth);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu ul li a {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--white);
  display: block;
}

.mobile-menu ul li a:hover,
.mobile-menu ul li a.active {
  color: var(--yellow);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Search popup trigger */
.search-trigger {
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.search-trigger:hover {
  color: var(--yellow);
  transform: scale(1.1);
}

.search-trigger svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Global Cards Styling */
.card-premium {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-medium);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card-premium:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(245, 180, 0, 0.3);
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background-color: var(--navy-medium);
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.card-premium:hover .card-img-wrapper img {
  transform: scale(1.08);
}

.card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--navy-deep);
  color: var(--yellow);
  padding: 4px 12px;
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  border: 1px solid var(--yellow);
}

.card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
  transition: var(--transition-fast);
}

.card-premium:hover .card-title {
  color: var(--navy-light);
}

.card-text {
  font-size: 0.9rem;
  color: var(--gray-dark);
  margin-bottom: 16px;
}

.card-meta {
  border-top: 1px solid var(--gray-medium);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-price {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--navy-deep);
  font-size: 1.1rem;
}

.card-price span {
  font-size: 0.75rem;
  color: var(--gray-dark);
  font-weight: 400;
}

/* Material Filter Page Layout */
.filter-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
}

.plots-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.plot-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 24px;
}

@media(min-width: 768px) {
  .plot-card {
    grid-template-columns: 1fr 1.5fr;
  }
}

.filter-sidebar {
  background: var(--white);
  border: 1px solid var(--gray-medium);
  border-radius: var(--radius-md);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.filter-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  border-bottom: 1.5px solid var(--navy-deep);
  padding-bottom: 10px;
}

.filter-group {
  margin-bottom: 24px;
}

.filter-group-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--navy-deep);
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 8px;
  cursor: pointer;
}

.filter-checkbox-label input {
  width: 16px;
  height: 16px;
  accent-color: var(--yellow);
}

/* Search bar on top of lists */
.list-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
}

.search-input-wrapper {
  position: relative;
  flex-grow: 1;
  max-width: 400px;
}

.search-input-wrapper input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border: 1px solid var(--gray-medium);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background-color: var(--gray-light);
  transition: var(--transition-fast);
}

.search-input-wrapper input:focus {
  border-color: var(--navy-light);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(11, 31, 77, 0.1);
}

.search-input-wrapper svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  fill: var(--text-muted);
}

/* Premium Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 23, 57, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--yellow-glow);
  transform: scale(0.9);
  transition: var(--transition-smooth);
  position: relative;
}

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

.modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--gray-medium);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.3rem;
  color: var(--navy-deep);
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-dark);
  font-size: 1.5rem;
}

.modal-close:hover {
  color: var(--error);
}

.modal-body {
  padding: 24px;
}

/* Global Footer Styles */
footer {
  background: var(--navy-deep);
  color: var(--text-light);
  border-top: 2px solid var(--yellow);
  padding-top: 80px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-logo span {
  color: var(--yellow);
}

.footer-tagline {
  font-size: 0.95rem;
  margin-bottom: 24px;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--navy-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.1rem;
}

.social-icon:hover {
  background: var(--yellow);
  color: var(--navy-deep);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-glow);
}

.footer-links-col h4 {
  font-size: 1.1rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
  color: var(--white);
}

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

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-links-col ul a:hover {
  color: var(--yellow);
  padding-left: 6px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-form input {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(11, 31, 77, 0.5);
  color: var(--white);
}

.newsletter-form input:focus {
  border-color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}



/* Animations declarations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

.floating-hero-img {
  animation: float 4s ease-in-out infinite;
}

/* Skeleton Loading styles */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

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

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 3000;
}

.toast {
  background: var(--navy-deep);
  border: 1px solid var(--yellow);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: toast-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 320px;
}

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

.toast.success {
  border-color: var(--success);
}

.toast.error {
  border-color: var(--error);
}

/* Responsive breakdowns */

/* 1600px+ Large Screens / TV */
@media(min-width: 1600px) {
  .container {
    max-width: 1440px;
  }
}

/* 1024px - Laptop/Desktop (Tablet landscape boundary) */
@media(max-width: 1024px) {
  header {
    height: 70px;
  }
  .hamburger {
    display: flex;
  }
  .nav-links, .header-actions .btn-primary {
    display: none;
  }
  .nav-links {
    gap: 20px;
  }
  
  /* Grids mapping */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  
  .stats-outer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .app-download-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-split-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .filter-layout {
    grid-template-columns: 1fr;
  }
  .plots-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* 768px - Tablet Portrait & Mobile */
@media(max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .details-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .profile-meta-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .plots-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .plot-card {
    grid-template-columns: 1fr !important;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer-links-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-socials {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  

  .whatsapp-float {
    bottom: 24px;
    right: 20px;
  }
  .call-float {
    bottom: 24px;
    left: 20px;
  }
  .back-to-top {
    bottom: 94px;
    right: 20px;
  }
  
  /* Fix iOS select/input auto-zoom */
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* 480px - Mobile */
@media(max-width: 480px) {
  .logo {
    font-size: 1.5rem;
  }
  .section-padding {
    padding: 40px 0;
  }
  
  .stats-inner-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  /* Buttons expand to full width on small mobile for touch accessibility */
  .btn:not(.search-trigger) {
    width: 100%;
    justify-content: center;
  }
  
  .card-premium {
    margin-inline: 0;
  }
  
  .header-actions {
    gap: 8px;
  }
}

/* 320px - Extra Small Mobile */
@media(max-width: 320px) {
  .logo {
    font-size: 1.3rem;
  }
  .container {
    padding: 0 12px;
  }
}
