/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
	/* Colors */
	--primary-color: #0b1c3e; /* Navy Blue */
	--secondary-color: #d4af37; /* Gold/Accent */
	--accent-color: #f7ca18;
	--text-main: #333333;
	--text-light: #666666;
	--bg-light: #f9f9fb;
	--bg-white: #ffffff;
	--border-color: #e5e5e5;
	
	/* Typography */
	--font-primary: 'Inter', sans-serif;
	--font-heading: 'Playfair Display', serif;
	
	/* Shadows & Effects */
	--shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
	--shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
	--shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
	--shadow-hover: 0 25px 50px rgba(11, 28, 62, 0.15);
	
	/* Transitions */
	--trans-fast: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	--trans-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--font-primary);
	color: var(--text-main);
	background-color: var(--bg-light);
	line-height: 1.6;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--primary-color);
	font-weight: 700;
	margin-bottom: 1rem;
	line-height: 1.2;
}

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

a:hover {
	color: var(--secondary-color);
}

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

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.py-5 {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes scaleIn {
	from { transform: scale(0.95); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

.fade-in-anim {
	animation: fadeIn 1s var(--trans-slow) forwards;
}

.slide-up-anim {
	animation: fadeInUp 1s var(--trans-slow) forwards;
}

/* Delay for staggered elements */
.property-card:nth-child(1) { animation-delay: 0.1s; }
.property-card:nth-child(2) { animation-delay: 0.3s; }
.property-card:nth-child(3) { animation-delay: 0.5s; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-block;
	padding: 12px 30px;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 4px;
	text-align: center;
	cursor: pointer;
	transition: all var(--trans-fast);
	border: 2px solid transparent;
}

.btn-primary {
	background-color: var(--secondary-color);
	color: var(--bg-white);
}

.btn-primary:hover {
	background-color: transparent;
	border-color: var(--secondary-color);
	color: var(--secondary-color);
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
}

.btn-secondary {
	background-color: var(--primary-color);
	color: var(--bg-white);
}

.btn-secondary:hover {
	background-color: var(--bg-white);
	color: var(--primary-color);
	border-color: var(--primary-color);
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
}

.btn-outline {
	background-color: transparent;
	border-color: var(--primary-color);
	color: var(--primary-color);
}

.btn-outline:hover {
	background-color: var(--primary-color);
	color: var(--bg-white);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: var(--shadow-sm);
	padding: 15px 0;
	transition: all var(--trans-fast);
}

.header-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.site-branding {
	display: flex;
	align-items: center;
}

/* Header social icons */
.header-social {
	display: flex;
	align-items: center;
	gap: 12px;
}

.header-social a {
	display: inline-flex;
	align-items: center;
	color: var(--primary-color);
	text-decoration: none;
	padding: 6px;
}

.header-social a:hover {
	opacity: 0.9;
}

.header-social .header-icon {
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.header-social .header-icon svg {
	width: 100%;
	height: 100%;
}

.custom-logo-link img {
	max-height: 60px;
	width: auto;
	display: block;
}

.site-title a {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary-color);
	letter-spacing: 0.5px;
}

.main-navigation ul {
	list-style: none;
	display: flex;
	gap: 30px;
}

.main-navigation a {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--primary-color);
	position: relative;
	padding-bottom: 5px;
}

.main-navigation a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 0;
	left: 0;
	background-color: var(--secondary-color);
	transition: width var(--trans-fast);
}

.main-navigation a:hover::after {
	width: 100%;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
}

.menu-toggle .bar {
	display: block;
	width: 25px;
	height: 3px;
	margin: 5px auto;
	background-color: var(--primary-color);
	transition: all 0.3s ease-in-out;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
	position: relative;
	height: 85vh;
	min-height: 600px;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--bg-white);
}

.hero-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: linear-gradient(135deg, rgba(11,28,62,0.85) 0%, rgba(11,28,62,0.4) 100%);
}

