@charset "UTF-8";
/* تنسيقات صفحة articles.html — كانت مكتوبة جوّه الصفحة في <style>.
   اتنقلت لملف منفصل عشان المتصفح يخزّنها (الـHTML نفسه max-age=0
   فكان بيتحمّل بالتنسيقات دي كاملة مع كل زيارة). الوسم <link> في نفس
   مكان الـ<style> القديم بالظبط، فترتيب القواعد ماتغيّرش.
   ⚠️ أي تعديل هنا لازم يرفع رقم ?v= في articles.html. */
:root{
  --logo-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='48' fill='%23063F60'/%3E%3Ccircle cx='50' cy='50' r='46' fill='none' stroke='%230786AD' stroke-width='4'/%3E%3Cpath d='M50 26 L84 43 L50 60 L16 43 Z' fill='%23ffffff'/%3E%3Cpath d='M28 49 L28 65 Q50 76 72 65 L72 49' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='84' cy='43' r='3.5' fill='%230786AD'/%3E%3Cline x1='84' y1='43' x2='84' y2='62' stroke='%230786AD' stroke-width='3'/%3E%3C/svg%3E");
  --navy:#062B4A;
  --navy-deep:#031C34;
  --cyan:#20B7D9;
  --orange:#20B7D9;
  --blue-mid:#175B8C;
  --orange-dark:#175B8C;
  --bg:#FFFFFF;
  --bg-soft:#EDF3F7;
  --text:#0B3350;
  --text-muted:#5A7288;
  --border:#D8E2EA;
  --gold:#E8AD3F;
  --gold-soft:#F3C56B;
  --radius:12px;
  --shadow:0 12px 30px -14px rgba(6,63,96,0.25);
  --font-head:'IBM Plex Sans Arabic', sans-serif;
  --font-body:'Tajawal', sans-serif;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
::selection{background:var(--cyan); color:#fff;}
::-moz-selection{background:var(--cyan); color:#fff;}
html{scrollbar-color:var(--navy) var(--bg-soft); scrollbar-width:thin;}
::-webkit-scrollbar{width:11px; height:11px;}
::-webkit-scrollbar-track{background:var(--bg-soft);}
::-webkit-scrollbar-thumb{background:var(--navy); border-radius:20px; border:2px solid var(--bg-soft);}
::-webkit-scrollbar-thumb:hover{background:var(--navy-deep);}
body{background:var(--bg); color:var(--text); font-family:var(--font-body); line-height:1.75;}
img,svg{display:block; max-width:100%;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
button{font-family:inherit; cursor:pointer; border:none; background:none;}
h1,h2,h3{font-family:var(--font-head); font-weight:800;}
.wrap{max-width:1200px; margin:0 auto; padding:0 28px;}
.section{padding:80px 0;}
.section-soft{background:var(--bg-soft);}
.eyebrow{font-size:13.5px; font-weight:700; color:var(--orange); margin-bottom:10px;}
.head-title{font-size:32px; font-weight:800; color:var(--navy); margin-bottom:10px;}
.head-desc{color:var(--text-muted); font-size:15.5px; max-width:640px;}
.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-bottom:40px;}

.btn{display:inline-flex; align-items:center; gap:8px; padding:14px 28px; border-radius:999px; font-weight:700; font-size:14.5px; transition:transform .2s ease, box-shadow .2s ease;}
.btn-orange{background:linear-gradient(135deg,#F2965A,var(--orange)); color:#fff; box-shadow:0 12px 26px -10px rgba(224,123,57,.6);}
.btn-orange:hover{transform:translateY(-2px);}
.btn-navy{background:var(--navy); color:#fff;}
.btn-navy:hover{background:var(--navy-deep);}
.btn-outline{border:1.5px solid var(--navy); color:var(--navy);}
.btn-outline:hover{background:var(--navy); color:#fff;}
.btn-outline-white{border:1.5px solid #fff; color:#fff;}
.btn-outline-white:hover{background:#fff; color:var(--navy);}
.logo-badge{width:40px; height:40px; border-radius:50%; background-image:var(--logo-img); background-size:cover; background-position:center; flex-shrink:0;}

.topbar{background:linear-gradient(90deg, var(--navy-deep), var(--navy)); color:#B9CBDA; font-size:12.5px; position:relative;}
.topbar::after{content:""; position:absolute; inset:auto 0 0 0; height:2px; background:linear-gradient(90deg, var(--cyan), var(--orange)); opacity:.75;}
.topbar .wrap{display:flex; align-items:center; justify-content:space-between; padding:9px 28px; gap:18px; flex-wrap:wrap;}
.topbar-tagline{display:flex; align-items:center; gap:7px; color:#CFE3EE; font-weight:600; font-size:12.5px;}
.topbar-tagline svg{flex-shrink:0; color:var(--orange);}
.topbar-links{display:flex; align-items:center; gap:14px; flex-wrap:wrap;}
.topbar-links a{display:inline-flex; align-items:center; gap:6px; transition:color .15s ease;}
.topbar-links a:hover{color:#fff;}
.topbar-links svg{opacity:.8; flex-shrink:0;}
.topbar-divider{width:1px; height:12px; background:rgba(255,255,255,.18); display:inline-block;}
.topbar-cta{background:rgba(255,255,255,.12); padding:5px 14px; border-radius:999px; font-weight:700; color:#fff !important;}
.topbar-cta:hover{background:rgba(255,255,255,.22);}
.topbar-social{display:flex; align-items:center; gap:10px;}
.topbar-social a{width:24px; height:24px; border-radius:50%; background:rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; color:#CFE3EE;}
.topbar-social a:hover{background:rgba(255,255,255,.22); color:#fff;}
@media (max-width:1100px){ .topbar-social{display:none;} }
@media (max-width:1100px){ .topbar-tagline{display:none;} }
@media (max-width:600px){
  .topbar .wrap{justify-content:center;}
  .topbar-links{gap:8px;}
  .topbar-links .contact-email-link{display:none;}
  .topbar-cta{padding:5px 10px; font-size:11.5px;}
}

header{background:#fff;}
.site-header-wrap{position:sticky; top:0; z-index:100; box-shadow:0 2px 14px -8px rgba(0,0,0,.15);}
.nav{display:flex; align-items:center; justify-content:space-between; padding:16px 0;}
.logo{display:flex; align-items:center; gap:10px;}
.logo .word{font-family:var(--font-head); font-weight:800; font-size:19px; color:var(--navy); line-height:1.2;}
.logo .word small{display:block; font-weight:400; font-size:10.5px; color:var(--text-muted);}
.nav-links{display:flex; align-items:center; gap:18px; font-weight:600; font-size:13.5px; color:var(--navy); white-space:nowrap;}
.nav-links a{position:relative; padding:4px 0;}
.nav-links a.active{color:var(--orange);}
.nav-links a:hover{color:var(--orange);}
.burger{display:none; flex-direction:column; gap:5px; width:26px; margin-inline-start:14px;}
.burger span{height:2px; background:var(--navy);}
.mobile-menu{display:none; flex-direction:column; gap:16px; padding:20px 28px 24px; border-top:1px solid var(--border);}
.mobile-menu.open{display:flex;}
.mobile-menu a.active{color:var(--orange);}

/* breadcrumb / page header band */
.page-hero{background:linear-gradient(150deg,var(--navy) 0%, var(--navy-deep) 65%); color:#fff; padding:56px 0; position:relative; overflow:hidden; isolation:isolate;}
.page-hero::before{content:""; position:absolute; inset:0; z-index:-1; opacity:.16; background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size:42px 42px; mask-image:linear-gradient(to left,#000,transparent 88%);}
.page-hero::after{content:""; position:absolute; inset:0; background:radial-gradient(circle at 85% 20%, rgba(14,165,212,.25), transparent 55%);}
.page-hero .wrap{position:relative; z-index:2;}
.breadcrumb{font-size:13px; color:#9FC3D8; margin-bottom:14px;}
.breadcrumb a:hover{color:#fff;}
.page-hero h1{font-size:32px;}
.page-hero p{color:#B9CBDA; margin-top:10px; max-width:600px;}

/* hero carousel (home only) */
.hero{background:linear-gradient(150deg,var(--navy) 0%, var(--navy-deep) 65%); position:relative; overflow:hidden; color:#fff;}
.hero::after{content:""; position:absolute; inset:0; background:radial-gradient(circle at 85% 20%, rgba(14,165,212,.25), transparent 55%);}
.carousel{position:relative; z-index:2; padding:70px 0 60px;}
.slide{display:none; animation:fadeIn .5s ease;}
.slide.active{display:block;}
@keyframes fadeIn{ from{opacity:0; transform:translateY(8px);} to{opacity:1; transform:translateY(0);} }
.slide-tag{display:inline-block; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25); padding:6px 16px; border-radius:999px; font-size:12.5px; margin-bottom:20px;}
.slide h1{font-size:40px; line-height:1.4; margin-bottom:18px; max-width:640px;}
.slide-badge{display:inline-flex; align-items:center; gap:8px; background:var(--orange); color:#fff; font-weight:700; font-size:14px; padding:10px 22px; border-radius:8px; margin-bottom:30px;}
.carousel-dots{display:flex; gap:8px; margin-top:10px;}
.carousel-dots button{width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.35);}
.carousel-dots button.active{background:var(--orange); width:22px; border-radius:5px;}

.search-bar{position:relative; z-index:3; margin-top:-30px;}
.search-box{background:#fff; border-radius:var(--radius); box-shadow:var(--shadow); padding:22px 26px; display:flex; gap:14px; align-items:center; flex-wrap:wrap;}
.search-box input{flex:1; min-width:200px; border:1px solid var(--border); border-radius:8px; padding:13px 16px; font-family:inherit; font-size:14.5px;}
.search-box input:focus{outline:2px solid var(--cyan); border-color:transparent;}

.about-strip p{font-size:15.5px; color:var(--text-muted); max-width:900px; margin:0 auto; text-align:center;}

.stats-row{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.stat-card{background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:28px 20px; text-align:center; box-shadow:var(--shadow);}
.stat-card b{display:block; font-family:var(--font-head); font-size:28px; color:var(--navy); margin-bottom:6px;}
.stat-card span{font-size:13px; color:var(--text-muted);}

.programs-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.program-card{background:#fff; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; transition:transform .25s ease, box-shadow .25s ease;}
.program-card:hover{transform:translateY(-6px); box-shadow:var(--shadow);}
.program-top{background:linear-gradient(135deg,var(--navy),var(--navy-deep)); padding:26px; color:#fff; position:relative;}
.program-code{font-size:11.5px; letter-spacing:.05em; color:#9FC3D8; margin-bottom:8px;}
.program-top h3{font-size:17px; line-height:1.5;}
.program-body{padding:20px 26px;}
.program-tags{display:flex; gap:8px; margin-bottom:14px; flex-wrap:wrap;}
.tag{background:var(--bg-soft); color:var(--navy); font-size:12px; font-weight:600; padding:5px 12px; border-radius:999px;}
.program-body a.cta-link{font-weight:700; color:var(--orange); font-size:14px;}
.program-body a.cta-link:hover{text-decoration:underline;}

.articles-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.article-card{background:#fff; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden;}
.article-thumb{height:130px; background:linear-gradient(135deg,var(--cyan),var(--navy)); display:flex; align-items:center; justify-content:center; color:#fff; font-size:12px; letter-spacing:.05em;}
.article-body{padding:20px 22px;}
.article-body h3{font-size:15.5px; line-height:1.6; margin-bottom:10px; color:var(--navy);}
.article-body p{font-size:13px; color:var(--text-muted); margin-bottom:12px;}
.article-body a{font-size:13px; font-weight:700; color:var(--cyan);}

.testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.testi-card{background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:26px; box-shadow:var(--shadow);}
.stars{color:var(--orange); font-size:14px; margin-bottom:14px; letter-spacing:2px;}
.testi-card p{font-size:14px; color:var(--text-muted); margin-bottom:18px;}
.testi-who{display:flex; align-items:center; gap:12px;}
.testi-avatar{width:38px; height:38px; border-radius:50%; background:var(--navy); flex-shrink:0;}
.testi-who b{font-size:13.5px; display:block; color:var(--navy);}
.testi-who span{font-size:12px; color:var(--text-muted);}

.clients-row{display:grid; grid-template-columns:repeat(6,1fr); gap:16px;}
.client-tile{background:#fff; border:1px dashed var(--border); border-radius:8px; height:64px; display:flex; align-items:center; justify-content:center; font-size:11px; color:var(--text-muted); text-align:center; padding:6px; transition:border-color .2s ease, color .2s ease;}
.client-tile:hover{border-color:var(--cyan); color:var(--navy);}

.disclaimer{background:#FFF7E8; border:1px solid #F0D89B; color:#8A6417; font-size:13px; padding:14px 16px; border-radius:8px; margin-top:18px; line-height:1.8;}

/* simple panel / form components (used on certificates & payments pages) */
.panel{background:var(--card, #fff); border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden;}
.panel-head{padding:18px 22px; border-bottom:1px solid var(--border);}
.panel-head h3{font-size:16px; color:var(--navy); font-family:var(--font-head);}
.field{margin-bottom:14px;}
.field label{display:block; font-size:13px; font-weight:600; color:var(--navy); margin-bottom:6px;}
.field input, .field select{width:100%; border:1.5px solid var(--border); border-radius:8px; padding:11px 14px; font-size:14px; font-family:inherit;}
.field input:focus, .field select:focus{outline:none; border-color:var(--cyan);}
.btn-block{width:100%; justify-content:center;}

/* scroll reveal */
.reveal{opacity:0; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease;}
.reveal.in{opacity:1; transform:translateY(0);}
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1; transform:none; transition:none;} html{scroll-behavior:auto;} }

/* why choose us */
.why-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:22px;}
.why-card{background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:28px 24px; box-shadow:var(--shadow); transition:transform .3s ease, box-shadow .3s ease;}
.why-card:hover{transform:translateY(-6px);}
.why-icon{width:48px; height:48px; border-radius:12px; background:var(--bg-soft); display:flex; align-items:center; justify-content:center; margin-bottom:16px;}
.why-card h3{font-size:16.5px; color:var(--navy); margin-bottom:8px;}
.why-card p{font-size:13.5px; color:var(--text-muted);}

/* mini process timeline */
.mini-timeline{display:grid; grid-template-columns:repeat(4,1fr); gap:24px; position:relative; margin-top:8px;}
.mini-timeline::before{content:""; position:absolute; top:23px; right:12%; left:12%; height:2px; background:var(--border);}
.mt-step{text-align:center; position:relative; padding:0 10px;}
.mt-num{width:46px; height:46px; border-radius:50%; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--font-head); font-weight:800; margin:0 auto 16px; position:relative; z-index:2; border:4px solid #fff; box-shadow:0 0 0 1px var(--border);}
.mt-step h3{font-size:15px; color:var(--navy); margin-bottom:6px;}
.mt-step p{font-size:13px; color:var(--text-muted);}

.cta-band{background:linear-gradient(120deg,var(--navy),var(--navy-deep)); border-radius:20px; padding:56px 44px; color:#fff; display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;}
.cta-band h2{font-size:26px; max-width:480px;}
.cta-band p{color:#B9CBDA; margin-top:10px; max-width:440px;}

/* pricing table */
.price-table{width:100%; border-collapse:collapse; margin-top:10px; background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);}
.price-table th{font-size:12.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--text-muted); text-align:start; padding:14px 20px; border-bottom:2px solid var(--border); background:var(--bg-soft);}
.price-table td{padding:22px 20px; border-bottom:1px solid var(--border); vertical-align:top;}
.price-table .ptitle{font-weight:700; color:var(--navy); font-size:16px; margin-bottom:6px;}
.price-table .pdesc{font-size:13.5px; color:var(--text-muted); max-width:340px;}
.price-table .pval{font-weight:700; font-size:13.5px; color:var(--orange);}

/* FAQ */
.faq-list{max-width:820px;}
.faq-item{border-bottom:1px solid var(--border); padding:20px 0;}
.faq-q{display:flex; align-items:center; justify-content:space-between; gap:16px; font-size:16px; font-weight:700; color:var(--navy); width:100%; text-align:start;}
.faq-q .plus{font-size:20px; color:var(--orange); transition:transform .3s ease; flex-shrink:0;}
.faq-item.open .plus{transform:rotate(45deg);}
.faq-a{max-height:0; overflow:hidden; transition:max-height .35s ease;}
.faq-a p{padding-top:12px; color:var(--text-muted); font-size:14px; max-width:640px;}

footer{background:var(--navy-deep); color:#B9CBDA; padding:60px 0 24px;}
.footer-grid{display:grid; grid-template-columns:1.3fr .9fr .9fr 1fr; gap:36px; padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,.15);}
.footer-logo{display:flex; align-items:center; gap:10px; font-family:var(--font-head); font-weight:800; font-size:18px; color:#fff; margin-bottom:14px;}
.footer-col h3{color:#fff; font-size:18px; margin-bottom:16px;}
.footer-col li{margin-bottom:11px; font-size:14px;}
.footer-col a:hover{color:var(--cyan);}
.footer-social{display:flex; gap:10px; margin-top:2px;}
.footer-social a{width:30px; height:30px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; color:#B9CBDA;}
.footer-social a:hover{background:var(--cyan); color:#fff;}
.footer-bottom{padding-top:20px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:13px; color:#7E93A3;}
.footer-payment-row{display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding-top:24px; border-top:1px solid rgba(255,255,255,.1); margin-top:6px;}
.footer-payment-label{font-size:12.5px; color:#8CA3B3;}
.footer-payment-icon{border-radius:5px; overflow:hidden; line-height:0; opacity:.92;}

.whatsapp-float{position:fixed; bottom:24px; left:24px; z-index:80; width:56px; height:56px; border-radius:50%; background:#25D366; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 24px -8px rgba(0,0,0,.4); transition:transform .25s ease; animation:waPulse 2.2s ease-in-out infinite;}
.whatsapp-float::before{content:""; position:absolute; inset:0; border-radius:50%; background:#25D366; z-index:-1; animation:waPulseRing 2.2s ease-out infinite;}
@keyframes waPulse{ 0%,100%{transform:scale(1);} 50%{transform:scale(1.08);} }
@keyframes waPulseRing{ 0%{transform:scale(1); opacity:.55;} 100%{transform:scale(1.9); opacity:0;} }
@media (prefers-reduced-motion: reduce){ .whatsapp-float, .whatsapp-float::before{animation:none;} }
.whatsapp-float:hover{transform:scale(1.08);}

.mobile-bottom-nav{display:none; position:fixed; bottom:0; left:0; right:0; z-index:90; background:var(--navy-deep); border-top:1px solid rgba(255,255,255,.1); box-shadow:0 -6px 20px -10px rgba(0,0,0,.4); padding:9px 6px calc(9px + env(safe-area-inset-bottom));}
.mobile-bottom-nav .wrap{display:flex; align-items:flex-end; justify-content:space-around; max-width:none; padding:0;}
.mobile-bottom-nav a{display:flex; flex-direction:column; align-items:center; gap:4px; font-size:10.5px; font-weight:600; color:#B9CBDA; text-decoration:none; flex:1; min-width:0;}
.mobile-bottom-nav a svg{flex-shrink:0;}
.mobile-bottom-nav a.active{color:var(--gold, #E8AD3F);}
.mobile-bottom-nav a.elevated{margin-top:-30px;}
.mobile-bottom-nav a.elevated .icon-circle{width:54px; height:54px; border-radius:50%; background:linear-gradient(135deg,var(--gold, #E8AD3F),var(--gold-soft, #F3C56B)); display:flex; align-items:center; justify-content:center; color:var(--navy-deep); box-shadow:0 10px 22px -6px rgba(232,173,63,.5); margin-bottom:2px; border:4px solid var(--navy-deep);}
.mobile-bottom-nav a.elevated{color:var(--gold, #E8AD3F); font-weight:700;}
@media (max-width:768px){
  .mobile-bottom-nav{display:block;}
  body{padding-bottom:78px;}
  .whatsapp-float{bottom:100px; left:16px; width:48px; height:48px;}
}


a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible, .btn:focus-visible{
  outline:2.5px solid var(--cyan); outline-offset:2px; border-radius:4px;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible{
  outline:2.5px solid var(--cyan); outline-offset:1px; border-color:var(--cyan);
}

@media (max-width:1100px){
  .nav-links{display:none;}
  .burger{display:flex;}
  .nav-cta{display:none;}
  .slide h1{font-size:30px;}
  .stats-row, .programs-grid, .articles-grid, .testi-grid, .why-grid{grid-template-columns:1fr 1fr;}
  .clients-row{grid-template-columns:repeat(3,1fr);}
  .footer-grid{grid-template-columns:1fr 1fr; row-gap:30px;}
  .mini-timeline{grid-template-columns:1fr 1fr; row-gap:34px;}
  .mini-timeline::before{display:none;}
}
@media (max-width:620px){
  .section{padding:56px 0;}
  .stats-row, .programs-grid, .articles-grid, .testi-grid, .footer-grid, .why-grid, .mini-timeline{grid-template-columns:1fr;}
  .clients-row{grid-template-columns:repeat(2,1fr);}
  .cta-band{flex-direction:column; text-align:center; padding:40px 26px;}
  .search-box{flex-direction:column; align-items:stretch;}
  .page-hero h1{font-size:26px;}
}


/* ================= 2026 Design Upgrade: micro-interactions, skeleton, parallax ================= */
.btn:active{transform:scale(.96);}
.testi-card, .article-card, .avail-card{transition:transform .25s ease, box-shadow .25s ease;}
.testi-card:hover, .article-card:hover, .avail-card:hover{transform:translateY(-5px); box-shadow:var(--shadow);}
.why-card{transition:transform .25s ease, box-shadow .25s ease;}
.why-card:hover{transform:translateY(-4px); box-shadow:var(--shadow);}
.related-card{transition:transform .25s ease, box-shadow .25s ease;}

/* skeleton loading shimmer */
.skeleton-card{position:relative; overflow:hidden; background:#E8EEF2; border-radius:var(--radius); height:230px;}
.skeleton-line{position:relative; overflow:hidden; background:#E8EEF2; border-radius:6px; height:13px; margin:10px 0;}
.skeleton-card::after, .skeleton-line::after{content:""; position:absolute; inset:0; background:linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation:skeletonShimmer 1.3s infinite;}
@keyframes skeletonShimmer{ from{transform:translateX(-100%);} to{transform:translateX(100%);} }
.skeleton-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
@media (max-width:900px){ .skeleton-grid{grid-template-columns:1fr 1fr;} }
@media (max-width:620px){ .skeleton-grid{grid-template-columns:1fr;} }

/* subtle parallax for card watermark icons */
.cat-watermark{ will-change:transform; }

/* ============ Print Stylesheet: طباعة نضيفة بدون هيدر/فوتر/أزرار ============ */
@media print{
  .site-header-wrap, .topbar, header, footer,
  .whatsapp-float, .mobile-bottom-nav, .mobile-menu,
  .testi-arrow, .cta-band, .advisor-bar, .burger,
  .btn, button, .skeleton-card, .skeleton-line{
    display:none !important;
  }
  body{ padding-bottom:0 !important; background:#fff !important; }
  .page-hero, .hero{ background:#fff !important; color:#000 !important; padding:16px 0 !important; box-shadow:none !important; }
  .page-hero *, .hero *, .page-hero h1, .page-hero p{ color:#000 !important; text-shadow:none !important; }
  .page-hero::after, .hero::after{ display:none !important; }
  a{ text-decoration:none; color:#000 !important; }
  .panel, .program-card, .testi-card, .article-card{ box-shadow:none !important; border:1px solid #ccc !important; break-inside:avoid; }
  .wrap{ max-width:100% !important; padding:0 16px !important; }
  .pd-main-grid{ grid-template-columns:1fr !important; }
  * { -webkit-print-color-adjust:exact; print-color-adjust:exact; }
}

/* ================= Articles Hub — Professional Upgrade ================= */
.article-hero{
  position:relative; overflow:hidden; color:#fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(32,183,217,.20), transparent 33%),
    radial-gradient(circle at 84% 24%, rgba(232,173,63,.16), transparent 31%),
    linear-gradient(145deg,#031C34 0%,#062B4A 52%,#0A4569 100%);
  isolation:isolate;
}
.article-hero::before{
  content:""; position:absolute; inset:0; z-index:-1; opacity:.16;
  background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);
  background-size:44px 44px;
  mask-image:linear-gradient(90deg,transparent,#000 22%,#000 82%,transparent);
}
.article-hero::after{
  content:""; position:absolute; width:440px; height:440px; border:1px solid rgba(255,255,255,.10); border-radius:50%;
  left:-150px; bottom:-260px; box-shadow:0 0 0 52px rgba(255,255,255,.025),0 0 0 104px rgba(255,255,255,.018);
}
.article-hero-grid{min-height:430px; display:grid; grid-template-columns:1.18fr .82fr; align-items:center; gap:54px; padding:72px 0 62px;}
.article-hero-copy{position:relative; z-index:2;}
.article-hero .breadcrumb{margin-bottom:18px;}
.article-kicker{display:inline-flex; align-items:center; gap:8px; padding:7px 14px; border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.08); backdrop-filter:blur(10px); border-radius:999px; font-size:12.5px; color:#D8EEF7; margin-bottom:18px;}
.article-kicker-dot{width:7px; height:7px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 6px rgba(232,173,63,.12);}
.article-hero h1{font-size:clamp(34px,5vw,58px); line-height:1.25; margin-bottom:18px; max-width:710px;}
.article-hero h1 span{color:var(--cyan);}
.article-hero-copy>p{font-size:16.5px; line-height:2; color:#BFD5E3; max-width:660px;}
.article-hero-actions{display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:28px;}
.article-hero-actions .btn{padding:12px 22px;}
.article-hero-note{display:flex; align-items:center; gap:8px; color:#A9C4D5; font-size:12.5px; margin-top:20px;}
.article-visual{position:relative; min-height:310px; display:grid; place-items:center;}
.knowledge-orbit{position:relative; width:min(310px,78vw); aspect-ratio:1; border-radius:50%; display:grid; place-items:center; border:1px solid rgba(255,255,255,.13); animation:knowledgeFloat 5s ease-in-out infinite;}
.knowledge-orbit::before,.knowledge-orbit::after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(32,183,217,.20);}
.knowledge-orbit::before{inset:28px;}
.knowledge-orbit::after{inset:64px;border-color:rgba(232,173,63,.20);}
.knowledge-core{width:126px;height:150px;border-radius:18px 18px 28px 28px;background:linear-gradient(160deg,rgba(255,255,255,.18),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.22);box-shadow:0 24px 60px rgba(0,0,0,.28);display:grid;place-items:center;transform:rotate(-5deg);backdrop-filter:blur(12px);}
.knowledge-core svg{color:var(--gold); filter:drop-shadow(0 8px 18px rgba(232,173,63,.25));}
.orbit-chip{position:absolute;display:flex;align-items:center;gap:8px;padding:9px 13px;border-radius:12px;background:rgba(3,28,52,.78);border:1px solid rgba(255,255,255,.12);box-shadow:0 12px 30px rgba(0,0,0,.20);font-size:12px;color:#D9EBF5;backdrop-filter:blur(12px);}
.orbit-chip svg{color:var(--cyan);}
.orbit-chip.one{top:12%;right:-8%;animation:chipFloat 4s ease-in-out infinite;}
.orbit-chip.two{bottom:16%;left:-12%;animation:chipFloat 4.6s ease-in-out infinite .4s;}
.orbit-chip.three{top:52%;right:-18%;animation:chipFloat 5.1s ease-in-out infinite .8s;}
@keyframes knowledgeFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes chipFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}

.articles-hub-section{padding:66px 0 82px;background:linear-gradient(180deg,#F4F8FB 0%,#fff 30%);}
.articles-toolbar{position:relative;z-index:5;background:#fff;border:1px solid var(--border);border-radius:20px;padding:18px;box-shadow:0 22px 55px -30px rgba(6,43,74,.40);margin-top:-98px;margin-bottom:38px;}
.toolbar-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;}
.article-search{position:relative;}
.article-search svg{position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#6B879A;pointer-events:none;}
.article-search input{width:100%;height:52px;border:1.5px solid var(--border);border-radius:13px;padding:0 48px 0 46px;font-family:inherit;font-size:14.5px;color:var(--text);background:#F9FBFC;transition:.2s;}
.article-search input:focus{outline:none;border-color:var(--cyan);background:#fff;box-shadow:0 0 0 4px rgba(32,183,217,.10);}
.clear-search{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:50%;display:none;align-items:center;justify-content:center;background:var(--bg-soft);color:var(--text-muted);font-size:16px;}
.clear-search.show{display:flex;}
.toolbar-result{min-width:145px;height:52px;border-radius:13px;background:linear-gradient(135deg,var(--navy),var(--navy-deep));color:#fff;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 16px;font-size:13px;white-space:nowrap;}
.toolbar-result strong{color:var(--gold-soft);font-size:15px;}
.category-chips{display:flex;gap:8px;overflow-x:auto;padding:14px 2px 0;scrollbar-width:none;}
.category-chips::-webkit-scrollbar{display:none;}
.category-chip{flex:0 0 auto;border:1px solid var(--border);background:#fff;color:var(--text-muted);padding:8px 14px;border-radius:999px;font-size:12.5px;font-weight:700;transition:.2s;}
.category-chip:hover,.category-chip.active{background:var(--navy);border-color:var(--navy);color:#fff;transform:translateY(-1px);}

.featured-article{display:none;margin-bottom:34px;}
.featured-article.show{display:block;animation:articleIn .45s ease both;}
.featured-card{display:grid;grid-template-columns:1.05fr .95fr;background:#fff;border:1px solid var(--border);border-radius:24px;overflow:hidden;box-shadow:0 24px 60px -34px rgba(6,43,74,.45);min-height:345px;}
.featured-media{position:relative;min-height:345px;background:linear-gradient(135deg,#063B5C,#0B6D91);overflow:hidden;}
.featured-media img{width:100%;height:100%;object-fit:cover;transition:transform .7s ease;}
.featured-card:hover .featured-media img{transform:scale(1.045);}
.featured-media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,28,52,.05),rgba(3,28,52,.48));}
.featured-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:rgba(255,255,255,.92);}
.featured-placeholder .placeholder-mark{width:118px;height:118px;border-radius:28px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.20);display:grid;place-items:center;transform:rotate(-7deg);}
.featured-badge{position:absolute;z-index:2;top:22px;right:22px;padding:7px 13px;border-radius:999px;background:rgba(3,28,52,.80);border:1px solid rgba(255,255,255,.18);color:#fff;font-size:12px;font-weight:700;backdrop-filter:blur(10px);}
.featured-content{padding:38px;display:flex;flex-direction:column;justify-content:center;}
.article-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--text-muted);margin-bottom:14px;}
.meta-dot{width:4px;height:4px;border-radius:50%;background:var(--cyan);}
.article-category{display:inline-flex;align-items:center;width:max-content;padding:5px 10px;border-radius:999px;background:rgba(32,183,217,.10);color:#0B7393;font-size:11.5px;font-weight:800;}
.featured-content h2{font-size:clamp(24px,3vw,34px);line-height:1.55;color:var(--navy);margin-bottom:14px;}
.featured-content p{font-size:14.5px;line-height:1.95;color:var(--text-muted);margin-bottom:22px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.article-read-link{display:inline-flex;align-items:center;gap:8px;color:var(--navy);font-weight:800;font-size:13.5px;width:max-content;}
.article-read-link .arrow{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:#fff;transition:.2s;}
.article-read-link:hover .arrow{transform:translateX(-4px);background:var(--cyan);}

.articles-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:22px;}
.articles-heading h2{font-size:27px;color:var(--navy);}
.articles-heading p{font-size:13.5px;color:var(--text-muted);margin-top:4px;}
.knowledge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.knowledge-card{background:#fff;border:1px solid var(--border);border-radius:19px;overflow:hidden;box-shadow:0 15px 38px -28px rgba(6,43,74,.36);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;animation:articleIn .45s ease both;}
.knowledge-card:hover{transform:translateY(-7px);box-shadow:0 24px 45px -28px rgba(6,43,74,.48);border-color:rgba(32,183,217,.45);}
@keyframes articleIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
.knowledge-media{height:190px;position:relative;background:linear-gradient(135deg,#062B4A,#1684A8);overflow:hidden;}
.knowledge-media img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease;}
.knowledge-card:hover .knowledge-media img{transform:scale(1.06);}
.knowledge-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(3,28,52,.62));pointer-events:none;}
.card-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:rgba(255,255,255,.92);}
.card-placeholder span{width:72px;height:72px;border-radius:20px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.18);display:grid;place-items:center;font-family:var(--font-head);font-size:26px;font-weight:800;}
.knowledge-media .article-category{position:absolute;z-index:2;right:14px;top:14px;background:rgba(255,255,255,.92);color:var(--navy);backdrop-filter:blur(8px);}
.card-read-time{position:absolute;z-index:2;left:14px;bottom:13px;color:#fff;font-size:11.5px;display:flex;align-items:center;gap:5px;}
.knowledge-body{padding:21px 21px 19px;}
.knowledge-body .article-meta{margin-bottom:9px;}
.knowledge-body h3{font-size:17px;line-height:1.65;color:var(--navy);margin-bottom:9px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:56px;}
.knowledge-body p{font-size:13px;line-height:1.8;color:var(--text-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:47px;margin-bottom:17px;}
.knowledge-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:14px;border-top:1px solid #EDF2F5;}
.knowledge-card-footer a{font-size:12.5px;font-weight:800;color:var(--navy);display:flex;align-items:center;gap:6px;}
.knowledge-card-footer a:hover{color:var(--cyan);}
.article-index{font-size:11px;color:#8AA0AF;font-family:var(--font-head);}
.load-more-wrap{text-align:center;margin-top:32px;}
.load-more-btn{min-width:185px;justify-content:center;}
.articles-state{grid-column:1/-1;text-align:center;padding:54px 20px;background:#fff;border:1px dashed var(--border);border-radius:18px;color:var(--text-muted);}
.articles-state-icon{width:58px;height:58px;border-radius:17px;margin:0 auto 14px;display:grid;place-items:center;background:var(--bg-soft);color:var(--navy);}
.articles-state h3{color:var(--navy);font-size:18px;margin-bottom:5px;}
.articles-state p{font-size:13px;}

.knowledge-cta{padding:0 0 82px;background:#fff;}
.knowledge-cta-card{position:relative;overflow:hidden;border-radius:24px;background:linear-gradient(125deg,var(--navy-deep),var(--navy) 62%,#0A5D80);color:#fff;padding:42px;display:flex;align-items:center;justify-content:space-between;gap:28px;box-shadow:0 26px 60px -34px rgba(3,28,52,.62);}
.knowledge-cta-card::after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;left:-90px;top:-120px;border:1px solid rgba(255,255,255,.13);box-shadow:0 0 0 42px rgba(255,255,255,.025),0 0 0 84px rgba(255,255,255,.018);}
.knowledge-cta-copy{position:relative;z-index:2;}
.knowledge-cta-copy span{color:var(--gold-soft);font-size:12.5px;font-weight:800;}
.knowledge-cta-copy h2{font-size:27px;margin:7px 0 8px;}
.knowledge-cta-copy p{font-size:14px;color:#BFD3E0;max-width:610px;}
.knowledge-cta-actions{position:relative;z-index:2;display:flex;gap:10px;flex-wrap:wrap;}

@media(max-width:980px){
  .article-hero-grid{grid-template-columns:1fr;gap:18px;padding:58px 0 120px;text-align:center;}
  .article-hero-copy>p{margin-inline:auto}.article-hero-actions,.article-hero-note{justify-content:center}.article-visual{display:none}
  .featured-card{grid-template-columns:1fr}.featured-media{min-height:280px}.featured-content{padding:30px}
  .knowledge-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:680px){
  .article-hero-grid{min-height:auto;padding:40px 0 105px;text-align:start}.article-hero .breadcrumb{font-size:11px}.article-hero h1{font-size:34px}.article-hero-copy>p{font-size:14px;line-height:1.85;margin:0}.article-hero-actions,.article-hero-note{justify-content:flex-start}.article-hero-note{font-size:11.5px}
  .articles-hub-section{padding:0 0 58px}.articles-toolbar{margin:-74px 0 27px;border-radius:17px;padding:13px}.toolbar-top{grid-template-columns:1fr}.toolbar-result{height:42px;min-width:0}.article-search input{height:48px;font-size:13.5px}.category-chips{padding-top:11px}
  .featured-card{border-radius:18px;min-height:0}.featured-media{min-height:215px}.featured-content{padding:22px}.featured-content h2{font-size:22px}.featured-content p{-webkit-line-clamp:2;font-size:13.5px}.featured-badge{top:14px;right:14px}
  .articles-heading{align-items:flex-start;flex-direction:column;margin-bottom:16px}.articles-heading h2{font-size:23px}
  .knowledge-grid{grid-template-columns:1fr;gap:16px}.knowledge-media{height:184px}.knowledge-body{padding:18px}.knowledge-body h3{font-size:16.5px;min-height:auto}.knowledge-body p{min-height:auto}
  .knowledge-cta{padding-bottom:48px}.knowledge-cta-card{padding:28px 22px;align-items:flex-start;flex-direction:column;border-radius:19px}.knowledge-cta-copy h2{font-size:23px}.knowledge-cta-actions{width:100%}.knowledge-cta-actions .btn{flex:1;justify-content:center;padding:12px 14px;font-size:13px}
}
@media(prefers-reduced-motion:reduce){.knowledge-orbit,.orbit-chip{animation:none}.knowledge-card,.featured-article{animation:none}}
