/* ═══════════════════════════════════════════════
   global.css — Site-wide Styles
   All colors reference color-palette.css variables.
   Footer styles live in footer.css.
   ═══════════════════════════════════════════════ */

/* ── Base Reset ── */
body {
	font-family: 'Plus Jakarta Sans', sans-serif;
	background-color: var(--bg);
	color: var(--text);
	transition: background-color 0.3s ease, color 0.3s ease;
}

ul {
	list-style: none;
	padding: 0;
}

p {
	color: var(--text);
}

h1,
h2,
h3,
h4,
h5 {
	font-weight: bold;
	color: var(--heading-color);
}

a {
	color: var(--text);
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: none;
	color: var(--primary);
}

/* ── Buttons ── */
.button {
	background: var(--primary) !important;
	color: #fff !important;
	display: inline-block;
	transition: var(--transition);
	padding: 16px 35px;
	font-weight: bold;
	border-radius: var(--radius-sm);
}

.button:hover {
	background: var(--surface-alt) !important;
	color: var(--text) !important;
}

.button_1 {
	background: var(--bg) !important;
	color: var(--text);
	display: inline-block;
	transition: var(--transition);
	padding: 16px 35px;
	font-weight: bold;
	border-radius: var(--radius-sm);
}

.button_1:hover {
	background: var(--primary) !important;
	color: #fff !important;
}

.button_2 {
	background: var(--primary) !important;
	color: #fff !important;
	display: inline-block;
	transition: var(--transition);
	padding: 16px 35px;
	font-weight: bold;
	border-radius: var(--radius-sm);
}

.button_2:hover {
	background: var(--accent) !important;
	color: #fff !important;
}

/* ── Image Hover Effects ── */
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	width: 100%;
	text-align: center;
	cursor: pointer;
}

figure.effect-jazz figcaption::after,
figure.effect-jazz img {
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect-jazz:hover img {
	transform: scale3d(1.05, 1.05, 1);
}

/* ── Logo ── */
.logo_position_rel {
	position: relative;
}

.logo_position_abs {
	position: absolute;
	top: -12px;
	font-size: 30px;
}

/* ── Color Utilities ── */
.col_blue {
	color: var(--primary) !important;
}

.col_red {
	color: var(--info-color) !important;
}

/* ── Background Utilities ── */
.bg_blue {
	background: var(--dark) !important;
}

.bg_blue_light {
	background: var(--bg-subtle) !important;
}

.bg_blight {
	background: var(--primary) !important;
}

.bg_back {
	background-color: rgba(0, 0, 0, 0.7);
}

.bg_backo {
	background-color: rgba(0, 0, 0, 0.4);
}

.bg_dark {
	background-color: var(--dark-bg);
}

.bg-light {
	--bs-bg-opacity: 1;
	background-color: var(--bg-warm) !important;
}

.bg-white {
	background-color: var(--surface) !important;
}

/* ── Spacing & Sizing Utilities ── */
hr {
	opacity: 1;
	background-color: var(--border);
}

.font_8 {
	font-size: 8px;
}

.font_10 {
	font-size: 10px;
}

.font_12 {
	font-size: 12px;
}

.font_14 {
	font-size: 14px;
}

.font_50 {
	font-size: 50px;
}

.font_60 {
	font-size: 60px;
}

.line {
	height: 4px !important;
	width: 70px;
	background-color: var(--accent);
}

.p_3 {
	padding-top: 30px;
	padding-bottom: 30px;
}

.border_1 {
	border: 1px solid var(--border-card);
}

.rounded_10 {
	border-radius: var(--radius-sm) !important;
}

.shadow_box {
	box-shadow: var(--shadow-dropdown);
}

/* ── Carousel ── */
.carousel_p .carousel-indicators {
	bottom: -60px !important;
}

.carousel_p {
	padding-bottom: 70px !important;
}

.carousel-indicators [data-bs-target] {
	background-color: var(--primary);
}

/* ═══════════════════════════════════════════
   HEADER / NAVBAR
   ═══════════════════════════════════════════ */
.nav_hide:after {
	display: none;
}

#header .navbar-brand {
	font-size: 20px;
	text-transform: uppercase;
	margin-right: 0;
}

.navbar-collapse {
	align-items: start;
}

#header .nav-link {
	padding: 15px 22px;
	color: var(--text-secondary);
	font-size: 14px;
	font-weight: bold;
}

#header .nav-link:hover,
#header .nav-link:focus,
#header .active {
	background: none;
	color: var(--primary);
}