.hero-content {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 900px;
	padding: 40px;
	background: transparent;
}

.hero-title {
	font-size: 3.5rem;
	color: var(--bg-white);
	margin-bottom: 20px;
	text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
	font-size: 1.2rem;
	margin-bottom: 40px;
	font-weight: 300;
	color: var(--bg-white);
	text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.hero-search-box {
	background: var(--bg-white);
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.search-tabs {
	display: flex;
	gap: 20px;
	margin-bottom: 15px;
	justify-content: flex-start;
}

.search-tab {
	background: none;
	border: none;
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-light);
	padding: 5px 10px;
	cursor: pointer;
	position: relative;
	transition: color var(--trans-fast);
}

.search-tab.active {
	color: var(--primary-color);
}

.search-tab.active::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: var(--secondary-color);
	border-radius: 3px;
}

.search-tab:hover {
	color: var(--primary-color);
}

.search-input-group {
	display: flex;
	background: var(--bg-light);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 5px;
}

.search-field {
	flex-grow: 1;
	border: none;
	background: transparent;
	padding: 15px 20px;
	font-size: 1.1rem;
	font-family: var(--font-primary);
	color: var(--text-main);
	outline: none;
}

.search-submit {
	background: var(--secondary-color);
	color: var(--bg-white);
	border: none;
	border-radius: 6px;
	padding: 0 20px;
	cursor: pointer;
	transition: background var(--trans-fast);
	display: flex;
	align-items: center;
	justify-content: center;
}

.search-submit:hover {
	background: var(--primary-color);
}



/* ==========================================================================
   Properties Section
   ========================================================================== */
.properties-section {
	padding: 80px 0;
	background-color: var(--bg-light);
}

.section-heading {
	text-align: center;
	margin-bottom: 50px;
}

.section-title {
	font-size: 2.5rem;
	position: relative;
	display: inline-block;
	padding-bottom: 10px;
}

.section-title::after {
	content: '';
	position: absolute;
	width: 50px;
	height: 3px;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--secondary-color);
}

.properties-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 30px;
}

.property-card {
	background: var(--bg-white);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow-md);
	transition: all var(--trans-slow);
	opacity: 0;
	animation: fadeInUp 0.8s var(--trans-slow) forwards;
}

.property-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--shadow-hover);
}

.property-image {
	position: relative;
	overflow: hidden;
	height: 250px;
}

.property-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--trans-slow);
}

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

.property-status {
	position: absolute;
	top: 15px;
	right: 15px;
	background-color: var(--secondary-color);
	color: var(--bg-white);
	padding: 5px 15px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 0.85rem;
	z-index: 2;
}

.property-details {
	padding: 25px;
}

.property-title {
	font-size: 1.25rem;
	margin-bottom: 10px;
}

.property-excerpt {
	color: var(--text-light);
	font-size: 0.95rem;
	margin-bottom: 20px;
}

.view-more-container {
	text-align: center;
	margin-top: 50px;
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-us-section {
	padding: 80px 0;
	background-color: var(--bg-white);
}

.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.subsection-title {
	font-size: 1.5rem;
	margin-top: 30px;
	color: var(--primary-color);
}

.about-features {
	list-style: none;
	margin-bottom: 20px;
}

.about-features li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 10px;
}

.about-features li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	color: var(--secondary-color);
	font-weight: bold;
	font-size: 1.2rem;
}

.about-image {
	position: relative;
}

.image-wrapper {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}

.image-wrapper img {
	width: 100%;
	transition: transform var(--trans-slow);
}

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

.experience-badge {
	position: absolute;
	bottom: -20px;
	right: -20px;
	background: var(--primary-color);
	color: var(--bg-white);
	width: 120px;
	height: 120px;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 5px solid var(--bg-white);
	box-shadow: var(--shadow-md);
	animation: scaleIn 1s 0.5s var(--trans-slow) both;
}

