/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  background-color: #fff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

section {
  padding: 60px 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  section {
    padding: 40px 0;
  }
}

/*--------------------------------------------------------------
# hero section
--------------------------------------------------------------*/
.hero {
  height: 100vh;
}

.hero-section {
  width: 100%;
  max-width: 1400px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.form-section {
  padding: 50px 40px;
  background: #ffffff;
}

.image-section {
  background: url("http://landpropertys.in/wp-content/uploads/2026/01/hero-image-scaled.jpg") center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
}

.image-content {
  text-align: center;
  padding: 30px;
}

.image-content img {
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.main-title {
  font-size: 29px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 30px;
  line-height: 1.5;
}

.highlight {
  background: #ffd700;
  padding: 2px 8px;
  border-radius: 4px;
  color: #000;
}

.custom-select-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.custom-select-label {
  font-size: 14px;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 8px;
  display: block;
}

.custom-select {
  width: 100%;
  padding: 14px 40px 14px 16px;
  font-size: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: #fefefe !important;
  color: #2d3748;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  position: relative;
}

.custom-select:hover {
  border-color: #cbd5e0;
}

.custom-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #718096;
  transition: transform 0.3s ease;
}

.custom-select-wrapper.open .select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.custom-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  margin-top: 5px;
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.dropdown-search {
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  background: white;
  z-index: 10;
}

.dropdown-search input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
}

.dropdown-search input:focus {
  outline: none;
  border-color: #667eea;
}

.dropdown-option {
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 14px;
  color: #2d3748;
}

.dropdown-option:hover {
  background: #f7fafc;
}

.dropdown-option.selected {
  background: #667eea;
  color: white;
  font-weight: 600;
}

.dropdown-option.group-header {
  background: #f7fafc;
  font-weight: 700;
  color: #4a5568;
  padding: 10px 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: default;
}

.search-btn {
  width: 100%;
  padding: 16px;
  background: #ffd700;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.search-btn:hover {
  background: #ffed4e;
  transform: translateY(-2px);
}

.search-btn:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero {
    height: auto;
  }
  .content-wrapper {
    grid-template-columns: 1fr;
  }

  .image-section {
    min-height: 300px;
    order: -1;
  }

  .form-section {
    padding: 40px 30px;
  }

  .main-title {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .hero {
    height: auto;
  }

  .form-section {
    padding: 30px 20px;
  }

  .main-title {
    font-size: 23px;
  }

  .custom-select {
    padding: 12px 35px 12px 14px;
    font-size: 14px;
  }

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

  .image-section {
    min-height: 250px;
  }
}

/* Custom Scrollbar */
.custom-dropdown::-webkit-scrollbar {
  width: 8px;
}

.custom-dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.custom-dropdown::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 10px;
}

.custom-dropdown::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}

/* Row spacing */
.filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .filter-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.property-container {
  max-width: 1300px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  overflow: hidden;
}

.property-content {
  display: grid;
  grid-template-columns: 600px 1fr;
  min-height: 652px;
}

.main-image {
  width: 100%;
  height: -webkit-fill-available;          /* stop forced stretch */
  max-height: 660px;
  object-fit: fill;  /* no pixel loss */
  display: block;
}



.thumbnail-gallery {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  display: flex;
  gap: 10px;
}

.thumbnail {
  width: 120px;
  height: 90px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail.active {
  border-color: #ffd700;
}

.thumbnail:hover {
  border-color: #fff;
}

img {
  image-rendering: auto;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
}


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

/* Right Side - Details */
.details-section {
  padding: 40px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #c8dcff;
}

.header-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.property-title {
  flex: 1;
}

.property-name {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.2;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 16px;
  margin-bottom: 25px;
}

.property-location i {
  color: red;
}

.price-tag {
  text-align: right;
  padding-left: 20px;
}

.price {
  font-size: 42px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1;
}

.price-unit {
  font-size: 14px;
  color: #888;
  font-weight: 400;
  margin-top: 2px;
}

.description-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.description-text {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Property Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 25px;
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f8f9fa;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
  transition: all 0.3s ease;
}

.feature-badge:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}

.feature-badge i {
  font-size: 18px;
  color: #495057;
}

