/*
Theme Name: Elementor Simple Sticky
Theme URI: https://example.com/elementor-simple-sticky
Author: Custom WordPress Theme
Description: A lightweight responsive WordPress theme built for Elementor, with a sticky top menu on every page.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: elementor-simple-sticky
Tags: custom-menu, featured-images, full-width-template, responsive-layout, rtl-language-support
*/

:root {
	--ess-bg: #ffffff;
	--ess-surface: #f7f9fb;
	--ess-text: #17202a;
	--ess-muted: #667085;
	--ess-border: #d9e0e8;
	--ess-accent: #0b7285;
	--ess-accent-dark: #07505d;
	--ess-container: 1180px;
	--ess-content: 760px;
	--ess-header-height: 72px;
	--ess-radius: 8px;
	--ess-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--ess-header-height) + 16px);
}

body {
	margin: 0;
	background: var(--ess-bg);
	color: var(--ess-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

img,
svg,
video,
canvas {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--ess-accent);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.16em;
}

a:hover,
a:focus {
	color: var(--ess-accent-dark);
}

button,
input,
select,
textarea {
	font: inherit;
}

button {
	cursor: pointer;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
	top: 12px;
	left: 12px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	overflow: visible;
	background: var(--ess-text);
	color: #ffffff;
	text-decoration: none;
	border-radius: 6px;
}

.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 9999;
	width: 100%;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--ess-border);
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
	backdrop-filter: blur(12px);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header > .elementor {
	width: 100%;
}

.site-header__inner {
	width: min(100%, var(--ess-container));
	min-height: var(--ess-header-height);
	margin: 0 auto;
	padding: 0 clamp(16px, 4vw, 32px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	position: relative;
}

.site-branding {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
	max-width: 220px;
}

.site-title {
	color: var(--ess-text);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.site-description {
	margin: 0;
	color: var(--ess-muted);
	font-size: 0.875rem;
	line-height: 1.35;
}

.site-navigation {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 1;
}

.site-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	flex: 0 0 auto;
	position: relative;
	z-index: 2;
}

.primary-menu,
.primary-menu .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 4px;
}

.primary-menu li {
	position: relative;
}

.primary-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: 6px;
	color: var(--ess-text);
	font-size: 1.2rem !important;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
	transition: color 160ms ease, background 160ms ease;
}

.primary-menu a:hover,
.primary-menu a:focus,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
	background: var(--ess-surface);
	color: var(--ess-accent-dark);
}

