/*!
Theme Name: ZagouraTraveaux
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: zagouratraveaux
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

ZagouraTraveaux is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* ==============================
   ROOT VARIABLES
================================= */
:root {
	/* Colors */
	--color-main: #2563eb;
	--color-secondary: #9333ea;
	--color-white: #ffffff;
	--color-black: #0f172a;
	--color-text: #f1f5f9;
	--color-text-dim: #94a3b8;
	--transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	--transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

	/* Responsive Typography */
	--fs-h1: clamp(2rem, 5vw + 1rem, 3rem);
	--fs-h2: clamp(1.5rem, 4vw + 1rem, 2.25rem);
	--fs-h3: clamp(1.25rem, 3vw + 1rem, 1.75rem);
	--fs-body: clamp(1rem, 2.5vw, 1.125rem);
}

* {
	font-family: 'IBM Plex Sans Arabic', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
	appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--color-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	/* background-image: url('./images/output-onlinepngtools.png') no-repeat center center fixed; */
	background-size: cover;
	margin-bottom: 0;
	background-color: rgba(15, 23, 42, 0.95);
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li>ul,
li>ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: min(2rem, 3vw);
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	position: absolute;
	top: 100%;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li:focus-within>ul {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.main-navigation ul ul a {
	width: 200px;
	font-size: 15px;
	padding: 10px 20px;
	color: var(--color-black);
	transition: background 0.3s ease, color 0.3s ease;
}

.main-navigation ul ul a:hover {
	background: #f8fafc;
	color: var(--color-main);
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu toggle. */
.menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 44px;
	height: 44px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	cursor: pointer;
	z-index: 1000;
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-toggle:hover {
	background: rgba(255, 255, 255, 0.2);
}

.menu-toggle svg {
	width: 24px;
	height: 24px;
	transition: transform 0.3s ease;
}

.toggled .menu-toggle svg {
	transform: rotate(90deg);
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}

	.main-navigation .menu {
		display: flex;
	}

	.main-navigation ul {
		display: flex;
		align-items: center;
		gap: 2.5rem;
		margin: 0;
		opacity: 1;
		pointer-events: auto;
	}

	.main-navigation ul a {
		color: #fff !important;
		font-weight: 600;
		font-size: 0.95rem;
		text-transform: uppercase;
		letter-spacing: 0.05em;
		transition: all 0.3s ease;
	}

	.main-navigation ul a:hover {
		color: var(--color-main) !important;
		opacity: 1;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-item video {
	object-position: 0 -10rem;
	object-fit: cover;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}



/* ==============================
	 RESET
   ================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: var(--fs-body);
	line-height: 1.6;
	color: var(--color-text);
	background-color: var(--color-black);
}

/* ==============================
	 TYPOGRAPHY
   ================================= */
h1 {
	font-size: var(--fs-h1);
	font-weight: 700;
}

h2 {
	font-size: var(--fs-h2);
	font-weight: 600;
}

h3 {
	font-size: var(--fs-h3);
	font-weight: 600;
}

p {
	font-size: var(--fs-body);
}

a {
	font-size: var(--fs-body);
	color: var(--color-main);
	text-decoration: none;
}

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

/* ==============================
	 MOBILE FRIENDLY DEFAULTS
   ================================= */
img {
	max-width: 100%;
	display: block;
}


.hero {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 100px 5%;
	color: var(--color-white);
	background: rgba(0, 0, 0, 0.4);
	position: relative;
	overflow: hidden;
}

.hero-content {
	max-width: 900px;
	z-index: 10;
	position: relative;
}

.hero .highlight {
	color: var(--color-main);
	font-weight: 700;
	font-size: clamp(1rem, 4vw + 1rem, 1.5rem);
}

.site-branding a {
	height: 60px;
	display: block;
}

.site-branding a img {
	object-fit: cover;
}

.custom-logo {
	height: 100%;
}

.hero video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -1;
	opacity: 1;
}

.site-title {
	margin: 0;
}

#masthead {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem min(5%, 2rem);
	margin: 1rem auto;
	width: min(94%, 1180px);
	backdrop-filter: blur(20px);
	background: rgba(15, 23, 42, 0.75);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#masthead.scrolled {
	padding: 0.5rem min(5%, 2rem);
	margin: 0.25rem auto;
	background: rgba(15, 23, 42, 0.98);
	border-color: rgba(255, 255, 255, 0.15);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.site-branding a {
	display: block;
	height: 60px;
	transition: height 0.4s ease;
}

#masthead.scrolled .site-branding a {
	height: 55px;
}

.site-branding img {
	object-fit: contain;
}

.custom-logo {
	height: 100%;
	width: auto;
	border-radius: 15px;
}

/* Correctly handle positioning when menu is open */
.main-navigation.toggled {
	z-index: 9999;
}

body:has(.main-navigation.toggled) #masthead {
	width: 100%;
	margin: 0;
	border-radius: 0;
	border: none;
	backdrop-filter: none;
	margin-inline: auto;
}

.hero a {
	display: inline-block;
	margin-top: 1.5rem;
	padding: 0.75rem 1.5rem;
	background: var(--color-main);
	color: var(--color-white);
	border-radius: 15px;
	transition: all 0.3s ease;
}

.hero a:hover {
	background: #1d4ed8;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.main_image__img {
	max-width: 100%;
}

.floating {
	width: clamp(120px, 15vw + 2rem, 300px);
	position: absolute;
	animation: float 6s ease-in-out infinite;
	right: 5%;
	top: 15%;
	z-index: 5;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.floating.second {
	animation-delay: 3s;
	left: 5%;
	right: auto;
	top: 70%;
	width: clamp(100px, 10vw + 1rem, 180px);
}

.hero-title {
	margin-block: 3rem;
}

.hero-description {
	font-size: clamp(1rem, 2.5vw + 1rem, 1.25rem);
	max-width: 800px;
	margin: 0 auto;
}

@keyframes float {
	0% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-20px);
	}

	100% {
		transform: translateY(0);
	}
}