/* Map Section */
.map-section {
  margin-bottom: 25px;
  border-radius: 12px;
  overflow: hidden;
  height: 140px;
  background: #e9ecef;
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.btn-primary-custom {
  flex: 1;
  padding: 16px 30px;
  background: white;
  border: 2px solid #1a1a1a;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary-custom:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary-custom {
  flex: 1;
  padding: 16px 30px;
  background: #1a1a1a;
  border: 2px solid #1a1a1a;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-secondary-custom:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-favorite {
  width: 56px;
  height: 56px;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-favorite:hover {
  background: #ffe6e6;
  border-color: #ff4444;
}

.btn-favorite.active {
  background: #ff4444;
  border-color: #ff4444;
}

.btn-favorite i {
  font-size: 22px;
  color: #666;
  transition: color 0.3s ease;
}

.btn-favorite.active i {
  color: white;
}

.btn-share {
  width: 56px;
  height: 56px;
  background: #ffffff;
  border: 2px solid #ffd700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-share:hover {
  background: #ffed4e;
  transform: translateY(-2px) rotate(10deg);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-share i {
  font-size: 20px;
  color: #000;
}

/* Bottom Info Bar */
.bottom-info {
  display: flex;
  gap: 25px;
  padding: 20px 0 0 0;
  margin-top: 15px;
  border-top: 1px solid #e9ecef;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2d3748;
  font-size: 14px;
  font-weight: 600;
}

.info-item i {
  color: #495057;
  font-size: 16px;
}

.info-divider {
  width: 1px;
  background: #dee2e6;
  margin: 0 -10px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .property-content {
    grid-template-columns: 1fr;
  }

  .image-section {
    min-height: 400px;
  }

  .main-image {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .property-content {
    grid-template-columns: 1fr;
  }

  .details-section {
    padding: 30px 25px;
  }

  .property-name {
    font-size: 28px;
  }

  .price {
    font-size: 32px;
  }

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

  .action-buttons {
    flex-direction: column;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    width: 100%;
  }

  .thumbnail-gallery {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .thumbnail {
    min-width: 100px;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  

  .price-tag {
    text-align: left;
    padding-left: 0;
    margin-top: 10px;
  }

  .bottom-info {
    flex-direction: column;
    gap: 12px;
  }

  .info-divider {
    display: none;
  }
}

/* Custom Scrollbar */
.description-text::-webkit-scrollbar {
  width: 5px;
}

.description-text::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.description-text::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 10px;
}

.contact-wrapper {
  padding: 35px;
  background-color: #faf8fb;
  border-radius: 30px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
  align-items: center;
}

.col-left {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
  padding: 0 12px;
}

.col-right {
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
  padding: 0 12px;
}

.contact-content {
  padding-left: 35px;
}

.section-title h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 60px;
  max-width: 450px;
}

.decorative-line {
  margin-left: 60px;
  margin-bottom: 70px;
  opacity: 0.2;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.single-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

.single-contact:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--primary-color);
}

.contact-text {
  position: relative;
  padding-left: 30px;
}

.contact-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 35px;
  background-color: rgba(0, 0, 0, 0.15);
}

.contact-label {
  display: block;
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 400;
}

.contact-value {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s;
}

.contact-value:hover {
  color: #e74c3c;
}

.contact-form-wrap {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 20px;
  margin-left: 10px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.form-col-full {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 10px;
  margin-bottom: 24px;
}

.form-col-half {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 10px;
  margin-bottom: 24px;
}

.form-inner label {
  display: block;
  font-size: 15px;
  color: #1a1a1a;
  font-weight: 500;
  margin-bottom: 10px;
}

.form-inner input,
.form-inner select,
.form-inner textarea {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  font-size: 14px;
  color: #1a1a1a;
  background-color: transparent;
  outline: none;
  transition: border-color 0.3s;
  font-family: "Inter", sans-serif;
}

.form-inner input:focus,
.form-inner select:focus,
.form-inner textarea:focus {
  border-color: #e74c3c;
}

.form-inner input::placeholder,
.form-inner textarea::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.form-inner select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.form-inner textarea {
  min-height: 120px;
  resize: vertical;
  padding: 15px 20px;
}

.checkbox-wrapper {
  margin-bottom: 30px;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-container label {
  font-size: 14px;
  color: #666;
  cursor: pointer;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1199px) {
  .contact-wrapper {
    padding: 25px;
  }
  .contact-content {
    padding-left: 25px;
  }
  .section-title h2 {
    font-size: 42px;
  }
}

@media (max-width: 991px) {
  .col-left,
  .col-right {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .col-right {
    margin-bottom: 0;
  }

  .contact-wrapper {
    padding: 35px 25px;
  }

  .contact-content {
    padding-left: 0;
  }

  .section-title h2 {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .decorative-line {
    margin-bottom: 40px;
  }

  .contact-list {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
  }

  .single-contact {
    margin-bottom: 0;
  }

  .contact-form-wrap {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .contact-wrapper {
    padding: 35px 20px;
    border-radius: 15px;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .form-col-half {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .contact-form-wrap {
    padding: 30px 20px;
  }
}

@media (max-width: 576px) {
  .contact-wrapper {
    padding: 35px 15px;
  }

  .section-title h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .decorative-line {
    height: 100px;
    margin-bottom: 30px;
    margin-left: 0;
  }

  .contact-list {
    flex-direction: column;
    gap: 20px;
  }

  .contact-text {
    padding-left: 20px;
  }

  .contact-value {
    font-size: 16px;
  }

  .form-inner input,
  .form-inner select,
  .form-inner textarea {
    font-size: 13px;
  }

  .checkbox-container label {
    font-size: 13px;
  }
}

/* CSS */
.button-28 {
  appearance: none;
  background-color: transparent;
  border: 2px solid #1a1a1a;
  border-radius: 15px;
  box-sizing: border-box;
  color: #3b3b3b;
  cursor: pointer;
  display: inline-block;
  font-family: Roobert, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin: 0;
  min-height: 60px;
  min-width: 0;
  outline: none;
  padding: 16px 24px;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 100%;
  will-change: transform;
}

.button-28:disabled {
  pointer-events: none;
}

.button-28:hover {
  color: #fff;
  background-color: #1a1a1a;
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

.button-28:active {
  box-shadow: none;
  transform: translateY(0);
}

.contact-section {
  background: #808080a6;
}






@page {
  size: A4;
  margin: 10mm;
}

.pdf-template {
  width: auto;
  min-height: 277mm;
  padding: 10mm;
  box-sizing: border-box;
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
}

/* HEADER */
.pdf-header {
  border-bottom: 3px solid #f2b705;
  padding-bottom: 6mm;
  margin-bottom: 6mm;
}

.pdf-title {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
}

.pdf-location {
  font-size: 14px;
  margin-top: 2mm;
  color: #666;
}

.pdf-main-image {
  width: 100%;
  max-height: 240mm;   /* SAFE HEIGHT */
  object-fit: contain; /* PREVENT OVERFLOW */
  border-radius: 10px;
  margin-bottom: 10mm;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  background: #ffffff;
}


/* TABLE */
.pdf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  page-break-after: always;
}

.pdf-table tr {
  page-break-inside: avoid;
}

.pdf-table td {
  padding: 6mm;
  border: 1px solid #ddd;
}

.pdf-table td:first-child {
  width: 40%;
  font-weight: bold;
  background: #f7f7f7;
}

/* OPTIONAL FOOTER */
.pdf-footer {
  margin-top: 10mm;
  font-size: 11px;
  text-align: center;
  color: #999;
}



 .search-bar{
background:#fff;
padding:20px;
border-radius:12px;
box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.search-input{
border:2px solid #e0e0e0;
border-radius:8px;
padding:12px 15px;
font-size:16px;
}

.property-card{
background:#fff;
border-radius:12px;
padding:20px;
box-shadow:0 2px 8px rgba(0,0,0,0.08);
transition:0.3s;
cursor:pointer;
border:2px solid;
border-color:#667eea;
}

.property-card:hover{
transform:translateY(-5px);
box-shadow:0 8px 20px rgba(0,0,0,0.15);
border-color:#667eea;
}

.property-info{
margin-bottom:12px;
}

.info-label{
font-size:12px;
color:#666;
font-weight:600;
text-transform:uppercase;
}

.info-value{
font-size:16px;
font-weight:600;
}

.village-name{
color:#667eea;
font-size:18px;
}

.price-tags{
margin-top:15px;
background:linear-gradient(135deg,#667eea,#764ba2);
color:#fff;
padding:10px;
border-radius:8px;
text-align:center;
font-weight:700;
}

.no-results{
display:none;
font-size:18px;
color:#666;
}