.experience-badge .years {
	font-size: 2rem;
	font-weight: 700;
	color: var(--secondary-color);
	line-height: 1;
}

.experience-badge .text {
	font-size: 0.8rem;
	text-align: center;
	font-weight: 600;
}

/* ==========================================================================
   CEO Page
   ========================================================================== */
.ceo-hero {
	background-color: var(--primary-color);
	color: var(--bg-white);
	padding: 80px 0 40px;
	text-align: center;
}

.ceo-hero .page-title {
	color: var(--secondary-color);
	font-size: 3rem;
}

.ceo-content-wrapper {
	padding: 60px 20px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.ceo-profile-card {
	display: flex;
	background: var(--bg-white);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow-md);
	max-width: 800px;
	margin: -80px auto 0;
	position: relative;
	z-index: 10;
}

.ceo-image {
	flex: 0 0 350px;
}

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

.ceo-info {
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.ceo-title {
	color: var(--secondary-color);
	font-weight: 700;
	font-size: 1.2rem;
	margin-bottom: 5px;
}

.ceo-credentials {
	font-size: 0.9rem;
	color: var(--text-light);
}

.ceo-biography {
	max-width: 900px;
	margin: 0 auto;
}

.bio-section {
	margin-bottom: 40px;
	padding: 30px;
	background: var(--bg-white);
	border-radius: 12px;
	box-shadow: var(--shadow-sm);
	transition: box-shadow var(--trans-fast);
}

.bio-section:hover {
	box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background-color: var(--primary-color);
	color: rgba(255,255,255,0.8);
	padding-top: 60px;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px 40px;
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
}

.footer-title {
	color: var(--bg-white);
	font-size: 2rem;
	margin-bottom: 10px;
}

.footer-motto {
	color: var(--secondary-color);
	font-style: italic;
	margin-bottom: 15px;
}

.widget-title {
	color: var(--bg-white);
	font-size: 1.2rem;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 10px;
}

.widget-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 30px;
	height: 2px;
	background-color: var(--secondary-color);
}

.quick-links ul {
	list-style: none;
}

.quick-links a {
	color: rgba(255,255,255,0.8);
	transition: color var(--trans-fast), padding-left var(--trans-fast);
	display: inline-block;
	margin-bottom: 10px;
}

.quick-links a:hover {
	color: var(--secondary-color);
	padding-left: 5px;
}

.footer-social .widget-title {
	margin-top: 20px;
}

.footer-social .social-links {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.footer-social .social-links a {
	color: rgba(255,255,255,0.9);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 999px;
	transition: background-color var(--trans-fast), color var(--trans-fast), transform var(--trans-fast);
}

.footer-social .social-links a .footer-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
}

.footer-social .social-links a .footer-icon svg {
	width: 100%;
	height: 100%;
}

.footer-social .social-links a:hover {
	background-color: rgba(255,255,255,0.12);
	color: #ffffff;
	transform: translateY(-1px);
}

.site-info {
	background-color: rgba(0,0,0,0.2);
	padding: 20px 0;
	text-align: center;
	font-size: 0.9rem;
}

/* ==========================================================================
   Advanced Properties Page
   ========================================================================== */
.page-properties-advanced {
	display: flex;
	flex-direction: column;
	height: calc(100vh - 80px); /* Assuming header is ~80px */
}

