@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Noto+Sans+Arabic:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #1B4FD8;
  --primary-dark: #1340B0;
  --primary-light: #EEF3FF;
  --accent: #00B386;
  --accent-light: #E6F9F4;
  --bg: #FFFFFF;
  --bg-alt: #F7F9FF;
  --bg-alt2: #F0F4FF;
  --surface: #FFFFFF;
  --border: #E4E9F7;
  --text: #0D1B3E;
  --text-secondary: #3D5278;
  --text-muted: #6B7A9E;
  --shadow-sm: 0 2px 12px rgba(27,79,216,0.08);
  --shadow-md: 0 8px 32px rgba(27,79,216,0.12);
  --shadow-lg: 0 16px 48px rgba(27,79,216,0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --gradient: linear-gradient(135deg, #1B4FD8, #00B386);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

[dir="rtl"] { font-family: 'Noto Sans Arabic', sans-serif; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; line-height: 1.7; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

h1,h2,h3,h4,h5,h6 { font-weight: 700; color: var(--text); line-height: 1.2; }
a { text-decoration: none; color: inherit; }

.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary); display: inline-block; margin-bottom: 10px; }
.section-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 14px; }
.section-subtitle { font-size: 1rem; color: var(--text-muted); max-width: 560px; margin: 0 auto 48px; }

