/* خطوط مخصصة كما في التصميم */
.font-tajawal{font-family:Tajawal,Cairo,sans-serif}
.font-cairo{font-family:Cairo,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}

/* تأثير تدرج العلامة التجارية */
.brand-gradient{
	background-image:linear-gradient(135deg,#22c55e,#4ade80,#a855f7);
	-webkit-background-clip:text;
	background-clip:text;
	color:transparent;
}

/* توهج قوي للنص */
.brand-glow-strong{
	text-shadow:0 0 18px rgba(34,197,94,.65),0 0 35px rgba(56,189,248,.45);
}

/* نص نيون أخضر */
.neon-text{
	text-shadow:0 0 12px rgba(74,222,128,.8),0 0 30px rgba(34,197,94,.6);
}

/* صندوق زجاجي مع حد نيون */
.glass-neon{
	background:rgba(15,23,42,.78);
	border:1px solid rgba(34,197,94,.35);
	box-shadow:0 0 20px rgba(34,197,94,.35);
	backdrop-filter:blur(14px);
}

/* توهج حول الصناديق والعناصر */
.neon-box-glow{
	box-shadow:0 0 20px rgba(34,197,94,.38);
}

/* شريط علوي خفيف التوهج */
.neon-box-glow-soft{
	box-shadow:0 0 12px rgba(34,197,94,.25);
}
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hover-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none;appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}*{border-color:hsl(var(--border))}body{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}body:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}body{font-family:Cairo,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}h1,h2,h3,h4,h5,h6{font-family:Tajawal,Cairo,sans-serif}.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 1400px){.container{max-width:1400px}}
/* ألوان الشريط العلوي والسفلي */
:root{
  --top-bar-bg:#020617;          /* خلفية الشريط العلوي */
  --top-bar-border:#22c55e40;    /* حد سفلي أخضر خفيف */
  --bottom-bar-bg:#020617;       /* خلفية الشريط السفلي */
  --bottom-bar-border:#22c55e40; /* حد علوي أخضر خفيف */
}

/* إخفاء القائمة على الموبايل وإظهارها على الكمبيوتر - احتياطي قوي */
@media (max-width: 1023px) {
  nav > div.hidden.lg\:flex,
  #nav-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
  }

  #mobile-menu-trigger {
    display: flex !important;
  }
}

@media (min-width: 1024px) {
  /* القائمة الأفقية - قواعد قوية جداً */
  nav > div.hidden.lg\:flex,
  #nav-menu,
  nav .hidden.lg\:flex {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    align-items: center !important;
    gap: 1.5rem !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* كل رابط في القائمة */
  #nav-menu > a,
  nav .hidden.lg\:flex > a,
  nav > div.hidden.lg\:flex > a {
    display: inline-block !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.875rem !important;
    font-weight: bold !important;
    transition: all 0.3s !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    color: #d1d5db !important;
  }

  /* الرابط النشط */
  #nav-menu > a.neon-text,
  #nav-menu > a.text-green-400,
  nav .hidden.lg\:flex > a.neon-text,
  nav .hidden.lg\:flex > a.text-green-400 {
    color: #22c55e !important;
  }

  /* Hover effect */
  #nav-menu > a:hover,
  nav .hidden.lg\:flex > a:hover {
    color: #22c55e !important;
    transform: scale(1.05) !important;
  }

  /* إخفاء زر الموبايل */
  #mobile-menu-trigger {
    display: none !important;
    visibility: hidden !important;
  }
}

/* الشريط العلوي (الهيدر) */
header.sticky.top-0{
  background-color:var(--top-bar-bg) !important;
  border-bottom-color:var(--top-bar-border) !important;
  box-shadow:0 8px 30px rgba(0,0,0,.45);
}

/* الشريط السفلي (الفوتر) */
footer.bg-gray-950{
  background-color:var(--bottom-bar-bg) !important;
  border-top-color:var(--bottom-bar-border) !important;
}

