@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=Poppins:wght@400;500;600;700&family=Amiri:wght@400;700&display=swap');
:root{--text-l:#4B5468;--gold-grad:linear-gradient(135deg,#8F6A1C 0%,#F6DE92 40%,#C9962F 65%,#F7EBC9 100%);--silver-grad:linear-gradient(135deg,#8A93A6 0%,#F4F6FA 45%,#AEB6C4 75%,#E8ECF3 100%)}
body{font-family:'Poppins',sans-serif!important;font-weight:500}
button,input,textarea,select{font-family:inherit}
h1,h2,h3,h4,.hero-title,.stitle,.cctitle{font-family:'Playfair Display',serif!important;font-weight:800!important;letter-spacing:-.01em}
p,li,.hero-sub,.ccdesc{font-weight:500}
.hero-sub,.ccdesc{color:#2B3448}
.hero-title .gold,.stitle em,.hero-title em{background:var(--gold-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent!important}
.hero-title .thin{font-weight:600!important;-webkit-text-fill-color:#4B5468}
.btn-a{background:var(--gold-grad)!important;color:#0F1F3D!important;border:0!important;font-weight:700!important;box-shadow:0 8px 24px rgba(201,150,47,.35)}
.btn-b{background:transparent!important;border:2px solid #AEB6C4!important;color:#0F1F3D!important;font-weight:700!important}
.st{font-weight:700!important;color:#8F6A1C!important}
.st::before{content:"";display:inline-block;width:18px;height:18px;margin-right:.6rem;vertical-align:-3px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23C9962F' d='M12 0l2.6 5.4L20.5 3.5l-1.9 5.9L24 12l-5.4 2.6 1.9 5.9-5.9-1.9L12 24l-2.6-5.4-5.9 1.9 1.9-5.9L0 12l5.4-2.6L3.5 3.5l5.9 1.9z'/%3E%3C/svg%3E") center/contain no-repeat}
.sbox{border:1px solid transparent!important;background:linear-gradient(#fff,#fff) padding-box,var(--silver-grad) border-box!important;border-top:3px solid #C9962F!important}
.sn{font-family:'Playfair Display',serif!important;font-weight:900!important;background:var(--gold-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
/* course cards */
.cc{padding:0!important;overflow:hidden;position:relative;border:1px solid transparent!important;background:linear-gradient(#fff,#fff) padding-box,var(--silver-grad) border-box!important;box-shadow:0 14px 40px rgba(15,31,61,.12);transition:transform .35s,box-shadow .35s}
.cc:hover{transform:translateY(-8px);box-shadow:0 22px 50px rgba(201,150,47,.28)}
.ccimg{height:170px;background-size:cover;background-position:center;border-bottom:4px solid #C9962F;transition:transform .6s}
.cc:hover .ccimg{transform:scale(1.06)}
.cc>.ccimg{margin:0}
.cc>*:not(.ccimg):not(.ccnum){margin-left:1.5rem;margin-right:1.5rem}
.cc>.ccar{margin-top:1.2rem;color:#8F6A1C}.cc>.cctag{display:inline-block;margin-bottom:1.5rem}
.ccnum{position:absolute!important;top:.8rem;left:1rem;z-index:3;background:var(--gold-grad);color:#0F1F3D!important;-webkit-text-fill-color:#0F1F3D;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:.85rem!important;opacity:1!important}
/* footer */
footer#footer{background:radial-gradient(900px 420px at 90% -10%,rgba(201,150,47,.22),transparent 60%),linear-gradient(160deg,#07122A,#0F1F3D 55%,#0A1630)!important;color:#E3E8F2!important;padding:0!important;position:relative;overflow:hidden}
footer#footer::before{content:"";display:block;height:6px;background:linear-gradient(90deg,#8F6A1C,#F6DE92,#C9962F,#E8ECF3,#AEB6C4,#F6DE92,#8F6A1C)}
footer#footer::after{content:"";position:absolute;inset:6px 0 0;opacity:.07;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Crect x='23' y='23' width='44' height='44' transform='rotate(45 45 45)' fill='none' stroke='%23F6DE92' stroke-width='1.2'/%3E%3Crect x='23' y='23' width='44' height='44' fill='none' stroke='%23F6DE92' stroke-width='1.2'/%3E%3C/svg%3E")}
.ft-wrap{max-width:1250px;margin:auto;padding:4.5rem 5% 2.2rem;display:grid;grid-template-columns:1.4fr 1fr 1fr 1.35fr;gap:3rem;position:relative;z-index:1}
.ft-ar{font-family:'Amiri',serif;font-size:2.5rem;font-weight:700;line-height:1.4;background:var(--gold-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.ft-en{letter-spacing:.3em;text-transform:uppercase;font-size:.72rem;font-weight:700;color:#D5DBE7}
.ft-brand p{color:#D5DBE7;line-height:1.85;font-size:.93rem;margin:1.1rem 0 1.5rem}
.ft-btn{display:inline-flex;align-items:center;gap:.6rem;background:var(--gold-grad);color:#0F1F3D!important;font-weight:700;padding:.8rem 1.4rem;border-radius:40px;text-decoration:none;box-shadow:0 8px 24px rgba(201,150,47,.35);transition:.3s}
.ft-btn:hover{transform:translateY(-3px)}
.ft-col h4{font-family:'Playfair Display',serif;font-size:1.2rem;font-weight:800;margin-bottom:1.3rem;padding-bottom:.7rem;position:relative;background:var(--gold-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;letter-spacing:.02em;text-transform:none}
.ft-col h4::after{content:"";position:absolute;left:0;bottom:0;width:54px;height:3px;border-radius:3px;background:var(--silver-grad)}
.ft-col ul{list-style:none;padding:0;margin:0}
.ft-col li a{color:#EEF1F7;display:flex;align-items:center;gap:.7rem;padding:.45rem 0;font-size:.96rem;font-weight:500;text-decoration:none;transition:.25s}
.ft-col li a::before{content:"\27A4";color:#E6B84E;font-size:.78rem;transition:.25s}
.ft-col li a:hover{color:#F6DE92;transform:translateX(7px)}
.ft-ci{display:flex;gap:.85rem;align-items:flex-start;margin:.85rem 0;color:#EEF1F7;font-size:.94rem;font-weight:500;line-height:1.55}
.ft-ci a{color:#EEF1F7;text-decoration:none}.ft-ci a:hover{color:#F6DE92}
.ft-ci svg{width:34px;height:34px;flex:none;padding:7px;border-radius:50%;border:1.5px solid #C9962F;stroke:#F6DE92;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;background:rgba(201,150,47,.1)}
.ft-bot{position:relative;z-index:1;max-width:1250px;margin:auto;padding:1.4rem 5% 1.8rem;border-top:1px solid rgba(232,236,243,.22);display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}
.ft-bot p{color:#C8D0DE;font-size:.82rem;margin:0;font-weight:500}
.ft-dua{font-family:'Amiri',serif;font-size:1.7rem;font-weight:700;background:var(--gold-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
@media(max-width:960px){.ft-wrap{grid-template-columns:1fr 1fr}}@media(max-width:560px){.ft-wrap{grid-template-columns:1fr;gap:2rem}.ft-bot{justify-content:center;text-align:center}}
/* donate wallet cards */
.bank-item{border-left:4px solid #C9962F!important;background:#fff!important}.bank-val{font-size:1rem!important;letter-spacing:.02em}
.ft-btn svg{width:22px;height:22px;flex:none;fill:none;stroke:#0F1F3D;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ft-btn{white-space:nowrap;font-size:.92rem}
.ft-ar{font-size:2.1rem;white-space:nowrap}
/* ===== v2: one font, bold, uniform ===== */
body *{font-family:'Poppins','Amiri',sans-serif!important;font-weight:600!important;font-style:normal!important}
body h1,body h2,body h3,body h4,body .stitle,body .cctitle,body .hx-h,body .sn,body .rvx-av,body .tname{font-family:'Playfair Display','Amiri',serif!important;font-weight:800!important}
body h1 em,body h2 em,body .stitle em,body .hx-h em{font-style:italic!important}
body .nb-ar,body .ft-ar,body .ft-dua,body .ccar,body .hs-arabic,body .asarabic,body .qt-ar{font-family:'Amiri','Poppins',serif!important;font-weight:700!important}
body{background:#F8F6F0}
.sec-wh{background:#F8F6F0}.sec-alt{background:linear-gradient(180deg,#F5EBD0,#F8F6F0)!important}
.sec-dark{background:radial-gradient(900px 420px at 50% 0,rgba(201,150,47,.2),transparent 60%),linear-gradient(160deg,#07122A,#0F1F3D 60%,#0A1630)!important;position:relative}
.sec-dark .stitle{color:#fff!important}.sec-dark .sdesc{color:#D5DBE7!important}.sec-dark .st{color:#F6DE92!important}
.hadith-strip,.astrip{background:linear-gradient(90deg,#081428,#1B3566 50%,#081428)!important;border-top:2px solid #C9962F;border-bottom:2px solid #C9962F}
.hs-arabic,.asarabic{background:var(--gold-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.hs-tr,.astr{color:#EEF1F7!important}.hs-ref,.asref{color:#C8D0DE!important}.hs-sep{color:#C9962F!important}
/* icons */
.ic{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.sico{display:grid;place-items:center;margin-bottom:.6rem}.sico .ic{width:36px;height:36px;stroke:#C9962F}
.wa .ic{width:28px;height:28px;stroke:#fff}
/* navbar (same on every page) */
#nav{background:rgba(248,246,240,.97)!important;backdrop-filter:blur(10px);border-bottom:3px solid #C9962F!important;box-shadow:0 8px 28px rgba(15,31,61,.12)}
#nav .nl{color:#0F1F3D!important;display:inline-flex;align-items:center;gap:.4rem;transition:.25s}
#nav .nl .ic{stroke:#C9962F}
#nav .nl:hover,#nav .nl.act{color:#8F6A1C!important}
#nav .nl.act{box-shadow:0 3px 0 #C9962F}
#nav .nav-cta{background:var(--gold-grad)!important;color:#0F1F3D!important;border-radius:30px!important;padding:.7rem 1.5rem!important;display:inline-flex;align-items:center;gap:.5rem;box-shadow:0 6px 18px rgba(201,150,47,.4)}
#nav .nav-cta .ic{stroke:#0F1F3D}
#nav .burger span{background:#0F1F3D!important}
.nd-wrap{position:relative;display:inline-flex;align-items:center}
.nd-drop{position:absolute;top:100%;left:-10px;min-width:250px;padding:.6rem;background:#0F1F3D;border:1px solid #C9962F;border-radius:12px;box-shadow:0 20px 50px rgba(0,0,0,.35);opacity:0;visibility:hidden;transform:translateY(10px);transition:.25s;z-index:999}
.nd-wrap:hover .nd-drop{opacity:1;visibility:visible;transform:none}
.nd-item{display:flex;align-items:center;gap:.7rem;color:#EEF1F7!important;padding:.65rem .9rem;border-radius:8px;text-decoration:none}
.nd-item .ic{stroke:#E6B84E}.nd-item:hover{background:rgba(201,150,47,.2);color:#F6DE92!important}
.mob-menu{background:#0A1630!important}
.mob-link{color:#EEF1F7!important;display:flex!important;align-items:center;gap:.7rem;border-bottom:1px solid rgba(255,255,255,.1)!important;text-decoration:none}
.mob-link .ic{stroke:#E6B84E}.mob-sect{color:#F6DE92!important}
.mob-link.mob-cta{background:var(--gold-grad)!important;color:#0F1F3D!important;justify-content:center;border-radius:30px!important}
.mob-cta .ic{stroke:#0F1F3D}
/* hero slider (full section) */
section.hero.hx{display:block!important;position:relative;height:calc(100vh - 110px);min-height:600px;max-height:800px;padding:0!important;overflow:hidden;background:#07122A}
.hero.hx::before,.hero.hx::after{display:none!important}
.hx-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;visibility:hidden;transition:opacity 1.1s,visibility 1.1s;transform:scale(1.06)}
.hx-slide.active{opacity:1;visibility:visible;transform:scale(1);transition:opacity 1.1s,visibility 1.1s,transform 8s}
.hx-slide::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(5,11,24,.92) 0,rgba(5,11,24,.7) 40%,rgba(5,11,24,.08) 78%)}
.hx-in{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:center;padding:0 9% 70px;max-width:780px}
.hx-tag{display:inline-flex;gap:.6rem;align-items:center;align-self:flex-start;border:1px solid #C9962F;background:rgba(201,150,47,.16);color:#F6DE92;padding:.5rem 1.1rem;border-radius:30px;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase}
.hx-tag .ic{stroke:#F6DE92;width:16px;height:16px}
.hx-h{font-size:clamp(2.2rem,4.7vw,4.3rem);line-height:1.08;color:#fff;margin:1.2rem 0 1rem}
.hx-h em{background:var(--gold-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.hx-p{color:#E3E8F2;font-size:1.1rem;max-width:540px;line-height:1.75;margin-bottom:1.9rem}
.hx-btns{display:flex;gap:1rem;flex-wrap:wrap}
.hx-btns a{display:inline-flex;align-items:center;gap:.6rem;border-radius:40px!important;padding:.95rem 1.8rem!important;text-decoration:none}
.hx-btns .btn-b{color:#fff!important;border-color:#C8D0DE!important}.hx-btns .btn-b .ic{stroke:#fff}.hx-btns .btn-a .ic{stroke:#0F1F3D}
.hx-slide.active .hx-in>*{animation:hxu .9s both}.hx-slide.active .hx-in>*:nth-child(2){animation-delay:.15s}.hx-slide.active .hx-in>*:nth-child(3){animation-delay:.3s}.hx-slide.active .hx-in>*:nth-child(4){animation-delay:.45s}
@keyframes hxu{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}@keyframes hxbar{from{width:0}to{width:100%}}
.hx-bar{position:absolute;left:0;top:0;height:4px;background:var(--gold-grad);z-index:5}
.hx-nav{position:absolute;top:46%;z-index:5;width:52px;height:52px;border-radius:50%;border:2px solid #C8D0DE;background:rgba(7,18,42,.55);color:#F6DE92;cursor:pointer;display:grid;place-items:center;transition:.25s}
.hx-nav .ic{width:22px;height:22px}.hx-nav:hover{background:var(--gold-grad);border-color:#F6DE92;color:#0F1F3D}.hx-nav.prev{left:1.2rem}.hx-nav.next{right:1.2rem}
.hx-dots,.rvx-dots{position:absolute;bottom:4.6rem;left:0;right:0;display:flex;justify-content:center;gap:.6rem;z-index:5}
.hx-dots button,.rvx-dots button{width:11px;height:11px;border-radius:50%;border:1.5px solid #C8D0DE;background:transparent;cursor:pointer;padding:0;transition:.3s}
.hx-dots button.on,.rvx-dots button.on{width:36px;border-radius:8px;background:var(--gold-grad);border-color:#F6DE92}
.hx-trust{position:absolute;left:0;right:0;bottom:0;z-index:6;display:flex;justify-content:center;gap:2.6rem;flex-wrap:wrap;padding:.95rem 5%;background:linear-gradient(90deg,#8F6A1C,#E6B84E 50%,#8F6A1C);color:#0F1F3D}
.hx-trust span{display:flex;align-items:center;gap:.5rem;font-size:.88rem}.hx-trust .ic{stroke:#0F1F3D;width:20px;height:20px}
@media(max-width:760px){section.hero.hx{height:auto;min-height:640px}.hx-in{padding:0 6% 120px;align-items:center;text-align:center;max-width:none}.hx-tag{align-self:center}.hx-btns{justify-content:center}.hx-nav{display:none}.hx-slide::before{background:rgba(5,11,24,.78)}.hx-trust{gap:.5rem 1.2rem;padding:.7rem 4%}.hx-trust span{font-size:.72rem}.hx-dots{bottom:5.6rem}}
/* course cards: spacing + readable hover */
.cgrid{gap:1.8rem!important;border:0!important;background:transparent!important;padding:0 1rem}
.cc{border-radius:16px!important;border-right:0!important;border-bottom:0!important}
.cc:hover{background:linear-gradient(#fff,#fff) padding-box,var(--gold-grad) border-box!important}
.cc:hover .ccar{color:#8F6A1C!important}.cc:hover .cctitle{color:#0F1F3D!important}.cc:hover .ccdesc{color:#2B3448!important}
.cc:hover .cctag{background:#F7EBC9!important;color:#8F6A1C!important}
.ccdesc{color:#2B3448!important}.cctitle{color:#0F1F3D!important}
.cclink{display:flex;align-items:center;gap:.5rem;margin:.2rem 1.5rem 1.6rem!important;color:#8F6A1C;text-decoration:none;font-size:.92rem}
.cclink .ic{stroke:#8F6A1C;width:17px;height:17px;transition:.25s}.cclink:hover .ic{transform:translateX(6px)}
.cc>.cctag{margin-bottom:1rem!important}
.ccimg{border-radius:0}
/* reviews slider */
.rvx{max-width:920px;margin:2.5rem auto 0;position:relative;padding:0 1rem 4.2rem}
.rvx-track{display:grid}
.rvx-slide{grid-area:1/1;opacity:0;visibility:hidden;transform:translateY(14px);transition:.7s;padding-top:34px}
.rvx-slide.active{opacity:1;visibility:visible;transform:none}
.rvx-card{position:relative;border-radius:22px;padding:3.2rem 3rem 2.3rem;text-align:center;border:2px solid transparent;background:linear-gradient(#fff,#fff) padding-box,var(--gold-grad) border-box;box-shadow:0 30px 70px rgba(0,0,0,.4)}
.rvx-q{position:absolute;top:-32px;left:50%;transform:translateX(-50%);width:66px;height:66px;border-radius:50%;background:var(--gold-grad);display:grid;place-items:center;box-shadow:0 8px 22px rgba(201,150,47,.5)}
.rvx-q .ic{width:30px;height:30px;stroke:#0F1F3D;fill:#0F1F3D}
.rvx-stars{display:flex;justify-content:center;gap:.3rem;margin-bottom:1.1rem}.rvx-stars .ic{fill:#C9962F;stroke:#C9962F;width:22px;height:22px}
.rvx-text{font-size:1.18rem;line-height:1.9;color:#1F2A44}
.rvx-who{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:1.7rem;padding-top:1.4rem;border-top:1px solid #E5DFCC}
.rvx-av{width:56px;height:56px;border-radius:50%;background:#0F1F3D;color:#F6DE92;border:2px solid #C9962F;display:grid;place-items:center;font-size:1.5rem}
.rvx-who b{display:block;color:#0F1F3D;text-align:left}.rvx-who small{display:flex;align-items:center;gap:.3rem;color:#4B5468;font-size:.84rem}.rvx-who small .ic{width:15px;height:15px;stroke:#C9962F}
.rvx .hx-nav{top:44%}.rvx .hx-nav.prev{left:-1.4rem}.rvx .hx-nav.next{right:-1.4rem}.rvx-dots{bottom:1rem}
@media(max-width:700px){.rvx-card{padding:3rem 1.4rem 1.8rem}.rvx-text{font-size:1rem}.rvx .hx-nav{display:none}}
/* admission notification */
#ntf{position:fixed;left:20px;bottom:22px;z-index:9998;width:350px;max-width:calc(100vw - 30px);display:flex;gap:.9rem;align-items:flex-start;background:#fff;border-radius:16px;padding:1.05rem 2rem 1rem 1.1rem;box-shadow:0 18px 50px rgba(7,18,42,.4);border-left:5px solid #C9962F;transform:translateY(160%);opacity:0;transition:.6s cubic-bezier(.2,.9,.3,1)}
#ntf.show{transform:none;opacity:1}
#ntf .ni{width:46px;height:46px;border-radius:50%;background:var(--gold-grad);display:grid;place-items:center;flex:none}#ntf .ni .ic{stroke:#0F1F3D;width:23px;height:23px}
#ntf b{display:block;color:#0F1F3D;font-size:.95rem}#ntf p{margin:.2rem 0 .5rem;color:#2B3448;font-size:.84rem;line-height:1.55}
#ntf a.nc{font-size:.82rem;color:#8F6A1C;text-decoration:none;display:inline-flex;align-items:center;gap:.3rem}#ntf a.nc .ic{width:15px;height:15px;stroke:#8F6A1C}
#ntf .nx{position:absolute;top:6px;right:10px;border:0;background:none;font-size:1.3rem;cursor:pointer;color:#687187;line-height:1}
@media(max-width:560px){#ntf{left:10px;bottom:84px}}
