/* ==========================================================================
   EDTEKLMS MASTER STYLESHEET
   يحتوي على كافة تنسيقات الموقع مجمعة ومنقحة بدون تكرار
   ========================================================================== */

/* ═══════════════════════════════════════
   1. الجذور والأساسيات (ROOT & RESET)
═══════════════════════════════════════ */
:root {
  --blue:    #0056b3;
  --blue-d:  #003d80;
  --blue-l:  #e8f1fb;
  --blue-m:  #cce0f5;
  --orange:  #ff9f1c;
  --orange-d:#e68a00;
  --green:   #2ecc71;
  --dark:    #1a1a2e;
  --gray:    #6c757d;
  --light:   #f8f9fa;
  --white:   #ffffff;
  --border:  #e4e9f0;
  --text:    #333333;
  --shadow:  0 8px 32px rgba(0,86,179,.08);
  --shadow-md: 0 12px 40px rgba(0,86,179,.1);
  --shadow-lg: 0 20px 60px rgba(0,86,179,.12);
  --radius:  14px;
  --trans:   all .3s cubic-bezier(.25,.8,.25,1);

  /* متغيرات خاصة بالشريط الجانبي وشريط التنقل */
  --sidebar: 280px;
  --subnav:  56px;
  --header:  72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}
body.en { font-family: 'Poppins', sans-serif; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

/* ═══════════════════════════════════════
   2. العناوين المشتركة والأنيميشن
═══════════════════════════════════════ */
.sec-header { text-align: center; margin-bottom: 60px; }
.sec-tag { display: inline-block; background: var(--blue-l); color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .32rem 1rem; border-radius: 100px; margin-bottom: 1rem; }
.sec-title { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--dark); line-height: 1.25; margin-bottom: .9rem; }
.sec-sub { font-size: 1.02rem; color: var(--gray); max-width: 620px; margin: 0 auto; line-height: 1.8; }
.section-divider { text-align: center; margin-bottom: 60px; }
.section-divider h2 { font-size: 1.8rem; font-weight: 900; color: var(--dark); display: inline-block; padding-bottom: 10px; border-bottom: 3px solid var(--orange); }

.reveal {opacity:0; transform:translateY(32px); transition:opacity .65s ease, transform .65s ease;}
.reveal.visible {opacity:1; transform:translateY(0);}
.reveal-delay-1 {transition-delay:.1s;}
.reveal-delay-2 {transition-delay:.2s;}

/* ═══════════════════════════════════════
   3. الهيدر والقوائم (HEADER & NAV)
═══════════════════════════════════════ */
#header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,.04);
  transition: var(--trans);
}
#header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header); gap: 1rem;
}
.logo { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.logo-img {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.logo-img i { color: #fff; font-size: 1.2rem; }
.logo-img img { width: 32px; filter: brightness(0) invert(1); }
.logo-text h2 { font-size: 1.25rem; font-weight: 800; color: var(--dark); line-height: 1.1; }
.logo-text h2 span { color: var(--orange); }
.logo-text p { font-size: .65rem; color: var(--gray); letter-spacing: .08em; margin-top: .05rem; }

.nav { display: flex; align-items: center; gap: .2rem; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: .28rem;
  font-size: .84rem; font-weight: 600; color: var(--dark);
  padding: .5rem .75rem; border-radius: 8px; cursor: pointer;
  white-space: nowrap; transition: var(--trans);
}
.nav-link:hover, .nav-link.active { color: var(--blue); background: var(--blue-l); }
.nav-link i { font-size: .65rem; color: var(--gray); }

/* القائمة المنسدلة */
.dropdown {
  position: absolute; top: calc(100% + 8px); min-width: 220px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: .5rem; opacity: 0; visibility: hidden;
  transform: translateY(-8px); transition: var(--trans); z-index: 100;
}
html[dir="rtl"] .dropdown { right: 0; }
html[dir="ltr"] .dropdown { left: 0; }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: .6rem;
  font-size: .82rem; font-weight: 500; color: var(--text);
  padding: .6rem .9rem; border-radius: 8px; transition: var(--trans);
}
.dropdown a i { color: var(--blue); font-size: .8rem; width: 16px; text-align: center; }
.dropdown a:hover { background: var(--blue-l); color: var(--blue); }

.nav-actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.lang-btn {
  display: flex; align-items: center; gap: .4rem;
  font-size: .8rem; font-weight: 600; color: var(--blue);
  background: var(--blue-l); padding: .38rem .9rem;
  border-radius: 8px; border: none; cursor: pointer; transition: var(--trans);
}
.lang-btn:hover { background: var(--blue); color: var(--white); }
.btn-login {
  font-size: .82rem; font-weight: 600; color: var(--dark);
  padding: .42rem .9rem; border-radius: 8px; border: 1.5px solid var(--border); transition: var(--trans);
}
.btn-login:hover { border-color: var(--blue); color: var(--blue); }
.btn-demo {
  font-size: .82rem; font-weight: 700; color: var(--white); background: var(--blue);
  padding: .5rem 1.2rem; border-radius: 8px; transition: var(--trans); box-shadow: 0 4px 14px rgba(0,86,179,.3);
}
.btn-demo:hover { background: var(--blue-d); transform: translateY(-1px); }

.burger { display: none; flex-direction: column; gap: 4px; cursor: pointer; padding: .45rem; flex-shrink: 0; }
.burger span { width: 20px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--trans); }

/* قائمة الموبايل */
.mobile-nav {
  display: none; position: fixed; inset: var(--header) 0 0;
  background: var(--white); z-index: 999; overflow-y: auto;
  padding: 1.5rem; flex-direction: column; gap: .5rem;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a, .mobile-nav button {
  font-family: inherit; font-size: .92rem; font-weight: 600; color: var(--dark);
  padding: .75rem 1rem; border-radius: 10px; border: none; background: transparent;
  cursor: pointer; text-align: start; border-bottom: 1px solid var(--border); transition: var(--trans);
}
.mobile-nav a:hover, .mobile-nav button:hover { color: var(--blue); background: var(--blue-l); }

/* ═══════════════════════════════════════
   4. شريط التنقل الفرعي (SUB-NAV & FILTER)
═══════════════════════════════════════ */
#subnav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  position: sticky;
  top: var(--header);
  z-index: 900;
  height: var(--subnav);
}
.subnav-scroll {
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: .45rem;
  overflow-x: auto; scrollbar-width: none;
}
.subnav-scroll::-webkit-scrollbar { display: none; }
.snav-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: inherit; font-size: .8rem; font-weight: 600; color: var(--gray);
  padding: .38rem 1rem; border-radius: 10px; /* 👈 الزرار أصبح مستطيل بحواف ناعمة دائماً */
  border: 1.5px solid var(--border);
  background: transparent; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: var(--trans); flex-shrink: 0;
}
.snav-btn i { font-size: .78rem; transition: var(--trans); }
.snav-btn:hover { color: var(--blue); border-color: var(--blue-m); background: var(--blue-l); }
.snav-btn.active { color: var(--white); background: var(--blue); border-color: var(--blue); box-shadow: 0 3px 10px rgba(0,86,179,.28); }
.snav-btn.active i { color: var(--white); }
.snav-sep { width: 1px; height: 22px; background: var(--border); flex-shrink: 0; margin: 0 .15rem; }

