@charset "UTF-8";

:root {
	--primary-color: #1e40af;
	--accent-color: #f59e0b;
	--card-bg: #ffffff;
	--text-primary: #1f2937;
	--text-secondary: #6b7280;
	--border-color: #e5e7eb;
	--shadow-hover: 0 20px 60px -10px rgba(30, 64, 175, 0.3);
}


.property-card {
	border: none;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	background: var(--card-bg);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.property-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-hover);
}

.property-image-area {
	height: 200px;
	background: linear-gradient(135deg, rgba(30, 64, 175, 0.1),
		rgba(245, 158, 11, 0.1));
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.plot-icon {
	font-size: 4rem;
	color: var(--primary-color);
	margin-bottom: 0.5rem;
}

.badge-featured {
	background: var(--accent-color) !important;
	color: white;
	font-weight: 600;
}

.badge-glass {
	background: var(--accent-color) !important;
	/*         background: rgba(255, 255, 255, 0.2); */
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.price-badge {
	background: linear-gradient(135deg, var(--accent-color),
		rgba(245, 158, 11, 0.8));
	color: white;
	padding: 12px 16px;
	border-radius: 8px;
	font-weight: bold;
	font-size: 1.1rem;
	box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.price-per-unit {
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 0.9rem;
	/*         color: var(--text-secondary); */
	color: black;
	margin-top: 4px;
	font-weight: bold;
}

.property-title {
	color: var(--text-primary);
	font-weight: 600;
	transition: color 0.3s ease;
}

.property-card:hover .property-title {
	color: var(--primary-color);
}

.highlight-section {
	background: rgba(245, 158, 11, 0.1);
	border-radius: 8px;
	padding: 12px;
}

.contact-btn {
	background: var(--primary-color);
	border: none;
	color: white;
	padding: 12px;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.contact-btn:hover {
	background: #1e3a8a;
	transform: translateY(-1px);
}

.heart-btn {
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: black;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.heart-btn:hover {
	background: var(--accent-color);
	color: white;
}

.property-detail-item {
	color: var(--text-secondary);
	font-size: 0.9rem;
}

.property-detail-item i {
	color: var(--primary-color);
}

/* Additional CSS for the search form */
.form-select:focus, .form-control:focus {
	border-color: #1e40af;
	box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
}

.btn-primary {
	background: linear-gradient(135deg, #1e40af, #3b82f6);
	border: none;
	padding: 12px 24px;
	font-weight: 600;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.form-label {
	color: #374151;
	margin-bottom: 8px;
}

.alert-info {
	background: linear-gradient(135deg, #dbeafe, #bfdbfe);
	border: 1px solid #93c5fd;
	color: #1e3a8a;
}
/* Style for mobile-expanded menu */
@media ( max-width : 991.98px) { /* applies below lg breakpoint */
	.navbar-nav {
		text-align: center; /* center the links */
		padding: 10px 0; /* breathing space around links */
	}
	.navbar-nav .nav-link {
		padding: 12px 0; /* taller tap target */
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		/* subtle divider */
		font-size: 1.1rem; /* slightly larger text */
		transition: background 0.3s;
	}
	.navbar-nav .nav-link:hover {
		background: rgba(255, 255, 255, 0.1); /* hover effect */
	}
	/* Optional: make last item lose border */
	.navbar-nav .nav-link:last-child {
		border-bottom: none;
	}
}


/*** Spinner ***/
#spinner {
	opacity: 0;
	visibility: hidden;
	transition: opacity .5s ease-out, visibility 0s linear .5s;
	z-index: 99999;
}

#spinner.show {
	transition: opacity .5s ease-out, visibility 0s linear 0s;
	visibility: visible;
	opacity: 1;
}

/* .back-to-top2 {
	position: fixed;
	right: 30px;
	bottom: 30%;
	z-index: 100;
	width: 40px;
	height: 40px;
	padding-left: 5px;
	padding-bottom: 15px;
	font-size: 32px;
	color: #fff;
	background: #25D366;
	border-radius: 15%;
} */
.back-to-top2 {
text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 30px;
  bottom: 30%;
  z-index: 100;
  width: 48px;
  height: 48px;
  font-size: 32px;
  color: #fff;
  background: #25D366;
  border-radius: 15%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
@media ( max-width : 768px) {
	.back-to-top2 {
		position: fixed;
		/*right: 10%;*/
		bottom: 25%;
		z-index: 100;
		width: 48px;
		height: 48px;
        font-size: 32px;
		color: #fff;
		background: #25D366;
		border-radius: 15%;
        padding: 15px 5px;
    }
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
	border: none;
	content: "\f107";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	vertical-align: middle;
	margin-left: 8px;
}

/* .navbar-nav .nav-link {
    position: relative;
    margin-right: 30px;
    padding: 20px 0;
    color: #ff0080;
    font-weight: 500;
    text-align: center;
    font-size: 16px;
    outline: none;
    transition: color 0.3s ease;
} */
.navbar-nav .nav-link {
	color: #ffffff; /* default color */
	font-size: 16px;
	font-weight: 500;
	transition: color 0.3s ease, font-size 0.3s ease; /* smooth effect */
}

.navbar-nav .nav-link:hover {
	color: #ffffff !important; /* hover color */
	font-weight: bold;
}

/* .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 10px; Adjust based on padding
    width: 0%;
    height: 2px;
    background-color: #007bff; Use your brand color
    transition: width 0.3s ease;
} */

/* navbar-nav .nav-link:hover {
    color: #8000ff;
} */

/* .navbar-nav .nav-link:hover::after {
    width: 100%;
} */
.navbar-nav .nav-link:active {
	color: #ffc107 !important;
	font-weight: 700;
	border-bottom: 2px solid #ffc107; /* optional underline */
}

.navbar .navbar-nav .nav-link:hover, .navbar .navbar-nav .nav-link.active
	{
	color: var(--primary);
}

.navbar.sticky-top {
	top: -100px;
	transition: .5s;
}

@media ( max-width : 991.98px) {
	.navbar .navbar-nav .nav-link {
		margin-right: 0;
		padding: 10px 0;
	}
	.navbar .navbar-nav {
		border-top: 1px solid #EEEEEE;
	}
}

@media ( min-width : 992px) {
	.navbar .nav-item .dropdown-menu {
		display: block;
		visibility: hidden;
		top: 100%;
		transform: rotateX(-75deg);
		transform-origin: 0% 0%;
		transition: .5s;
		opacity: 0;
	}
}

.navbar .nav-item:hover .dropdown-menu {
	transform: rotateX(0deg);
	visibility: visible;
	transition: .5s;
	opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.btn-lg-square {
	padding: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    width: 48px;
    height: 48px;
}

.village-link-card {
  background-color: #f8f9fa;
  color: #0d6efd;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #dee2e6;
}

.village-link-card:hover {
  background-color: #e9f5ff;
  color: #084298;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.seo-content-section {
  padding: 40px 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  max-width: 1200px;
  margin: 40px auto;
  font-family: 'Inter', sans-serif;
  color: #333;
  line-height: 1.7;
}

.seo-content-section h1,
.seo-content-section h2 {
  color: #0d6efd;
  font-weight: 600;
  margin-bottom: 16px;
}

.seo-content-section h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 24px;
}

.seo-content-section h2 {
  font-size: 1.5rem;
  margin-top: 32px;
}

.seo-content-section p {
  margin-bottom: 16px;
  font-size: 1rem;
}

.seo-content-section ul {
  padding-left: 20px;
  margin-bottom: 24px;
}

.seo-content-section ul li {
  margin-bottom: 10px;
  list-style-type: disc;
}

.seo-content-section a {
  color: #0d6efd;
  text-decoration: underline;
}

.seo-content-section a:hover {
  color: #084298;
  text-decoration: none;
}

.seo-content-section strong {
  color: #212529;
  font-weight: 600;
}
.seo-block {
  margin: 40px auto;
  padding: 20px;
  max-width: 1200px;
  font-family: 'Inter', sans-serif;
  color: #333;
  line-height: 1.7;
}

.seo-block h1,
.seo-block h2 {
  color: #0d6efd;
  font-weight: 600;
  margin-bottom: 16px;
}

.seo-block h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 24px;
}

.seo-block h2 {
  font-size: 1.5rem;
  margin-top: 32px;
}

.seo-block p {
  margin-bottom: 16px;
  font-size: 1rem;
}

.seo-block ul {
  padding-left: 20px;
  margin-bottom: 24px;
}

.seo-block ul li {
  margin-bottom: 10px;
  list-style-type: disc;
}

.seo-block a {
  color: #0d6efd;
  text-decoration: underline;
}

.seo-block a:hover {
  color: #084298;
  text-decoration: none;
}

.seo-block strong {
  color: #212529;
  font-weight: 600;
}


/* Hide on desktop and mobile */
.hide-on-desktop-mobile {
  display: none;
}

/* Optional: Show only on print or specific screen sizes */
@media print {
  .hide-on-desktop-mobile {
    display: block;
  }
}

/* Optional: Show only on very large screens (e.g., admin dashboard) */
@media (min-width: 1600px) {
  .hide-on-desktop-mobile {
    display: block;
  }
}

.plot-tag {
  display: inline-block;
  padding: 6px 12px;
  background-color: #f0f4f8;
  color: #333;
  font-weight: bold;
  border-radius: 4px;
  font-size: 0.95rem;
}

.plot-tag i {
  margin-right: 8px;
  color: #0d6efd;
}


  .hero-section {
            background: linear-gradient(135deg, var(--primary-color) 0%, #1e4d8b 100%);
            color: white;
            padding: 4rem 0;
        }

        .hero-section h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .form-section {
            padding: 4rem 0;
            background-color: var(--secondary-color);
        }

        .form-container {
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            padding: 2.5rem;
            margin-top: -3rem;
            position: relative;
            z-index: 2;
        }

        .form-control {
            border: 2px solid #e9ecef;
            border-radius: 8px;
            padding: 0.75rem 1rem;
            font-size: 0.95rem;
            transition: all 0.3s ease;
        }

        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
        }

        .form-label {
            font-weight: 750;
            color: var(--dark-color);
            margin-bottom: 0.5rem;
        }

        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            padding: 0.875rem 2rem;
            font-weight: 600;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .btn-primary:hover {
            background-color: #1e4d8b;
            border-color: #1e4d8b;
            transform: translateY(-2px);
        }

        .alert {
            border-radius: 8px;
            border: none;
            padding: 1rem 1.25rem;
        }

        .invalid-feedback {
            display: block;
            color: var(--danger-color);
            font-size: 0.875rem;
            margin-top: 0.25rem;
        }

        .form-control.is-invalid {
            border-color: var(--danger-color);
        }

        .info-section {
            background: white;
            padding: 3rem 0;
        }

        .feature-card {
            text-align: center;
            padding: 2rem 1rem;
            border-radius: 10px;
            transition: transform 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-5px);
        }

        .feature-icon {
            width: 60px;
            height: 60px;
            /*background: var(--primary-color);*/
            background: linear-gradient(135deg, var(--accent-color), rgba(245, 158, 11, 0.8));;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            color: white;
            font-size: 1.5rem;
        }

        .loading-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255,255,255,0.9);
            z-index: 9999;
        }

        .loading-spinner {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        @media (max-width: 768px) {
            .hero-section h1 {
                font-size: 2rem;
            }
            
            .form-container {
                padding: 1.5rem;
                margin-top: -2rem;
            }
        }

.auth-modal .modal-content {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.auth-modal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
}
.auth-modal .modal-body {
    padding: 2rem;
}
.auth-modal .form-control {
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 1rem;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}
.auth-modal .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}
.auth-modal .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    transition: transform 0.2s ease;
}
.auth-modal .btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}
.auth-modal .btn-outline-primary {
    color: #667eea;
    border-color: #667eea;
    border-radius: 10px;
    padding: 10px 25px;
}
.auth-modal .btn-outline-primary:hover {
    background-color: #667eea;
    border-color: #667eea;
}
.form-switch-container {
    text-align: center;
    margin-top: 1rem;
}
.auth-tabs {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 2rem;
}
.auth-tabs .nav-link {
    color: #6c757d;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
}
.auth-tabs .nav-link.active {
    color: #667eea;
    border-bottom: 3px solid #667eea;
    background: none;
}
.postproperty-glow {
    position: relative;
    display: inline-block;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    background: linear-gradient(135deg, #0052cc, #007bff); /* deeper blue tones */

    /*background: linear-gradient(135deg, #0072ff, #00c6ff);*/
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.postproperty-glow:hover {
    transform: scale(1.07);
}

.postproperty-glow::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 14px;
    background: linear-gradient(90deg, #00c6ff, #0072ff, #00f0ff, #0072ff);
    background-size: 300% 300%;
    z-index: -1;
    animation: rotate-border 3s linear infinite;
}

@keyframes rotate-border {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

 .heart-btn{ background:rgba(255,255,255,.1); border:1px solid rgba(0,0,0,.08); border-radius:999px; width:38px; height:38px; display:grid; place-items:center; }
.heart-btn:is(:hover,:focus){ filter:brightness(1.05); }
.heart-btn.is-fav i{ color:#dc3545; } /* Bootstrap danger */

/* ==== BRANDED LINK BEHAVIOR (cards + popular localities) ==== */
/*.apx-cta a,*/
/*.popular-localities a,*/
/*a.apx-link {*/
/*    color: #1f43b7;              !* brand blue *!*/
/*    font-weight: 600;*/
/*    text-decoration: none;*/
/*    transition: color .15s ease, text-decoration-color .15s ease;*/
/*}*/
/*.apx-cta a:hover,*/
/*.popular-localities a:hover,*/
/*a.apx-link:hover,*/
/*.apx-cta a:focus-visible,*/
/*.popular-localities a:focus-visible,*/
/*a.apx-link:focus-visible {*/
/*    color: #18379a;*/
/*    text-decoration: underline;*/
/*    text-decoration-thickness: 2px;*/
/*    text-underline-offset: .15em;*/
/*    outline: 0;*/
/*}*/

/* Optional: chip-style locality links if you use a.apx-chip */
a.apx-chip {
    color: #0b1f35;
    border: 1px solid #e5e7eb;
    background: #fff;
    text-decoration: none;
}
a.apx-chip:hover {
    color: #1f43b7;
    border-color: #1f43b7;
    box-shadow: 0 2px 10px rgba(31,67,183,.15);
    text-decoration: underline;
}

/* ==== FIX SEO SECTIONS (flip the hover logic) ==== */
.seo-content-section a,
.seo-block a {
    color: #0d6efd;
    text-decoration: none; /* default: no underline */
}
.seo-content-section a:hover,
.seo-block a:hover {
    color: #084298;
    text-decoration: underline;  /* underline ON hover */
}

/* Keep navbar links clean (avoid unexpected underlines there) */
.navbar-nav .nav-link,
.navbar-nav .nav-link:hover {
    text-decoration: none;
}

/* Base style for locality links */
.apx-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    background-color: #e6f0ff;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

/* Hover effect */
.apx-link:hover {
    background-color: #0078d4; /* CRDA blue */
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Optional: icon color sync */
.apx-link:hover i {
    color: #fff;
}

/* Base card styling */
.apx-cta {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

/* Hover effect */
.apx-cta:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #e6f0ff; /* Soft blue background */
    color: #0078d4; /* CRDA blue */
    font-size: 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Optional hover effect */
/*.apx-cta:hover .icon-wrap {*/
/*    background-color: #0078d4;*/
/*    color: #fff;*/
/*    transform: scale(1.05);*/
/*}*/



.apx-ad-badge{
    position:absolute; top:.65rem; right:.65rem;
    font-size:.7rem; background:#374151; color:#fff;
    border-radius:4px; padding:.15rem .35rem; letter-spacing:.02em;
}
.apx-ad-native img{ object-fit:cover; width:100%; max-height:260px; }
.apx-ad-pinned .card-body{ border-left:4px solid var(--apx-solid-blue,#1f43b7); }

/* make sure the heart is above the stretched-link overlay */
.property-card .heart-btn{ position:absolute; z-index: 5; pointer-events:auto; }
.property-card .stretched-link::after{ z-index: 1 !important; }

 .locality-insight{ border:1px solid #eef1f6;border-radius:10px;padding:8px 10px }
.locality-insight canvas{ width:100% }

/* Keep the locality sparkline area compact */
.locality-insight { padding-top: 2px; padding-bottom: 2px; }
.locality-insight .loc-spark{
    display:block;
    width:100% !important;
    height:56px !important;   /* <- hard cap */
    max-height:56px !important;
}


.li-5y-chip{
    display:inline-flex; align-items:center; gap:.35rem;
    font-weight:700; color:#16a34a;  /* green up by default */
}
.li-5y-chip.down{ color:#dc2626; } /* red when negative */
.li-5y-chip .li-5y-arrow{ font-size:.9rem; line-height:1; }
.locality-insight canvas{ height:36px; }


.locality-insight .d-flex { gap: .75rem; }
.locality-insight .li-5y-chip { white-space: nowrap; }
/* keep the rest of your CSS; only tweak height */
.locality-insight canvas.loc-spark5y{
    display:block;
    flex:1 1 0;
    width:auto;
    height:40px !important;   /* was 72; smaller like the reference */
    box-sizing:border-box;
    aspect-ratio:auto !important;
}

.locality-insight--mini .li-5y-chip{ white-space:nowrap; }
.locality-insight--mini canvas.loc-spark5y--mini{
    flex:0 0 120px;     /* fixed visual width next to Seller */
    width:120px;        /* avoids pushing text */
    height:28px !important;  /* smaller than the main spark */
    box-sizing:border-box;
    aspect-ratio:auto !important;
}
@media (max-width: 575.98px){
    /* on phones, let it wrap under Seller */
    .locality-insight--mini{ justify-content:flex-start; margin-top:.25rem; }
    .locality-insight--mini canvas.loc-spark5y--mini{ flex:1 1 0; width:auto; }
}

/* emergency override so the form isn’t clipped */
.form-container,
.form-section,
.form-section .row,
.form-section .col-lg-10 {
    overflow: visible !important;
}