/* GreenMagic 2026 site-wide modernization layer.
   Loaded last to unify the older template, light-mode, and product styles. */

:root {
	--gm-ink: #0e121d;
	--gm-ink-soft: #273142;
	--gm-muted: #64748b;
	--gm-line: rgba(14, 18, 29, 0.09);
	--gm-lime: #ddf27c;
	--gm-lime-soft: rgba(221, 242, 124, 0.28);
	--gm-mint: #eef8f0;
	--gm-sky: #dff5ff;
	--gm-surface: #ffffff;
	--gm-surface-2: #f7faf6;
	--gm-shadow-sm: 0 10px 30px rgba(14, 18, 29, 0.06);
	--gm-shadow-md: 0 24px 70px rgba(14, 18, 29, 0.1);
	--gm-radius: 28px;
	--gm-radius-sm: 18px;
	--gm-radius-xs: 10px;
	--gm-section: clamp(72px, 8vw, 118px);
	--primary-color: var(--gm-ink);
	--accent-color: var(--gm-lime);
	--brand-color: var(--gm-lime);
	--secondary-bg: var(--gm-mint);
	--text-main: var(--gm-ink);
	--text-body: var(--gm-ink-soft);
	--text-muted: var(--gm-muted);
	--round-card: var(--gm-radius);
	--round-btn: 999px;
	--section-padding: var(--gm-section);
}

html {
	scroll-behavior: smooth;
}

body {
	background:
		linear-gradient(180deg, rgba(238, 248, 240, 0.55), rgba(255, 255, 255, 0) 460px),
		var(--gm-surface) !important;
	color: var(--gm-ink-soft) !important;
	font-family: "DM Sans", "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	letter-spacing: 0 !important;
	overflow-x: hidden;
}

body::before,
body::after {
	display: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--gm-ink) !important;
	font-family: "Anek Latin", "Rajdhani", system-ui, sans-serif !important;
	letter-spacing: 0 !important;
}

p,
li {
	color: inherit;
}

a,
button,
select,
.btn-default,
.product-btn,
.navbar-toggle {
	cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn-default:focus-visible,
.product-btn:focus-visible {
	outline: 3px solid rgba(221, 242, 124, 0.9) !important;
	outline-offset: 3px;
}

.container {
	max-width: 1240px !important;
}

.topbar {
	background: transparent !important;
	padding: 12px 0 0 !important;
	position: relative;
	z-index: 10001;
}

.topbar-contact-info ul {
	align-items: center;
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 0;
}

.topbar-contact-info ul li,
.header-social-links ul li {
	list-style: none;
}

.topbar-contact-info a,
.header-social-links a {
	align-items: center;
	background: rgba(255, 255, 255, 0.74);
	border: 1px solid var(--gm-line);
	border-radius: 999px;
	color: var(--gm-ink) !important;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	gap: 8px;
	min-height: 40px;
	padding: 8px 15px;
	box-shadow: var(--gm-shadow-sm);
}

.topbar-contact-info i,
.header-social-links i {
	color: var(--gm-ink) !important;
}

header.main-header {
	background: transparent !important;
	margin: 0 auto !important;
	max-width: 1280px !important;
	padding: 0 15px !important;
	position: sticky !important;
	top: 12px !important;
	z-index: 10000 !important;
}

header.main-header .header-sticky {
	background: rgba(255, 255, 255, 0.86) !important;
	border: 1px solid var(--gm-line) !important;
	border-radius: 999px !important;
	box-shadow: 0 18px 60px rgba(14, 18, 29, 0.1) !important;
	margin: 0 auto !important;
	overflow: visible !important;
	padding: 10px 22px !important;
	-webkit-backdrop-filter: blur(20px) saturate(160%) !important;
	backdrop-filter: blur(20px) saturate(160%) !important;
	width: 100% !important;
}

header.main-header .header-sticky.active {
	background: rgba(255, 255, 255, 0.95) !important;
	border-radius: 0 0 28px 28px !important;
	box-shadow: 0 18px 50px rgba(14, 18, 29, 0.12) !important;
	margin: 0 auto !important;
	padding: 10px 22px !important;
}

.navbar {
	min-height: 64px;
	padding: 0 !important;
}

.navbar-brand img {
	filter: none !important;
	height: auto !important;
	max-height: 52px !important;
	max-width: 158px !important;
	width: auto !important;
}

#menu {
	margin-right: 0 !important;
}

.main-menu ul li {
	padding: 0 4px !important;
}