#services-slider {
	padding-inline: 1rem;
}

#services-slider .splide__slide {
	display: grid;
}

#services-slider .splide__slide img {
	width: 100%;
	height: auto;
	border-radius: 15px;
	grid-area: 1 / 1;
}

#services-slider .splide__slide .content {
	padding: .3rem .5rem;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 15px;
	grid-area: 1 / 1;
	align-self: center;
	justify-self: center;
	color: var(--color-white);
	max-width: 80%;
}

.main_image {
	display: grid;
}

.main_image__title {
	grid-area: 1 / 1;
	align-self: center;
	justify-self: center;
	color: var(--color-white);
	font-size: clamp(2rem, 5vw + 1rem, 3rem);
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
	text-align: center;
	padding: 0.5rem;
}

.main_image__img {
	max-height: 80vh;
	grid-area: 1 / 1;
	width: 100%;
	object-fit: cover;
	object-position: center;
}

.banner_contact {
	display: grid;
	min-height: 80vh;
}

.banner_contact .banner__title {
	grid-area: 1 / 1;
	align-self: center;
	justify-self: center;
	color: var(--color-white);
	font-size: clamp(2rem, 5vw + 1rem, 3rem);
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
	text-align: center;
	padding: 0.5rem;
}

.banner_contact .banner__img {
	grid-area: 1 / 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	background: rgba(0, 0, 0, 0.4);
}

.banner__title p {
	margin: 0;
}

/* ==============================
   NEW CONTACT PAGE STYLES
   ============================== */

.contact-page-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2rem 0.5rem;
	background-color: var(--color-black);
	font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.contact-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 24px;
	display: flex;
	max-width: 1100px;
	width: 100%;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.contact-info-panel {
	background: rgba(255, 255, 255, 0.05);
	padding: 1.5rem 3rem;
	flex: 0 0 40%;
	display: flex;
	flex-direction: column;
	text-align: left;
}

.rtl .contact-info-panel {
	text-align: right;
}

.contact-title {
	font-size: 3.5rem;
	font-weight: 500;
	margin-bottom: 3rem;
	color: #fff;
	letter-spacing: -0.02em;
}

.contact-details {
	margin-bottom: auto;
}

.contact-item {
	margin-bottom: 2rem;
	display: flex;
	flex-direction: column;
}

.contact-item .label,
.social-follow .label {
	color: #fff;
	font-size: 0.9rem;
	margin-bottom: 0.25rem;
	font-weight: 400;
	display: block;
}

.contact-item .value {
	color: #fff;
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.4;
	word-break: break-word;
}

.rtl .contact-item .label,
.rtl .social-follow .label {
	text-align: right;
}