.drop_1 {
	min-width: 220px;
	padding: 0;
	border-radius: 0;
	margin-top: 8px !important;
	border: none;
	background: var(--surface);
	box-shadow: var(--shadow-dropdown);
}

.drop_1 a {
	padding-top: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--border);
	color: var(--text-secondary);
	font-size: 14px;
	font-weight: bold;
}

.drop_1 a:hover {
	background: none;
	color: var(--primary);
}

.drop_2 {
	min-width: 300px;
	padding: 10px;
	border-radius: 0;
	margin-top: 9px !important;
	border: none;
	box-shadow: var(--shadow-dropdown);
	right: 0 !important;
	left: auto !important;
}

.sticky {
	position: fixed;
	top: -40px;
	width: 100% !important;
	z-index: 3;
	background-color: var(--surface);
	transform: translateY(40px);
	transition: transform .3s;
}

.nav_left {
	margin-left: auto;
}

/* ═══════════════════════════════════════════
   COMMON / SHARED COMPONENTS
   ═══════════════════════════════════════════ */

/* Pagination */
.pages ul li {
	display: inline-block;
}

.pages ul li a {
	display: block;
	color: var(--text);
	margin: 0 2px;
	width: 40px;
	height: 40px;
	line-height: 38px;
	text-align: center;
	border: 1px solid var(--border);
	background: var(--surface);
}

.pages ul li a:hover {
	background: var(--primary);
	border: 1px solid var(--primary);
	color: #fff !important;
}

.act {
	background: var(--primary) !important;
	border: 1px solid var(--primary) !important;
	color: #fff !important;
}

/* Forms */
.form-control:focus,
.form-select:focus {
	box-shadow: none;
	border-color: var(--border);
}

.form-control {
	border-color: var(--border);
	box-shadow: none;
	border-radius: 0;
	height: 52px;
	font-size: 15px;
	background-color: var(--bg-input) !important;
}

.form-select {
	border-color: var(--border);
	box-shadow: none;
	border-radius: 0;
	height: 52px;
	color: var(--text-muted);
	font-size: 15px;
	background-color: var(--bg-input) !important;
}

.input-group .form-control {
	height: auto;
}

.input-group .form-control:focus {
	box-shadow: none;
}

.form-check .form-check-input:checked {
	background-color: var(--primary);
	border-color: var(--primary);
}

.form_text {
	height: 150px !important;
}

/* Property Detail Cards */
.disc_1i2ir span {
	width: 60px;
	height: 60px;
	line-height: 60px;
}

.disc_1i2 {
	bottom: -45px;
	background: var(--surface);
	border: 1px solid var(--border-soft);
	width: 90%;
	left: 5%;
}

.detail_1r2 .tags a {
	display: block;
	background: var(--bg);
	color: var(--primary);
	width: 40px;
	height: 40px;
	line-height: 40px;
	border-radius: 50%;
	text-align: center;
	margin-left: 2px;
	margin-right: 2px;
	transition: var(--transition);
}

.detail_1r2 ul li a:hover {
	background: var(--primary);
	color: #fff;
}

.detail_1l4i1l img {
	width: 50px;
	height: 50px;
}

/* Blog Sidebar Tags */
.blog_1r1 .tags a {
	border: 1px solid var(--border);
	color: var(--text);
	font-size: 14px;
	margin: 0 2px 6px 0;
	padding: 8px 16px;
	transition: var(--transition);
	display: block;
}

.blog_1r1 .tags a:hover {
	background: var(--primary);
	color: #fff;
	border: 1px solid var(--primary);
}

/* Blog post meta */
.blog_1i1l img {
	width: 50px;
	height: 50px;
}

.blog_1i1r span a {
	width: 60px;
	height: 60px;
	line-height: 60px;
}

/* CTA / Hero Overlay */
.center_om {
	padding-top: 140px;
	padding-bottom: 140px;
}

.center_o1 {
	width: 36%;
	background-color: rgba(var(--dark-rgb), 0.73);
	padding: 20px;
}

.list_1i .bg_back {
	background-color: rgba(0, 0, 0, 0.4);
}

/* ═══════════════════════════════════════════
   SUBSCRIPTIONS / TABS
   ═══════════════════════════════════════════ */
.subs_1r .nav-tabs .nav-link {
	padding: 12px 40px;
	color: var(--text);
	border: none;
	background: var(--bg-subtle);
	font-weight: bold;
}