/* ═══════════════════════════════════════
   5. الصفحة الرئيسية (HOME PAGE)
═══════════════════════════════════════ */
#hero { background: linear-gradient(155deg, #f0f6ff 0%, var(--white) 60%); padding: 80px 0 70px; overflow: hidden; position: relative; }
#hero::before { content: ''; position: absolute; top: -120px; right: -120px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,86,179,.08) 0%, transparent 70%); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: #fff3e0; color: var(--orange-d); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem 1rem; border-radius: 100px; margin-bottom: 1.4rem; border: 1px solid rgba(255,159,28,.25); }
.hero-badge i { font-size: .8rem; }
.hero-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; color: var(--dark); line-height: 1.15; margin-bottom: 1.1rem; }
.hero-title span { color: var(--blue); }
.hero-title .orange { color: var(--orange); }
.hero-sub { font-size: 1rem; color: var(--gray); margin-bottom: 1.8rem; line-height: 1.85; max-width: 500px; }
.hero-props { display: flex; flex-direction: column; gap: .65rem; margin-bottom: 2.2rem; }
.hero-prop { display: flex; align-items: flex-start; gap: .7rem; font-size: .88rem; color: var(--text); font-weight: 500; }
.hero-prop i { color: var(--blue); font-size: .95rem; margin-top: .18rem; flex-shrink: 0; }
.hero-btns { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-primary { display: inline-flex; align-items: center; gap: .55rem; background: var(--blue); color: var(--white); font-weight: 700; font-size: .9rem; padding: .85rem 1.8rem; border-radius: 10px; transition: var(--trans); box-shadow: 0 6px 20px rgba(0,86,179,.35); }
.btn-primary:hover { background: var(--blue-d); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,86,179,.4); }
.btn-secondary { display: inline-flex; align-items: center; gap: .55rem; background: var(--white); color: var(--blue); font-weight: 700; font-size: .9rem; padding: .85rem 1.8rem; border-radius: 10px; border: 2px solid var(--blue); transition: var(--trans); }
.btn-secondary:hover { background: var(--blue-l); }
.hero-visual { position: relative; }
.hero-img-wrap { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.hero-img-wrap img { width: 100%; height: 380px; object-fit: cover; }
.hero-card-float { position: absolute; bottom: -20px; background: var(--white); border-radius: 14px; padding: 1rem 1.4rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .8rem; animation: floatY 3s ease-in-out infinite; }
html[dir="rtl"] .hero-card-float { left: -20px; } html[dir="ltr"] .hero-card-float { right: -20px; }
.hero-card-float .fc-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-l); display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 1.1rem; flex-shrink: 0; }
.hero-card-float h4 { font-size: .9rem; font-weight: 700; color: var(--dark); }
.hero-card-float p { font-size: .72rem; color: var(--gray); }
.hero-badge-float { position: absolute; top: -16px; background: var(--orange); color: var(--white); border-radius: 10px; padding: .6rem 1rem; font-size: .8rem; font-weight: 700; box-shadow: 0 4px 16px rgba(255,159,28,.35); animation: floatY 3.5s ease-in-out infinite .5s; }
html[dir="rtl"] .hero-badge-float { right: -16px; } html[dir="ltr"] .hero-badge-float { left: -16px; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* أشرطة الإحصائيات والثقة */
#stats-bar { background: var(--blue); padding: 28px 0; }
.stats-bar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.sbar-item { text-align: center; padding: 0 20px; position: relative; }
.sbar-item+.sbar-item::before { content: ''; position: absolute; top: 50%; transform: translateY(-50%); height: 36px; width: 1px; background: rgba(255,255,255,.25); }
html[dir="rtl"] .sbar-item+.sbar-item::before { right: 0; } html[dir="ltr"] .sbar-item+.sbar-item::before { left: 0; }
.sbar-num { display: block; font-size: 2rem; font-weight: 900; color: var(--white); line-height: 1; font-family: 'Poppins', sans-serif; }
.sbar-label { font-size: .78rem; color: rgba(255,255,255,.8); margin-top: .3rem; }

#trust { padding: 70px 0; background: var(--light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.trust-card { background: var(--white); border-radius: var(--radius); padding: 1.6rem 1.2rem; text-align: center; border: 1px solid var(--border); transition: var(--trans); }
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trust-icon { width: 56px; height: 56px; border-radius: 12px; background: var(--blue-l); display: flex; align-items: center; justify-content: center; margin: 0 auto .9rem; color: var(--blue); font-size: 1.4rem; }
.trust-card h4 { font-size: .88rem; font-weight: 700; color: var(--dark); margin-bottom: .4rem; }
.trust-card p { font-size: .76rem; color: var(--gray); line-height: 1.6; }

#value { background: var(--white); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.vcard { background: var(--light); border-radius: var(--radius); padding: 2rem 1.8rem; border: 1px solid var(--border); transition: var(--trans); position: relative; overflow: hidden; }
.vcard::before { content: ''; position: absolute; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--orange)); transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
html[dir="ltr"] .vcard::before { transform-origin: left; }
.vcard:hover::before { transform: scaleX(1); }
.vcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); background: var(--white); }
.vcard-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--blue-l); display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 1.3rem; margin-bottom: 1.1rem; transition: var(--trans); }
.vcard:hover .vcard-icon { background: var(--blue); color: var(--white); }
.vcard h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: .6rem; }
.vcard p { font-size: .84rem; color: var(--gray); line-height: 1.75; }