/* تأثير نيون عند الاقتراب في صفحة عن الشركة */
.about-glow-card{
	transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease,background-color .25s ease;
}
.about-glow-card:hover{
	transform:translateY(-6px);
	border-color:rgba(34,197,94,.65);
	box-shadow:0 0 20px rgba(34,197,94,.35);
	background-color:rgba(15,23,42,.95);
}

.about-glow-title,
.about-glow-text,
.about-glow-icon{
	transition:color .25s ease,text-shadow .25s ease;
}

.about-glow-card:hover .about-glow-title{
	color:#bbf7d0;
	text-shadow:0 0 12px rgba(74,222,128,.8);
}

.about-glow-card:hover .about-glow-text{
	color:#e5e7eb;
}

.about-glow-card:hover .about-glow-icon{
	color:#22c55e;
}

.about-glow-pill{
	transition:transform .25s ease,box-shadow .25s ease,background-color .25s ease;
}

.about-glow-pill:hover{
	transform:translateX(-4px);
	background-color:rgba(15,23,42,.9);
	box-shadow:0 0 16px rgba(34,197,94,.25);
}

.about-glow-main{
	transition:text-shadow .25s ease,color .25s ease;
}

.about-glow-main:hover{
	color:#bbf7d0;
	text-shadow:0 0 18px rgba(34,197,94,.8);
}

/* ==================== نظام القائمة الجديد ==================== */

/* زر القائمة */
#mobile-menu-trigger {
	position: relative;
	z-index: 40;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 8px;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(74, 222, 128, 0.05) 100%);
	border: 1.5px solid rgba(34, 197, 94, 0.2);
}

#mobile-menu-trigger:active {
	transform: scale(0.92);
	background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(74, 222, 128, 0.1) 100%);
	border-color: rgba(34, 197, 94, 0.4);
	box-shadow: 0 0 12px rgba(34, 197, 94, 0.15);
}

/* الخط الأفقي للزر */
#mobile-menu-trigger span {
	width: 24px;
	height: 2px;
	background: linear-gradient(90deg, #22c55e, #4ade80);
	position: relative;
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	box-shadow: 0 6px 0 rgba(34, 197, 94, 0.8), 0 -6px 0 rgba(34, 197, 94, 0.8);
}

/* تحويل الزر عند التفعيل - تحويل الخطوط إلى X */
#mobile-menu-trigger.active span {
	background: transparent;
	box-shadow: none;
}

#mobile-menu-trigger.active span::before {
	content: '';
	position: absolute;
	width: 24px;
	height: 2px;
	background: #22c55e;
	transform: rotate(45deg);
}

#mobile-menu-trigger.active span::after {
	content: '';
	position: absolute;
	width: 24px;
	height: 2px;
	background: #22c55e;
	transform: rotate(-45deg);
}

/* خلفية شفافة (Backdrop) */
#mobile-menu-backdrop {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0);
	z-index: 38;
	transition: background-color 0.3s ease;
	pointer-events: none;
	visibility: hidden;
	opacity: 0;
}

#mobile-menu-backdrop.active {
	display: block;
	background: rgba(0, 0, 0, 0.5);
	pointer-events: auto;
	backdrop-filter: blur(4px);
	visibility: visible;
	opacity: 1;
}

/* لوحة القائمة */
#mobile-menu-panel {
	position: fixed;
	top: 0;
	right: -320px;
	width: 300px;
	height: 100vh;
	background: linear-gradient(180deg, rgba(6, 18, 38, 0.98) 0%, rgba(15, 23, 42, 0.95) 100%);
	border-left: 2px solid;
	border-image: linear-gradient(180deg, rgba(34, 197, 94, 0.4) 0%, rgba(34, 197, 94, 0.05) 100%) 1;
	z-index: 39;
	transition: right 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	overflow-y: auto;
	overflow-x: hidden;
	backdrop-filter: blur(10px);
	box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
}