.subs_1r .nav-tabs .nav-link:hover,
.subs_1r .nav-tabs .nav-link.active {
	border: none;
	color: #fff;
	background: var(--primary);
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */
.testim_1i1 {
	border: 5px solid transparent;
	transition: var(--transition);
}

.testim_1i1:hover {
	border: 5px solid var(--warning);
}

#testim .carousel-indicators [data-bs-target] {
	background-color: var(--surface);
}

/* ═══════════════════════════════════════════
   SALE / LISTING CARDS
   ═══════════════════════════════════════════ */
.sale_1m1i1ir span a {
	width: 35px;
	height: 35px;
	line-height: 35px;
}

.sale_1m2 {
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.sale_1m1i1 {
	background-color: rgba(0, 0, 0, 0.3);
	height: 100%;
}

/* ═══════════════════════════════════════════
   PRICING PLANS
   ═══════════════════════════════════════════ */
.plan_red {
	text-align: center;
	font-size: 30px;
	color: var(--accent);
}

.plan_blue {
	text-align: center;
	font-size: 30px;
	color: var(--primary);
}

.plan_orange {
	text-align: center;
	font-size: 30px;
	color: var(--info-color);
}

.plan_green {
	text-align: center;
	font-size: 30px;
	color: var(--success);
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Mobile (max 767px)
   ═══════════════════════════════════════════ */
@media screen and (max-width: 767px) {
	.center_o1 {
		width: 60%;
	}

	.navbar-collapse {
		max-height: 300px;
		overflow-y: scroll;
		border-top: 1px solid var(--border);
		margin-top: 15px;
	}

	#header .nav-link {
		font-size: 26px !important;
		border-bottom: 1px solid var(--border);
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.navbar .navbar-toggler {
		box-shadow: none !important;
		background: var(--surface-alt);
		border: none;
		border-radius: 0;
		margin-top: 0;
	}

	.drop_1 {
		margin-top: 0 !important;
		min-width: 100%;
	}

	.drop_1 a {
		font-size: 22px;
		padding-left: 30px;
		padding-right: 30px;
	}

	.navbar {
		padding-top: 10px !important;
		padding-bottom: 10px !important;
	}

	.sticky .drop_1 {
		margin-top: 0 !important;
	}

	.line {
		margin-left: auto;
		margin-right: auto;
	}

	.drop_2 {
		margin-top: 0 !important;
		min-width: 100%;
	}

	.pages ul li {
		margin-top: 5px;
		margin-bottom: 5px;
	}

	#header .button {
		margin-left: 0 !important;
		margin-right: 0 !important;
		margin-top: 10px;
		margin-bottom: 10px;
	}

}

/* ═══════════════════════════════════════════
   RESPONSIVE — Tablet (768px – 991px)
   ═══════════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 991px) {
	.navbar-expand-md {
		flex-wrap: wrap !important;
	}

	#header .nav-link {
		padding: 15px 13px;
		font-size: 11px;
	}

	#header .navbar-brand {
		font-size: 16px;
	}

	.sale_1m1i2l h5 {
		margin-top: 0 !important;
	}

	.sale_1m2 {
		padding: 10px !important;
	}

	.sale_1m2 h6 {
		font-size: 10px;
	}

	.sale_1m2 ul {
		font-size: 13px;
		padding: 10px !important;
	}

	.sale_1m2 ul li {
		margin-left: 2px !important;
		margin-right: 2px !important;
	}

	.spec_1i h6 {
		font-size: 12px;
	}

	.disc_1i2ir span {
		width: 35px;
		height: 35px;
		line-height: 35px;
		font-size: 16px !important;
	}

	.disc_1i2il h4 {
		font-size: 14px;
		margin-top: 10px !important;
	}

	.subs_1r .nav-tabs .nav-link {
		padding: 12px 20px;
	}

	.blog_1i1r span a {
		width: 35px;
		height: 35px;
		line-height: 35px;
		font-size: 16px !important;
	}

	.blog_1i1l h6 span {
		font-size: 12px;
	}
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Narrow Tablet (871px – 991px)
   ═══════════════════════════════════════════ */
@media (min-width: 871px) and (max-width: 991px) {
	#header .nav-link {
		padding: 15px 18px;
	}
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Small Desktop (992px – 1200px)
   ═══════════════════════════════════════════ */
@media (min-width: 992px) and (max-width: 1200px) {
	.navbar-expand-md {
		flex-wrap: wrap !important;
	}

	#header .nav-link {
		padding: 15px 15px;
	}

	.sale_1m2 {
		padding: 10px !important;
	}

	.sale_1m2 h6 {
		font-size: 12px;
	}

	.sale_1m2 ul {
		font-size: 13px;
		padding: 10px !important;
	}

	.sale_1m2 ul li {
		margin-left: 2px !important;
		margin-right: 2px !important;
	}

	.spec_1i h6 {
		font-size: 12px;
	}

	.disc_1i2ir span {
		width: 40px;
		height: 40px;
		line-height: 40px;
		font-size: 16px !important;
	}

	.disc_1i2il h4 {
		font-size: 16px;
		margin-top: 10px !important;
	}

	.blog_1i1r span a {
		width: 40px;
		height: 40px;
		line-height: 40px;
		font-size: 16px !important;
	}
}

