/* @@1@@ General */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.container {
  width: 95%;
  margin: 0 auto;
  padding: 10px;
  flex: 1;
}

.section .container {
  width: 100%;
  max-width: 100%;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.property-card {
  position: relative;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%; /* important */
}

.property-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-features {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 14px;
  color: #555;
  flex-wrap: wrap;
  gap: 5px;
}

.card-features i {
  margin-right: 5px;
  color: #2d4da3;
}

.top-filters {
  margin-bottom: 20px;
  display: none;
}

.top-filters.show {
  display: block;
}

.mobile-header {
  display: none;
}

.desktop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
}

.nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.bottom-nav {
  display: none;
}

header {
  position: relative;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  width: 100%;
  flex-shrink: 0; /* 🔥 prevents collapse */
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.btn {
  background: #2d4da3;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.btn:hover {
  background: #1e3680;
}

.btn-inactive {
  background: grey;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  cursor: not-allowed;
  pointer-events: none;
}

.card-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.card-actions {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border: 1px solid #eee;
  border-top: none;
  border-radius: 0 0 12px 12px;
  background: #fafafa;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.card-actions a {
  text-decoration: none;
  font-size: 13px;
  color: #2d4da3;
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 6px;
  background: #f5f5f5;
  padding: 8px;
  flex: 1;
  text-align: center;
  white-space: nowrap;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.page-header .btn {
  background: #2d4da3;
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.stat-card {
  padding: 20px;
  border-radius: 15px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stat-card i {
  font-size: 30px;
  opacity: 0.7;
}

.stat-card h2 {
  margin: 10px 0;
  font-size: 28px;
}

.gradient1 {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}
.gradient2 {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}
.gradient3 {
  background: linear-gradient(135deg, #fa709a, #fee140);
}
.gradient4 {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.upload-grid-add {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.upload-box {
  width: calc(25% - 10px);
  display: flex;
  flex-direction: column;
}

.upload-box .preview img,
.upload-box .preview video {
  width: 100%;
  max-height: 100px;
  border-radius: 4px;
}

/* FadeIn */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

nav {
  display: flex;
  align-items: center;
  gap: 15px;
  width: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  margin: 0 12px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.status {
  margin-top: 8px;
  font-size: 13px;
  font-weight: bold;
}

.logo img {
  height: 50px;
}

.hero {
  position: relative;
  height: 500px;
  background: url("../images/hero-banner.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* safer than fixed height */
  flex-shrink: 0; /* 🔥 prevents shrinking */
  padding: 20px 15px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.4)
  );
}

.hero-content {
  position: relative;
  text-align: center;
  color: white;
  z-index: 2;
}

.hero-content h1 {
  font-size: 42px;
}

.search-box {
  background: white;
  padding: 15px;
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.search-box form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.search-box input,
.search-box select {
  height: 42px;
  padding: 0 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

.search-box button {
  height: 42px;
  padding: 0 10px;
  background: #2d4da3;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

.city-input {
  flex: 1;
  min-width: 200px;
}

.section {
  padding: 45px 60px;
}

.section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #2d4da3;
}

.card-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  margin: 0 0 5px;
  font-size: 16px;
}

.location {
  color: #666;
  font-size: 14px;
}

.price {
  font-weight: bold;
  color: #2d4da3;
  margin: 8px 0;
}

.plan_price {
  font-size: 24px;
  font-weight: bold;
}

.type {
  font-size: 14px;
  color: #444;
}

.card-link {
  text-decoration: none;
  color: inherit;
}

.top-filters form {
  display: flex;
  gap: 10px;
  /* flex-wrap: wrap; */
}

.top-filters input,
.top-filters select {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.top-filters button {
  padding: 10px 15px;
  background: #2d4da3;
  color: white;
  border: none;
  border-radius: 6px;
}

.pagination {
  margin-top: 30px;
  text-align: center;
}

.pagination a {
  margin: 0 5px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #2d4da3;
  border-radius: 5px;
}

.pagination a.active {
  background: #2d4da3;
  color: white;
}

.type-card {
  flex: 0 0 235px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.type-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
}

.type-card:hover {
  transform: translateY(-5px);
}

.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 20px;
  width: 100%;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 20px 0;
}

.contact-box {
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 10px;
  background: #fafafa;
}

.auth-box {
  width: 100%;
  max-width: 400px;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.auth-box input {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.dropdown {
  position: relative;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropbtn {
  background: transparent;
  padding: 10px 15px;
  border-radius: 8px;
  color: #2d4da3;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background: white;
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  top: 45px;
  z-index: 999;
}

.dropdown-content.show {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 12px 15px;
  text-decoration: none;
  color: #333;
}

.dropdown-content a:hover {
  background: #f5f5f5;
}

.footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 20px;
  width: 100%;
  height: 10vh;
}

.auth-page {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start; /* 🔥 FIX */
  padding-top: 40px; /* spacing below header */
}

.tabs {
  display: flex;
  margin-bottom: 15px;
}

.tab-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: #eee;
  cursor: pointer;
  font-weight: 500;
  color: #2d4da3;
}

.tab-btn.active {
  background: #2d4da3;
  color: white;
}

.tab-content {
  display: none;
}

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

.agent-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.agent-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.agent-img {
  text-align: center;
  padding: 20px;
}

.agent-img img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.agent-info {
  text-align: center;
  padding: 10px 15px 20px;
}

.agent-info h3 {
  margin: 5px 0;
  font-size: 16px;
}

.agent-info h4 {
  margin: 0;
}

.tag {
  font-size: 12px;
  color: #777;
}

.available {
  color: green;
}

.locked {
  color: red;
}

.cta {
  padding: 20px;
  border-top: 1px solid grey;
  text-align: center;
}

input[type="text"] {
  /* width: 100%; */
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  margin: 10px 10px 10px 0px;
}

input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.row label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0px 0px 0px;
}

.feature-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.upload-box {
  border: 2px dashed #ccc;
  border-radius: 10px;
  height: 120px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: #fafafa;
}

.upload-box:hover {
  border-color: #3498db;
}

.upload-box input {
  display: none;
}

.preview {
  width: 100%;
  height: 100%;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #ccc;
  border-radius: 6px;
  cursor: pointer;
  font-size: 20px;
}

.preview img,
.preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  z-index: 5;
}

.badge {
  padding: 4px 8px;
  font-size: 12px;
  color: #fff;
  border-radius: 4px;
  font-weight: bold;
}

.badge.sell {
  background: #e74c3c; /* red */
}

.badge.litigation {
  background: black; /* orange */
}

.badge.broker {
  background: #27ae60; /* green */
}

.error {
  background: #ffe6e6;
  color: #c0392b;
  border: 1px solid #e74c3c;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 500;
}

.error::before {
  content: "⚠ ";
  margin-right: 5px;
}

.success {
  background: #e9f9ee;
  color: #27ae60;
  border: 1px solid #2ecc71;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 500;
}

.success::before {
  content: "✔ ";
  margin-right: 5px;
}

.error,
.success {
  animation: fadeIn 0.3s ease-in-out;
}

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

.profile-card {
  max-width: 1000px;
  margin: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 25px;
}

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

.profile-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #eee;
  margin-bottom: 10px;
}

h2 {
  margin-bottom: 5px;
}

.stat-box {
  background: linear-gradient(135deg, #f0f4ff, #f9fbff);
  padding: 15px 25px;
  border-radius: 12px;
  text-align: center;
  min-width: 120px;
}

.stat-box div:first-child {
  font-size: 13px;
  color: #777;
}

.stat-box div:last-child {
  font-size: 20px;
  font-weight: bold;
  color: #222;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.info-box {
  background: #fafafa;
  padding: 15px;
  border-radius: 10px;
}

.label {
  font-size: 12px;
  color: #888;
}

label {
  font-weight: 600;
  font-size: 14px;
}

.value {
  font-size: 15px;
  font-weight: 500;
  margin-top: 3px;
}

.full-width {
  grid-column: span 2;
}

.whatsapp-btn {
  display: inline-block;
  padding: 10px 15px;
  background: #25d366;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}

.login-box {
  text-align: center;
  padding: 20px;
  background: #fff4f4;
  border-radius: 10px;
}

.menu-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
}

.filter-toggle {
  display: none;
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  background: #2d4da3;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
}

.slider-container {
  position: relative;
  margin-bottom: 20px;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
}

.slider-main {
  height: 400px;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  touch-action: pan-y;
}

.slider-main img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: none;
  margin: auto;
}

.slider-main img.active {
  display: block;
}

.agent-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-radius: 12px;
  background: #fafafa;
  border: 1px solid #eee;
  margin-top: 15px;
}

.agent-box img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.agent-actions {
  margin-top: 10px;
}

.contact-credits {
  font-size: 14px;
  margin-bottom: 5px;
  color: #003366;
}

.dashboard {
  padding: 20px;
}

.card {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.card h3 {
  margin: 5px 0;
  font-size: 22px;
}

.section-box {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

.property-row,
.lead-row {
  display: flex;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.property-row img {
  width: 70px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
}

.property-info {
  flex: 1;
}

.actions a {
  margin-right: 10px;
  font-size: 14px;
}

.plan-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.plan-box div {
  flex: 1;
  min-width: 150px;
}

.desktop-only {
  display: flex;
  gap: 10px;
}

.desktop-only select {
  flex: 1;
  min-width: 150px;
}

.search-btn {
  background: #0d6efd;
  color: #fff;
  border: none;
  min-width: 120px;
  cursor: pointer;
}

.profile-menu {
  position: fixed;
  bottom: 40px;
  left: 0;
  width: 100%;
  height: auto;
  background: #fff;
  right: 10px;
  border-radius: 15px 15px 0 0;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  opacity: 0;
  transition: 0.3s;
  z-index: 999;
}

.profile-menu.show {
  /* bottom: 0; */
  transform: translateY(0);
  opacity: 1;
  display: block;
}

.menu-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.menu-content a {
  padding: 12px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}

.menu-content a i {
  margin-right: 10px;
  color: #2d4da3;
}

.menu-content a:last-child {
  border-bottom: none;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.row input:not([type="checkbox"]),
.row select,
textarea {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  height: 40px;
}

.row input[type="checkbox"] {
  flex: unset;
  width: auto;
  height: auto;
}

textarea {
  min-height: 100px;
  width: 100%;
  resize: vertical;
}

.detail-card {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.detail-body {
  padding: 12px;
}

.sticky-contact {
  display: none important!;
}

/* .sticky-contact {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  background: #fff;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.sticky-contact a {
  flex: 1;
  text-align: center;
  padding: 12px;
  color: #fff;
} */

.profile-menu {
  display: none;
}

.featured-btn {
  padding: 5px 10px;
  background-color: #ff9900;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  margin-top: 5px;
  display: inline-block;
}
.featured-btn.disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.property-card.featured {
  border: 2px solid #ff9900;
}

.profile-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  margin-top: 20px;
}

.profile-sidebar {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.profile-sidebar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.profile-sidebar h3 {
  margin: 10px 0 5px;
}

.profile-sidebar p {
  font-size: 14px;
  color: #777;
}

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

.form-grid .full-width {
  grid-column: span 2;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 5px;
  font-size: 14px;
  transition: 0.3s;
}

input:focus,
textarea:focus {
  border-color: #003366;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 51, 102, 0.1);
}

.btn-save {
  background: linear-gradient(135deg, #003366, #0055aa);
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
}

.btn-save:hover {
  opacity: 0.9;
}

.current-plan {
  background: linear-gradient(135deg, #2d4da3, #4b6ed6);
  color: #fff;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.current-plan h3 {
  margin-bottom: 10px;
}

.plan-info div {
  font-size: 14px;
  margin: 5px 0;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.plan-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  transition: 0.3s;
}

.plan-card:hover {
  transform: translateY(-5px);
}

.plan-card.pro {
  border: 2px solid #2d4da3;
  transform: scale(1.03);
}

.plan_badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #2d4da3;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
}

.monthly {
  font-size: 13px;
  color: #777;
}

.features {
  text-align: left;
  margin: 15px 0;
  font-size: 14px;
}

select {
  width: 100%;
  padding: 10px;
  /* margin-top: 10px; */
  border-radius: 8px;
}

.box {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  margin-top: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.upgrade-btn {
  white-space: nowrap;
}

.plan-item {
  background: #fff;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.plan-item span {
  display: block;
  font-size: 12px;
  color: #777;
}

.plan-item strong {
  font-size: 18px;
  color: #003366;
}

.progress-bar {
  position: relative;
  margin-bottom: 25px;
}

.progress {
  position: absolute;
  height: 6px;
  background: #003366;
  width: 0%;
  top: 12px;
  left: 0;
  transition: width 0.3s;
  border-radius: 3px;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.step-indicator {
  background: #eee;
  color: #333;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 1;
  transition:
    background 0.3s,
    color 0.3s;
}

.step-indicator.active {
  background: #003366;
  color: #fff;
}

.step {
  display: none;
}

.step.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

button {
  padding: 10px 20px;
  background: #003366;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
}

button:hover {
  background: #0055aa;
}

.step-btns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 20px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.video-grid video {
  width: 100%;
  border-radius: 6px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-badge {
  background: #f1f1f1;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 13px;
}

/* @@2@@ Desktop */
@media (min-width: 769px) {
  .listing-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .top-filters {
    display: block !important;
  }

  .slider {
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 15px;
  }

  .slide-btn {
    background: #003366;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    border-radius: 50%;
  }

  .slide-btn:hover {
    background: #0055aa;
  }

  .slide-btn.prev {
    left: 0;
  }

  .slide-btn.next {
    right: 0;
  }

  .filter-toggle {
    display: none;
  }

  .slider-main img {
    width: 50%;
    margin: 0 auto;
  }

  .profile-menu {
    display: none !important;
  }

  .search-box {
    flex-wrap: nowrap;
    align-items: center;
  }

  .desktop-only {
    display: flex;
  }

  .city-input {
    max-width: 250px;
  }
}

/* @@3@@ Mobile */
@media (max-width: 768px) {
  .container {
    padding-top: 10px;
    margin: 0 auto;
    padding-bottom: 70px;
  }

  .section {
    padding: 25px 15px;
  }

  .search-box {
    flex-direction: column;
  }

  .header {
    display: none;
  }

  header {
    display: none;
  }

  .listing-grid {
    grid-template-columns: 1fr;
  }

  .property-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .property-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    margin-bottom: 15px;
  }

  .card-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 12px;
    gap: 8px;
    margin-top: 8px;
  }

  .top-filters {
    display: none;
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  }

  .top-filters.show {
    display: block;
  }

  .desktop-header {
    display: none;
  }

  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #eee;
  }

  .mobile-header .logo img {
    height: 35px;
  }

  .mobile-header .icons i {
    font-size: 20px;
    color: #333;
  }

  .mobile-header h2 {
    font-size: 18px;
    margin: 0;
  }

  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 1000;
  }

  .bottom-nav a {
    text-align: center;
    font-size: 12px;
    color: #333;
    text-decoration: none;
  }

  .bottom-nav i {
    display: block;
    font-size: 18px;
    margin-bottom: 3px;
  }

  .slide-btn {
    display: none;
    padding: 8px;
  }

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

  /* .card-actions {
    flex-direction: column;
  } */

  .card-actions a {
    width: 100%;
  }

  .page-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .page-header .btn {
    width: 100%;
    text-align: center;
  }

  .stats {
    grid-template-columns: 1fr;
    align-items: center;
  }

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

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

  nav {
    position: absolute;
    top: 70px;
    right: auto;
    background: white;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    display: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  nav a {
    width: 100%;
    padding: 10px 0;
    margin: 5px 8px;
    font-size: 14px;
  }

  nav.active {
    display: flex;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .search-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .search-box form {
    flex-direction: column;
  }

  .search-box input,
  .search-box select,
  .search-box button {
    width: 100%;
  }

  .location {
    font-size: 13px;
    color: #666;
  }

  .price {
    font-size: 16px;
    font-weight: bold;
    color: #0d6efd;
    margin: 5px 0;
  }

  .type {
    font-size: 12px;
    color: #888;
  }

  .top-filters form {
    flex-direction: column;
    gap: 10px;
  }

  .top-filters input,
  .top-filters select,
  .top-filters button {
    width: 100%;
    font-size: 14px;
  }

  .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .pagination a {
    padding: 6px 10px;
    font-size: 13px;
    margin: 3px;
  }

  .type-card {
    flex: 0 0 150px;
  }

  .type-card img {
    height: 110px;
  }

  .type-card h3 {
    font-size: 14px;
    padding: 5px 0;
  }

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

  .details-grid {
    grid-template-columns: 1fr;
  }

  .dropdown-content {
    position: relative;
    top: 0;
    box-shadow: none;
    width: 100%;
  }

  .footer {
    display: none !important;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .full-width {
    grid-column: span 1;
  }

  .menu-toggle {
    display: block;
  }

  .filter-toggle {
    display: block;
  }

  .slider-main {
    height: 250px;
  }

  .agent-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .row {
    flex-direction: column;
    align-items: flex-start;
  }

  .row input,
  .row select,
  textarea {
    width: 100%;
  }

  .row label {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 0px 0px 0px;
  }
  .property-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .plan-box {
    flex-direction: column;
  }

  .plan-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .plan-header-dash {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .plan-name {
    font-size: 16px;
    font-weight: 600;
    color: #003366;
    margin-top: 5px;
  }

  .plan-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 15px;
  }

  .upgrade-btn {
    width: 100%;
    text-align: center;
  }

  body {
    margin: 0;
    padding-bottom: 70px;
    background: #f5f7fb;
  }

  .desktop-only {
    display: none;
  }

  .city-input {
    width: 100%;
  }

  .search-btn {
    width: 100%;
  }

  .mobile-scroll {
    overflow-x: auto;
  }

  .slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px;
  }

  .slider::-webkit-scrollbar {
    display: none;
  }

  .profile-container {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .full-width {
    grid-column: span 1;
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .plan-card {
    padding: 15px;
  }

  .plan_price {
    font-size: 22px;
  }

  .features {
    font-size: 13px;
  }

  .sticky-contact {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  }

  .call {
    background: #2d4da3;
  }

  .whatsapp {
    background: #25d366;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* @@3@@ Small Mobile */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 22px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .auth-box {
    padding: 20px;
  }

  .footer {
    height: auto;
    padding: 15px;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .logo img {
    height: 40px;
  }

  .btn {
    padding: 10px;
    font-size: 14px;
  }

  .upload-grid {
    grid-template-columns: 1fr;
  }
}

/* @@3@@ Medium Mobile */
@media (max-width: 600px) {
  .step-btns {
    flex-direction: column;
    gap: 10px;
  }

  .step-btns button {
    width: 100%;
  }

  .step-indicator {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }
}