/* Filter Bar */
.properties-filter-bar {
	background: var(--bg-white);
	border-bottom: 1px solid var(--border-color);
	padding: 10px 0;
	position: sticky;
	top: 70px;
	z-index: 900;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

.filter-form {
	display: flex;
	gap: 15px;
	align-items: center;
	flex-wrap: wrap;
}

.filter-group {
	flex: 1 1 auto;
}

.search-group {
	flex: 2 1 250px;
}

.filter-group input,
.filter-group select {
	width: 100%;
	padding: 10px 15px;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	font-family: var(--font-primary);
	font-size: 0.95rem;
	color: var(--text-main);
	background-color: var(--bg-light);
	outline: none;
	transition: border-color var(--trans-fast);
}

.filter-group input:focus,
.filter-group select:focus {
	border-color: var(--primary-color);
}

.filter-submit {
	padding: 10px 20px;
}

/* Split Layout */
.properties-split-container {
	display: flex;
	flex: 1;
	overflow: hidden;
}

.properties-list-col {
	flex: 0 0 60%;
	padding: 30px;
	overflow-y: auto;
	background: var(--bg-light);
}

.properties-map-col {
	flex: 0 0 40%;
	background: #e0e0e0;
	position: relative;
	border-left: 1px solid var(--border-color);
}

.map-placeholder {
	width: 100%;
	height: 100%;
	background: repeating-linear-gradient(45deg, #e5e5e5, #e5e5e5 10px, #ebebeb 10px, #ebebeb 20px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.map-overlay-content {
	background: rgba(255, 255, 255, 0.9);
	padding: 40px;
	border-radius: 12px;
	text-align: center;
	box-shadow: var(--shadow-lg);
	backdrop-filter: blur(5px);
}

.map-icon {
	color: var(--primary-color);
	margin-bottom: 15px;
}

/* Advanced Grid & Cards */
.list-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 25px;
}

.list-header .page-title {
	font-size: 1.8rem;
	margin-bottom: 0;
}

.results-count {
	color: var(--text-light);
	font-weight: 600;
}

.properties-grid-advanced {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

.property-card-advanced {
	background: var(--bg-white);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	transition: box-shadow var(--trans-fast), transform var(--trans-fast);
}

.property-card-advanced:hover {
	box-shadow: var(--shadow-hover);
	transform: translateY(-5px);
}

.card-link-wrapper {
	display: block;
	color: inherit;
}

.card-image-wrapper {
	position: relative;
	height: 200px;
	overflow: hidden;
}

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

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

.card-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--bg-white);
	color: var(--text-main);
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 0.8rem;
	font-weight: 700;
	z-index: 2;
}

.card-badge.for-sale {
	background: #1e3a8a; /* Dark Blue */
	color: #fff;
}

.card-badge.for-rent {
	background: var(--secondary-color);
	color: #fff;
}

.card-content {
	padding: 15px;
}

.card-price {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 10px;
}

.card-metrics {
	list-style: none;
	display: flex;
	gap: 15px;
	margin-bottom: 10px;
	color: var(--text-main);
	font-size: 0.9rem;
}

.card-metrics li {
	display: flex;
	align-items: center;
	gap: 4px;
}

.card-address {
	font-size: 1rem;
	font-family: var(--font-primary);
	font-weight: 400;
	color: var(--text-light);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 5px;
}

.card-agency {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--text-light);
	margin-top: 10px;
	border-top: 1px solid var(--border-color);
	padding-top: 10px;
}

/* Pagination */
.pagination-advanced {
	margin-top: 40px;
	display: flex;
	justify-content: center;
	gap: 10px;
}

.pagination-advanced .page-numbers {
	padding: 8px 16px;
	background: var(--bg-white);
	border: 1px solid var(--border-color);
	border-radius: 4px;
	color: var(--primary-color);
	font-weight: 600;
	transition: all var(--trans-fast);
}

.pagination-advanced .page-numbers.current,
.pagination-advanced .page-numbers:hover {
	background: var(--primary-color);
	color: var(--bg-white);
	border-color: var(--primary-color);
}

/* ==========================================================================
   User Dashboard
   ========================================================================== */
.page-dashboard {
	background-color: #f4f6f9;
	min-height: calc(100vh - 80px);
}

/* Login View */
.dashboard-login-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 80px);
	padding: 40px 20px;
}

.login-card {
	background: var(--bg-white);
	width: 100%;
	max-width: 450px;
	border-radius: 12px;
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}

.login-header {
	background: var(--primary-color);
	color: var(--bg-white);
	padding: 40px 30px;
	text-align: center;
}