/* Buttons */
.btn-primary-custom { background: var(--primary); color: #fff; border: none; padding: 13px 28px; border-radius: 50px; font-weight: 600; font-size: 0.92rem; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 16px rgba(27,79,216,0.3); }
.btn-primary-custom:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,79,216,0.4); color: #fff; }
.btn-outline-custom { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 0.92rem; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-outline-custom:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-accent-custom { background: var(--accent); color: #fff; border: none; padding: 13px 28px; border-radius: 50px; font-weight: 600; font-size: 0.92rem; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-accent-custom:hover { background: #009970; transform: translateY(-2px); color:#fff; }

/* NAVBAR */
#navbar { background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 0; position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: var(--transition); }
.navbar-topbar { background: var(--primary); color: #fff; font-size: 0.8rem; padding: 6px 0; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; }
.topbar-phone { display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; }
.topbar-links { display: flex; gap: 20px; }
.topbar-links a { color: rgba(255,255,255,0.85); font-size: 0.78rem; transition: var(--transition); }
.topbar-links a:hover { color: #fff; }
.navbar-main { padding: 14px 0; }
.navbar-main-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.navbar-brand-custom { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; }
.brand-icon { width: 36px; height: 36px; background: var(--gradient); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link-custom { color: var(--text-secondary); font-weight: 500; font-size: 0.9rem; padding: 8px 12px; border-radius: 8px; transition: var(--transition); cursor: pointer; position: relative; display: flex; align-items: center; gap: 4px; }
.nav-link-custom:hover, .nav-link-custom.active { color: var(--primary); background: var(--primary-light); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle { background: var(--bg-alt); border: 1px solid var(--border); color: var(--text); padding: 7px 14px; border-radius: 50px; font-weight: 600; font-size: 0.82rem; cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.lang-toggle:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.mobile-toggle { background: var(--bg-alt); border: 1px solid var(--border); padding: 8px 12px; border-radius: 8px; cursor: pointer; display: none; font-size: 1.2rem; }
/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-menu-custom { position: absolute; top: calc(100% + 8px); left: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); min-width: 200px; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: var(--transition); z-index: 100; }
[dir="rtl"] .dropdown-menu-custom { left: auto; right: 0; }
.has-dropdown:hover .dropdown-menu-custom { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item-custom { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; color: var(--text-secondary); font-size: 0.88rem; font-weight: 500; transition: var(--transition); }
.dropdown-item-custom:hover { background: var(--primary-light); color: var(--primary); }
/* Mobile nav */
.mobile-nav { display: none; padding: 16px 0; border-top: 1px solid var(--border); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 10px 4px; color: var(--text-secondary); font-weight: 500; border-bottom: 1px solid var(--border); font-size: 0.93rem; }
.mobile-nav a:last-child { border-bottom: none; }

/* PAGE HEADER */
.page-hero { background: linear-gradient(135deg, var(--bg-alt) 0%, var(--primary-light) 100%); padding: 140px 0 80px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; }
.breadcrumb-custom { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb-custom a { color: var(--primary); }
.breadcrumb-custom span { color: var(--border); }

/* HERO (homepage) */
#hero { padding: 160px 0 100px; background: linear-gradient(160deg, #F7F9FF 0%, #EEF3FF 50%, #F0FDF9 100%); position: relative; overflow: hidden; }
#hero::before { content:''; position:absolute; top:-200px; right:-200px; width:600px; height:600px; background:radial-gradient(circle, rgba(27,79,216,0.06) 0%, transparent 70%); border-radius:50%; }
#hero::after { content:''; position:absolute; bottom:-100px; left:-100px; width:400px; height:400px; background:radial-gradient(circle, rgba(0,179,134,0.06) 0%, transparent 70%); border-radius:50%; }
.hero-badge { display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--border); color:var(--primary); padding:6px 16px; border-radius:50px; font-size:0.8rem; font-weight:600; margin-bottom:24px; box-shadow:var(--shadow-sm); }
.hero-badge-dot { width:7px; height:7px; background:var(--accent); border-radius:50%; animation:pulse 2s infinite; }
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.5);opacity:0.6} }
.hero-title { font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.1; margin-bottom: 22px; color: var(--text); }
.hero-desc { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 40px; max-width: 520px; line-height: 1.8; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 40px; padding-top: 40px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 3px; }
.hero-visual { position: relative; }
.hero-img-wrap { background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--border); }
.hero-img-wrap img { width: 100%; display: block; }
.hero-float { position:absolute; background:#fff; border:1px solid var(--border); border-radius: var(--radius-sm); padding:12px 18px; box-shadow:var(--shadow-md); font-size:0.82rem; font-weight:600; color:var(--text); }
.hero-float.f1 { top:5%; left:-8%; animation:floatY 4s ease-in-out infinite; }
.hero-float.f2 { bottom:10%; right:-8%; animation:floatY 5s ease-in-out infinite reverse; }
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.float-val { color:var(--accent); font-weight:800; font-size:1rem; }

/* VALUE CARDS */
.value-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:36px 28px; transition:var(--transition); height:100%; }
.value-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:rgba(27,79,216,0.2); }
.value-icon { width:56px; height:56px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:1.6rem; margin-bottom:18px; }
.vi-blue { background:var(--primary-light); }
.vi-green { background:var(--accent-light); }
.vi-purple { background:#F3EEFF; }
.value-card h4 { font-size:1.1rem; margin-bottom:10px; }
.value-card p { color:var(--text-muted); font-size:0.9rem; line-height:1.7; }

/* SERVICES */
.service-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:28px 24px; transition:var(--transition); height:100%; position:relative; overflow:hidden; }
.service-card::before { content:''; position:absolute; top:0; left:0; width:4px; height:0; background:var(--gradient); transition:var(--transition); }
.service-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); border-color:rgba(27,79,216,0.2); }
.service-card:hover::before { height:100%; }
.svc-icon { width:48px; height:48px; border-radius:12px; background:var(--primary-light); display:flex; align-items:center; justify-content:center; font-size:1.4rem; margin-bottom:16px; transition:var(--transition); }
.service-card:hover .svc-icon { background:var(--primary); }
.service-card h5 { font-size:1rem; margin-bottom:8px; }
.service-card p { color:var(--text-muted); font-size:0.86rem; line-height:1.65; margin:0 0 14px; }
.svc-details-link { display:inline-flex; align-items:center; gap:6px; color:var(--primary); font-size:0.84rem; font-weight:600; margin-top:auto; border-top:1px solid var(--border); padding-top:12px; transition:var(--transition); }
.svc-details-link:hover { color:var(--primary-dark); gap:10px; }