.rtl .contact-item .value {
	text-align: right;
}

.social-follow {
	margin-top: 2rem;
}

.social-icons {
	display: flex;
	gap: 1.25rem;
	margin-top: 1rem;
}

.rtl .social-icons {
	justify-content: flex-start;
}

.social-icon {
	width: 44px;
	height: 44px;
	background: #111;
	color: #fff !important;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon:hover {
	transform: translateY(-5px);
	background: var(--color-main);
}

/* Form Panel */
.contact-form-panel {
	padding: 3rem 1.5rem 1rem 1.5rem;
	flex: 1;
	background: transparent;
}

/* Contact Form 7 Specific Styling */
.wpcf7-form {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.wpcf7-form p {
	margin: 0;
	flex: 1 1 calc(50% - 1.5rem);
	min-width: 200px;
}

/* Make certain fields full width */
.wpcf7-form p:has(textarea),
.wpcf7-form p:has(input[type="submit"]),
.wpcf7-form .full-width,
.wpcf7-form p:nth-child(n+5) {
	/* Heuristic for complex forms */
	flex: 1 1 100%;
}

.wpcf7-form label {
	display: block;
	color: #fff;
	font-weight: 600;
	font-size: 1rem;
	width: 100%;
	margin-bottom: 0.5rem;
	text-align: inherit;
}

.wpcf7-form-control-wrap {
	display: block;
	width: 100%;
	margin-top: .5rem;
}

.wpcf7 form .wpcf7-response-output {
	margin: 0 auto;
	text-align: center;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
	width: 100%;
	background: rgba(0, 0, 0, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 1rem 1.25rem;
	font-size: 1rem;
	color: #fff;
	transition: all 0.3s ease;
	font-family: inherit;
	-webkit-appearance: none;
	appearance: none;
	display: block;
}

.wpcf7-form br {
	display: none;
}

.wpcf7-form label br {
	display: none;
}

.wpcf7-form select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C2.185 5.355 2.403 5 2.73 5h9.54c.327 0 .545.355.279.658l-4.796 5.482a.5.5 0 0 1-.727 0z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1.25rem center;
	padding-right: 3rem;
}

.rtl .wpcf7-form select {
	background-position: left 1.25rem center;
	padding-left: 3rem;
	padding-right: 1.25rem;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
	background: #fff;
	border-color: #ddd;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	outline: none;
}

.wpcf7-form textarea {
	min-height: 200px;
	resize: none;
}

/* Submit Button styling to match image */
.wpcf7-form input[type="submit"] {
	width: 100%;
	background: #111;
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 1.5rem;
	font-size: 1.2rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s ease, transform 0.2s ease;
	margin-top: 1rem;
}

.wpcf7-form input[type="submit"]:hover {
	background: #333;
}

.wpcf7-form input[type="submit"]:active {
	transform: scale(0.98);
}

/* RTL Support - Only align text, don't swap panels unless specifically requested */
.rtl .contact-info-panel {
	text-align: right;
}

.rtl .social-icons {
	justify-content: flex-start;
}

.rtl .wpcf7-form {
	direction: rtl;
	text-align: right;
}

.rtl .wpcf7-form select {
	background-position: left 1.25rem center;
	padding-left: 3rem;
	padding-right: 1.25rem;
}

/* Responsive */
@media (max-width: 1024px) {
	.contact-card {
		flex-direction: column;
	}

	.contact-info-panel,
	.contact-form-panel {
		flex: 1 1 100%;
		padding: 3rem 2rem;
	}
}

@media (max-width: 640px) {
	.wpcf7-form {
		grid-template-columns: 1fr;
	}

	.contact-title {
		font-size: 2.5rem;
	}

	/* Hidden on mobile to use the custom drawer instead */
	.main-navigation #primary-menu {
		display: none;
	}
}

.nav-menu {
	display: flex;
	gap: 1.5rem;
}

.nav-menu a {
	color: var(--color-white);
}

.nav-menu a:hover {
	color: var(--color-main) !important;
}

.main-navigation .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 100;
	min-width: 240px;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(12px);
	border-radius: 14px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
	padding: 8px;
	margin-top: 10px;
	/* Reduced gap */
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
	display: block !important;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.main-navigation .sub-menu::after {
	content: '';
	position: absolute;
	top: -15px;
	left: 0;
	width: 100%;
	height: 15px;
	z-index: -1;
}