#mobile-menu-panel.active {
	right: 0;
	visibility: visible;
}

/* رأس القائمة مع زر الإغلاق */
.mobile-menu-header {
	padding: 20px 16px;
	border-bottom: 1px solid rgba(34, 197, 94, 0.1);
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(74, 222, 128, 0.02) 100%);
}

.mobile-menu-header h3 {
	color: #22c55e;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 1px;
	text-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
}

/* زر الإغلاق */
#mobile-menu-close {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 6px;
	transition: all 0.3s ease;
	background: rgba(34, 197, 94, 0.1);
	border: 1px solid rgba(34, 197, 94, 0.2);
	color: #22c55e;
}

#mobile-menu-close:active {
	background: rgba(34, 197, 94, 0.2);
	transform: rotate(90deg) scale(0.9);
}

/* قائمة الروابط */
.mobile-menu-links {
	padding: 12px 8px;
}

.mobile-menu-links a {
	display: block;
	padding: 14px 16px;
	color: #d1d5db;
	text-decoration: none;
	border-radius: 8px;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	margin-bottom: 4px;
	position: relative;
	overflow: hidden;
	font-weight: 500;
}

.mobile-menu-links a::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 3px;
	height: 100%;
	background: linear-gradient(180deg, #22c55e, #4ade80);
	transform: scaleY(0);
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	transform-origin: top;
}

.mobile-menu-links a:hover {
	color: #22c55e;
	background: linear-gradient(90deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
	padding-left: 20px;
}

.mobile-menu-links a:hover::before {
	transform: scaleY(1);
}

.mobile-menu-links a.active {
	color: #22c55e;
	background: linear-gradient(90deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
	font-weight: 600;
}

/* زر لوحة التحكم */
.mobile-menu-admin {
	padding: 12px 8px;
	border-top: 1px solid rgba(34, 197, 94, 0.1);
	margin-top: 12px;
}

.mobile-menu-admin a {
	display: block;
	padding: 12px 16px;
	color: #22c55e;
	text-decoration: none;
	border-radius: 8px;
	transition: all 0.3s ease;
	border: 1.5px solid rgba(34, 197, 94, 0.4);
	text-align: center;
	font-weight: 600;
	background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(74, 222, 128, 0.05) 100%);
}

.mobile-menu-admin a:hover {
	background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(74, 222, 128, 0.15) 100%);
	border-color: rgba(34, 197, 94, 0.6);
	box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
	transform: translateY(-2px);
}

/* Scrollbar مخصص */
#mobile-menu-panel::-webkit-scrollbar {
	width: 6px;
}

#mobile-menu-panel::-webkit-scrollbar-track {
	background: transparent;
}

#mobile-menu-panel::-webkit-scrollbar-thumb {
	background: rgba(34, 197, 94, 0.3);
	border-radius: 3px;
	transition: background 0.3s ease;
}

#mobile-menu-panel::-webkit-scrollbar-thumb:hover {
	background: rgba(34, 197, 94, 0.5);
}

/* --- New Technical Background Classes --- */
/* Platform Specific Glowing Buttons */
.btn-platform {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-platform-m {
    border-color: rgba(6, 182, 212, 0.5) !important;
    color: #22d3ee !important;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.btn-platform-m:hover {
    background: rgba(6, 182, 212, 0.15);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.6);
    border-color: #06b6d4 !important;
    transform: translateY(-3px) scale(1.02);
}

.btn-platform-f {
    border-color: rgba(139, 92, 246, 0.5) !important;
    color: #a78bfa !important;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.btn-platform-f:hover {
    background: rgba(139, 92, 246, 0.15);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.6);
    border-color: #8b5cf6 !important;
    transform: translateY(-3px) scale(1.02);
}

.tech-section-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    overflow: hidden;
    background-color: transparent !important;
}

/* Ensure content visibility on top of backgrounds */
.tech-section-bg > div {
    position: relative;
    z-index: 10;
}