/* ===== مكتب نور الفجر - إعادة بناء طبق الأصل ===== */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

:root{
  --navy-dark:#0a1727;
  --navy:#0e2034;
  --green:#1aa45a;
  --green-d:#15894b;
  --red:#d63031;
  --blue:#1e63c9;
  --light:#fafbfc;
  --why-card:#0f1d15;
  --text-muted:#9fb0c3;
  --radius:13px;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:"IBM Plex Sans Arabic",sans-serif;
  background:var(--navy);color:#1c2b3a;line-height:1.7;
  direction:rtl;text-align:right;overflow-x:hidden;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{max-width:1180px;margin:0 auto;padding:0 20px}

/* ===== أيقونات SVG مضمّنة (تلوين أخضر موثوق عبر كل المتصفحات) ===== */
.ico{display:inline-block;fill:var(--green);color:var(--green);vertical-align:middle}
.ico use,.ico path,.ico g,.ico circle,.ico rect{fill:var(--green)}

/* فئات الأيقونات (تُحلّ المسارات نسبةً لملف CSS) */
.m-completed{--m:url(../assets/completed-task.svg)}
.m-completed1{--m:url(../assets/completed-task-1.svg)}
.m-saudi{--m:url(../assets/saudi-arabia.svg)}
.m-response{--m:url(../assets/response.svg)}
.m-deadline{--m:url(../assets/deadline.svg)}
.m-bestseller{--m:url(../assets/best-seller.svg)}
.m-authenticity{--m:url(../assets/authenticity.svg)}
.m-clipboard{--m:url(../assets/compliance-clipboard.svg)}
.m-hand{--m:url(../assets/hand.svg)}
.m-review{--m:url(../assets/review.svg)}

/* ===== الشريط العلوي (إعلان) ===== */
.topbar{background:var(--red);color:#fff;font-size:14px;font-weight:600}
.topbar .container{display:flex;justify-content:space-between;align-items:center;
  gap:14px;padding-top:9px;padding-bottom:9px;flex-wrap:wrap}
.topbar span{display:inline-flex;align-items:center;gap:7px}
.topbar span::before{content:"";width:7px;height:7px;border-radius:50%;background:#fff;opacity:.85}

/* ===== الهيدر ===== */
.site-header{background:var(--navy-dark);padding:16px 0;position:sticky;top:0;z-index:50}
.site-header .container{display:flex;justify-content:center;align-items:center;gap:14px}
.brand{display:flex;align-items:center;gap:14px}
.brand img{width:74px;height:74px;border-radius:50%}
.brand .txt{text-align:right}
.brand .txt h1{font-size:26px;font-weight:700;color:var(--green);line-height:1.2}
.brand .txt p{font-size:15px;color:#fff;font-weight:500}

/* ===== الهيرو ===== */
.hero{
  position:relative;color:#fff;text-align:center;
  background:linear-gradient(180deg,rgba(8,16,30,.92) 0%,rgba(8,16,30,.78) 38%,rgba(8,16,30,.85) 100%),
    url('../assets/hero_bg.png');
  background-size:cover;background-position:center;
  padding:70px 0 80px;
}
.hero .container{position:relative;z-index:2;max-width:1000px}
.badge-pill{
  display:inline-flex;align-items:center;gap:12px;background:var(--green);
  color:#fff;font-weight:700;font-size:15px;padding:11px 26px;border-radius:30px;margin-bottom:34px;
}
.badge-pill .sep{width:1px;height:16px;background:rgba(255,255,255,.6)}
.hero h2{font-size:52px;font-weight:700;line-height:1.25;margin-bottom:22px}
.hero h2 .g{color:var(--green)}
.hero .sub{font-size:23px;font-weight:600;max-width:760px;margin:0 auto 42px;line-height:1.6}
.hero .sub .g{color:var(--green)}

/* بطاقة الإحصائيات */
.stats-card{
  background:rgba(10,17,30,.72);border:1px solid rgba(255,255,255,.07);
  border-radius:18px;display:grid;grid-template-columns:repeat(4,1fr);
  padding:30px 10px;margin:0 auto 40px;backdrop-filter:blur(3px);
}
.stats-card .item{position:relative;padding:6px 20px;text-align:center}
.stats-card .item:not(:last-child)::after{
  content:"";position:absolute;left:0;top:14%;height:72%;width:1px;background:rgba(255,255,255,.18)}
.stats-card .ico{width:48px;height:48px;margin:0 auto 14px}
.stats-card h3{font-size:21px;font-weight:700;color:#fff;line-height:1.4}
.stats-card .item p{font-size:15px;color:var(--text-muted);margin-top:4px}

/* أزرار الدعوة */
.hero-cta{display:flex;gap:20px;justify-content:center;margin-bottom:46px;flex-wrap:wrap}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  font-family:inherit;font-size:17px;font-weight:700;color:#fff;
  padding:17px 30px;border-radius:var(--radius);border:none;cursor:pointer;
  min-width:340px;transition:.2s;
}
.btn svg{width:22px;height:22px;fill:currentColor}
.btn:hover{transform:translateY(-2px);opacity:.95}
.btn-green{background:var(--green)}
.btn-blue{background:var(--blue)}

/* بطاقة موثق ومعتمد */
.verified-card{
  background:#fff;color:#16263a;border-radius:18px;max-width:640px;margin:0 auto;
  display:flex;align-items:center;gap:26px;padding:30px 36px;text-align:right;
  box-shadow:0 20px 50px rgba(0,0,0,.35);
}
.verified-card .ico{width:90px;height:90px;flex-shrink:0}
.verified-card h3{font-size:30px;font-weight:700;color:var(--green);line-height:1.3}
.verified-card h3 small{display:block;font-size:30px;color:#16263a}
.verified-card p{font-size:16px;color:#52606d;margin-top:8px}

/* ===== عناوين الأقسام ===== */
.section{padding:80px 0;background:var(--light)}
.sec-head{text-align:center;margin-bottom:54px}
.sec-head h2{font-size:36px;font-weight:700;color:var(--green);margin-bottom:14px}
.sec-head p{font-size:20px;color:#3a4a5c;font-weight:500;line-height:1.5}

/* ===== الخدمات ===== */
.services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.service-card{
  background:var(--navy-dark);border:1px solid rgba(255,255,255,.06);
  border-radius:18px;padding:30px 26px;text-align:center;transition:.25s;
}
.service-card:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(10,23,39,.25)}
.service-card .pic{width:165px;height:165px;margin:0 auto 22px;object-fit:contain}
.service-card h3{font-size:24px;font-weight:700;color:var(--green);margin-bottom:16px}
.service-card p{font-size:15.5px;color:#b9c6d6;line-height:1.8;margin-bottom:26px;min-height:112px}
.wa-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  background:var(--green);color:#fff;font-weight:700;font-size:16px;
  padding:13px 28px;border-radius:var(--radius);width:100%;transition:.2s;
}
.wa-btn:hover{background:var(--green-d)}
.wa-btn svg{width:20px;height:20px;fill:#fff}

/* ===== آراء العملاء ===== */
.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.review-card{
  background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:24px;
  box-shadow:0 6px 20px rgba(20,40,70,.05);
}
.review-card .top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.review-card .name{font-weight:700;font-size:17px;color:#16263a}
.review-card .top .x{width:30px;height:30px;fill:#1d9bf0}
.review-card p{font-size:15px;color:#516072;line-height:1.85}
.reviews-dots{display:flex;gap:9px;justify-content:center;margin-top:34px}
.reviews-dots span{width:11px;height:11px;border-radius:50%;background:#cfd8e3}
.reviews-dots span.active{background:var(--green)}

/* ===== لماذا تختارنا ===== */
.why-card{
  background:var(--why-card);border-radius:20px;
  display:grid;grid-template-columns:repeat(5,1fr);padding:46px 16px;
}
.why-card .item{position:relative;text-align:center;padding:6px 22px}
.why-card .item:not(:last-child)::after{
  content:"";position:absolute;left:0;top:12%;height:76%;width:1px;background:rgba(255,255,255,.14)}
.why-card .ico{width:58px;height:58px;margin:0 auto 18px}
.why-card h3{font-size:21px;font-weight:700;color:#fff;margin-bottom:10px}
.why-card p{font-size:14.5px;color:#aebccd;line-height:1.7}

/* ===== الفوتر ===== */
.site-footer{background:var(--navy);color:#cdd8e4;padding:70px 0 0}
.footer-top{display:grid;grid-template-columns:1.6fr 1fr 1.2fr;gap:40px;padding-bottom:50px}
.footer-brand .logo{display:flex;align-items:center;gap:14px;margin-bottom:18px;flex-direction:row-reverse;justify-content:flex-end}
.footer-brand .logo img{width:78px;height:78px;border-radius:50%}
.footer-brand .logo .t h3{font-size:25px;font-weight:700;color:var(--green)}
.footer-brand .logo .t span{color:#fff;font-size:15px}
.footer-brand>p{font-size:15px;color:#aebccd;line-height:1.9;margin-bottom:26px;max-width:430px}
.footer-col h4{font-size:21px;font-weight:700;color:var(--green);margin-bottom:22px}
.footer-col ul{list-style:none}
.footer-col li{margin-bottom:15px}
.footer-col a{font-size:15.5px;color:#bcc8d6;transition:.2s;display:inline-flex;align-items:center;gap:9px}
.footer-col a:hover{color:var(--green)}
.footer-col .ico{width:18px;height:18px}
.contact-list li{display:flex;align-items:center;gap:12px;margin-bottom:16px;font-size:15px;color:#cdd8e4}
.contact-list .ico{width:20px;height:20px;flex-shrink:0}

/* تابعنا على */
.follow{display:flex;align-items:center;justify-content:center;gap:18px;padding:8px 0 44px}
.follow span{font-size:22px;font-weight:700;color:var(--green)}
.follow a{width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.follow a svg{width:24px;height:24px;fill:#fff}
.follow .fb{background:#1877f2}.follow .x{background:#000}
.follow .yt{background:#ff0000}.follow .sc{background:#fffc00}
.follow .sc svg{fill:#000}

/* شريط إحصائيات الفوتر */
.footer-stats{
  border:1px solid rgba(255,255,255,.13);border-radius:16px;
  display:grid;grid-template-columns:repeat(4,1fr);padding:28px 10px;margin-bottom:50px;
}
.footer-stats .item{position:relative;text-align:center;padding:4px 18px}
.footer-stats .item:not(:last-child)::after{
  content:"";position:absolute;left:0;top:14%;height:72%;width:1px;background:rgba(255,255,255,.14)}
.footer-stats .ico{width:42px;height:42px;margin:0 auto 12px}
.footer-stats h3{font-size:21px;font-weight:700;color:#fff}
.footer-stats p{font-size:14px;color:#9fb0c3;margin-top:3px}

/* صف الشارات */
.footer-badges{
  display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:20px;
  padding-bottom:40px;border-bottom:1px solid rgba(255,255,255,.08);
}
.footer-badges .vision img{height:54px;opacity:.85}
.footer-badges .verified{display:flex;align-items:center;gap:18px;justify-content:center;text-align:right}
.footer-badges .verified .ico{width:74px;height:74px}
.footer-badges .verified h4{font-size:25px;font-weight:700;color:#fff}
.footer-badges .verified p{font-size:14px;color:#aebccd}
.footer-badges .pay{text-align:left}
.footer-badges .pay h4{font-size:18px;font-weight:700;color:#fff;margin-bottom:12px}
.footer-badges .pay img{height:34px;display:inline-block;margin-right:auto}

.copyright{text-align:center;padding:22px 0;font-size:14.5px;color:#aebccd}
.copyright .g{color:var(--green);font-weight:600}

/* ===== الشريط الثابت بالأسفل ===== */
body{padding-bottom:74px}
.float-bar{
  position:fixed;left:0;right:0;bottom:0;z-index:100;
  display:flex;box-shadow:0 -4px 20px rgba(0,0,0,.25);
}
.fb-btn{
  flex:1;display:flex;align-items:center;justify-content:center;gap:13px;
  padding:13px 10px;color:#fff;transition:.2s;
}
.fb-btn:hover{filter:brightness(1.07)}
.fb-wa{background:var(--green)}
.fb-call{background:var(--blue)}
.fb-btn svg{width:30px;height:30px;fill:#fff;flex-shrink:0}
.fb-txt{display:flex;flex-direction:column;line-height:1.3;text-align:center}
.fb-txt b{font-size:18px;font-weight:700}
.fb-txt small{font-size:13px;opacity:.92}
@media(max-width:680px){
  body{padding-bottom:66px}
  .fb-btn{gap:9px;padding:11px 6px}
  .fb-btn svg{width:26px;height:26px}
  .fb-txt b{font-size:15.5px}
  .fb-txt small{font-size:11.5px}
}

/* ===== استجابة الجوال ===== */
@media(max-width:1024px){
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .why-card{grid-template-columns:repeat(3,1fr);gap:30px 0}
  .why-card .item:nth-child(3)::after{display:none}
  .footer-top{grid-template-columns:1fr 1fr;gap:34px}
  .hero h2{font-size:40px}
}
@media(max-width:680px){
  .topbar .container{justify-content:center}
  .stats-card,.footer-stats{grid-template-columns:repeat(2,1fr);gap:26px 0}
  .stats-card .item::after,.footer-stats .item::after{display:none}
  .services-grid,.reviews-grid{grid-template-columns:1fr}
  .why-card{grid-template-columns:1fr;gap:34px 0}
  .why-card .item::after{display:none}
  .footer-top,.footer-badges{grid-template-columns:1fr;text-align:center}
  .footer-brand .logo,.footer-brand>p,.contact-list li,.footer-col a{justify-content:center}
  .footer-badges .pay,.footer-badges .verified{text-align:center;justify-content:center}
  .footer-badges .pay img{margin:0 auto}
  .verified-card{flex-direction:column;text-align:center}
  .hero h2{font-size:32px}.hero .sub{font-size:19px}
  .btn{min-width:100%}
  .sec-head h2{font-size:28px}
  .brand .txt h1{font-size:21px}
}