.rtl .main-navigation .sub-menu {
	left: auto;
	right: 0;
}

.main-navigation .sub-menu::before {
	content: '';
	position: absolute;
	top: -7px;
	left: 20px;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-bottom: 7px solid rgba(255, 255, 255, 0.98);
}

.rtl .main-navigation .sub-menu::before {
	left: auto;
	right: 20px;
}

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

.main-navigation .sub-menu a {
	color: #333 !important;
	padding: 10px 16px;
	border-radius: 10px;
	font-size: 0.9rem;
	font-weight: 500;
	transition: all 0.2s ease;
	display: block;
	width: 100%;
	text-align: left;
}

.rtl .main-navigation .sub-menu a {
	text-align: right;
}

.main-navigation .sub-menu a:hover {
	background: rgba(37, 99, 235, 0.05);
	color: var(--color-main) !important;
	transform: translateX(4px);
}

.rtl .main-navigation .sub-menu a:hover {
	transform: translateX(-4px);
}

/* Removed redundant styles, handled above in .main-navigation ul ul a */

/* ================= FOOTER ================= */

.site-footer {
	background-color: #0f172a;
	background-image: radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.05) 0px, transparent 50%),
		radial-gradient(at 100% 0%, rgba(147, 51, 234, 0.05) 0px, transparent 50%);
	color: #ffffff;
	padding: 80px 0 0;
	direction: rtl;
	margin-top: 5rem;
	position: relative;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: min(90%, 1200px);
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.3), transparent);
}

.footer-container {
	width: min(90%, 1200px);
	margin: auto;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 60px;
}

@media (max-width: 768px) {
	.footer-container {
		grid-template-columns: 1fr;
		gap: 40px;
		text-align: center;
	}
}

.footer-column h3,
.footer-column h4 {
	margin-bottom: 24px;
	color: #fff;
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: -0.01em;
	position: relative;
	display: inline-block;
}

.footer-column h3::after,
.footer-column h4::after {
	content: '';
	position: absolute;
	bottom: -8px;
	right: 0;
	width: 30px;
	height: 2px;
	background: var(--color-main);
	border-radius: 2px;
}

@media (max-width: 768px) {

	.footer-column h3::after,
	.footer-column h4::after {
		right: 50%;
		transform: translateX(50%);
	}
}

.footer-column p {
	line-height: 1.8;
	font-size: 1rem;
	color: #94a3b8;
	max-width: 400px;
}

@media (max-width: 768px) {
	.footer-column p {
		margin-inline: auto;
	}
}

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

.footer-column ul li {
	margin-bottom: 14px;
}

