body {
	font-family: "Tajawal", sans-serif;
	font-size: 18px;
	font-weight: 400;
}

:root {
	--brown:#655640;
	--green:#009B60;
	--light:#DDD6C2;
	--checkbox-size: 43px;
	--checkbox-gap: 12px;
	--checkbox-border: 2px;
	--checkbox-color: #009B60;
	--checkbox-bg: #fff;
	--checkbox-border-muted: #009B60;
	--checkbox-focus-ring: rgba(40,167,69,0.18);
}

/* Menu Toggle Button */
.menu-toggle {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 1001;
	background: var(--green);
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
}

.menu-toggle:hover {
	background: var(--brown);
	transform: scale(1.05);
}

.menu-toggle span {
	width: 24px;
	height: 3px;
	background: white;
	border-radius: 2px;
	transition: all 0.3s ease;
}

[dir="rtl"] .menu-toggle {
	right: auto;
	left: 20px;
}

/* Side Menu */
.menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 1002;
	animation: fadeIn 0.3s ease;
}

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

.side-menu {
	position: fixed;
	top: 0;
	right: -350px;
	width: 350px;
	height: 100vh;
	background: var(--brown);
	z-index: 1003;
	transition: right 0.3s ease;
	box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
	overflow-y: auto;
}

.side-menu.open {
	right: 0;
}

[dir="rtl"] .side-menu {
	right: auto;
	left: -350px;
	transition: left 0.3s ease;
	box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
}

[dir="rtl"] .side-menu.open {
	left: 0;
}

.close-menu {
	position: absolute;
	top: 20px;
	right: 20px;
	background: transparent;
	border: none;
	color: var(--green);
	font-size: 32px;
	cursor: pointer;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.close-menu:hover {
	color: white;
	transform: rotate(90deg);
}

[dir="rtl"] .close-menu {
	right: auto;
	left: 20px;
}

.menu-content {
	padding: 80px 30px 30px;
}

.menu-section {
	margin-bottom: 40px;
}

.menu-title {
	color: var(--green);
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.menu-lang-buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.menu-lang-btn {
	background: transparent;
	border: 2px solid var(--green);
	color: var(--green);
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
}

.menu-lang-btn:hover {
	background: var(--green);
	color: var(--brown);
}

.menu-lang-btn.active {
	background: var(--green);
	color: var(--brown);
}

.menu-link {
	background: transparent;
	border: none;
	color: var(--green);
	padding: 12px 0;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: left;
	width: 100%;
	text-decoration: underline;
}

.menu-link:hover {
	color: white;
}

[dir="rtl"] .menu-link {
	text-align: right;
}

/* Privacy Modal */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.3s ease;
}

.privacy-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	max-width: 800px;
	max-height: 85vh;
	background: var(--brown);
	border-radius: 20px;
	z-index: 2001;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
	animation: slideUp 0.3s ease;
	overflow: hidden;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translate(-50%, -45%);
	}
	to {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
}

.modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: var(--green);
	border: none;
	color: white;
	font-size: 32px;
	font-weight: 300;
	line-height: 0.8;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 10;
	padding: 0;
	font-family: Arial, sans-serif;
}

.modal-close:hover {
	background: white;
	color: var(--green);
	transform: rotate(90deg);
}

[dir="rtl"] .modal-close {
	right: auto;
	left: 20px;
}

.modal-content {
	padding: 30px;
	max-height: 85vh;
	overflow-y: auto;
}

.modal-title {
	color: var(--green);
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 20px;
	text-transform: uppercase;
	padding-right: 50px;
}

[dir="rtl"] .modal-title {
	padding-right: 0;
	padding-left: 50px;
}

.modal-body {
	color: var(--light);
	line-height: 1.8;
}

.modal-body p {
	margin-bottom: 15px;
}