.main-menu ul li a {
	border-radius: 999px;
	color: var(--gm-ink) !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	letter-spacing: 0.08em !important;
	min-height: 44px;
	padding: 13px 16px !important;
	text-transform: uppercase !important;
	transition: background-color 220ms ease, color 220ms ease, transform 220ms ease !important;
}

.main-menu ul li a::after,
.main-menu ul li.active a::before {
	display: none !important;
}

.main-menu ul li a:hover {
	background: var(--gm-lime-soft) !important;
	color: var(--gm-ink) !important;
	text-shadow: none !important;
	transform: translateY(-1px);
}

.hero,
.page-header {
	background:
		linear-gradient(90deg, rgba(14, 18, 29, 0.72), rgba(14, 18, 29, 0.38)),
		url("../images/home/index.jpg") center/cover no-repeat !important;
	border-radius: 0 0 clamp(34px, 6vw, 72px) clamp(34px, 6vw, 72px) !important;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.16);
	display: flex !important;
	margin-top: -128px !important;
	min-height: min(780px, 92vh) !important;
	overflow: hidden;
	padding: 180px 0 96px !important;
	position: relative !important;
}

.page-header {
	min-height: clamp(390px, 52vh, 560px) !important;
	padding: 170px 0 72px !important;
}

.hero::before,
.page-header::before {
	background:
		linear-gradient(135deg, rgba(221, 242, 124, 0.34), transparent 32%),
		linear-gradient(315deg, rgba(223, 245, 255, 0.2), transparent 34%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.hero .container,
.page-header .container {
	position: relative;
	z-index: 2;
}

.hero-content,
.page-header-box {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	max-width: 760px;
	padding: 0 !important;
}

.hero-content::before {
	display: none !important;
}

.hero-content h1,
.page-header-box h1 {
	color: #fff !important;
	font-size: clamp(46px, 8vw, 92px) !important;
	font-weight: 850 !important;
	letter-spacing: 0 !important;
	line-height: 0.98 !important;
	margin-bottom: 26px !important;
	max-width: 880px;
	text-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
	-webkit-text-fill-color: #fff !important;
}

.text-anime .word {
	margin-right: 0.18em;
}

.text-anime .word:last-child {
	margin-right: 0;
}

.text-anime .char {
	opacity: 1 !important;
	transform: none !important;
	visibility: visible !important;
}

.hero-content h1 span,
.page-header-box h1 span {
	color: var(--gm-lime) !important;
	display: inline !important;
	margin-left: 0.12em;
	-webkit-text-fill-color: var(--gm-lime) !important;
}

.hero-content p {
	color: rgba(255, 255, 255, 0.86) !important;
	font-size: clamp(17px, 1.5vw, 21px) !important;
	line-height: 1.7 !important;
	margin: 0 0 36px !important;
	max-width: 660px;
	text-shadow: none !important;
}

.hero-content-footer {
	align-items: center;
	display: flex !important;
	flex-wrap: wrap;
	gap: 14px !important;
}

.btn-default,
.product-btn,
button[type="submit"],
.submit-btn {
	align-items: center;
	background: var(--gm-lime) !important;
	border: 1px solid rgba(14, 18, 29, 0.05) !important;
	border-radius: 999px !important;
	box-shadow: 0 16px 34px rgba(14, 18, 29, 0.12) !important;
	color: var(--gm-ink) !important;
	display: inline-flex;
	font-size: 14px !important;
	font-weight: 850 !important;
	justify-content: center;
	letter-spacing: 0.06em !important;
	min-height: 48px;
	padding: 15px 26px !important;
	text-transform: uppercase !important;
	transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease, color 220ms ease !important;
}

.btn-default::after {
	display: none !important;
}

.btn-default:hover,
.product-btn:hover,
button[type="submit"]:hover,
.submit-btn:hover {
	background: var(--gm-ink) !important;
	box-shadow: 0 18px 40px rgba(14, 18, 29, 0.22) !important;
	color: #fff !important;
	transform: translateY(-2px) !important;
}

.btn-default.btn-border {
	background: rgba(255, 255, 255, 0.12) !important;
	border: 1px solid rgba(255, 255, 255, 0.46) !important;
	color: #fff !important;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.btn-default.btn-border:hover {
	background: #fff !important;
	color: var(--gm-ink) !important;
}

.about-us,
.our-services,
.why-choose-us,
.our-process,
.latest-projects,
.stat-counter,
.testimonials,
.page-services,
.our-projects,
.page-project-single,
.contact-information,
.google-map-form,
.page-404 {
	padding: var(--gm-section) 0 !important;
	position: relative;
	z-index: 1;
}

.our-services,
.why-choose-us,
.our-projects,
.contact-information {
	background:
		linear-gradient(180deg, rgba(238, 248, 240, 0.72), rgba(255, 255, 255, 0.9)),
		var(--gm-surface-2) !important;
}

.section-title {
	margin-bottom: clamp(32px, 5vw, 64px) !important;
}

.section-title h3,
.page-header-box h3,
.spec-kicker {
	align-items: center;
	background: rgba(221, 242, 124, 0.22) !important;
	border: 1px solid rgba(14, 18, 29, 0.08) !important;
	border-radius: 999px !important;
	color: var(--gm-ink) !important;
	display: inline-flex !important;
	font-size: 12px !important;
	font-weight: 850 !important;
	gap: 10px;
	letter-spacing: 0.12em !important;
	line-height: 1;
	margin-bottom: 18px !important;
	padding: 10px 16px !important;
	text-transform: uppercase !important;
	-webkit-text-fill-color: var(--gm-ink) !important;
}

.page-header-box h3 {
	background: rgba(255, 255, 255, 0.12) !important;
	border-color: rgba(255, 255, 255, 0.22) !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}

.section-title h3::before,
.page-header-box h3::before,
.spec-kicker::before {
	background: var(--gm-lime);
	border-radius: 50%;
	box-shadow: 0 0 16px rgba(221, 242, 124, 0.8);
	content: "";
	display: block;
	height: 8px;
	width: 8px;
}

.section-title h2 {
	color: var(--gm-ink) !important;
	font-size: clamp(34px, 5vw, 58px) !important;
	font-weight: 850 !important;
	letter-spacing: 0 !important;
	line-height: 1.06 !important;
	margin: 0;
	overflow-wrap: anywhere;
	-webkit-text-fill-color: var(--gm-ink) !important;
}

.about-image img,
.service-image img,
.project-image img,
.product-slide-image {
	border-radius: var(--gm-radius) !important;
}

.about-img-1,
.about-img-2 {
	left: auto !important;
	top: auto !important;
}

.about-content,
.contact-form-container,
.about-project-box,
.product-specs-shell,
.review-item,
.project-content,
.page-not-found-box {
	background: rgba(255, 255, 255, 0.86) !important;
	border: 1px solid var(--gm-line) !important;
	border-radius: var(--gm-radius) !important;
	box-shadow: var(--gm-shadow-sm) !important;
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

.about-content {
	padding: clamp(24px, 4vw, 40px) !important;
}

.about-content p,
.project-content p {
	color: var(--gm-ink-soft) !important;
	font-size: 17px !important;
	line-height: 1.75 !important;
}

.about-content ul li::before {
	content: "" !important;
	background:
		linear-gradient(var(--gm-ink), var(--gm-ink)) center/10px 2px no-repeat,
		linear-gradient(90deg, transparent 0 42%, var(--gm-ink) 42% 58%, transparent 58%) center/12px 10px no-repeat,
		var(--gm-lime) !important;
}

.service-item,
.why-choose-item,
.project-item,
.product-card,
.step-item,
.testimonial-item {
	background: rgba(255, 255, 255, 0.9) !important;
	border: 1px solid var(--gm-line) !important;
	border-radius: var(--gm-radius) !important;
	box-shadow: var(--gm-shadow-sm) !important;
	height: 100%;
	overflow: hidden;
	transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease !important;
}

.service-item:hover,
.why-choose-item:hover,
.project-item:hover,
.product-card:hover,
.step-item:hover,
.testimonial-item:hover {
	border-color: rgba(14, 18, 29, 0.16) !important;
	box-shadow: var(--gm-shadow-md) !important;
	transform: translateY(-6px) !important;
}

.service-item::before,
.why-choose-item::before {
	display: none !important;
}

.service-image,
.project-image,
.product-image {
	background: linear-gradient(180deg, #fff, var(--gm-surface-2)) !important;
	border: 1px solid rgba(14, 18, 29, 0.06);
	border-radius: calc(var(--gm-radius) - 8px) !important;
	overflow: hidden;
}

.service-content h3,
.why-choose-content h3,
.project-content h3,
.product-content h3 {
	color: var(--gm-ink) !important;
	font-size: clamp(21px, 2vw, 26px) !important;
	font-weight: 850 !important;
	line-height: 1.18 !important;
}

.service-content p,
.why-choose-content p,
.product-card-desc {
	color: var(--gm-muted) !important;
	font-size: 15px !important;
	line-height: 1.65 !important;
}

.service-icon,
.why-choose-icon,
.project-icon,
.counter-icon,
.step-icon {
	background: var(--gm-lime) !important;
	border: 1px solid rgba(14, 18, 29, 0.06) !important;
	border-radius: var(--gm-radius-sm) !important;
	box-shadow: 0 12px 26px rgba(14, 18, 29, 0.08) !important;
}

.service-icon img,
.why-choose-icon img,
.project-icon img,
.counter-icon img,
.step-icon img {
	filter: brightness(0) saturate(100%) !important;
}

.product-filters {
	background: rgba(255, 255, 255, 0.82) !important;
	border: 1px solid var(--gm-line) !important;
	border-radius: var(--gm-radius-sm) !important;
	box-shadow: var(--gm-shadow-sm) !important;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	padding: 16px !important;
}

.filter-select,
.form-control {
	background: #fff !important;
	border: 1px solid var(--gm-line) !important;
	border-radius: 14px !important;
	color: var(--gm-ink) !important;
	font-size: 16px !important;
	min-height: 48px;
	padding: 12px 16px !important;
	transition: border-color 180ms ease, box-shadow 180ms ease !important;
}

.filter-select:focus,
.form-control:focus {
	border-color: rgba(14, 18, 29, 0.36) !important;
	box-shadow: 0 0 0 4px rgba(221, 242, 124, 0.32) !important;
}

#projects-container {
	gap: 22px !important;
}

.product-content h3 {
	margin-bottom: 14px !important;
}

.product-content h3 a {
	color: var(--gm-ink) !important;
}

.category-badge,
.availability-badge,
.price-badge {
	background: var(--gm-lime-soft) !important;
	border: 1px solid rgba(14, 18, 29, 0.06);
	border-radius: 999px !important;
	color: var(--gm-ink) !important;
	font-weight: 850 !important;
}

.product-swiper,
.product-thumbs {
	background: linear-gradient(180deg, #fff, #f8fbf7) !important;
	border: 1px solid var(--gm-line) !important;
	border-radius: var(--gm-radius) !important;
	box-shadow: var(--gm-shadow-sm) !important;
	overflow: hidden;
}

.product-slide {
	align-items: center;
	aspect-ratio: 4 / 3;
	display: flex;
	justify-content: center;
	padding: clamp(16px, 3vw, 34px);
}

.product-slide-image {
	height: 100% !important;
	object-fit: contain !important;
	width: 100% !important;
}

.product-thumbs {
	margin-top: 14px;
	padding: 12px !important;
}

.product-thumb-image {
	background: #fff;
	border: 1px solid rgba(14, 18, 29, 0.07);
	border-radius: 14px;
	height: 86px;
	object-fit: contain;
	padding: 8px;
	width: 100%;
}

.project-content {
	padding: clamp(24px, 4vw, 38px);
}

.project-content h2 {
	font-size: clamp(30px, 4vw, 46px) !important;
	font-weight: 850 !important;
	line-height: 1.08 !important;
}

.product-highlight-card,
.product-spec-section {
	background: #fff !important;
	border: 1px solid var(--gm-line) !important;
	border-radius: var(--gm-radius-sm) !important;
}

.product-spec-row {
	border-top: 1px solid var(--gm-line) !important;
}

.product-spec-label,
.product-highlight-label {
	color: var(--gm-muted) !important;
}

.product-spec-value,
.product-highlight-value {
	color: var(--gm-ink) !important;
}

.rating-display i {
	color: #f59e0b !important;
}

.contact-form-container {
	padding: clamp(24px, 5vw, 48px) !important;
}

.contact-form-container .form-group label {
	color: var(--gm-ink) !important;
	font-size: 12px !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase;
}

#messageSaved,
#messageFailed {
	border-radius: 16px;
	padding: 14px 16px;
}

#messageSaved {
	background: rgba(34, 197, 94, 0.12);
}

#messageFailed {
	background: rgba(239, 68, 68, 0.1);
}

.google-map {
	border-radius: var(--gm-radius);
	box-shadow: var(--gm-shadow-sm);
	overflow: hidden;
}

.google-map iframe {
	display: block;
	filter: saturate(0.92) contrast(1.02);
	min-height: 390px;
	width: 100% !important;
}

.breadcrumb {
	background: transparent !important;
	justify-content: center;
	margin: 0;
	padding: 0;
}

.page-header-box .breadcrumb a,
.page-header-box .breadcrumb-item,
.page-header-box .breadcrumb-item.active {
	color: rgba(255, 255, 255, 0.86) !important;
	font-weight: 700;
}

.page-header-box .breadcrumb-item + .breadcrumb-item::before {
	color: rgba(255, 255, 255, 0.52) !important;
}

.page-not-found-box {
	margin: 0 auto;
	max-width: 760px;
	padding: clamp(28px, 5vw, 56px);
	text-align: center;
}

.not-found-image {
	margin: 0 auto 28px;
	max-width: 360px;
}

.page-not-found-box h2 {
	font-size: clamp(30px, 4vw, 48px) !important;
	font-weight: 850 !important;
	line-height: 1.08 !important;
	margin-bottom: 26px !important;
}

.main-footer {
	background:
		linear-gradient(135deg, rgba(221, 242, 124, 0.12), transparent 34%),
		var(--gm-ink) !important;
	border-radius: clamp(34px, 6vw, 72px) clamp(34px, 6vw, 72px) 0 0;
	color: rgba(255, 255, 255, 0.72) !important;
	margin-top: 0;
	overflow: hidden;
	padding: clamp(64px, 7vw, 92px) 0 0 !important;
}

.footer-widget,
.footer-about,
.footer-links,
.footer-contact-info {
	margin-bottom: 30px;
}

.footer-logo img,
.footer-about figure img {
	filter: brightness(0) invert(1) !important;
	max-width: 166px !important;
}

.footer-about p,
.footer-widget p,
.footer-contact-info p,
.main-footer p {
	color: rgba(255, 255, 255, 0.72) !important;
	overflow-wrap: anywhere;
}

.footer-widget-title,
.footer-links h2 {
	color: #fff !important;
	font-size: 18px !important;
	font-weight: 850 !important;
	letter-spacing: 0.06em;
	margin-bottom: 22px !important;
	text-transform: uppercase;
}

.footer-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-links a,
.main-footer a {
	color: rgba(255, 255, 255, 0.7) !important;
}

.footer-links a:hover,
.main-footer a:hover {
	color: var(--gm-lime) !important;
}

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

.footer-social-links a {
	align-items: center;
	background: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px !important;
	color: #fff !important;
	display: inline-flex;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.footer-social-links a:hover {
	background: var(--gm-lime) !important;
	color: var(--gm-ink) !important;
}

.footer-copyright {
	background: rgba(0, 0, 0, 0.2) !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
	margin-top: clamp(38px, 5vw, 70px) !important;
	padding: 24px 0 !important;
}

.footer-copyright-text p {
	color: rgba(255, 255, 255, 0.58) !important;
	font-size: 14px !important;
	margin: 0 !important;
}

.footer-ticker {
	display: none !important;
}

#magic-cursor {
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media (max-width: 991px) {
	.topbar {
		display: none !important;
	}

	header.main-header {
		top: 10px !important;
	}

	header.main-header .header-sticky,
	header.main-header .header-sticky.active {
		border-radius: 24px !important;
		padding: 8px 14px !important;
	}

	.navbar {
		min-height: 58px;
	}

	.navbar-brand img {
		max-height: 44px !important;
		max-width: 138px !important;
	}

	.hero,
	.page-header {
		margin-top: -92px !important;
		padding-top: 142px !important;
	}

	.hero-content-footer .btn-default {
		max-width: none !important;
		width: 100%;
	}

	.section-title h2 {
		font-size: clamp(32px, 8vw, 46px) !important;
	}

	.about-image {
		margin-bottom: 34px;
	}

	.product-filters {
		align-items: stretch;
		border-radius: 22px !important;
		flex-direction: column;
	}

	.filter-group {
		align-items: stretch;
		flex-direction: column;
		gap: 8px;
		width: 100%;
	}
}

@media (max-width: 767px) {
	body {
		font-size: 16px;
	}

	.hero {
		min-height: 720px !important;
	}

	.page-header {
		min-height: 360px !important;
	}

	.hero-content h1,
	.page-header-box h1 {
		font-size: clamp(36px, 11vw, 52px) !important;
		overflow-wrap: anywhere;
	}

	.hero-content p {
		font-size: 17px !important;
	}

	.about-us,
	.our-services,
	.why-choose-us,
	.our-process,
	.latest-projects,
	.stat-counter,
	.testimonials,
	.page-services,
	.our-projects,
	.page-project-single,
	.contact-information,
	.google-map-form,
	.page-404 {
		padding: 64px 0 !important;
	}

	.service-item,
	.why-choose-item,
	.step-item,
	.testimonial-item {
		border-radius: 22px !important;
		padding: 28px 22px !important;
	}

	.product-card {
		border-radius: 22px !important;
	}

	.project-content,
	.about-project-box,
	.product-specs-shell,
	.product-spec-section,
	.contact-form-container,
	.page-not-found-box {
		border-radius: 22px !important;
		padding: 22px !important;
	}

	.product-spec-row {
		grid-template-columns: 1fr !important;
		row-gap: 8px;
	}

	.main-footer {
		border-radius: 34px 34px 0 0;
	}
}