.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 220px;
	padding: 8px;
	background: var(--ess-bg);
	border: 1px solid var(--ess-border);
	border-radius: var(--ess-radius);
	box-shadow: var(--ess-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.primary-menu .sub-menu .sub-menu {
	top: -8px;
	left: calc(100% + 8px);
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.has-submenu-drawer .primary-menu > .menu-item-has-children > .sub-menu {
	display: none;
}

.has-submenu-drawer .primary-menu > .menu-item-has-children > a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.has-submenu-drawer .primary-menu > .menu-item-has-children > a::after {
	content: "";
	width: 0.45em;
	height: 0.45em;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	opacity: 0.65;
	transform: rotate(45deg);
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 0;
	background: var(--ess-bg);
	border: 1px solid var(--ess-border);
	border-radius: 6px;
	color: var(--ess-text);
}

.menu-toggle__lines {
	display: grid;
	gap: 5px;
	width: 20px;
}

.menu-toggle__lines span {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 999px;
	transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.language-switcher {
	position: relative;
	flex: 0 0 auto;
}

.language-switcher__toggle {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: var(--ess-bg);
	border: 1px solid var(--ess-border);
	border-radius: 6px;
	color: var(--ess-text);
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.language-switcher__toggle:hover,
.language-switcher__toggle:focus,
.language-switcher.is-open .language-switcher__toggle {
	background: var(--ess-surface);
	border-color: var(--ess-accent);
	color: var(--ess-accent-dark);
}

.language-switcher__icon svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.language-switcher__menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 10001;
	min-width: 190px;
	margin: 0;
	padding: 8px;
	background: var(--ess-bg);
	border: 1px solid var(--ess-border);
	border-radius: var(--ess-radius);
	box-shadow: var(--ess-shadow);
	list-style: none;
}

.language-switcher__menu[hidden] {
	display: none;
}

.language-switcher__item {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 42px;
	padding: 9px 10px;
	border-radius: 6px;
	color: var(--ess-text);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
	transition: background 160ms ease, color 160ms ease;
}

.language-switcher__item:hover,
.language-switcher__item:focus,
.language-switcher__item.is-current {
	background: var(--ess-surface);
	color: var(--ess-accent-dark);
}

.language-switcher__flag {
	position: relative;
	width: 28px;
	height: 18px;
	flex: 0 0 28px;
	overflow: hidden;
	border-radius: 3px;
	box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.16);
}

.language-switcher__flag--sa {
	background: #006c35;
}

.language-switcher__flag--sa::before,
.language-switcher__flag--sa::after {
	content: "";
	position: absolute;
	left: 7px;
	right: 7px;
	background: #ffffff;
	border-radius: 999px;
}

.language-switcher__flag--sa::before {
	top: 5px;
	height: 2px;
}

.language-switcher__flag--sa::after {
	bottom: 5px;
	height: 1.5px;
}

.language-switcher__flag--us {
	background: repeating-linear-gradient(
		to bottom,
		#b22234 0,
		#b22234 1.4px,
		#ffffff 1.4px,
		#ffffff 2.8px
	);
}

.language-switcher__flag--us::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 42%;
	height: 54%;
	background: #3c3b6e;
}

.page-transition {
	position: fixed;
	inset: 0;
	z-index: 10002;
	display: grid;
	place-items: center;
	background: var(--ess-bg);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 160ms ease, visibility 160ms ease;
}

.page-transition[hidden] {
	display: none;
}

.page-transition.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.page-transition__spinner {
	width: 38px;
	height: 38px;
	border: 3px solid var(--ess-border);
	border-top-color: var(--ess-accent);
	border-radius: 50%;
	animation: ess-page-spinner 720ms linear infinite;
}

@keyframes ess-page-spinner {
	to {
		transform: rotate(360deg);
	}
}

body.submenu-drawer-open {
	overflow: hidden;
}

.submenu-drawer {
	position: fixed;
	inset: 0;
	z-index: 10000;
	visibility: hidden;
	pointer-events: none;
	background: #ffffff;
}

.admin-bar .submenu-drawer {
	top: 32px;
}

.submenu-drawer.is-open {
	visibility: visible;
	pointer-events: auto;
}

.submenu-drawer__panel {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	transform: translateX(100%);
	transition: transform 220ms ease;
}

.submenu-drawer.is-open .submenu-drawer__panel {
	transform: translateX(0);
}

.submenu-drawer__header {
	min-height: var(--ess-header-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px clamp(16px, 4vw, 32px);
	border-bottom: 1px solid var(--ess-border);
}

.submenu-drawer__title {
	margin: 0;
	color: var(--ess-text);
	font-size: clamp(1.35rem, 2vw, 2rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: 0;
}

.submenu-drawer__close {
	width: 44px;
	height: 44px;
	flex: 0 0 auto;
	padding: 0;
	background: var(--ess-bg);
	border: 1px solid var(--ess-border);
	border-radius: 6px;
	color: var(--ess-text);
	font-weight: 800;
	line-height: 1;
	transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.submenu-drawer__close:hover,
.submenu-drawer__close:focus {
	background: var(--ess-text);
	border-color: var(--ess-text);
	color: #ffffff;
}

.submenu-drawer__body {
	flex: 1;
	overflow-y: auto;
	padding: clamp(20px, 4vw, 40px) clamp(16px, 4vw, 32px);
	background: #ffffff;
}

.submenu-drawer .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.submenu-drawer__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px 32px;
	width: 100%;
	margin: 0;
	background: #ffffff;
}

.submenu-drawer__list > li {
	min-width: 0;
	padding: 0;
	background: #ffffff;
	border: 0;
	border-radius: 0;
}

.submenu-drawer__list > li > a {
	display: inline-flex;
	max-width: 100%;
	color: var(--ess-text);
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.25;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.submenu-drawer__list a:hover,
.submenu-drawer__list a:focus,
.submenu-drawer__list .current-menu-item > a,
.submenu-drawer__list .current_page_item > a {
	color: var(--ess-accent-dark);
}

.submenu-drawer__list > li > .sub-menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 16px;
	margin-top: 12px;
	padding-top: 0;
	background: #ffffff;
	border: 0;
}

.submenu-drawer__list > li > .sub-menu a {
	display: block;
	padding: 7px 0;
	color: var(--ess-muted);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.submenu-drawer__list .sub-menu .sub-menu {
	margin: 4px 0 4px 14px;
	padding-left: 12px;
	border-left: 0;
}

.site-main {
	flex: 1 0 auto;
	width: 100%;
}

.content-wrap {
	width: min(100%, var(--ess-container));
	margin: 0 auto;
	padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 32px);
}

.content-wrap--narrow {
	max-width: var(--ess-content);
}

.content-wrap--elementor,
.site-main--full-width .content-wrap {
	width: 100%;
	max-width: none;
	padding: 0;
}

.entry {
	width: min(100%, var(--ess-content));
	margin: 0 auto;
}

.content-wrap--elementor .entry,
.site-main--full-width .entry {
	width: 100%;
	max-width: none;
	margin: 0;
}

.entry-header {
	margin-bottom: clamp(22px, 4vw, 36px);
}

.entry-title,
.page-title {
	margin: 0;
	color: var(--ess-text);
	font-size: clamp(2rem, 4vw, 3.4rem);
	line-height: 1.08;
	font-weight: 750;
	letter-spacing: 0;
}

.entry-meta,
.entry-footer,
.archive-description {
	color: var(--ess-muted);
	font-size: 0.95rem;
}

.entry-featured-image {
	margin: 0 0 clamp(24px, 4vw, 40px);
	border-radius: var(--ess-radius);
	overflow: hidden;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote {
	margin: 0 0 1.25rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin: 2rem 0 0.75rem;
	line-height: 1.2;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
}

.entry-content th,
.entry-content td {
	padding: 12px;
	border: 1px solid var(--ess-border);
	text-align: left;
}

.entry-content blockquote {
	padding: 16px 20px;
	border-left: 4px solid var(--ess-accent);
	background: var(--ess-surface);
	border-radius: 0 var(--ess-radius) var(--ess-radius) 0;
}

.alignwide {
	max-width: var(--ess-container);
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.post-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	margin-top: 32px;
}

.post-card {
	display: grid;
	grid-template-columns: minmax(220px, 34%) 1fr;
	gap: 0;
	overflow: hidden;
	background: var(--ess-bg);
	border: 1px solid var(--ess-border);
	border-radius: var(--ess-radius);
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.post-card--no-image {
	grid-template-columns: 1fr;
}

.post-card__image {
	min-height: 220px;
	background: var(--ess-surface);
}

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

.post-card__body {
	padding: clamp(20px, 4vw, 32px);
}

.post-card__title {
	margin: 0 0 10px;
	font-size: clamp(1.35rem, 2vw, 1.8rem);
	line-height: 1.18;
	letter-spacing: 0;
}

.post-card__title a {
	color: var(--ess-text);
	text-decoration: none;
}

.post-card__excerpt {
	color: var(--ess-muted);
}

.read-more,
.button,
button[type="submit"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 16px;
	background: var(--ess-accent);
	border: 1px solid var(--ess-accent);
	border-radius: 6px;
	color: #ffffff;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background 160ms ease, border-color 160ms ease;
}

.read-more:hover,
.read-more:focus,
.button:hover,
.button:focus,
button[type="submit"]:hover,
button[type="submit"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	background: var(--ess-accent-dark);
	border-color: var(--ess-accent-dark);
	color: #ffffff;
}

.navigation.pagination {
	margin-top: 32px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.page-numbers {
	display: inline-flex;
	min-width: 40px;
	min-height: 40px;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border: 1px solid var(--ess-border);
	border-radius: 6px;
	color: var(--ess-text);
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover,
.page-numbers:focus {
	background: var(--ess-text);
	border-color: var(--ess-text);
	color: #ffffff;
}

.search-form {
	display: flex;
	gap: 10px;
	width: min(100%, 560px);
}

.search-field,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	background: #ffffff;
	border: 1px solid var(--ess-border);
	border-radius: 6px;
	color: var(--ess-text);
}

textarea {
	min-height: 140px;
	resize: vertical;
}

.comments-area {
	width: min(100%, var(--ess-content));
	margin: 48px auto 0;
	padding-top: 32px;
	border-top: 1px solid var(--ess-border);
}

.comment-list {
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin: 24px 0 0 24px;
	padding: 0;
	list-style: none;
}

.comment-body {
	margin-bottom: 24px;
	padding: 20px;
	background: var(--ess-surface);
	border-radius: var(--ess-radius);
}

.site-footer {
	flex-shrink: 0;
	background: #101820;
	color: #e6edf3;
}

.site-footer a {
	color: #ffffff;
}

.site-footer__inner {
	width: min(100%, var(--ess-container));
	margin: 0 auto;
	padding: 28px clamp(16px, 4vw, 32px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-footer__brand {
	min-width: 0;
}

.site-footer__title {
	margin: 0;
	font-weight: 700;
	line-height: 1.25;
}

.site-footer__credit {
	margin: 4px 0 0;
	color: #b7c4d1;
	font-size: 0.925rem;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 12px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu a {
	text-decoration: none;
}

.footer-widgets {
	margin-top: 24px;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
	color: var(--ess-muted);
	font-size: 0.9rem;
}

.bypostauthor {
	outline: 2px solid rgba(11, 114, 133, 0.18);
	outline-offset: 2px;
}

@media (max-width: 900px) {
	.submenu-drawer__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.post-card {
		grid-template-columns: 1fr;
	}

	.post-card__image {
		aspect-ratio: 16 / 9;
		min-height: auto;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}

	.admin-bar .submenu-drawer {
		top: 46px;
	}
}

@media (max-width: 768px) {
	:root {
		--ess-header-height: 64px;
	}

	.site-header__inner {
		min-height: var(--ess-header-height);
		gap: 12px;
	}

	.site-header__actions {
		gap: 8px;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.site-navigation {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: block;
		max-height: 0;
		overflow: hidden;
		background: rgba(255, 255, 255, 0.98);
		border-bottom: 1px solid var(--ess-border);
		box-shadow: var(--ess-shadow);
		transition: max-height 180ms ease;
	}

	.site-navigation.is-open {
		max-height: calc(100vh - var(--ess-header-height));
		overflow-y: auto;
	}

	.primary-menu {
		display: block;
		padding: 8px 16px 16px;
	}

	.primary-menu a {
		padding: 12px 10px;
	}

	.primary-menu .sub-menu,
	.primary-menu .sub-menu .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 0 16px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: transparent;
	}

	.submenu-drawer__list {
		grid-template-columns: 1fr;
	}

	.site-footer__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.footer-menu {
		justify-content: flex-start;
	}
}

@media (min-width: 1600px) {
	.submenu-drawer__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.page-transition {
		transition: none;
	}

	.page-transition__spinner {
		animation: none;
	}

	.submenu-drawer__panel {
		transition: none;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 15px;
	}

	.search-form {
		flex-direction: column;
	}

	.entry-title,
	.page-title {
		font-size: 2rem;
	}
}


.customer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.customer-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.customer-logo-wrapper {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.customer-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.customer-details h3 {
    font-size: 1.1rem;
    margin: 10px 0 5px 0;
    color: #333;
}

.customer-details .address {
    font-size: 0.85rem;
    color: #777;
}