.modal-body h3 {
	color: var(--green);
	font-size: 20px;
	font-weight: 700;
	margin-top: 25px;
	margin-bottom: 15px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
	.menu-toggle {
		top: 15px;
		right: 15px;
		width: 45px;
		height: 45px;
	}

	.menu-toggle span {
		width: 20px;
		height: 2px;
	}

	[dir="rtl"] .menu-toggle {
		right: auto;
		left: 15px;
	}

	.side-menu {
		width: 280px;
		right: -280px;
	}

	[dir="rtl"] .side-menu {
		left: -280px;
	}

	.menu-content {
		padding: 70px 20px 20px;
	}

	.privacy-modal {
		width: 95%;
		max-height: 90vh;
	}

	.modal-content {
		padding: 20px;
	}

	.modal-title {
		font-size: 24px;
	}
}

/* RTL Support */
[dir="rtl"] {
	text-align: right;
}

[dir="rtl"] .grid.two-col {
	direction: rtl;
}

[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select {
	text-align: right;
}

[dir="rtl"] .fancy-checkbox {
	flex-direction: row;
	text-align: right;
	justify-content: flex-start;
}

[dir="rtl"] .fancy-checkbox .fbox {
	border-radius: 0 10px 0 0;
}

[dir="rtl"] .label-text {
	text-align: right;
	direction: rtl;
}

/* RTL Overlay Animation - يظهر من اليسار */
[dir="rtl"] .img-wrap .overlay {
	right: auto;
	left: 0;
	border-radius: 0 20px 20px 0;
	transform: translateX(-12%);
	text-align: right;
	justify-content: flex-end;
}

[dir="rtl"] .img-wrap:hover .overlay,
[dir="rtl"] .img-wrap:focus-within .overlay {
	transform: translateX(0);
}

/* =========================================
   MOBILE (max-width: 575px)
   ========================================= */
@media (max-width: 575px) {
	.pb-6 {padding-bottom:10rem!important}
	.arc-text img { width:80vw; position:absolute; top:0px; left:50%; transform:translateX(-50%); }
	.center-graphic img { width:90vw; max-width:95vw; }
	.tagline-mob { font-size:26px; line-height:1.5; text-align:center; color:var(--green); margin-bottom:40px}
	.bimg img { max-width:35vw; margin:30px 0 10px 0}
	.blogo img { max-width:180px; margin-bottom: 140px}
	[dir="rtl"] .blogo img { max-width:120px; }
	.bottom-arc-text-bottom { position:absolute; bottom:100px; left:50%; transform:translateX(-50%); }
	.grid{flex-direction:column}
	.two-col input{width:100%}
	.overlay .text { font-size:16px!important;}
	.contact {margin-bottom:180px}
	.scroll-bottom { position:absolute; bottom:30px!important; right:30px!important; animation: wiggle 2s ease-in-out infinite; }

}

/* =========================================
   > 576px
   ========================================= */
@media (min-width: 576px) and (max-width: 767px) {
	.pb-6 {padding-bottom:10rem!important}
	.arc-text img { width:80vw; position:absolute; top:0px; left:50%; transform:translateX(-50%); }
	.center-graphic img { width:90vw; max-width:95vw; }
	.tagline-mob { font-size:26px; line-height:1.5; text-align:center; color:var(--green); margin-bottom:40px}
	.bimg img { max-width:35vw; margin:30px 0 50px 0}
	.blogo img { max-width:180px;}
	[dir="rtl"] .blogo img { max-width:120px; }
	.bottom-arc-text-bottom { position:absolute; bottom:100px; left:50%; transform:translateX(-50%); }
	.grid{flex-direction:column}
	.two-col input{width:100%}
	.overlay .text { font-size:18px;}
	.contact {margin-bottom:140px}
}

/* =========================================
   > 768px
   ========================================= */
@media (min-width: 768px)  and (max-width: 991px) {
	.tagline-mob { font-size:26px; line-height:1.5; text-align:center; color:var(--green); margin-bottom:40px}
	.arc-text img { width:250px }
	.arc-text-left img { height:250px; }
	.arc-text-right img { height:250px; }
	.center-graphic img { height:500px; }
	.contact {margin-bottom:140px}
}

/* =========================================
   > 992px
   ========================================= */
@media (min-width: 992px)  and (max-width: 1199px) {
	.tagline-mob { font-size:26px; line-height:1.5; text-align:center; color:var(--green); margin-bottom:40px}
	.arc-text img { width:300px }
	.arc-text-left img { height:300px; }
	.arc-text-right img { height:300px; }
	.center-graphic img { height:450px; }
	.blogo img { margin-bottom:0}
	[dir="rtl"] .blogo img { max-width:120px; }
	.bimg img { width:200px}
}

/* =========================================
   > 1200px
   ========================================= */
@media (min-width: 1200px)  and (max-width: 1399px) {
	.tagline-mob { font-size:26px; line-height:1.5; text-align:center; color:var(--green); margin-bottom:40px}
	.arc-text img { width:400px }
	.arc-text-left img { height:400px; }
	.arc-text-right img { height:400px; }
	.center-graphic img { height:600px; }
	.img-wrap .overlay { width:90%; }
	.bimg img { width:200px}
	.blogo img { margin-top: 140px}
	[dir="rtl"] .blogo img { max-width:120px; }

}

/* =========================================
   1400px–1650px RANGE
   ========================================= */
@media (min-width: 1400px) and (max-width: 1650px) {
	.tagline { position:absolute; left:65%; top:40%; transform:translateY(-50%); font-size:26px; line-height:1.5; text-align:center; color:var(--green); }
	.tagline-1 { position:absolute; left:70%; top:43%; transform:translateY(-50%); font-size:26px; line-height:1.5; text-align:center; color:var(--green); }
	.arc-text img { width:393px }
	.arc-text-left img { height:393px; }
	.arc-text-right img { height:393px; }
	.center-graphic img { height:557px; }
	.img-wrap .overlay { width:90%; }
	.overlay .text { font-size:16px!important;}
	.bimg img { width:200px}
	.blogo img { margin-top: 140px}
	[dir="rtl"] .blogo img { max-width:120px; }
}

/* =========================================
   MAIN STYLES
   ========================================= */
.pb-6 {padding-bottom:3rem}
.green { color:var(--green); }
.wrapper { background:#655640; position:relative; width:100%; height:100vh; display:flex; justify-content:center; align-items:center; }

[dir="rtl"] .wrapper { background: url('/images/Artboard-3.png') center center / cover no-repeat; }

@media (max-width: 1023px) {
  [dir="rtl"] .wrapper { background: url('/images/header-mobile.png') center center / cover no-repeat !important; }
  [dir="ltr"] .wrapper { background: #655640 !important; }
}

.arc-text img { position:absolute; top:0; left:50%; transform:translateX(-50%); }
.arc-text-left img { position:absolute; left:0px; top:50%; transform:translateY(-50%); }
.arc-text-right img { position:absolute; right:0px; top:50%; transform:translateY(-50%); }

.scroll-bottom { position:absolute; bottom:60px; right:60px; animation: wiggle 2s ease-in-out infinite; }

@keyframes wiggle {
	0%, 100% { transform: translateY(0); }
	25% { transform: translateY(-10px); }
	50% { transform: translateY(0); }
	75% { transform: translateY(-5px); }
}

.tagline { position:absolute; left:65%; top:40%; transform:translateY(-50%); font-size:26px; line-height:1.5; text-align:center; color:var(--green); }
.tagline-1 { position:absolute; left:70%; top:43%; transform:translateY(-50%); font-size:26px; line-height:1.5; text-align:center; color:var(--green); }

.title { font-weight:700; font-size:40px; line-height:50px; text-transform:uppercase; color:var(--green); }

@media (min-width: 768px) {
  .title { white-space: nowrap; }
}

@media (max-width: 767px) {
  .title { text-align: center; }
}
.prtitle {font-weight:700; font-size:18px; line-height:20px; text-align:center; color:var(--brown); margin-top:20px}

.img-wrap { position:relative; display:inline-block; overflow:hidden; }
.img-wrap img { display:block; width:100%; height:auto; }

.img-wrap .overlay {
	position:absolute; top:0; right:0; width:80%; height:100%;
	background:var(--green); color:#fff; box-sizing:border-box;
	padding:1rem; display:flex; justify-content:flex-start; text-align:left;
	z-index:5; border-radius:20px 0 0 20px; opacity:0; transform:translateX(12%);
	transition:opacity .22s ease, transform .22s ease; pointer-events:none;
}

.img-wrap:hover .overlay,
.img-wrap:focus-within .overlay {
	opacity:1;
	transform:translateX(0);
	pointer-events:auto;
}

.overlay .text {
	font-size:20px; line-height:1.5; padding:20px; color:var(--light);
}

.bottom-arc-text-left { position:absolute; left:0px; top:50%; transform:translateY(-50%); }
.bottom-arc-text-left img { height: 400px; max-width: 100%; }
.bottom-arc-text-right { position:absolute; right:0px; top:50%; transform:translateY(-50%); }
.bottom-arc-text-right img { height: 400px; max-width: 100%; }
.bottom-arc-text-bottom { position:absolute; bottom:0px; left:50%; transform:translateX(-50%); }

.scroll-top { position:absolute; bottom:60px; right:60px }

.form{display:block}

.grid{
	display:flex;
	flex-direction:initial;
	gap:18px;
	row-gap:18px;  /* FIXED */
	margin-bottom: 18px;
}

.two-col input{flex:1}

input,select,textarea{
	background:transparent;
	border:1px solid var(--green);
	padding:14px;
	border-radius: 10px 0 0 0;
	color:var(--green);
	font-size:18px;
	width:100%;
}

input::placeholder, textarea::placeholder{color:var(--green)}

input:focus,textarea:focus,select:focus{
	outline:none;
	box-shadow:0 0 0 3px rgba(122,193,66,.06);
}

textarea{min-height:120px;width:100%}

.radios{display:block;margin:2px 0}
.radios label{display:flex;align-items:center;gap:12px;margin-bottom:10px;color:var(--light)}
.radios input[type=checkbox]{width:18px;height:18px;border-radius:50%;accent-color:var(--green)}

select{
	appearance:none;
	padding-right:48px;
	background-image:url('../images/dropdown.svg');
	background-position:calc(100% - 28px) calc(1em + 2px), calc(100% - 20px) calc(1em + 2px);
	background-repeat:no-repeat;
}

.consent{margin:18px 0}

.primary {
	background:var(--green);
	color: #4a3a27;
	border:none;
	padding:14px 22px;
	border-radius:10px 0 0 0;
	font-weight:700;
	cursor:pointer;
	margin-top:10px;
}

/* ===== Custom Circle Checkboxes ===== */

input[type="checkbox"] {
	appearance: none;
	border-radius: 50%;
	border: 2px solid var(--green);
	display: grid;
	place-content: center;
	padding:2px;
}

input[type="checkbox"]::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--green);
	transform: scale(0);
	transition: 0.2s all ease-in-out;
}

input[type="checkbox"]:checked::before {
	transform: scale(1);
}

/* ===== Fancy Checkbox ===== */

.fancy-checkbox {
	display: inline-flex;
	align-items: center;
	gap: var(--checkbox-gap);
	cursor: pointer;
	user-select: none;
	position: relative;
	font-family: inherit;
	color: inherit;
	line-height: 1;
	margin-top: 10px;
}

.fancy-checkbox input[type="checkbox"]{
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	margin: 0;
}

.fancy-checkbox .fbox{
	width: var(--checkbox-size);
	height: var(--checkbox-size);
	min-width: var(--checkbox-size);
	border-radius: 10px 0 0 0;
	box-sizing: border-box;
	border: var(--checkbox-border) solid var(--checkbox-border-muted);
	background: var(--brown);
	display: inline-block;
	position: relative;
	transition: background .18s ease, border-color .18s ease, transform .12s ease;
	flex-shrink: 0;
	overflow: hidden;
}

.fancy-checkbox .fbox::after {
    content: "";
    display: block;
    width: 43px;
    height: 43px;
}

.fancy-checkbox input[type="checkbox"]:checked + .fbox {
	background: var(--checkbox-color);
	border-color: var(--checkbox-color);
}

.fancy-checkbox input[type="checkbox"]:checked + .fbox::after {
	opacity: 1;
    background-image: url('../images/checkbox.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.fancy-checkbox input[type="checkbox"]:focus + .fbox {
	box-shadow: 0 0 0 6px var(--checkbox-focus-ring);
	outline: none;
}

.fancy-checkbox .label-text{
	font-size: 14px;
	display: inline-block;
}

.fancy-checkbox input[type="checkbox"]:disabled + .fbox {
	opacity: 0.55;
	cursor: not-allowed;
}

.fancy-checkbox input[type="checkbox"]:disabled ~ .label-text {
	opacity: 0.55;
	cursor: not-allowed;
}

/* ===== Custom Select ===== */

.custom-select { width:100%; }

.select-toggle {
	display:flex;
	align-items:center;
	gap:10px;
	width:100%;
	padding:10px 12px;
	border-radius:8px 0 0 0;
	background:var(--brown);
	border:1px solid var(--green);
	cursor:pointer;
	justify-content:space-between;
}

.select-placeholder { color:var(--green); }

.select-value {
	display:flex;
	align-items:center;
	gap:12px;
	flex:1;
	color:var(--green);
}

.options {
	margin:-1px 0 0 0;
	padding:2px;
	list-style:none;
	border:1px solid rgba(0,0,0,0.06);
	background:var(--brown);
	color:var(--light);
	display:none;
}

.custom-select.open .options {
	display:block;
	border:1px solid var(--green);
}

.options li {
	display:flex;
	align-items:center;
	gap:12px;
	padding:6px 6px;
	cursor:pointer;
	user-select:none;
	border-radius:6px;
}

.options li:hover {
	background: rgba(255,255,255,0.03);
}

.circle {
	width:18px;
	height:18px;
	min-width:18px;
	border-radius:50%;
	border:2px solid var(--green);
	display:inline-flex;
	align-items:center;
	justify-content:center;
	background:transparent;
}

.dot {
	width:10px;
	height:10px;
	border-radius:50%;
	background:transparent;
	transition: background .12s;
}

.options li[aria-selected="true"] .dot {
	background:var(--green);
	box-shadow:0 0 0 3px rgba(120,192,67,0.06);
}

.caret {
	background-image:url('../images/dropdown.svg');
	width:42px;
	height:21px;
	background-repeat:no-repeat;
}

/* Shared Alsalem Farms wordmark: transparent asset, no embedded old branding. */
[dir] .wrapper.alsalem-hero { background: var(--brown) !important; display: flex; align-items: center; justify-content: center; min-height: 65svh; height: 100svh; position: relative; }
.alsalem-hero-logo { width: min(80vw, 1000px); height: auto; object-fit: contain; filter: brightness(1.45); }
[dir] .blogo img.alsalem-footer-logo { width: min(76vw, 380px); max-width: 100%; height: auto; background: transparent; padding: 16px; filter: brightness(1.45); margin: 32px 0; }

/* Original farm artwork above the new wordmark. */
[dir] .wrapper.alsalem-hero { flex-direction: column; gap: 12px; padding: 60px 24px 90px; box-sizing: border-box; }
.alsalem-farm-illustration { width: min(70vw, 570px); height: min(48svh, 450px); object-fit: contain; }
.alsalem-hero-logo { width: min(80vw, 720px); max-height: 25svh; }