#solutions { background: var(--light); }
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sol-card { background: var(--white); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; border: 1px solid var(--border); transition: var(--trans); cursor: pointer; }
.sol-card:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.sol-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--blue-l); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; font-size: 1.8rem; color: var(--blue); transition: var(--trans); }
.sol-card:hover .sol-icon { background: var(--blue); color: var(--white); }
.sol-card h3 { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: .6rem; line-height: 1.4; }
.sol-card p { font-size: .8rem; color: var(--gray); line-height: 1.7; margin-bottom: 1.2rem; }
.sol-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; color: var(--blue); transition: var(--trans); }
.sol-link:hover { gap: .7rem; }

#workflow { background: var(--white); }
.workflow-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.workflow-img { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.workflow-img img { width: 100%; height: 460px; object-fit: cover; }
.workflow-features { display: flex; flex-direction: column; gap: 0; }
.wf-item { display: flex; gap: 1.1rem; padding: 1.2rem 1rem; border-radius: 10px; cursor: pointer; transition: var(--trans); border: 1px solid transparent; }
.wf-item:hover, .wf-item.active { background: var(--blue-l); border-color: rgba(0,86,179,.15); }
.wf-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 10px; background: var(--blue-l); display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 1.1rem; transition: var(--trans); }
.wf-item.active .wf-icon, .wf-item:hover .wf-icon { background: var(--blue); color: var(--white); }
.wf-text h4 { font-size: .93rem; font-weight: 700; color: var(--dark); margin-bottom: .3rem; }
.wf-text p { font-size: .8rem; color: var(--gray); line-height: 1.65; }

#implementation { background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%); }
.impl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.impl-step { background: var(--white); border-radius: var(--radius); padding: 2rem 1.8rem; border: 1px solid var(--border); position: relative; overflow: hidden; transition: var(--trans); }
.impl-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.impl-step::after { content: attr(data-num); position: absolute; bottom: -18px; font-size: 5rem; font-weight: 900; color: rgba(0,86,179,.05); font-family: 'Poppins', sans-serif; line-height: 1; }
html[dir="rtl"] .impl-step::after { left: 10px; } html[dir="ltr"] .impl-step::after { right: 10px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: .82rem; font-weight: 700; font-family: 'Poppins', sans-serif; margin-bottom: 1.1rem; flex-shrink: 0; }
.impl-step h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: .6rem; }
.impl-step p { font-size: .82rem; color: var(--gray); line-height: 1.7; }
.impl-step ul { margin-top: .8rem; display: flex; flex-direction: column; gap: .4rem; }
.impl-step ul li { display: flex; align-items: flex-start; gap: .5rem; font-size: .8rem; color: var(--text); }
.impl-step ul li i { color: var(--green); font-size: .8rem; margin-top: .22rem; flex-shrink: 0; }