.login-header h2 {
	color: var(--secondary-color);
	margin-bottom: 10px;
}

.login-body {
	padding: 40px 30px;
}

.login-body .login-username,
.login-body .login-password {
	margin-bottom: 20px;
}

.login-body label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--text-main);
}

.login-body input[type="text"],
.login-body input[type="password"] {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	font-size: 1rem;
	font-family: var(--font-primary);
	outline: none;
	transition: border-color var(--trans-fast);
}

.login-body input[type="text"]:focus,
.login-body input[type="password"]:focus {
	border-color: var(--primary-color);
}

.login-body .login-remember {
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.login-body .login-submit input {
	width: 100%;
	background: var(--secondary-color);
	color: var(--bg-white);
	border: none;
	padding: 15px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	transition: background var(--trans-fast);
}

.login-body .login-submit input:hover {
	background: var(--primary-color);
}

.login-footer {
	text-align: center;
	padding: 20px 30px;
	background: var(--bg-light);
	font-size: 0.9rem;
	color: var(--text-light);
}

/* Dashboard Layout */
.dashboard-layout {
	display: flex;
	max-width: 1400px;
	margin: 0 auto;
	padding: 40px 20px;
	gap: 30px;
}

/* Sidebar */
.dashboard-sidebar {
	flex: 0 0 280px;
	background: var(--bg-white);
	border-radius: 12px;
	box-shadow: var(--shadow-md);
	overflow: hidden;
	align-self: flex-start;
}

.sidebar-user-profile {
	padding: 30px 20px;
	text-align: center;
	border-bottom: 1px solid var(--border-color);
}

.user-avatar img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 15px;
	border: 3px solid var(--secondary-color);
}

.user-name {
	font-size: 1.2rem;
	margin-bottom: 5px;
}