.footer-column ul li a {
	color: #94a3b8;
	text-decoration: none;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.ltr {
	direction: ltr;
}

.rtl {
	direction: rtl;
}

.footer-column ul li a:hover {
	color: #3b82f6;
	transform: translateX(5px);
	/* Changed for RTL-friendly push */
}

.rtl .footer-column ul li a i {
	transform: scaleX(-1);
	/* Flip chevron for Arabic */
}

.footer-contact-item {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	color: #94a3b8;
	font-size: 0.95rem;
}

@media (max-width: 768px) {
	.footer-contact-item {
		justify-content: center;
	}
}

.footer-contact-item i {
	color: var(--color-main);
	width: 20px;
	text-align: center;
}

/* Bottom bar */
.footer-bottom {
	text-align: center;
	padding: 1.5rem 1rem;
	margin-top: 3rem;
	background: rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(5px);
	border-top: 1px solid rgba(255, 255, 255, 0.03);
	font-size: 0.875rem;
	color: #64748b;
}

.footer-bottom p {
	margin: 0;
	max-width: none;
}

/* ===================== */
/* CLEAN FLEX GALLERY */
/* ===================== */

.photo-gallery {
	width: 90%;
	max-width: 1300px;
	margin: 80px auto;
	position: relative;
	z-index: -1;
}

.gallery-flex {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	justify-content: center;
}

.gallery-item {
	flex: 1 1 300px;
	/* responsive width */
	max-width: 400px;
	border-radius: 18px;
	overflow: hidden;
	position: relative;
	aspect-ratio: 4 / 5;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 18px;
	transition: transform 0.5s ease, filter 0.5s ease;
}

/* Hover effect */
.gallery-item:hover img {
	transform: scale(1.05);
	filter: brightness(0.85);
}

.about-us-content {
	background: #0f172a;
	padding: 80px 0;
	position: relative;
	overflow: hidden;
}

.container_about {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 min(5%, 2rem);
	color: white;
	gap: 3rem;
	max-width: 1300px;
	margin: 0 auto;
}

.content_about {
	flex: 1;
	text-align: center;
	z-index: 2;
}

.content_about h1,
.content_about h2 {
	font-size: clamp(2rem, 5vw, 3rem);
	margin-bottom: 2rem;
	color: #fff;
	background: linear-gradient(to right, #fff, var(--color-main));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: 800;
}

.content_about p {
	font-size: 1.15rem;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 1.5rem;
}

.container_about .image {
	flex: 0 0 320px;
	position: relative;
	z-index: 1;
}

.container_about img {
	width: 100%;
	height: 450px;
	border-radius: 30px;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
	object-fit: cover;
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: transform 0.4s ease;
}

.container_about .image:hover img {
	transform: translateY(-10px);
}

@media (max-width: 1024px) {
	.container_about {
		flex-direction: column;
		gap: 4rem;
		text-align: center;
	}

	.container_about .image {
		flex: 0 0 auto;
		width: 100%;
		max-width: 400px;
	}

	.container_about img {
		height: auto;
		aspect-ratio: 4/5;
	}

	.content_about {
		order: -1;
	}
}

.mxh .banner__img,
.banner_contact img {
	max-height: 80vh;
}

@media (max-width: 768px) {
	.menu-toggle {
		width: 44px;
		height: 44px;
		padding: 0;
		border: 1px solid rgba(255, 255, 255, 0.15);
		background: rgba(255, 255, 255, 0.05);
		border-radius: 12px;
		cursor: pointer;
		position: relative;
		z-index: 1001;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 6px;
		margin: 0;
	}

	.menu-toggle span {
		display: block;
		width: 20px;
		height: 2px;
		background-color: #fff;
		border-radius: 2px;
		transition: 0.3s;
	}

	.main-navigation.toggled .menu-toggle span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	.main-navigation.toggled .menu-toggle span:nth-child(2) {
		opacity: 0;
		transform: translateX(10px);
	}

	.main-navigation.toggled .menu-toggle span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}
}

body:has(.main-navigation.toggled) {
	overflow: hidden;
}

.services-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: space-between;
	padding: 3rem min(5%, 2rem) 0 min(5%, 2rem);
}

.service-item {
	flex: 0 1 min(100%, 320px);
	color: white;
}

.service-item img {
	width: 100%;
	height: auto;
	display: block;
}

.service-item .content {
	margin-top: 15px;
}

.content_service {
	padding: 6rem min(5%, 3rem) 2rem min(5%, 3rem);
	color: white;
}

/* ================= OUR VALUES SECTION ================= */
.our-values {
	padding: 80px 5%;
	background: var(--color-black);
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
	text-align: center;
	margin-bottom: 60px;
	font-size: 2.5rem;
	font-weight: 800;
	color: #fff;
}

.values-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
	padding: 0 5%;
}

.value-item {
	background: rgba(255, 255, 255, 0.03);
	padding: 30px;
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.05);
	transition: all 0.3s ease;
	display: flex;
	align-items: flex-start;
}

.value-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.value-icon {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
}

.value-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.value-content h3 {
	margin-bottom: 12px;
	font-size: 1.25rem;
	color: #fff;
}

.value-content p {
	color: var(--color-text-dim);
	font-size: 0.95rem;
	line-height: 1.6;
	margin: 0;
}

/* ================= SERVICES (DYNAMIC) ================= */
.services {
	padding: 100px 5%;
}

.services h2 {
	text-align: center;
	margin-bottom: 20px;
	color: white;
}

.services>p {
	text-align: center;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 60px;
	max-width: 700px;
	margin-inline: auto;
}

.services-wrapper {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 40px;
}

.service-item {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 24px;
	overflow: hidden;
	transition: all 0.4s ease;
	display: flex;
	flex-direction: column;
}

.service-item:hover {
	background: rgba(255, 255, 255, 0.05);
	transform: translateY(-5px);
	border-color: var(--color-main);
}

.service-image {
	height: 240px;
	overflow: hidden;
}