#about { background: var(--white); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img { position: relative; }
.about-img-wrap { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img-wrap img { width: 100%; height: 440px; object-fit: cover; }
.exp-badge { position: absolute; bottom: -24px; background: var(--blue); color: var(--white); border-radius: 14px; padding: 1.2rem 1.8rem; text-align: center; box-shadow: 0 10px 30px rgba(0,86,179,.4); }
html[dir="rtl"] .exp-badge { right: -24px; } html[dir="ltr"] .exp-badge { left: -24px; }
.exp-badge h3 { font-size: 2rem; font-weight: 900; font-family: 'Poppins', sans-serif; line-height: 1; }
.exp-badge p { font-size: .75rem; opacity: .85; margin-top: .2rem; }
.about-text h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: var(--dark); margin-bottom: 1rem; line-height: 1.3; }
.about-text h2 span { color: var(--blue); }
.about-text p { font-size: .9rem; color: var(--gray); line-height: 1.85; margin-bottom: 1rem; }
.about-features { display: flex; flex-direction: column; gap: .6rem; margin: 1.4rem 0 1.8rem; }
.af-item { display: flex; align-items: flex-start; gap: .7rem; font-size: .88rem; color: var(--text); font-weight: 500; }
.af-item i { color: var(--blue); font-size: .95rem; margin-top: .2rem; flex-shrink: 0; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 1.2rem; }
.val-card { background: var(--light); border-radius: 10px; padding: 1rem 1.2rem; border: 1px solid var(--border); display: flex; align-items: flex-start; gap: .7rem; transition: var(--trans); }
.val-card:hover { background: var(--blue-l); border-color: rgba(0,86,179,.2); }
.val-card i { color: var(--orange); font-size: 1rem; margin-top: .2rem; flex-shrink: 0; }
.val-card h4 { font-size: .85rem; font-weight: 700; color: var(--dark); margin-bottom: .2rem; }
.val-card p { font-size: .76rem; color: var(--gray); }