/* ── Editor Content: Image Wrapping & Table Styles ── */
.img-wrap-left {
	float: left;
	margin: 0 1.25rem 1rem 0;
	max-width: 50%;
	height: auto;
}

.img-wrap-right {
	float: right;
	margin: 0 0 1rem 1.25rem;
	max-width: 50%;
	height: auto;
}

.img-centered {
	display: block;
	margin: 1rem auto;
	max-width: 100%;
	height: auto;
}

.img-full-width {
	display: block;
	width: 100%;
	height: auto;
	margin: 1rem 0;
}

/* Editor tables on frontend */
.prop-description table,
.bd-article table,
.pg-article table,
[id$="Article"] table {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0;
}

.prop-description table th,
.prop-description table td,
.bd-article table th,
.bd-article table td,
.pg-article table th,
.pg-article table td,
[id$="Article"] table th,
[id$="Article"] table td {
	border: 1px solid var(--border);
	padding: 0.5rem 0.75rem;
	text-align: left;
}

.prop-description table th,
.bd-article table th,
.pg-article table th,
[id$="Article"] table th {
	background: var(--bg-subtle);
	font-weight: 600;
}

/* Clearfix for floated images and videos */
.prop-description::after,
.bd-article::after,
.pg-article::after,
[id$="Article"]::after {
	content: '';
	display: table;
	clear: both;
}

/* ── Video Responsive Embed ── */
.video-responsive {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: 8px;
	margin: 1rem 0;
	background: #000;
}

.video-responsive iframe,
.video-responsive video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.video-wrap-left {
	float: left;
	width: 48%;
	margin: 0 1.25rem 1rem 0;
}

.video-wrap-right {
	float: right;
	width: 48%;
	margin: 0 0 1rem 1.25rem;
}

/* ── Editor Template Styles ── */
.editor-callout {
	background: var(--bg-subtle, #f0f7ff);
	border-left: 4px solid var(--primary, #3b82f6);
	padding: 1rem 1.25rem;
	border-radius: 0 8px 8px 0;
	margin: 1rem 0;
}

.editor-highlight {
	background: var(--gradient-brand, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
	color: #fff;
	padding: 2rem;
	border-radius: 12px;
	text-align: center;
	margin: 1.5rem 0;
}

.editor-highlight h2,
.editor-highlight h3,
.editor-highlight p {
	color: #fff;
}

.editor-highlight a {
	display: inline-block;
	background: #fff;
	color: #764ba2;
	padding: 10px 28px;
	border-radius: 30px;
	text-decoration: none;
	font-weight: 600;
	transition: transform 0.2s;
}

.editor-highlight a:hover {
	transform: scale(1.05);
}

/* ── Blockquotes ── */
.prop-description blockquote,
.bd-article blockquote,
.pg-article blockquote,
[id$="Article"] blockquote {
	border-left: 4px solid var(--primary, #6366f1);
	margin: 1rem 0;
	padding: 0.75rem 1.25rem;
	background: var(--bg-subtle, #f9fafb);
	font-style: italic;
	border-radius: 0 8px 8px 0;
}

/* ── Code Samples ── */
.prop-description pre,
.bd-article pre,
.pg-article pre,
[id$="Article"] pre {
	background: var(--surface, #1e1e2e);
	color: #e2e8f0;
	padding: 1rem 1.25rem;
	border-radius: 8px;
	overflow-x: auto;
	font-family: 'Courier New', monospace;
	font-size: 13px;
	line-height: 1.6;
	margin: 1rem 0;
}

/* ── Mobile: unstack floated elements ── */
@media (max-width: 768px) {

	.img-wrap-left,
	.img-wrap-right,
	.video-wrap-left,
	.video-wrap-right {
		float: none;
		width: 100%;
		max-width: 100%;
		margin: 1rem 0;
	}
}