.service-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.service-item:hover .service-image img {
	transform: scale(1.1);
}

.service-item .content {
	padding: 30px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.service-item h3 {
	font-size: 1.5rem;
	margin-bottom: 15px;
	color: white;
}

.service-item p {
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 25px;
}

.read-more {
	margin-top: auto;
	color: var(--color-main) !important;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: gap 0.3s ease;
}

.read-more:hover {
	gap: 15px;
}

/* ================= GALLERY (HOME) ================= */
.home-gallery {
	padding: 100px 5%;
	background: var(--color-black);
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.gallery-item {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 1;
}

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

.overlay {
	position: absolute;
	inset: 0;
	background: rgba(37, 99, 235, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.overlay i {
	color: white;
	font-size: 2rem;
	transform: scale(0.5);
	transition: transform 0.3s ease;
}

.gallery-item:hover img {
	transform: scale(1.1);
}

.gallery-item:hover .overlay {
	opacity: 1;
}

.gallery-item:hover .overlay i {
	transform: scale(1);
}

@media (max-width: 600px) {
	.value-item {
		flex-direction: column;
		text-align: center;
		padding: 30px;
	}

	.value-icon {
		margin-inline: auto;
	}
}

@media (max-width: 768px) {
	.nav-menu {
		position: fixed;
		top: 0 !important;
		left: 0 !important;
		width: 100% !important;
		height: 100dvh !important;
		background: #0f172a !important;
		/* Solid background for certainty */
		z-index: 1000 !important;
		display: flex !important;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
		padding: 8rem 2rem !important;
		margin: 0 !important;
		list-style: none !important;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: all 0.4s ease;
		overflow-y: auto;
		box-sizing: border-box !important;
	}

	.main-navigation.toggled .nav-menu {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.nav-menu li {
		opacity: 0;
		transform: translateY(20px);
		transition: all 0.5s ease;
		margin-bottom: 1.5rem;
		width: 100%;
		text-align: center;
		display: block !important;
		position: relative;
		z-index: 10;
	}

	.main-navigation.toggled .nav-menu li {
		opacity: 1;
		transform: translateY(0);
	}

	.nav-menu a {
		font-size: 2.2rem;
		font-weight: 800;
		color: #fff !important;
		text-decoration: none;
		letter-spacing: -0.02em;
		padding: 10px 0;
		display: inline-block;
		width: 100%;
		position: relative;
		z-index: 11;
		pointer-events: auto;
	}

	.nav-menu .menu-item-has-children>a,
	.nav-menu .page_item_has_children>a {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 15px;
		position: relative;
		z-index: 5;
	}

	.nav-menu .menu-item-has-children>a::after,
	.nav-menu .page_item_has_children>a::after {
		content: '\f107';
		/* FontAwesome chevron-down */
		font-family: "Font Awesome 6 Free";
		font-weight: 900;
		font-size: 1.5rem;
		transition: transform 0.3s ease;
		color: rgba(255, 255, 255, 0.5);
	}

	.nav-menu .menu-item-has-children.toggled-on>a::after,
	.nav-menu .page_item_has_children.toggled-on>a::after,
	.nav-menu .menu-item-has-children.focus>a::after,
	.nav-menu .page_item_has_children.focus>a::after {
		transform: rotate(180deg);
		color: var(--color-main);
	}

	.nav-menu .sub-menu {
		position: static;
		opacity: 0;
		visibility: hidden;
		max-height: 0;
		transform: none;
		background: rgba(255, 255, 255, 0.03);
		box-shadow: none;
		padding: 0;
		margin: 0;
		display: block !important;
		min-width: 0;
		border: none;
		backdrop-filter: none;
		overflow: hidden;
		transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
		border-radius: 12px;
	}

	.nav-menu .menu-item-has-children.toggled-on>.sub-menu,
	.nav-menu .page_item_has_children.toggled-on>.sub-menu,
	.nav-menu .menu-item-has-children.focus>.sub-menu,
	.nav-menu .page_item_has_children.focus>.sub-menu {
		opacity: 1;
		visibility: visible;
		max-height: 800px;
		/* Increased for multiple items */
		padding: 1.5rem 0;
		margin-top: 1rem;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.nav-menu .sub-menu li {
		margin-bottom: 0.5rem;
		opacity: 0.7;
		padding: 0 1rem;
	}

	.nav-menu .sub-menu li:last-child {
		margin-bottom: 0;
	}

	.nav-menu .sub-menu a {
		font-size: 1.4rem;
		font-weight: 500;
		color: #fff !important;
		padding: 0.5rem 0;
	}

	.lang-switcher {
		display: flex !important;
		position: relative !important;
		z-index: 2001 !important;
		margin: 0 !important;
	}

	.main-navigation.toggled .lang-switcher {
		display: flex !important;
		position: relative !important;
		bottom: auto !important;
		left: auto !important;
		right: auto !important;
		margin: 0 !important;
		z-index: 2001 !important;
	}

	.lang-current {
		display: flex !important;
		align-items: center !important;
		gap: 8px !important;
		padding: 6px 14px !important;
		border: 1px solid rgba(255, 255, 255, 0.2) !important;
		background: rgba(255, 255, 255, 0.1) !important;
		backdrop-filter: blur(10px) !important;
		border-radius: 50px !important;
		color: #fff !important;
		font-weight: 700 !important;
		font-size: 0.85rem !important;
	}

	.lang-switcher.active .lang-dropdown {
		opacity: 1 !important;
		visibility: visible !important;
		transform: translateY(0) !important;
		pointer-events: auto !important;
	}

	.lang-dropdown {
		position: absolute !important;
		top: 100% !important;
		bottom: auto !important;
		left: auto !important;
		right: 0 !important;
		transform: translateX(0) translateY(10px) !important;
		min-width: 70px !important;
		background: #0f172a !important;
		border: 1px solid rgba(255, 255, 255, 0.2) !important;
		border-radius: 12px !important;
		padding: 5px 0 !important;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
		z-index: 2002 !important;
	}

	.lang-dropdown li a {
		color: #fff !important;
		font-size: 1rem !important;
		font-weight: 600 !important;
		text-align: center;
		display: block;
		opacity: 0.8;
	}

	.lang-dropdown li a:hover {
		opacity: 1;
		color: var(--color-main) !important;
	}
}

.header-controls {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.lang-dropdown {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

@media (min-width: 48em) {
	.lang-switcher {
		position: relative;
		display: inline-flex;
		align-items: center;
		margin: 0;
		padding: 5px 0;
	}

	.lang-current {
		display: flex;
		align-items: center;
		gap: 12px;
		color: #fff;
		font-weight: 700;
		font-size: 0.9rem;
		cursor: pointer;
		opacity: 0.9;
		transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		background: rgba(255, 255, 255, 0.08);
		padding: 10px 20px;
		border-radius: 50px;
		border: 1px solid rgba(255, 255, 255, 0.15);
		backdrop-filter: blur(10px);
	}

	.lang-current:hover {
		background: rgba(255, 255, 255, 0.15);
		border-color: rgba(255, 255, 255, 0.3);
		opacity: 1;
	}

	.lang-current i {
		font-size: 0.75rem;
		transition: transform 0.3s ease;
		opacity: 0.6;
	}

	.lang-switcher:hover .lang-current i {
		transform: rotate(180deg);
	}

	.lang-dropdown {
		position: absolute;
		top: calc(100% + 12px);
		right: 0;
		min-width: 110px;
		background: #0f172a;
		border: 1px solid rgba(255, 255, 255, 0.1);
		border-radius: 18px;
		padding: 10px 0;
		opacity: 0;
		visibility: hidden;
		transform: translateY(15px);
		transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
		box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
		list-style: none !important;
		margin: 0;
		z-index: 3000;
		backdrop-filter: blur(20px);
	}

	.rtl .lang-dropdown {
		right: 0;
		left: auto;
	}

	.lang-switcher:hover .lang-dropdown,
	.lang-switcher.active .lang-dropdown {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.lang-dropdown li {
		margin: 0 !important;
		padding: 0 !important;
		width: 100%;
	}

	.lang-dropdown a {
		display: block;
		padding: 12px 20px;
		color: rgba(255, 255, 255, 0.8) !important;
		font-size: 0.9rem;
		font-weight: 600;
		transition: all 0.2s ease;
		text-decoration: none;
		text-align: center;
	}

	.lang-dropdown a:hover {
		background: rgba(255, 255, 255, 0.05);
		color: #fff !important;
		padding-inline: 25px;
	}
}