.user-role-badge {
	display: inline-block;
	background: var(--bg-light);
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.user-role-badge.administrator { background: #d946ef; color: #fff; }
.user-role-badge.manager { background: #0b1c3e; color: #fff; }
.user-role-badge.agent { background: #3b82f6; color: #fff; }
.user-role-badge.property_owner { background: #10b981; color: #fff; }
.user-role-badge.subscriber { background: #6b7280; color: #fff; }

.sidebar-nav ul {
	list-style: none;
	padding: 15px 0;
}

.sidebar-nav a {
	display: block;
	padding: 12px 25px;
	color: var(--text-main);
	font-weight: 600;
	transition: all var(--trans-fast);
	border-left: 3px solid transparent;
}

.sidebar-nav li.active a,
.sidebar-nav a:hover {
	background: var(--bg-light);
	color: var(--primary-color);
	border-left-color: var(--secondary-color);
}

.logout-link {
	color: #ef4444 !important;
}

/* Main Content */
.dashboard-content {
	flex: 1;
}

.dashboard-header {
	margin-bottom: 30px;
}

.dashboard-header h1 {
	font-size: 2rem;
	margin-bottom: 5px;
}

.dashboard-widgets-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.widget-card {
	background: var(--bg-white);
	padding: 25px;
	border-radius: 12px;
	box-shadow: var(--shadow-sm);
}

.widget-card.full-width {
	grid-column: 1 / -1;
}

.widget-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.widget-header h3 {
	margin-bottom: 0;
}

.stats-card {
	text-align: center;
	transition: transform var(--trans-fast);
}

.stats-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-md);
}

.stats-card h3 {
	font-size: 1.1rem;
	color: var(--text-light);
}

.stat-number {
	font-size: 3rem;
	font-weight: 700;
	color: var(--primary-color);
	line-height: 1;
	margin: 15px 0;
	font-family: var(--font-heading);
}

/* Dashboard Tables */
.dashboard-table {
	width: 100%;
	border-collapse: collapse;
}

.dashboard-table th {
	text-align: left;
	padding: 15px 10px;
	border-bottom: 2px solid var(--border-color);
	color: var(--text-light);
	font-weight: 600;
}

.dashboard-table td {
	padding: 15px 10px;
	border-bottom: 1px solid var(--border-color);
	vertical-align: middle;
}

.dashboard-table tr:last-child td {
	border-bottom: none;
}

.status-pill {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 0.8rem;
	font-weight: 700;
}

.status-pill.active { background: #d1fae5; color: #065f46; }
.status-pill.pending { background: #fef3c7; color: #92400e; }
.status-pill.sold { background: #e0e7ff; color: #3730a3; }

/* ==========================================================================
   Single Property Page
   ========================================================================== */
.page-single-property {
	background-color: var(--bg-white);
}

.property-hero {
	position: relative;
	width: 100%;
	height: 60vh;
	min-height: 400px;
	background: var(--bg-light);
	overflow: hidden;
}

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

.property-hero-fallback {
	width: 100%;
	height: 100%;
	background: repeating-linear-gradient(45deg, #e5e5e5, #e5e5e5 10px, #ebebeb 10px, #ebebeb 20px);
}

.property-status-badge {
	position: absolute;
	bottom: 30px;
	left: 30px;
	padding: 8px 20px;
	font-size: 1.2rem;
	font-weight: 700;
	border-radius: 6px;
	background: var(--bg-white);
	box-shadow: var(--shadow-md);
	z-index: 10;
}

.property-status-badge.for-sale { background: #1e3a8a; color: #fff; }
.property-status-badge.for-rent { background: var(--secondary-color); color: #fff; }
.property-status-badge.sold { background: #e0e7ff; color: #3730a3; }
.property-status-badge.pending { background: #fef3c7; color: #92400e; }

.property-split-layout {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

.property-main-content {
	flex: 1;
}

.property-header {
	border-bottom: 2px solid var(--border-color);
	padding-bottom: 25px;
	margin-bottom: 30px;
}

.property-title {
	font-size: 2.5rem;
	margin-bottom: 10px;
	color: var(--primary-color);
}

.property-price {
	font-size: 2rem;
	font-weight: 700;
	color: var(--text-main);
	margin-bottom: 20px;
}

.property-key-metrics {
	list-style: none;
	display: flex;
	gap: 30px;
	margin: 0;
	padding: 0;
}

.property-key-metrics li {
	display: flex;
	flex-direction: column;
	border-left: 3px solid var(--secondary-color);
	padding-left: 15px;
}

.property-key-metrics .value {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary-color);
	line-height: 1.2;
}

.property-key-metrics .label {
	font-size: 0.9rem;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.property-description,
.property-features {
	margin-bottom: 40px;
}

.property-description h2,
.property-features h2 {
	font-size: 1.5rem;
	margin-bottom: 20px;
	color: var(--primary-color);
}

.features-list {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 15px;
}

.features-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text-main);
}

.features-list svg {
	color: var(--secondary-color);
}

.property-sidebar {
	flex: 0 0 350px;
	position: sticky;
	top: 100px;
}

.contact-agent-card {
	background: var(--bg-white);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 30px;
	box-shadow: var(--shadow-md);
}

.contact-agent-card h3 {
	font-size: 1.3rem;
	margin-bottom: 10px;
	color: var(--primary-color);
}

.contact-agent-card p {
	font-size: 0.95rem;
	color: var(--text-light);
	margin-bottom: 25px;
}

.agent-profile {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 25px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--border-color);
}

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

.agent-info h4 {
	margin: 0 0 5px 0;
	font-size: 1.1rem;
}

.agent-info p {
	margin: 0;
	font-size: 0.85rem;
	color: var(--secondary-color);
}

.agent-contact-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.agent-contact-form input,
.agent-contact-form textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	font-family: var(--font-primary);
	font-size: 0.95rem;
	outline: none;
}

.agent-contact-form input:focus,
.agent-contact-form textarea:focus {
	border-color: var(--primary-color);
}

.agent-contact-form button {
	width: 100%;
	padding: 15px;
	font-size: 1.1rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
	.about-grid {
		grid-template-columns: 1fr;
	}
	
	.experience-badge {
		bottom: 20px;
		right: 20px;
	}
	
	.ceo-profile-card {
		flex-direction: column;
		margin-top: 20px;
	}
	
	.ceo-image {
		flex: none;
		height: 300px;
	}
	.page-properties-advanced {
		height: auto;
	}
	
	.properties-split-container {
		flex-direction: column;
	}
	
	.properties-list-col {
		flex: none;
		overflow-y: visible;
	}
	
	.properties-map-col {
		flex: none;
		height: 400px;
		border-left: none;
		border-top: 1px solid var(--border-color);
	}
	
	.dashboard-layout {
		flex-direction: column;
	}
	
	.dashboard-sidebar {
		flex: none;
		width: 100%;
	}
	
	.property-split-layout {
		flex-direction: column;
	}
	
	.property-sidebar {
		flex: none;
		width: 100%;
		position: static;
	}
}

@media (max-width: 768px) {
	.main-navigation ul {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background: var(--bg-white);
		padding: 20px;
		box-shadow: var(--shadow-md);
	}
	
	.main-navigation ul.toggled {
		display: flex;
	}
	
	.menu-toggle {
		display: block;
	}
	
	.hero-title {
		font-size: 2.5rem;
	}
	
	.search-input-group {
		flex-direction: column;
		gap: 10px;
		background: transparent;
		border: none;
	}
	
	.search-field {
		background: var(--bg-light);
		border-radius: 8px;
		border: 1px solid var(--border-color);
	}
	
	.search-submit {
		padding: 15px;
	}
	
	.hero-search-box {
		padding: 15px;
	}
}

@media (max-width: 576px) {
	.hero-title {
		font-size: 2rem;
	}
	
	.hero-subtitle {
		font-size: 1rem;
		margin-bottom: 20px;
	}
	
	.hero-content {
		padding: 20px;
	}
	
	.section-title {
		font-size: 2rem;
	}
	
	.properties-grid {
		grid-template-columns: 1fr;
	}
	
	.property-image {
		height: 200px;
	}
	
	.ceo-hero .page-title {
		font-size: 2.2rem;
	}
	
	.ceo-content-wrapper {
		padding: 30px 15px;
	}
	
	.ceo-info {
		padding: 25px;
	}
	
	.about-us-section {
		padding: 50px 0;
	}
	
	.footer-widgets {
		grid-template-columns: 1fr;
		text-align: center;
	}
	
	.widget-title::after {
		left: 50%;
		transform: translateX(-50%);
	}
	
	.experience-badge {
		width: 90px;
		height: 90px;
		bottom: 10px;
		right: 10px;
	}
	
	.experience-badge .years {
		font-size: 1.5rem;
	}
	
	.experience-badge .text {
		font-size: 0.7rem;
	}
}

/* ==========================================================================
   PRESENTATION REAL ESTATE CARD LAYOUT
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

.presentation-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.08);
  margin-bottom: 40px;
  border: 1px solid #e2e8f0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.presentation-card-body {
  display: flex;
  gap: 36px;
  align-items: stretch;
}

/* Left Column: Hero Image */
.presentation-left-col {
  flex: 0 0 42%;
  max-width: 42%;
  display: flex;
}

.presentation-hero-image-wrap {
  width: 100%;
  height: 100%;
  min-height: 520px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.presentation-hero-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.presentation-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.presentation-hero-link:hover .presentation-hero-img {
  transform: scale(1.03);
}

.presentation-zoom-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
}

.presentation-hero-link:hover .presentation-zoom-badge {
  background: #0284c7;
  transform: scale(1.1);
}

/* Right Column */
.presentation-right-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Make thumb grid grow to fill available height between title and banner */


/* Main Title */
.presentation-main-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.15;
  color: #111827;
  margin: 0 0 24px 0;
  letter-spacing: -0.5px;
}

/* 3-Thumbnail Grid */
.presentation-thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 20px;
  align-items: stretch;
  flex: 1;
}

.presentation-thumb-item {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.presentation-thumb-img-wrap {
  width: 100%;
  flex: 1;
  min-height: 150px;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  position: relative;
}

.presentation-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  position: absolute;
  inset: 0;
}

.presentation-thumb-item:hover .presentation-thumb-img {
  transform: scale(1.06);
}

.presentation-thumb-caption {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  font-size: 18px;
  color: #111827;
  margin: 0 0 6px 0;
  flex-shrink: 0;
}

.presentation-thumb-desc {
  font-size: 13px;
  line-height: 1.45;
  color: #64748b;
  margin: 0;
  flex-shrink: 0;
}

/* Divider */
.presentation-divider {
  height: 2px;
  background: linear-gradient(90deg, #93c5fd 0%, #cbd5e1 50%, transparent 100%);
  margin: 20px 0 24px 0;
  width: 100%;
  border: none;
}

/* Banner Row */
.presentation-banner-row {
  display: flex;
  gap: 18px;
  align-items: stretch;
}

/* Dark Blue Price Box */
.presentation-price-box {
  flex: 1.2;
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 50%, #0f172a 100%);
  border-radius: 24px;
  padding: 24px 28px;
  color: #ffffff;
  box-shadow: 0 12px 30px -5px rgba(29, 78, 216, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.presentation-price-subtitle {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-style: italic;
  font-size: 20px;
  color: #bfdbfe;
  display: block;
}

.presentation-price-amount {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 1.1;
  color: #ffffff;
  margin-top: 4px;
  letter-spacing: -0.5px;
}

/* CTA Highlight Box */
.presentation-cta-box {
  flex: 0.9;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e293b 100%);
  border-radius: 24px;
  padding: 20px 22px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(30, 58, 138, 0.3);
}

.presentation-cta-text {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.5;
  color: #f1f5f9;
  margin: 0;
}

/* Bottom Contact Bar */
.presentation-contact-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 20px;
}

.presentation-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.presentation-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 18px;
  transition: all 0.3s ease;
}

.presentation-contact-item:hover .presentation-contact-icon {
  border-color: #1d4ed8;
  color: #1d4ed8;
  background: #eff6ff;
}

.presentation-contact-text {
  font-weight: 700;
  color: #0f172a;
  font-size: 15px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .presentation-card-body {
    flex-direction: column;
  }
  .presentation-left-col {
    max-width: 100%;
    flex: 0 0 100%;
  }
  .presentation-hero-image-wrap {
    min-height: 380px;
  }
  .presentation-banner-row {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .presentation-thumb-grid {
    grid-template-columns: 1fr;
  }
  .presentation-contact-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   FULL PROPERTY IMAGE GALLERY WITH CAPTIONS
   ========================================================================== */
.property-full-gallery {
  margin: 40px 0;
}

.gallery-section-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
  position: relative;
}

.gallery-section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #1d4ed8, #60a5fa);
}

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

.property-gallery-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.07);
  border: 1px solid #f1f5f9;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.property-gallery-figure:hover {
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.14);
  transform: translateY(-4px);
}

.gallery-img-link {
  display: block;
  text-decoration: none;
}

.gallery-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.property-gallery-figure:hover .gallery-img-wrap img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  color: #ffffff;
}

.property-gallery-figure:hover .gallery-overlay {
  background: rgba(15, 23, 42, 0.45);
}

.gallery-overlay svg {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.property-gallery-figure:hover .gallery-overlay svg {
  opacity: 1;
  transform: scale(1);
}

.gallery-caption {
  padding: 14px 18px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  text-align: center;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

@media (max-width: 640px) {
  .property-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .gallery-img-wrap {
    height: 150px;
  }
}

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