/* WHY SECTION */
.why-feature { display:flex; gap:18px; padding:20px; border-radius:var(--radius-sm); transition:var(--transition); margin-bottom:8px; }
.why-feature:hover { background:var(--bg-alt); }
.why-icon { width:44px; height:44px; min-width:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.2rem; }
.why-feature h5 { font-size:0.97rem; margin-bottom:5px; }
.why-feature p { color:var(--text-muted); font-size:0.87rem; margin:0; line-height:1.6; }
.metrics-card { background:#fff; border:1px solid var(--border); border-radius:24px; padding:40px; box-shadow:var(--shadow-md); text-align:center; }
.metric-ring { position:relative; width:150px; height:150px; margin:0 auto 28px; }
.metric-ring svg { transform:rotate(-90deg); }
.ring-center { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.ring-val { font-size:2rem; font-weight:800; color:var(--primary); line-height:1; }
.ring-lbl { font-size:0.72rem; color:var(--text-muted); }
.mini-metrics { display:flex; gap:24px; justify-content:center; }
.mini-m { text-align:center; }
.mini-val { font-size:1.6rem; font-weight:800; color:var(--primary); line-height:1; }
.mini-lbl { font-size:0.72rem; color:var(--text-muted); margin-top:3px; }

/* PROCESS */
.process-step { display:flex; gap:20px; padding-bottom:36px; position:relative; }
.process-step:not(:last-child)::after { content:''; position:absolute; left:23px; top:52px; width:2px; height:calc(100% - 52px); background:linear-gradient(to bottom, var(--primary), var(--border)); }
[dir="rtl"] .process-step:not(:last-child)::after { left:auto; right:23px; }
.step-num { width:48px; height:48px; min-width:48px; border-radius:50%; background:var(--primary); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:0.88rem; box-shadow:0 4px 12px rgba(27,79,216,0.3); }
.step-body { padding-top:10px; }
.step-body h5 { font-size:1rem; margin-bottom:6px; }
.step-body p { color:var(--text-muted); font-size:0.88rem; line-height:1.7; margin:0; }

/* INDUSTRIES */
.industry-pill { background:#fff; border:1.5px solid var(--border); border-radius:50px; padding:9px 22px; font-size:0.88rem; font-weight:500; display:inline-flex; align-items:center; gap:7px; transition:var(--transition); cursor:default; }
.industry-pill:hover { border-color:var(--primary); color:var(--primary); background:var(--primary-light); }

/* CTA SECTION */
.cta-section { background:linear-gradient(135deg, var(--primary) 0%, #0F3299 100%); color:#fff; padding:80px 0; position:relative; overflow:hidden; }
.cta-section::before { content:''; position:absolute; top:-100px; right:-100px; width:400px; height:400px; background:rgba(255,255,255,0.05); border-radius:50%; }
.cta-section h2 { color:#fff; font-size:clamp(1.8rem,3vw,2.6rem); margin-bottom:14px; }
.cta-section p { color:rgba(255,255,255,0.8); font-size:1rem; margin-bottom:32px; }
.btn-white { background:#fff; color:var(--primary); padding:13px 28px; border-radius:50px; font-weight:700; font-size:0.92rem; transition:var(--transition); display:inline-flex; align-items:center; gap:8px; }
.btn-white:hover { background:var(--primary-light); transform:translateY(-2px); }
.btn-white-outline { background:transparent; color:#fff; border:2px solid rgba(255,255,255,0.5); padding:12px 28px; border-radius:50px; font-weight:600; font-size:0.92rem; transition:var(--transition); display:inline-flex; align-items:center; gap:8px; }
.btn-white-outline:hover { background:rgba(255,255,255,0.1); border-color:#fff; }

/* FOOTER */
footer { background:var(--bg-alt); border-top:1px solid var(--border); padding:64px 0 28px; }
.footer-desc { color:var(--text-muted); font-size:0.88rem; line-height:1.7; max-width:260px; margin-top:14px; }
.footer-heading { font-size:0.75rem; font-weight:700; letter-spacing:0.15em; text-transform:uppercase; color:var(--text-muted); margin-bottom:18px; }
.footer-links { list-style:none; padding:0; margin:0; }
.footer-links li { margin-bottom:10px; }
.footer-links a { color:var(--text-secondary); font-size:0.88rem; transition:var(--transition); }
.footer-links a:hover { color:var(--primary); }
.footer-contact-item { display:flex; align-items:center; gap:10px; color:var(--text-secondary); font-size:0.88rem; margin-bottom:12px; }
.footer-contact-item i { color:var(--primary); width:16px; }
.footer-bottom { border-top:1px solid var(--border); padding-top:24px; margin-top:48px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.footer-copy { color:var(--text-muted); font-size:0.82rem; }
.social-link { width:36px; height:36px; border-radius:8px; background:#fff; border:1px solid var(--border); display:inline-flex; align-items:center; justify-content:center; color:var(--text-muted); transition:var(--transition); }
.social-link:hover { border-color:var(--primary); color:var(--primary); background:var(--primary-light); }

/* CARDS shared */
.card-custom { background:#fff; border:1px solid var(--border); border-radius:var(--radius); transition:var(--transition); overflow:hidden; }
.card-custom:hover { box-shadow:var(--shadow-md); transform:translateY(-4px); }

/* Case Studies */
.case-tag { display:inline-block; background:var(--primary-light); color:var(--primary); font-size:0.75rem; font-weight:700; padding:4px 12px; border-radius:50px; margin-bottom:12px; }
.case-result { display:flex; gap:20px; padding:16px; background:var(--bg-alt); border-radius:var(--radius-sm); margin-top:16px; }
.case-result-item { text-align:center; }
.case-result-num { font-size:1.3rem; font-weight:800; color:var(--primary); }
.case-result-lbl { font-size:0.72rem; color:var(--text-muted); }

/* Blog */
.blog-img { width:100%; height:200px; object-fit:cover; display:block; }
.blog-meta { display:flex; align-items:center; gap:12px; font-size:0.8rem; color:var(--text-muted); margin-bottom:10px; }
.blog-tag { background:var(--primary-light); color:var(--primary); font-size:0.75rem; font-weight:600; padding:3px 10px; border-radius:50px; }

/* Team */
.team-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:28px; text-align:center; transition:var(--transition); }
.team-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
.team-avatar { width:80px; height:80px; border-radius:50%; object-fit:cover; margin:0 auto 16px; border:3px solid var(--border); }
.team-avatar-placeholder { width:80px; height:80px; border-radius:50%; background:var(--gradient); display:flex; align-items:center; justify-content:center; font-size:1.8rem; color:#fff; margin:0 auto 16px; }
.team-role { color:var(--primary); font-size:0.82rem; font-weight:600; margin-bottom:8px; }
.team-bio { color:var(--text-muted); font-size:0.85rem; line-height:1.6; }

/* Partners */
.partner-card { background:#fff; border:1.5px solid var(--border); border-radius:var(--radius-sm); padding:24px; display:flex; align-items:center; justify-content:center; min-height:100px; transition:var(--transition); }
.partner-card:hover { border-color:var(--primary); box-shadow:var(--shadow-sm); }
.cert-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:24px; display:flex; align-items:center; gap:16px; transition:var(--transition); }
.cert-card:hover { box-shadow:var(--shadow-md); border-color:rgba(27,79,216,0.2); }
.cert-icon { width:48px; height:48px; border-radius:12px; background:var(--primary-light); display:flex; align-items:center; justify-content:center; font-size:1.4rem; min-width:48px; }

/* Careers */
.job-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:24px 28px; transition:var(--transition); display:flex; align-items:center; justify-content:space-between; gap:16px; }
.job-card:hover { border-color:var(--primary); box-shadow:var(--shadow-sm); }
.job-title { font-size:1rem; font-weight:700; margin-bottom:4px; }
.job-meta { display:flex; gap:12px; flex-wrap:wrap; }
.job-tag { background:var(--bg-alt); color:var(--text-secondary); font-size:0.78rem; font-weight:500; padding:3px 10px; border-radius:50px; }
.job-tag.remote { background:var(--accent-light); color:var(--accent); }

/* Consultation */
.consult-form { background:#fff; border:1px solid var(--border); border-radius:24px; padding:48px 40px; box-shadow:var(--shadow-md); }
.form-label-custom { font-size:0.88rem; font-weight:600; color:var(--text); margin-bottom:6px; display:block; }
.form-control-custom { width:100%; padding:12px 16px; border:1.5px solid var(--border); border-radius:var(--radius-sm); font-size:0.92rem; color:var(--text); transition:var(--transition); background:#fff; font-family:inherit; outline:none; }
.form-control-custom:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(27,79,216,0.1); }
.form-group { margin-bottom:20px; }

/* Animations */
.reveal { opacity:0; transform:translateY(24px); transition:opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.d1 { transition-delay:0.1s; } .d2 { transition-delay:0.2s; } .d3 { transition-delay:0.3s; } .d4 { transition-delay:0.4s; }

/* RTL */
[dir="rtl"] .process-step::after { left:auto; right:23px; }
[dir="rtl"] .service-card::before { left:auto; right:0; }

/* Responsive */
@media(max-width:991px) { .nav-links,.nav-actions .btn-primary-custom { display:none; } .mobile-toggle { display:block; } .hero-float { display:none; } }
@media(max-width:767px) { .consult-form { padding:32px 24px; } .hero-title { font-size:2.2rem; } .hero-stats { gap:20px; } }
@media(max-width:575px) { .topbar-links { display:none; } }