#testimonial { background: var(--blue); padding: 80px 0; position: relative; overflow: hidden; }
#testimonial::before { content: '"'; position: absolute; top: -40px; font-size: 30rem; font-weight: 900; color: rgba(255,255,255,.04); font-family: 'Poppins', sans-serif; line-height: 1; pointer-events: none; }
html[dir="rtl"] #testimonial::before { right: -30px; } html[dir="ltr"] #testimonial::before { left: -30px; }
.testi-inner { max-width: 780px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.testi-quote { font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 600; color: var(--white); line-height: 1.75; margin-bottom: 1.8rem; font-style: italic; }
.testi-author { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.testi-author .ava { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--white); flex-shrink: 0; }
.testi-author .name { font-size: .9rem; font-weight: 700; color: var(--white); }
.testi-author .role { font-size: .76rem; color: rgba(255,255,255,.7); }
.stars { color: var(--orange); font-size: .85rem; margin-top: .2rem; }

/* ═══════════════════════════════════════
   6. صفحة كل الميزات (ALL FEATURES PAGE)
═══════════════════════════════════════ */
#feat-hero { background: linear-gradient(135deg, var(--blue-d) 0%, var(--blue) 60%, #1a75d4 100%); padding: 56px 0 52px; position: relative; overflow: hidden; }
#feat-hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40z'/%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.feat-hero-inner { max-width: 1400px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.feat-breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: rgba(255,255,255,.65); margin-bottom: 1rem; }
.feat-breadcrumb a { color: rgba(255,255,255,.65); transition: var(--trans); }
.feat-breadcrumb a:hover { color: #fff; }
.feat-breadcrumb i { font-size: .6rem; }
.feat-hero-title { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: .8rem; }
.feat-hero-title span { color: var(--orange); }
.feat-hero-sub { font-size: .95rem; color: rgba(255,255,255,.78); max-width: 560px; line-height: 1.85; margin-bottom: 1.4rem; }
.feat-hero-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.feat-pill { display: flex; align-items: center; gap: .38rem; font-size: .76rem; font-weight: 700; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: .32rem .9rem; border-radius: 100px; backdrop-filter: blur(4px); }
.feat-pill i { color: var(--orange); font-size: .8rem; }
.feat-hero-stat { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.fh-stat { text-align: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 1.1rem 1.6rem; backdrop-filter: blur(6px); min-width: 110px; }
.fh-num { font-size: 1.9rem; font-weight: 900; color: #fff; font-family: 'Poppins', sans-serif; line-height: 1; }
.fh-num span { font-size: 1.1rem; }
.fh-label { font-size: .7rem; color: rgba(255,255,255,.7); margin-top: .3rem; }

#main-wrap { max-width: 1400px; margin: 0 auto; padding: 36px 28px 60px; display: grid; grid-template-columns: var(--sidebar) 1fr; gap: 28px; align-items: start; }
#sidebar { position: sticky; top: calc(var(--header) + var(--subnav) + 16px); background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow); }
.sidebar-head { background: var(--blue); padding: 1rem 1.2rem; display: flex; align-items: center; gap: .6rem; }
.sidebar-head i { color: rgba(255,255,255,.8); font-size: .95rem; }
.sidebar-head span { font-size: .82rem; font-weight: 700; color: #fff; letter-spacing: .06em; text-transform: uppercase; }
.sidebar-body { padding: .5rem 0; max-height: calc(100vh - 240px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.sidebar-body::-webkit-scrollbar { width: 4px; }
.sidebar-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.scat { display: flex; align-items: center; gap: .65rem; padding: .65rem 1.2rem; cursor: pointer; transition: var(--trans); position: relative; border-bottom: 1px solid transparent; }
.scat::before { content: ''; position: absolute; top: 0; bottom: 0; width: 3px; background: var(--blue); opacity: 0; transition: var(--trans); }
html[dir="rtl"] .scat::before { right: 0; } html[dir="ltr"] .scat::before { left: 0; }
.scat:hover { background: var(--light); }
.scat.active { background: var(--blue-l); }
.scat.active::before { opacity: 1; }
.scat-icon { width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px; background: var(--light); display: flex; align-items: center; justify-content: center; color: var(--gray); font-size: .88rem; transition: var(--trans); }
.scat.active .scat-icon, .scat:hover .scat-icon { background: var(--blue-l); color: var(--blue); }
.scat-info { flex: 1; min-width: 0; }
.scat-name { font-size: .82rem; font-weight: 700; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scat.active .scat-name { color: var(--blue); }
.scat-count { font-size: .65rem; font-family: 'Poppins', sans-serif; color: var(--gray); background: var(--light); padding: .12rem .5rem; border-radius: 100px; border: 1px solid var(--border); flex-shrink: 0; transition: var(--trans); }
.scat.active .scat-count { background: var(--blue-m); color: var(--blue); border-color: var(--blue-m); }

#content-area { min-width: 0; }
.feat-search-bar { display: flex; align-items: center; gap: .8rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: .7rem 1.2rem; margin-bottom: 20px; box-shadow: var(--shadow); }
.feat-search-bar i { color: var(--gray); font-size: .95rem; flex-shrink: 0; }
.feat-search-bar input { flex: 1; border: none; outline: none; font-family: 'Cairo', 'Poppins', sans-serif; font-size: .88rem; color: var(--text); background: transparent; min-width: 0; }
.feat-search-count { font-size: .75rem; font-family: 'Poppins', sans-serif; color: var(--gray); white-space: nowrap; flex-shrink: 0; }
.feat-section { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); margin-bottom: 20px; overflow: hidden; transition: var(--trans); }
.feat-section:hover { box-shadow: var(--shadow-md); }
.feat-sec-header { padding: 1.4rem 1.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; border-bottom: 1px solid var(--border); background: linear-gradient(90deg, var(--blue-l) 0%, #fff 50%); transition: var(--trans); }
.feat-sec-header:hover { background: var(--blue-l); }
.fsh-left { display: flex; align-items: center; gap: 1rem; }
.fsh-icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--blue); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; box-shadow: 0 4px 12px rgba(0,86,179,.3); }
.fsh-title { font-size: 1.05rem; font-weight: 800; color: var(--dark); line-height: 1.2; }
.fsh-en { font-size: .72rem; color: var(--gray); font-family: 'Poppins', sans-serif; letter-spacing: .04em; margin-top: .15rem; }
.fsh-right { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.fsh-count { font-size: .72rem; font-weight: 700; font-family: 'Poppins', sans-serif; color: var(--blue); background: var(--blue-m); padding: .28rem .75rem; border-radius: 100px; white-space: nowrap; }
.fsh-chevron { width: 30px; height: 30px; border-radius: 50%; background: var(--light); display: flex; align-items: center; justify-content: center; color: var(--gray); font-size: .75rem; transition: var(--trans); }
.feat-section.open .fsh-chevron { transform: rotate(180deg); background: var(--blue-l); color: var(--blue); }
.feat-grid { display: none; padding: 1.4rem 1.8rem 1.6rem; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; }
.feat-section.open .feat-grid { display: grid; }
.fi { display: flex; align-items: flex-start; gap: .6rem; padding: .5rem .6rem; border-radius: 8px; transition: var(--trans); }
.fi:hover { background: var(--light); }
.fi-check { width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; background: var(--blue-l); display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: .58rem; margin-top: .18rem; }
.fi:hover .fi-check { background: var(--blue); color: #fff; }
.fi-text { font-size: .82rem; color: var(--text); line-height: 1.6; }
.fi-text strong { color: var(--blue); font-weight: 700; }
.fi.full { grid-column: 1/-1; }
.badge-new { display: inline-flex; align-items: center; font-size: .58rem; font-weight: 700; color: #fff; background: var(--orange); padding: .1rem .45rem; border-radius: 4px; margin-inline-start: .4rem; vertical-align: middle; letter-spacing: .05em; text-transform: uppercase; }

/* ═══════════════════════════════════════
   7. الصفحات الداخلية للميزات (INNER FEATURE PAGES)
═══════════════════════════════════════ */
.feat-hero { padding: 80px 0; text-align: center; background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%); border-bottom: 1px solid var(--border); }
.feat-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--blue); margin-bottom: 1rem; line-height: 1.2; }
.feat-hero h2 { font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 700; color: var(--dark); margin-bottom: 1.2rem; }
.feat-hero p { font-size: 1.05rem; color: var(--gray); max-width: 800px; margin: 0 auto; line-height: 1.8; }

.info-wrap { padding: 80px 0; }
.info-row { display: flex; align-items: center; gap: 60px; margin-bottom: 100px; }
.info-row:last-child { margin-bottom: 0; }
.info-row.reverse { flex-direction: row-reverse; }

.info-text { flex: 1; }
.info-text .icon-box { width: 50px; height: 50px; border-radius: 12px; background: var(--blue-l); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.2rem; }
.info-text h3 { font-size: 1.8rem; font-weight: 800; color: var(--dark); margin-bottom: 1rem; line-height: 1.3; }
.info-text p { font-size: 1rem; color: var(--gray); line-height: 1.8; margin-bottom: 1.5rem; }

.info-list { display: flex; flex-direction: column; gap: 1rem; }
.info-list li { display: flex; align-items: flex-start; gap: .8rem; font-size: .9rem; color: var(--text); line-height: 1.6; background: var(--light); padding: 12px 16px; border-radius: 10px; border: 1px solid var(--border); }
.info-list li i { color: var(--orange); font-size: .9rem; margin-top: .25rem; flex-shrink: 0; }
.info-list li strong { color: var(--blue); font-weight: 700; }

.info-img { flex: 1; position: relative; }
.info-img img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); transition: var(--trans); }
.info-row:hover .info-img img { transform: translateY(-5px); box-shadow: 0 25px 70px rgba(0,86,179,.18); }

.btn-see-all { display: inline-flex; align-items: center; gap: 0.8rem; background: var(--blue); color: var(--white); font-size: 1.1rem; font-weight: 800; padding: 1rem 2.5rem; border-radius: 12px; transition: var(--trans); box-shadow: 0 8px 25px rgba(0, 86, 179, 0.25); text-decoration: none; }
.btn-see-all:hover { background: var(--dark); color: var(--white); transform: translateY(-4px); box-shadow: 0 14px 35px rgba(0, 86, 179, 0.35); }

/* ═══════════════════════════════════════
   8. صفحة القيمة المضافة (BENEFITS PAGE)
═══════════════════════════════════════ */
.benefit-hero { padding: 80px 0 60px; text-align: center; background: linear-gradient(135deg, var(--white) 0%, var(--blue-l) 100%); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.bh-tag { display: inline-block; background: var(--blue); color: var(--white); font-size: 0.75rem; font-weight: 700; padding: 0.4rem 1.2rem; border-radius: 100px; margin-bottom: 1rem; letter-spacing: 0.05em; text-transform: uppercase; }
.bh-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; color: var(--dark); line-height: 1.25; margin-bottom: 1rem; }
.bh-title span { color: var(--blue); }
.bh-title .heart { color: #e74c3c; }
.bh-sub { font-size: 1.05rem; color: var(--gray); max-width: 700px; margin: 0 auto; line-height: 1.8; }
.benefits-section { padding: 80px 0; }
.b-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 30px; }
.b-card { background: var(--white); border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--border); box-shadow: var(--shadow); transition: var(--trans); display: flex; flex-direction: column; }
.b-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-m); }
.bc-icon { width: 65px; height: 65px; background: var(--blue-l); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.8rem; color: var(--blue); }
.bc-icon img { width: 40px; height: 40px; }
.bc-title { font-size: 1.3rem; font-weight: 800; color: var(--dark); margin-bottom: 15px; }
.bc-pain { font-size: 0.92rem; color: var(--gray); line-height: 1.7; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px dashed var(--border); position: relative; }
.bc-pain::before { content: "التحدي:"; display: block; font-size: 0.75rem; font-weight: 700; color: #e74c3c; margin-bottom: 5px; text-transform: uppercase; }
body.en .bc-pain::before { content: "THE CHALLENGE:"; }
.bc-solution { font-size: 0.95rem; color: var(--text); line-height: 1.7; font-weight: 600; margin-top: auto; }
.bc-solution::before { content: "الحل مع إد-تك:"; display: block; font-size: 0.75rem; font-weight: 700; color: var(--green); margin-bottom: 5px; text-transform: uppercase; }
body.en .bc-solution::before { content: "THE EDTEK SOLUTION:"; }

/* ═══════════════════════════════════════
   9. صفحة التكاملات (INTEGRATIONS PAGE)
═══════════════════════════════════════ */
.integ-hero { padding: 80px 0 60px; text-align: center; background: linear-gradient(135deg, var(--white) 0%, var(--blue-l) 100%); border-bottom: 1px solid var(--border); }
.ih-tag { display: inline-block; background: var(--blue); color: var(--white); font-size: 0.75rem; font-weight: 700; padding: 0.4rem 1.2rem; border-radius: 100px; margin-bottom: 1rem; letter-spacing: 0.05em; text-transform: uppercase; }
.ih-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: var(--dark); line-height: 1.3; margin-bottom: 1.2rem; }
.ih-title span {color: var(--orange);}
.ih-sub { font-size: 1.05rem; color: var(--gray); max-width: 800px; margin: 0 auto; line-height: 1.8; }
.integ-section { padding: 60px 0 100px; }
.integ-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; }
.integ-card { background: var(--white); border-radius: var(--radius); padding: 30px 24px; border: 1px solid var(--border); box-shadow: var(--shadow); transition: var(--trans); display: flex; flex-direction: column; align-items: flex-start; }
.integ-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-m); }
.ic-icon { width: 60px; height: 60px; background: var(--light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 2rem; }
.ic-title { font-size: 1.2rem; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.ic-desc { font-size: 0.9rem; color: var(--gray); line-height: 1.7; }
/* ألوان الشركات */
.ic-icon.ms { color: #00a4ef; background: rgba(0,164,239,0.1); }
.ic-icon.google { color: #ea4335; background: rgba(234,67,53,0.1); }
.ic-icon.salesforce { color: #00a1e0; background: rgba(0,161,224,0.1); }
.ic-icon.stripe { color: #635bff; background: rgba(99,91,255,0.1); }
.ic-icon.paypal { color: #00457c; background: rgba(0,69,124,0.1); }
.ic-icon.hubspot { color: #ff7a59; background: rgba(255,122,89,0.1); }
.ic-icon.moodle { color: #f46f25; background: rgba(244,111,37,0.1); }
.ic-icon.canvas { color: #e66000; background: rgba(230,96,0,0.1); }
.ic-icon.twilio { color: #f22f46; background: rgba(242,47,70,0.1); }
.ic-icon.zoho { color: #00b074; background: rgba(0,176,116,0.1); }
.ic-icon.quickbooks { color: #2ca01c; background: rgba(44,160,28,0.1); }
.ic-icon.edtek { color: var(--blue); background: var(--blue-l); }
.ic-icon.authnet { color: #1a3668; background: rgba(26,54,104,0.1); }
.integ-card.hidden { display: none; }

/* ═══════════════════════════════════════
   10. CTA CARDS (مشترك)
═══════════════════════════════════════ */
#cta, .feat-cta-card, .outro-card { position: relative; overflow: hidden; }
#cta { background: linear-gradient(135deg, var(--blue-d) 0%, var(--blue) 100%); padding: 80px 0; text-align: center; }
#cta::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
#cta h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; color: var(--white); margin-bottom: .9rem; line-height: 1.25; position: relative; z-index: 1; }
#cta p { font-size: 1rem; color: rgba(255,255,255,.8); max-width: 540px; margin: 0 auto 2rem; line-height: 1.8; position: relative; z-index: 1; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; position: relative; z-index: 1; }
.btn-white { display: inline-flex; align-items: center; gap: .55rem; background: var(--white); color: var(--blue); font-weight: 700; font-size: .9rem; padding: .9rem 2rem; border-radius: 10px; transition: var(--trans); box-shadow: 0 6px 20px rgba(0,0,0,.15); text-decoration: none;}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.btn-outline-white { display: inline-flex; align-items: center; gap: .55rem; background: transparent; color: var(--white); font-weight: 700; font-size: .9rem; padding: .9rem 2rem; border-radius: 10px; border: 2px solid rgba(255,255,255,.5); transition: var(--trans); text-decoration: none;}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

/* Outro Card & Feat CTA Card */
.feat-cta-card { background: linear-gradient(135deg, var(--blue-d) 0%, var(--blue) 100%); border-radius: var(--radius); padding: 2rem; text-align: center; margin-top: 8px; }
.outro-card { text-align: center; margin-top: 60px; padding: 60px 30px; background: linear-gradient(135deg, var(--blue-d) 0%, var(--blue) 100%); border-radius: var(--radius); }
.feat-cta-card::before, .outro-card::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/svg%3E"); }
.feat-cta-card h3, .outro-card h3 { font-size: 1.8rem; font-weight: 900; color: #fff; margin-bottom: 1rem; position: relative; z-index: 1; }
.feat-cta-card p, .outro-card p { font-size: 1.05rem; color: rgba(255,255,255,.8); margin-bottom: 2rem; position: relative; z-index: 1; line-height: 1.8; }
.outro-card h4 { color: var(--orange); margin-bottom: .5rem; font-size: 1.1rem; font-weight: 700; position: relative; z-index: 1; }
.btn-cta-white { display: inline-flex; align-items: center; gap: .6rem; background: var(--white); color: var(--blue); font-size: 1rem; font-weight: 800; padding: .9rem 2rem; border-radius: 12px; transition: var(--trans); position: relative; z-index: 1; box-shadow: 0 8px 25px rgba(0,0,0,.15); text-decoration: none; }
.btn-cta-white:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(0,0,0,.25); }

/* ═══════════════════════════════════════
   11. صفحة تواصل معنا (CONTACT US PAGE)
═══════════════════════════════════════ */
.contact-hero { padding: 80px 0 60px; text-align: center; background: linear-gradient(135deg, var(--white) 0%, var(--blue-l) 100%); border-bottom: 1px solid var(--border); }
.ch-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--dark); margin-bottom: 1rem; }
.ch-title span { color: var(--orange); }
.ch-sub { font-size: 1.05rem; color: var(--gray); max-width: 600px; margin: 0 auto; line-height: 1.8; }
.contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; background: var(--white); border-radius: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; }
.contact-info { background: var(--blue); color: var(--white); padding: 50px 40px; position: relative; overflow: hidden; }
.contact-info::before { content:''; position:absolute; inset:0; background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/svg%3E"); }
.ci-content { position: relative; z-index: 1; }
.ci-content h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 1rem; }
.ci-content p { font-size: 0.95rem; color: rgba(255,255,255,0.8); margin-bottom: 2.5rem; line-height: 1.8; }
.ci-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.8rem; }
.ci-icon { width: 45px; height: 45px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ci-text h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.2rem; }
.ci-text p, .ci-text a { font-size: 0.85rem; color: rgba(255,255,255,0.8); transition: var(--trans); }
.ci-text a:hover { color: var(--orange); }
.contact-form-wrap { padding: 50px 40px; }
.contact-form-wrap h3 { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.form-control { width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--border); border-radius: 10px; font-family: 'Cairo', 'Poppins', sans-serif; font-size: 0.9rem; color: var(--text); background: var(--light); transition: var(--trans); }
.form-control:focus { border-color: var(--blue); background: var(--white); outline: none; box-shadow: 0 0 0 4px rgba(0,86,179,0.1); }
textarea.form-control { resize: vertical; min-height: 120px; }
.btn-submit { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; background: var(--orange); color: var(--white); font-family: inherit; font-size: 1rem; font-weight: 800; padding: 0.9rem 2.5rem; border: none; border-radius: 10px; cursor: pointer; transition: var(--trans); width: 100%; box-shadow: 0 6px 20px rgba(255,159,28,0.3); }
.btn-submit:hover { background: var(--orange-d); transform: translateY(-2px); }

/* ═══════════════════════════════════════
   12. الفوتر الرئيسي (FOOTER)
═══════════════════════════════════════ */
footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 64px 0 0; border-top: 4px solid var(--blue); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; padding-bottom: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.4fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .logo-text h2 { color: var(--white); }
.footer-brand .logo-text p { color: rgba(255,255,255,.5); }
.footer-desc { font-size: .83rem; color: rgba(255,255,255,.55); margin-top: 1rem; line-height: 1.8; }
.footer-socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-socials a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: .9rem; transition: var(--trans); }
.footer-socials a:hover { background: var(--blue); color: var(--white); }
.footer-col h4 { font-size: .85rem; font-weight: 700; color: var(--white); margin-bottom: 1.1rem; letter-spacing: .04em; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a { font-size: .82rem; color: rgba(255,255,255,.55); transition: var(--trans); display: flex; align-items: center; gap: .4rem; }
.footer-col ul li a i { font-size: .7rem; color: var(--blue); }
.footer-col ul li a:hover { color: var(--white); padding-inline-start: .3rem; }
.newsletter { background: rgba(255,255,255,.05); border-radius: 10px; padding: 1.2rem; border: 1px solid rgba(255,255,255,.08); }
.newsletter p { font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: .8rem; line-height: 1.6; }
.nl-form { display: flex; background: rgba(255,255,255,.07); border-radius: 8px; border: 1px solid rgba(255,255,255,.1); overflow: hidden; }
.nl-form input { flex: 1; background: transparent; border: none; outline: none; padding: .6rem .8rem; font-family: 'Cairo','Poppins',sans-serif; font-size: .8rem; color: var(--white); min-width: 0; }
.nl-form input::placeholder { color: rgba(255,255,255,.35); }
.nl-form button { background: var(--blue); color: var(--white); border: none; padding: .6rem .9rem; cursor: pointer; transition: var(--trans); flex-shrink: 0; }
.nl-form button:hover { background: var(--orange); }
.footer-contacts { margin-top: .8rem; display: flex; flex-direction: column; gap: .5rem; }
.fc-line { display: flex; align-items: flex-start; gap: .6rem; font-size: .78rem; color: rgba(255,255,255,.55); }
.fc-line i { color: var(--blue); font-size: .8rem; margin-top: .18rem; flex-shrink: 0; }
.fc-line a { color: rgba(255,255,255,.55); transition: var(--trans); }
.fc-line a:hover { color: var(--white); }
.footer-bottom { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; }
.copyright { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-bottom-links { display: flex; gap: 1.2rem; }
.footer-bottom-links a { font-size: .76rem; color: rgba(255,255,255,.4); transition: var(--trans); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }
#scrollTop { position: fixed; bottom: 28px; z-index: 999; width: 48px; height: 48px; background: var(--blue); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; box-shadow: 0 4px 16px rgba(0,86,179,.4); opacity: 0; visibility: hidden; transition: var(--trans); cursor: pointer; }
html[dir="rtl"] #scrollTop { left: 28px; } html[dir="ltr"] #scrollTop { right: 28px; }
#scrollTop.show { opacity: 1; visibility: visible; }
#scrollTop:hover { background: var(--orange); transform: translateY(-3px); }

/* ═══════════════════════════════════════
   13. التصميم المتجاوب (RESPONSIVE MEDIA QUERIES)
═══════════════════════════════════════ */
@media(max-width: 1100px){
  #main-wrap { grid-template-columns: 240px 1fr; }
}

@media(max-width: 1024px){
  .nav { display: none; }
  .burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-inner, .workflow-inner, .integ-inner { grid-template-columns: 1fr; }
  .about-img { display: none; }
  .stats-bar-grid { grid-template-columns: repeat(2,1fr); gap: 20px 0; }
  .impl-steps { grid-template-columns: 1fr 1fr; }
}

@media(max-width: 992px) {
  .info-row, .info-row.reverse { flex-direction: column; gap: 40px; }
  .info-text, .info-img { width: 100%; }
  .info-text { text-align: center; }
  .info-text .icon-box { margin: 0 auto 1.2rem; }
  .info-list li { text-align: start; }
  .b-grid { grid-template-columns: 1fr; }
}

@media(max-width: 900px){
  #main-wrap { grid-template-columns: 1fr; }
  #sidebar { position: relative; top: 0; display: none; }
  #sidebar.mob-open { display: block; margin-bottom: 20px; }
  .feat-grid { grid-template-columns: 1fr; }
  .fi.full { grid-column: 1; }
  .feat-hero-stat { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap, .contact-info { padding: 30px 20px; }
  .form-row { grid-template-columns: 1fr; }
}

@media(max-width: 768px){
  .section-pad { padding: 60px 0; }
  .sec-title { font-size: 1.7rem; }
  .sol-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .impl-steps { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-btns { flex-direction: column; }
  .benefit-hero { padding: 60px 0; }
  .bh-title { font-size: 1.7rem; }

  /* إصلاح الهيدر على الموبايل */
  .nav-actions .lang-btn,
  .nav-actions .btn-login { display: none !important; }
  .nav-actions .btn-demo  { padding: 0.4rem 0.8rem !important; font-size: 0.75rem !important; }
  .logo-text p            { display: none !important; }
  .logo-text h2           { font-size: 1.1rem !important; }
  #header .container      { gap: 0.5rem; padding: 0 15px; }
  .sbar-item::before      { display: none; }
}

@media(max-width: 600px){
  .feat-hero-inner { flex-direction: column; }
  .fsh-en { display: none; }
  #main-wrap { padding: 16px 16px 40px; }
}

@media(max-width:480px){
  .sol-grid{grid-template-columns:1fr;}
  .trust-grid{grid-template-columns:1fr;}
  .integ-logos{grid-template-columns:repeat(2,1fr);}
 
  /* ✅ إخفاء زر الحجز في الشاشات الصغيرة جداً */
  .nav-actions .btn-demo { display: none !important; }
}