@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600&family=Noto+Naskh+Arabic:wght@500;700&display=swap');:root{--black:#12110f;--gold:#c99b43;--cream:#f4efe5;--sand:#e5dbc9;--line:#cfc3b0}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:#151411;font:14px/1.7 Manrope,Arial,sans-serif}html[dir=rtl] body{font-family:"Noto Naskh Arabic",serif}a{color:inherit;text-decoration:none}h1,h2,h3{font-family:"Cormorant Garamond","Noto Naskh Arabic",serif;line-height:1;margin:0 0 25px}header{height:80px;position:absolute;z-index:5;inset:0 0 auto;display:flex;align-items:center;gap:38px;padding:0 6vw;color:white;border-bottom:1px solid #ffffff20}.logo{display:flex;align-items:center;gap:12px;font:600 19px "Cormorant Garamond",serif;margin-right:auto}.logo i,.ornament i{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--gold);color:var(--gold);font:24px "Noto Naskh Arabic";transform:rotate(45deg)}.logo i:before,.ornament i:before{content:"";}.logo i{font-style:normal}.logo i::first-letter{transform:rotate(-45deg)}nav{display:flex;gap:25px;font-size:11px;text-transform:uppercase;letter-spacing:.08em}nav a{opacity:.75}.langs button{border:0;background:none;color:#888;padding:5px;cursor:pointer}.langs button.active{color:#e4c883}.topCta{padding:10px 16px;border:1px solid #c99b4380;font-size:11px}.hero{min-height:740px;position:relative;display:flex;align-items:center;padding:120px 8vw 110px;color:#f8f1e3;background:radial-gradient(circle at 78% 45%,#6b512a55,transparent 24%),linear-gradient(115deg,#090909,#201a13);overflow:hidden}.glow{position:absolute;width:500px;height:500px;border:1px solid #c99b4330;border-radius:50%;right:-40px;top:120px;box-shadow:0 0 0 60px #c99b4309,0 0 0 61px #c99b4320}.heroCopy{position:relative;z-index:2;max-width:780px}.overline{display:block;color:var(--gold);font-size:11px;letter-spacing:.25em;margin-bottom:22px}.overline:before{content:"";display:inline-block;width:30px;height:1px;background:currentColor;vertical-align:middle;margin-right:12px}.hero h1{font-size:clamp(60px,7vw,105px);font-weight:500;letter-spacing:-.04em}.heroCopy>p{font:500 clamp(22px,2vw,29px)/1.4 "Cormorant Garamond",serif;color:#d7cfc0;max-width:650px}.actions{display:flex;gap:12px;margin-top:38px}.btn{padding:15px 24px;border:1px solid var(--gold);display:inline-block;background:transparent;color:#e8cb89;text-transform:uppercase;font-size:11px;letter-spacing:.07em;cursor:pointer}.gold{background:var(--gold);color:#17120b}.seal{position:absolute;right:13vw;width:220px;height:220px;border:1px solid #c99b4350;border-radius:50%;display:grid;place-content:center;text-align:center;box-shadow:0 0 0 14px #0f0e0c,0 0 0 15px #c99b4320}.seal b{font:700 65px "Noto Naskh Arabic";color:#e4c883}.seal small{letter-spacing:.3em;color:#82745d}.stats{position:absolute;bottom:0;right:8vw;display:flex;background:var(--cream);color:#151411}.stats div{padding:20px 32px;border-right:1px solid var(--line)}.stats strong{display:block;font:600 30px "Cormorant Garamond";color:#9b7129}.stats span{font-size:10px;text-transform:uppercase;color:#71695f}.light,.sand,.dark,.apply{padding:105px 8vw}.sand{background:var(--sand)}.dark{background:var(--black);color:#f4efe5}.light h2,.sand h2,.dark h2,.apply h2{font-size:clamp(44px,5vw,68px)}.two{display:grid;grid-template-columns:1.25fr .75fr;gap:8vw}.lead{font:600 25px/1.45 "Cormorant Garamond",serif}.two blockquote{margin:0;padding:35px;border-left:1px solid var(--gold);background:#eae1d3;font:600 20px/1.5 "Cormorant Garamond",serif}.cards{display:grid;grid-template-columns:repeat(3,1fr);margin-top:50px;border-left:1px solid var(--line);border-top:1px solid var(--line)}.cards article{min-height:320px;padding:32px;display:flex;flex-direction:column;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.cards em{font-style:normal;color:#987537}.cards h3{font-size:32px;margin-top:40px}.cards p{color:#655f56}.cards small{margin-top:auto;color:#987537;font-size:10px}.formatCards{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #ffffff25;margin-top:45px}.formatCards article{padding:45px;border-bottom:1px solid #ffffff25}.formatCards article:first-child{border-right:1px solid #ffffff25}.formatCards b{color:var(--gold);font-size:32px}.formatCards h3{font-size:32px;margin-top:20px}.formatCards p{color:#aaa}.dark aside{display:flex;gap:25px;align-items:center;border:1px solid #c99b4350;padding:30px 35px;margin-top:45px}.dark aside>b{color:var(--gold);font-size:25px}.dark aside h3{font-size:26px;margin-bottom:8px}.dark aside p{margin:0;color:#aaa}.teacher{display:grid;grid-template-columns:.7fr 1.3fr;gap:7vw;align-items:center}.ornament{height:420px;background:repeating-linear-gradient(45deg,#c99b4320 0,#c99b4320 1px,transparent 1px,transparent 22px),#ddd1bf;display:grid;place-items:center}.ornament i{width:130px;height:130px;font-size:70px}.badges{display:flex;flex-wrap:wrap;gap:10px}.badges span{padding:10px 14px;border:1px solid var(--line);font-size:11px}.badges b{font-weight:500}.reviews{text-align:center}.reviewCards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:45px;text-align:left}.reviewCards blockquote{margin:0;background:#f4efe5;padding:35px;min-height:230px}.reviewCards b{color:var(--gold);font-size:10px;letter-spacing:4px}.reviewCards p{font:600 21px/1.5 "Cormorant Garamond",serif;margin-top:30px}.faq{display:grid;grid-template-columns:.7fr 1.3fr;gap:8vw}.faq a{color:#946b27}.faq details{border-top:1px solid var(--line);padding:22px 0}.faq details:last-child{border-bottom:1px solid var(--line)}.faq summary{font:600 23px "Cormorant Garamond",serif;cursor:pointer}.faq details p{color:#6e675e}.apply{display:grid;grid-template-columns:1fr 1fr;gap:8vw;background:linear-gradient(120deg,#15130f,#2a2216);color:#f4efe5}.apply form{background:#eee6da;color:#151411;padding:35px;display:grid;gap:18px}.apply label{font-size:11px;text-transform:uppercase}.apply input,.apply select{display:block;width:100%;padding:12px 0;border:0;border-bottom:1px solid #bcb09f;background:transparent;outline:none}.apply button{width:100%;margin-top:12px}footer{padding:45px 8vw;background:#0b0a09;color:#aaa;display:flex;align-items:center;gap:40px}footer small{margin-left:auto}html[dir=rtl] .logo{margin-left:auto;margin-right:0}html[dir=rtl] .overline:before{margin-right:0;margin-left:12px}
@media(max-width:950px){nav,.topCta{display:none}.seal{display:none}.cards{grid-template-columns:repeat(2,1fr)}.reviewCards{grid-template-columns:1fr}.teacher,.faq,.apply{grid-template-columns:1fr}}@media(max-width:650px){header{padding:0 20px}.logo span{font-size:15px}.hero{min-height:730px;padding:120px 22px 145px}.hero h1{font-size:58px}.actions{flex-direction:column}.actions .btn{text-align:center}.stats{left:22px;right:22px}.stats div{padding:15px 9px;flex:1}.light,.sand,.dark,.apply{padding:75px 22px}.two,.cards,.formatCards{grid-template-columns:1fr}.formatCards article{padding:35px 0}.formatCards article:first-child{border-right:0}.teacher .ornament{height:260px}.reviewCards blockquote{min-height:190px}.apply form{padding:25px 20px}footer{padding:40px 22px;flex-direction:column;align-items:flex-start}footer small{margin-left:0}}

/* Light editorial redesign */
header{color:#191713;border-bottom:1px solid #d7c8ae;background:#fffdf8e8;backdrop-filter:blur(10px)}
.logo i{background:#fff;color:#171511;box-shadow:inset 0 0 0 4px #fff,inset 0 0 0 5px #d8ba7b}
.langs button.active{color:#9b7129}.hero{color:#171511;background:radial-gradient(circle at 78% 45%,#ead9b9 0,transparent 25%),linear-gradient(115deg,#fffdf8,#f0e7d9);border-bottom:1px solid #d7c8ae}.heroCopy>p{color:#655d51}.glow{border-color:#c99b4350}.seal{box-shadow:0 0 0 14px #f6efe4,0 0 0 15px #c99b4345}.seal b{color:#9b7129}.stats{background:#fff;box-shadow:0 -10px 30px #6d5b3a0d}
.teachersSection{text-align:center}.teachersIntro{max-width:850px;margin:0 auto 48px}.teacherCards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;text-align:left}.teacherCards article{background:#fff;border:1px solid #d7c8ae;padding:28px;box-shadow:0 15px 35px #7d67400e}.teacherCards small{display:block;color:#9b7129;letter-spacing:.16em;margin:20px 0 10px}.teacherCards h3{font-size:29px}.teacherCards p{color:#6c6459}.hijab{height:210px;position:relative;background:linear-gradient(145deg,#f4ead9,#d4b979);overflow:hidden}.hijab:before{content:"";position:absolute;left:50%;top:30px;width:75px;height:82px;border-radius:50%;background:#e9d7b9;transform:translateX(-50%);box-shadow:0 0 0 22px #b3883d}.hijab:after{content:"";position:absolute;left:50%;bottom:-65px;width:180px;height:180px;border-radius:50% 50% 18% 18%;background:#b3883d;transform:translateX(-50%)}.hijab i{position:absolute;z-index:2;left:50%;top:55px;width:44px;height:46px;border-radius:50%;background:#f5dfc0;transform:translateX(-50%)}.centered{justify-content:center;margin-top:30px}.schedule{background:#fffaf1;text-align:center;border-top:1px solid #d7c8ae;border-bottom:1px solid #d7c8ae}.schedule h2{font-size:clamp(44px,5vw,68px)}.scheduleGrid{display:grid;grid-template-columns:repeat(3,1fr);margin:45px 0 35px;border-left:1px solid #d7c8ae;border-top:1px solid #d7c8ae;text-align:left}.scheduleGrid article{padding:32px;border-right:1px solid #d7c8ae;border-bottom:1px solid #d7c8ae;min-height:190px}.scheduleGrid b{color:#b28435}.scheduleGrid h3{font-size:28px;margin-top:30px}.scheduleGrid p{color:#6c6459}
@media(max-width:950px){.teacherCards,.scheduleGrid{grid-template-columns:1fr}}@media(max-width:650px){.schedule{padding:75px 22px}.teacherCards article{padding:20px}.hijab{height:180px}}
.logo img{width:54px;height:54px;object-fit:cover;display:block;background:#fff;border:1px solid #d8ba7b;padding:2px;box-shadow:0 5px 18px #6b542526}.siteHeader .logo img{width:54px;height:54px}footer .logo img{width:68px;height:68px}@media(max-width:650px){.logo img{width:48px;height:48px}footer .logo img{width:62px;height:62px}}
.logo img{object-fit:contain;background:transparent;border:0;padding:0;box-shadow:none}.teacherPhoto{height:250px;overflow:hidden;background:#eadfcf}.teacherPhoto img{width:300%;height:100%;object-fit:cover;display:block}.teacherPhoto.first img{transform:translateX(0)}.teacherPhoto.second img{transform:translateX(-33.333%)}.teacherPhoto.third img{transform:translateX(-66.666%)}html[dir=rtl] .teacherPhoto.first img{transform:translateX(0)}html[dir=rtl] .teacherPhoto.second img{transform:translateX(-33.333%)}html[dir=rtl] .teacherPhoto.third img{transform:translateX(-66.666%)}@media(max-width:650px){.teacherPhoto{height:220px}}
.teacherFeature{display:grid;grid-template-columns:.82fr 1.18fr;gap:28px;max-width:1120px;margin:0 auto;text-align:left}.teacherPortrait{min-height:640px;overflow:hidden;background:#eadfcf}.teacherPortrait img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.specialtyList{display:grid;gap:14px}.specialtyList article{background:#fff;border:1px solid #d7c8ae;padding:30px 34px;display:flex;flex-direction:column;justify-content:center}.specialtyList small{color:#9b7129;letter-spacing:.14em}.specialtyList h3{font-size:31px;margin:15px 0 10px}.specialtyList p{color:#6c6459;margin:0}.teachersSection .centered{margin-top:34px}@media(max-width:950px){.teacherFeature{grid-template-columns:1fr}.teacherPortrait{min-height:600px;max-height:720px}}@media(max-width:650px){.teacherPortrait{min-height:480px}.specialtyList article{padding:24px}}

/* Reference-matched white and gold layout */
.newHeader{position:relative;inset:auto;height:auto;display:block;padding:0;background:#fff;color:#241c14;border-bottom:0;backdrop-filter:none}
.masthead{min-height:132px;padding:18px 7vw;display:grid;grid-template-columns:1.2fr 1fr auto;align-items:center;gap:34px;border-bottom:1px solid #eee5d8}
.masthead .logo{margin:0;gap:20px}.masthead .logo img{width:105px;height:105px}.brandText{display:flex;flex-direction:column}.brandText strong{font:700 31px/1.05 "Cormorant Garamond","Noto Naskh Arabic",serif;max-width:230px}.brandText small{font-size:12px;line-height:1.55;margin-top:9px;color:#5f574d}
.headerContact{display:flex;justify-content:center;gap:38px}.headerContact a{display:flex;align-items:center;gap:10px}.headerContact b{width:34px;height:34px;border:1px solid var(--gold);border-radius:50%;display:grid;place-items:center;color:#b98628}.headerContact span{font-size:10px}.headerContact strong{display:block;font-size:13px;margin-top:2px}.masthead .langs{align-self:start;white-space:nowrap}.masthead .langs i{font-style:normal;color:#c9c0b4}.masthead .langs button{color:#695f52}.masthead .langs button.active{font-weight:700;color:#8d641f}
.headerContact a[href*="wa.me"] b,.headerContact a[href*="t.me"] b{font-size:0;background-position:center;background-repeat:no-repeat;background-size:20px 20px}
.headerContact a[href*="wa.me"] b{background-image:url('/whatsapp-gold.svg')}
.headerContact a[href*="t.me"] b{background-image:url('/telegram-gold.svg')}
.mainNav{height:56px;display:flex;justify-content:center;align-items:center;gap:0;padding:0 5vw;border-bottom:1px solid #eee5d8;background:#fff}.mainNav a{opacity:1;padding:20px 30px;font-size:11px;text-transform:none;letter-spacing:0}.mainNav a:first-child{color:#b47d1e}
.hero{min-height:520px;padding:0 7vw 100px;display:grid;grid-template-columns:1fr 1.15fr;align-items:center;background:#fff;color:#241c14;border-bottom:0;overflow:visible}.heroCopy{padding:65px 0 55px;max-width:650px;z-index:2}.hero .overline{display:none}.hero h1{font-size:clamp(38px,3.5vw,58px);line-height:1.12;letter-spacing:-.025em}.heroCopy>p{font:400 17px/1.6 Manrope,Arial,sans-serif;color:#5d554a;max-width:570px}.heroMedia{height:430px;align-self:stretch;overflow:hidden}.heroMedia img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.hero .actions{margin-top:28px}.hero .btn{border-radius:30px;padding:14px 25px;min-width:190px;text-align:center}.hero .stats.benefits{grid-column:1/-1;position:relative;inset:auto;margin:-28px auto -64px;width:100%;display:grid;grid-template-columns:repeat(6,1fr);border:1px solid #eadfce;border-radius:18px;box-shadow:0 12px 30px #6d5a3912;overflow:hidden;z-index:4}.benefits div{padding:23px 12px;text-align:center;min-width:0;background:#fff;border-right:1px solid #eee4d6}.benefits div:last-child{border-right:0}.benefits strong{font:500 28px/1 serif;color:#c38c2c;margin-bottom:8px}.benefits span{font-size:11px;line-height:1.45;text-transform:none;color:#332d26}
.light,.sand,.dark,.schedule{padding-top:92px;padding-bottom:92px}.light,.sand,.dark,.schedule,.reviews{background:#fff;color:#241c14}.sand{background:#fffdf8}.dark{background:#fbf6ed;color:#241c14}.dark .formatCards{border-color:#e6d9c7}.dark .formatCards article{border-color:#e6d9c7;background:#fff}.dark .formatCards p,.dark aside p{color:#686055}.dark aside{border-color:#d9b66f;background:#fff}.cards{grid-template-columns:repeat(3,1fr);gap:14px;border:0}.cards article{min-height:285px;border:1px solid #eadfce;border-radius:18px;background:linear-gradient(145deg,#fff,#fbf5eb);padding:27px}.cards h3{font-size:28px;margin-top:28px}.cards p{font-size:13px}.cards small{font-size:9px}.teacherCards article,.specialtyList article,.reviewCards blockquote{border-radius:16px}.apply{background:#fbf6ed;color:#241c14}.apply form{background:#fff;border:1px solid #e4d7c5;border-radius:18px}footer{background:#fff;color:#5e564c;border-top:1px solid #eadfce}
@media(max-width:1050px){.masthead{grid-template-columns:1fr auto}.headerContact{display:none}.mainNav a{padding:20px 14px}.hero{grid-template-columns:1fr}.heroMedia{height:360px}.hero .stats.benefits{grid-template-columns:repeat(3,1fr);margin-top:10px}.benefits div{border-bottom:1px solid #eee4d6}}
@media(max-width:700px){.masthead{min-height:auto;padding:14px 20px}.masthead .logo img{width:70px;height:70px}.brandText strong{font-size:22px}.brandText small{font-size:10px}.masthead .langs{display:flex;flex-direction:column}.masthead .langs i{display:none}.mainNav{overflow-x:auto;justify-content:flex-start;height:50px}.mainNav a{white-space:nowrap;padding:17px 14px}.hero{padding:0 22px 60px}.heroCopy{padding:50px 0 25px}.hero h1{font-size:38px}.heroMedia{height:280px;margin:0 -22px}.hero .stats.benefits{grid-template-columns:repeat(2,1fr);margin:20px 0 -30px}.benefits div{padding:18px 8px}.cards{grid-template-columns:1fr}.light,.sand,.dark,.schedule{padding-top:68px;padding-bottom:68px}}

/* Larger emblem and dimensional action buttons */
.masthead{min-height:158px}.masthead .logo img{width:138px;height:138px}.brandText strong{font-size:34px}footer .logo img{width:104px;height:104px}
.btn{position:relative;border:1px solid #b47a1d;border-radius:30px;background:linear-gradient(180deg,#fffdf7 0%,#f6ead2 48%,#ead2a4 100%);color:#654313;box-shadow:0 7px 0 #b77c1f,0 12px 22px #8d632334,inset 0 2px 1px #fff,inset 0 -2px 4px #bb812f45;text-shadow:0 1px 0 #fff;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}.btn:before{content:"";position:absolute;left:15%;right:15%;top:4px;height:35%;border-radius:999px;background:linear-gradient(180deg,#ffffffb5,transparent);pointer-events:none}.btn:hover{transform:translateY(-2px);box-shadow:0 9px 0 #b77c1f,0 15px 26px #8d632342,inset 0 2px 1px #fff,inset 0 -2px 4px #bb812f45;filter:saturate(1.08)}.btn:active{transform:translateY(6px);box-shadow:0 1px 0 #a56c16,0 4px 10px #8d63232b,inset 0 2px 4px #95631d40}.btn.gold{background:linear-gradient(180deg,#f6d77f 0%,#daa83c 48%,#b77917 100%);color:#2f210c;border-color:#a86912;box-shadow:0 7px 0 #8f570d,0 12px 22px #8d632345,inset 0 2px 1px #fff2bd,inset 0 -3px 5px #75420755;text-shadow:0 1px 0 #fbe5a7}.btn.gold:hover{box-shadow:0 9px 0 #8f570d,0 15px 26px #8d632350,inset 0 2px 1px #fff2bd,inset 0 -3px 5px #75420755}.btn.gold:active{box-shadow:0 1px 0 #7c4909,0 4px 10px #8d63232b,inset 0 3px 5px #75420766}
@media(max-width:700px){.masthead .logo img{width:88px;height:88px}.brandText strong{font-size:24px}footer .logo img{width:86px;height:86px}.masthead{min-height:110px}}
.benefits strong{width:48px;height:48px;margin:0 auto 10px;display:grid;place-items:center;border:1px solid #d2a64e;border-radius:50%;background:linear-gradient(145deg,#fffdf7,#f1dfb9);box-shadow:0 4px 10px #9f752525,inset 0 1px 1px #fff;font:500 22px/1 "Segoe UI Emoji","Apple Color Emoji",sans-serif}.benefits div:nth-child(4) strong{font-family:Manrope,Arial,sans-serif;font-size:25px;font-weight:700;color:#ad771d}

/* Serious, caring school presentation */
.careSection{padding:105px 8vw;background:#f8f2e8;color:#241c14;border-top:1px solid #eadfce;border-bottom:1px solid #eadfce}.careHeading{max-width:800px}.careHeading h2{font-size:clamp(44px,5vw,68px)}.careHeading .lead{color:#5f574d}.careSteps{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:46px}.careSteps article{display:flex;gap:24px;align-items:flex-start;padding:30px;background:#fff;border:1px solid #e1d3be;border-radius:14px;box-shadow:0 10px 28px #7359250b}.careSteps article>span{flex:0 0 46px;height:46px;display:grid;place-items:center;border-radius:50%;background:#f3e5c7;color:#8b611c;font-weight:700}.careSteps h3{font:700 27px/1.15 "Cormorant Garamond",serif;margin:2px 0 10px}.careSteps p{margin:0;color:#685f53}.carePromise{display:flex;align-items:center;gap:25px;margin-top:18px;padding:24px 30px;background:#2b251d;color:#fff;border-left:5px solid #c99b43;border-radius:8px}.carePromise strong{white-space:nowrap;color:#e3bd70;text-transform:uppercase;font-size:11px;letter-spacing:.15em}.carePromise p{margin:0;font:600 21px/1.4 "Cormorant Garamond",serif}.formTrust{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:9px;color:#5f574d}.formTrust li:before{content:"✓";color:#a67320;font-weight:700;margin-right:10px}.apply form{box-shadow:0 18px 45px #6f532018}.apply input,.apply select{font-size:15px}.apply label span{font-weight:700;color:#564b3d}.reviews .reviewCards blockquote{border:1px solid #e2d5c2;box-shadow:0 10px 25px #6f53200a}.mainNav{position:sticky;top:0;z-index:10}
@media(max-width:800px){.careSteps{grid-template-columns:1fr}.carePromise{align-items:flex-start;flex-direction:column;gap:8px}.careSection{padding:75px 22px}}

/* Fast and stable teacher photo on mobile */
.teacherPortrait{background:linear-gradient(145deg,#f4ead9,#e2cfad);aspect-ratio:720/1518}
.teacherPortrait img{aspect-ratio:720/1518}
@media(max-width:650px){.teacherPortrait{min-height:0;max-height:none;width:100%}}

/* High-contrast button labels */
.btn,.btn.gold{color:#1b1207;font-weight:800;text-shadow:none}
.btn:visited,.btn.gold:visited{color:#1b1207}

/* Unified gold icon system */
.benefits strong,.headerContact b,.formatCards b,.dark aside>b,.reviewCards b,.careSteps article>span{color:#b27b1d}
.benefits strong{font-family:Georgia,"Times New Roman",serif;font-weight:700}

/* Quran opening and structured Tajwid program */
.quranOpening{padding:32px 7vw;text-align:center;background:#2b251d;color:#fff;border-bottom:3px solid #b78326}.quranOpeningGrid{max-width:760px;margin:auto}.quranOpening article{padding:8px 34px}.quranOpening small{display:block;color:#bda77d;font-size:9px;letter-spacing:.2em;margin-bottom:7px}.ayahArabic{margin:0;font:700 clamp(27px,3vw,42px)/1.6 "Noto Naskh Arabic",serif;color:#e7c574}.ayahTranslation{margin:5px 0 3px;font:600 19px/1.5 "Cormorant Garamond",serif}.quranOpening a{font-size:10px;letter-spacing:.12em;color:#c9bda9;text-transform:uppercase}
.tajwidProgram{padding:100px 8vw;background:#fff;color:#241c14}.programIntro{max-width:780px}.programIntro h2{font-size:clamp(44px,5vw,68px)}.stageGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:45px}.stageGrid article{position:relative;min-height:160px;padding:28px;border:1px solid #e1d3be;border-radius:14px;background:linear-gradient(145deg,#fff,#fbf5eb)}.stageGrid b{display:block;color:#ad771d;font-size:12px;letter-spacing:.15em}.stageGrid h3{margin:28px 0 0;font-size:27px;line-height:1.18}.stageGrid h3 small{font:500 13px Manrope,Arial,sans-serif;color:#756a5d}.reviewsPending{max-width:760px;margin:38px auto 0;padding:35px;border:1px solid #e1d3be;border-radius:14px;background:#fff}.reviewsPending b{color:#b27b1d;font-size:26px}.reviewsPending p{margin:10px 0 0;font:600 22px/1.5 "Cormorant Garamond",serif}
@media(max-width:850px){.stageGrid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.quranOpening{padding:22px}.quranOpening article{padding:14px 4px}.tajwidProgram{padding:75px 22px}.stageGrid{grid-template-columns:1fr}.stageGrid article{min-height:135px}}

/* Children's department */
.childrenSection{display:grid;grid-template-columns:.9fr 1.1fr;gap:42px 6vw;align-items:center;padding:105px 8vw;background:linear-gradient(135deg,#fffaf2,#f5ead8);color:#241c14;border-top:1px solid #eadfce;border-bottom:1px solid #eadfce}.childrenHeader{grid-column:1/-1;width:100%;max-width:1080px;margin:0 auto 10px;text-align:center}.childrenHeader .overline:before{display:none}.childrenHeader h2{font-size:clamp(52px,6vw,82px);line-height:1.02;margin-bottom:22px}.childrenHeader>.lead{max-width:850px;margin:0 auto;color:#5f574d}.childrenImage{overflow:hidden;border-radius:24px;box-shadow:0 24px 55px #73592522}.childrenImage img{width:100%;height:auto;display:block}.childrenPoints{display:grid;gap:12px;margin:0 0 30px}.childrenPoints article{display:flex;gap:20px;padding:20px 22px;background:#fff;border:1px solid #e2d2ba;border-radius:13px}.childrenPoints article>b{flex:0 0 38px;color:#b27b1d}.childrenPoints h3{font-size:24px;margin:0 0 7px}.childrenPoints p{margin:0;color:#6a6053}.childrenTeacher{border-left:4px solid #c99b43!important}.childrenTeacher small{display:block;color:#9b7129;font-size:9px;letter-spacing:.12em;margin-bottom:7px}.childrenCopy>.btn{margin-top:8px}
body:not(.subpage) .childrenPoints>article{align-items:flex-start}
body:not(.subpage) .childrenPoints>article:not(.childrenTeacher){min-height:128px}
body:not(.subpage) .childrenPoints{grid-template-rows:auto auto repeat(2,minmax(205px,1fr))}
body:not(.subpage) .childrenPoints .childrenTeacher{min-height:205px;height:100%}
body:not(.subpage) .childrenTeacher>div{display:flex;min-width:0;height:100%;flex-direction:column}
body:not(.subpage) .childrenTeacher small{min-height:22px}
body:not(.subpage) .childrenTeacher h3{min-height:58px;display:flex;align-items:flex-start}
body:not(.subpage) .childrenTeacher p{line-height:1.65}
body:not(.subpage) .homeChildrenVisuals{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:18px;align-self:stretch;min-height:0}
body:not(.subpage) .homeChildrenVisuals .childrenImage{width:100%;height:100%;min-height:0;aspect-ratio:auto;position:relative;margin:0}
body:not(.subpage) .homeChildrenVisuals .childrenImage img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.childrenAdmission{margin-bottom:18px;padding:26px 28px;background:#fff;border:1px solid #dfcfb6;border-radius:16px;box-shadow:0 14px 34px #7359250d}.childrenAdmission .overline{margin-bottom:12px}.childrenAdmission h2{font-size:34px;margin-bottom:14px}.childrenAdmission p{margin:0;color:#62594d}.childrenFormats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.childrenFormats div{padding:15px 16px;background:#f8f0e2;border-radius:10px}.childrenFormats strong,.childrenFormats span{display:block}.childrenFormats strong{font:700 20px/1.2 "Cormorant Garamond",serif;color:#3a2c1d}.childrenFormats span{margin-top:5px;font-size:12px;color:#776b5c}
@media(max-width:950px){.childrenSection{grid-template-columns:1fr}.childrenImage{max-width:620px;margin:auto}.childrenCopy{max-width:720px;margin:auto}}
@media(max-width:650px){.childrenSection{padding:68px 22px;gap:28px}.childrenHeader{margin-bottom:0}.childrenHeader h2{font-size:clamp(39px,11vw,50px)}.childrenHeader>.lead{font-size:20px}.childrenAdmission{padding:22px 18px}.childrenAdmission h2{font-size:30px}.childrenFormats{grid-template-columns:1fr}.childrenPoints article{padding:18px 16px}.childrenCopy>.btn{width:100%;text-align:center}}
@media(max-width:950px){body:not(.subpage) .homeChildrenVisuals{width:100%;max-width:650px;height:auto;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;margin:0 auto}body:not(.subpage) .homeChildrenVisuals .childrenImage{aspect-ratio:3/2}}
@media(max-width:650px){body:not(.subpage) .childrenPoints{grid-template-rows:none}body:not(.subpage) .childrenPoints>article:not(.childrenTeacher),body:not(.subpage) .childrenPoints .childrenTeacher{min-height:0;height:auto}body:not(.subpage) .childrenTeacher small,body:not(.subpage) .childrenTeacher h3{min-height:0}body:not(.subpage) .homeChildrenVisuals{grid-template-columns:1fr;gap:12px}}

/* Director credentials */
.directorCredentials{display:grid;gap:14px}.directorCredentials article{padding:26px 30px;background:#fff;border:1px solid #dfd0ba;border-radius:16px;box-shadow:0 12px 30px #7359250b}.directorCredentials h3{font-size:28px;margin:0 0 16px;color:#382b1d}.directorCredentials ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}.directorCredentials li{position:relative;padding-left:23px;color:#5f574d;line-height:1.55}.directorCredentials li:before{content:"◆";position:absolute;left:0;top:1px;color:#b27b1d;font-size:10px}html[dir=rtl] .directorCredentials li{padding-left:0;padding-right:23px}html[dir=rtl] .directorCredentials li:before{left:auto;right:0}
@media(max-width:650px){.directorCredentials article{padding:22px 18px}.directorCredentials h3{font-size:25px}}

/* Mobile stability and compact navigation */
html,body{overflow-x:hidden}
img{max-width:100%}
main>section,.masthead>*,.hero>*,.teacherFeature>*,.childrenSection>*,.apply>*{min-width:0}
h1,h2,h3,p,li,a,button{overflow-wrap:anywhere}
.subpageMain>section:first-child h1{font-size:clamp(44px,5vw,68px)}
.childrenHeader h1{font-size:clamp(52px,6vw,82px);line-height:1.02;margin-bottom:22px}
.teachersIntro h1{font-size:clamp(44px,5vw,68px)}
.pricesHeading h1{font-size:clamp(44px,5vw,68px)}
@media(max-width:650px){.subpageMain>section:first-child h1,.teachersIntro h1,.pricesHeading h1{font-size:clamp(34px,10vw,44px);line-height:1.05}.childrenHeader h1{font-size:clamp(39px,11vw,50px)}}
.mobileMenu{display:none;border:1px solid #d8ba7b;border-radius:10px;background:#fffaf1;color:#4c3820;padding:8px 10px;cursor:pointer;align-items:center;justify-content:center;gap:4px;min-width:54px;min-height:46px}
.mobileMenu span{display:block;width:22px;height:2px;background:#a87520;border-radius:2px}
.mobileMenu b{font-size:0}
@media(max-width:700px){
  .masthead{grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;padding:12px 16px}
  .masthead .logo{grid-column:1/-1;width:100%;gap:12px}
  .masthead .logo img{flex:0 0 80px;width:80px;height:80px}
  .brandText{min-width:0}
  .brandText strong{max-width:none;font-size:23px;line-height:1.08}
  .brandText small{font-size:10px;line-height:1.4}
  .masthead .langs{grid-column:1;grid-row:2;align-self:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:2px}
  .masthead .langs i{display:inline}
  .masthead .langs button{min-height:40px;padding:7px 5px}
  .mobileMenu{display:flex;grid-column:2;grid-row:2;flex-direction:column}
  .mainNav{display:none;position:static;height:auto;max-height:none;padding:8px 16px 14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;background:#fff;border-bottom:1px solid #e6d8c3;overflow:visible}
  .mainNav.open{display:grid}
  .mainNav a{display:flex;align-items:center;min-height:44px;padding:9px 11px;white-space:normal;border:1px solid #eee2d0;border-radius:9px;background:#fffaf3;font-size:12px;line-height:1.25}
  .hero{padding-left:18px;padding-right:18px}
  .heroMedia{margin-left:-18px;margin-right:-18px;height:260px}
  .heroMedia img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
  .hero h1{font-size:clamp(34px,10vw,42px);line-height:1.08}
  .hero .actions{width:100%}
  .hero .actions .btn{width:100%;min-width:0}
  .hero .stats.benefits{width:100%;margin-left:0;margin-right:0}
  .benefits span{font-size:10px}
  .light h2,.sand h2,.dark h2,.apply h2,.schedule h2,.careHeading h2,.programIntro h2{font-size:clamp(34px,10vw,44px);line-height:1.05}
  .lead{font-size:21px}
  .two blockquote{padding:24px 20px}
  .childrenPoints article,.careSteps article{gap:14px}
  .directorCredentials li{word-break:normal;hyphens:auto}
  .apply form{width:100%}
  .apply input,.apply select,.apply button{max-width:100%}
}
@media(max-width:370px){
  .masthead .logo img{flex-basis:68px;width:68px;height:68px}
  .brandText strong{font-size:20px}
  .mainNav{grid-template-columns:1fr}
  .hero h1{font-size:33px}
  .hero .stats.benefits{grid-template-columns:1fr}
}
html[dir=rtl] .mobileMenu{direction:ltr}
html[dir=rtl] .mainNav a{text-align:right}
.aboutSupport{margin:28px 0 0;padding:22px 24px;border-left:4px solid #c99b43;border-radius:0 12px 12px 0;background:#fffaf1;color:#5f574d;box-shadow:0 10px 25px #7359250b}
html[dir=rtl] .aboutSupport{border-left:0;border-right:4px solid #c99b43;border-radius:12px 0 0 12px}
@media(max-width:650px){.aboutSupport{padding:18px 17px}}

/* Hadith and Quran dua at the opening */
.quranOpeningGrid{max-width:1180px;display:grid;grid-template-columns:1.25fr .75fr;align-items:stretch}
.quranOpening article{display:flex;flex-direction:column;justify-content:center}
.quranOpening article+article{border-left:1px solid #6f6049}
.quranOpening .hadithCard .ayahArabic{font-size:clamp(25px,2.7vw,38px)}
@media(max-width:760px){
  .quranOpeningGrid{grid-template-columns:1fr}
  .quranOpening article+article{border-left:0;border-top:1px solid #6f6049;margin-top:12px;padding-top:24px}
}
html[dir=rtl] .quranOpening article+article{border-left:0;border-right:1px solid #6f6049}
@media(max-width:760px){
  html[dir=rtl] .quranOpening article+article{border-right:0;border-top:1px solid #6f6049}
}

/* Real student story */
.reviewStory{max-width:980px;margin:45px auto 0;text-align:left;background:#fff;border:1px solid #dfd0ba;border-radius:20px;box-shadow:0 18px 45px #73592512;overflow:hidden}.reviewStoryHead{display:flex;align-items:center;gap:12px;padding:20px 30px;border-bottom:1px solid #eee2d0;color:#9b6d20;font-size:10px;letter-spacing:.17em}.reviewStoryHead b{font-size:22px}.reviewStory blockquote{margin:0;padding:34px 42px}.reviewStory blockquote p{font:600 21px/1.55 "Cormorant Garamond","Noto Naskh Arabic",serif;color:#3e352b}.reviewStory ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 26px;margin:25px 0;padding:0;list-style:none;counter-reset:result}.reviewStory li{counter-increment:result;position:relative;padding:13px 15px 13px 47px;border-radius:10px;background:#fbf5eb;color:#5f574d}.reviewStory li:before{content:counter(result);position:absolute;left:14px;top:12px;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#ead5aa;color:#755018;font-size:11px;font-weight:700}.reviewStory .reviewEmotion{margin-top:25px;padding:22px 24px;border-left:4px solid #c99b43;background:#fffaf1}.reviewStory .reviewAuthor{padding:18px 30px;background:#2b251d;color:#e3bd70;font-size:11px;letter-spacing:.08em;text-transform:uppercase}html[dir=rtl] .reviewStory{text-align:right}html[dir=rtl] .reviewStory li{padding:13px 47px 13px 15px}html[dir=rtl] .reviewStory li:before{left:auto;right:14px}html[dir=rtl] .reviewStory .reviewEmotion{border-left:0;border-right:4px solid #c99b43}
@media(max-width:650px){.reviewStory{margin-top:30px}.reviewStoryHead{padding:16px 20px}.reviewStory blockquote{padding:24px 20px}.reviewStory blockquote p{font-size:19px}.reviewStory ol{grid-template-columns:1fr}.reviewStory .reviewAuthor{padding:16px 20px}}

/* Curated real student reviews */
.reviewCollection{max-width:1120px;margin:28px auto 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;text-align:left}
.reviewQuote{min-height:250px;display:flex;flex-direction:column;padding:30px;border:1px solid #dfd0ba;border-radius:18px;background:linear-gradient(145deg,#fff,#fbf5eb);box-shadow:0 12px 30px #7359250c}
.reviewQuote.featured{grid-column:1/-1;min-height:auto;background:#2b251d;color:#fff;border-color:#2b251d}
.reviewCourse{display:block;color:#a87520;font-size:10px;font-weight:700;letter-spacing:.16em}
.reviewQuote.featured .reviewCourse{color:#e3bd70}
.reviewQuote blockquote{margin:22px 0 28px;padding:0;font:600 21px/1.55 "Cormorant Garamond","Noto Naskh Arabic",serif;color:#3e352b}
.reviewQuote.featured blockquote{font-size:25px;color:#fff}
.reviewQuote>p{margin:auto 0 0;padding-top:17px;border-top:1px solid #e6d9c7;color:#756a5d;font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.reviewQuote.featured>p{border-color:#ffffff25;color:#e3bd70}
html[dir=rtl] .reviewCollection{text-align:right}
@media(max-width:700px){.reviewCollection{grid-template-columns:1fr}.reviewQuote.featured{grid-column:auto}.reviewQuote{min-height:auto;padding:24px 20px}.reviewQuote blockquote,.reviewQuote.featured blockquote{font-size:20px}}
.childrenCopy>.btn{display:block;width:100%;text-align:center}
.platformSupport{margin:16px 0 0;padding:20px 24px;border:1px solid #dfd0ba;border-radius:12px;background:#fff;color:#5f574d;box-shadow:0 10px 25px #73592508}
.aboutAside{display:flex;flex-direction:column;min-width:0}.aboutAside blockquote{width:100%}
@media(max-width:650px){.platformSupport{padding:18px 17px}}
.two .aboutInfoCard{align-self:start;padding:34px 36px;border-left:4px solid #c99b43;border-radius:0 14px 14px 0;background:#fffaf1;box-shadow:0 12px 30px #7359250d}.two .aboutInfoCard blockquote{margin:0;padding:0 0 24px;border:0;border-bottom:1px solid #dfd0ba;background:transparent;font:600 22px/1.5 "Cormorant Garamond",serif}.aboutInfoCard>p{margin:24px 0 0;color:#5f574d}html[dir=rtl] .two .aboutInfoCard{border-left:0;border-right:4px solid #c99b43;border-radius:14px 0 0 14px}
@media(max-width:650px){.two .aboutInfoCard{padding:26px 22px}.two .aboutInfoCard blockquote{font-size:20px}}
.childrenSection{grid-template-columns:1.02fr .98fr;column-gap:4.5vw}.childrenImage{width:100%;max-width:680px;justify-self:end}
@media(max-width:950px){.childrenSection{grid-template-columns:1fr}.childrenImage{max-width:650px;justify-self:center}}
@media(min-width:951px){.teacherFeature{align-items:stretch}.teacherPortrait{position:relative;height:auto;min-height:0;aspect-ratio:auto}.teacherPortrait img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center top}}
.childrenHeader>.overline,.teachersIntro>.overline{font-size:14px;font-weight:800;letter-spacing:.22em;color:#a87520;margin-bottom:24px}
@media(max-width:650px){.childrenHeader>.overline,.teachersIntro>.overline{font-size:12px;letter-spacing:.18em;margin-bottom:19px}}
.childrenHeader .overline:before{display:inline-block}
footer{flex-wrap:wrap}.footerMotto{flex:0 0 100%;margin:0 0 22px;padding:20px 16px;text-align:center;color:#2b231a;background:#fbf3e4;border-top:1px solid #d9b15f;border-bottom:1px solid #d9b15f;font:700 clamp(27px,3vw,40px)/1.25 "Cormorant Garamond","Noto Naskh Arabic",serif}.footerMotto strong{color:#9b6712;font-weight:800}
.pricesSection{padding:100px 8vw;background:#f8f2e8;color:#241c14}.pricesHeading{text-align:center;max-width:760px;margin:0 auto 42px}.pricesHeading h2{font-size:clamp(44px,5vw,68px)}.pricesHeading p{color:#685f53}.priceCards{display:grid;grid-template-columns:1.15fr 1fr .72fr;gap:16px;max-width:1240px;margin:0 auto}.priceCards article{padding:30px;background:#fff;border:1px solid #dfd0b8;border-radius:18px;box-shadow:0 14px 35px #7359250d}.priceCards h3{font-size:29px;margin-bottom:20px}.priceRow{display:flex;justify-content:space-between;gap:18px;padding:11px 0;border-top:1px solid #eee3d3}.priceRow span{color:#62594e}.priceRow b{white-space:nowrap;color:#8e641d}.priceSubhead{margin-top:28px!important}.individualPrice{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:linear-gradient(145deg,#2c251d,#17130f)!important;color:#fff}.priceIcon{color:#d8ad5e;font-size:35px}.individualPrice strong{color:#e4bd70;font:700 54px/1 "Cormorant Garamond",serif}.individualPrice p{color:#d8d0c4;margin:12px 0 28px}.individualPrice .btn{width:100%}@media(max-width:950px){.priceCards{grid-template-columns:1fr 1fr}.individualPrice{grid-column:1/-1;min-height:300px}}@media(max-width:650px){.pricesSection{padding:72px 22px}.priceCards{grid-template-columns:1fr}.individualPrice{grid-column:auto}.priceCards article{padding:24px 20px}.priceRow{align-items:flex-start}.priceRow b{font-size:12px}.pricesHeading h2{font-size:clamp(34px,10vw,44px)}}
.overline{font-size:14px;font-weight:800;letter-spacing:.22em;color:#a87520;margin-bottom:24px}
.alsuEducation{grid-template-columns:repeat(2,1fr)}.alsuEducation .calligraphyCredential{border-color:#c99b43;background:linear-gradient(145deg,#fffdf8,#f9eed8)}.alsuEducation .calligraphyCredential h3{color:#946515}@media(max-width:650px){.alsuEducation{grid-template-columns:1fr}}

/* Balanced layout for the About section */
#about>.two{
  grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);
  gap:clamp(30px,4vw,64px);
  align-items:stretch;
}
#about>.two>div:first-child{
  display:flex;
  min-width:0;
  flex-direction:column;
}
#about .aboutSupport{
  flex:1;
  margin-top:28px;
}
#about .aboutInfoCard{
  align-self:stretch;
  display:flex;
  min-width:0;
  height:100%;
  flex-direction:column;
  justify-content:center;
}
@media(max-width:950px){
  #about>.two{grid-template-columns:1fr;gap:26px}
  #about .aboutInfoCard{height:auto}
}
.teacherProfile{max-width:1120px;margin:78px auto 0;padding-top:70px;border-top:1px solid #dfd0ba;text-align:left}.teacherProfileHead{text-align:center;max-width:800px;margin:0 auto 38px}.teacherProfileHead h2{font-size:clamp(42px,5vw,62px)}.teacherProfileHead .teacherAge{display:inline-flex;margin:12px 0 18px;padding:7px 16px;border:1px solid #d5bd8e;border-radius:999px;background:#fffaf0;color:#8b651f;font-weight:800;letter-spacing:.04em}.teacherProfileHead .lead{margin-bottom:0}.teacherEducation{display:grid;grid-template-columns:1fr 1.5fr .8fr;gap:14px}.teacherEducation article{padding:28px 30px;background:#fff;border:1px solid #dfd0ba;border-radius:16px;box-shadow:0 12px 30px #7359250b}.teacherEducation h3{font-size:28px;margin:0 0 16px;color:#382b1d}.teacherEducation ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}.teacherEducation li{position:relative;padding-left:23px;color:#5f574d;line-height:1.55}.teacherEducation li:before{content:"◆";position:absolute;left:0;top:1px;color:#b27b1d;font-size:10px}html[dir=rtl] .teacherProfile{text-align:right}html[dir=rtl] .teacherEducation li{padding-left:0;padding-right:23px}html[dir=rtl] .teacherEducation li:before{left:auto;right:0}@media(max-width:950px){.teacherEducation{grid-template-columns:1fr 1fr}.teacherEducation article:last-child{grid-column:1/-1}}@media(max-width:650px){.teacherProfile{margin-top:58px;padding-top:52px}.teacherEducation{grid-template-columns:1fr}.teacherEducation article:last-child{grid-column:auto}.teacherEducation article{padding:22px 18px}.teacherEducation h3{font-size:25px}}
.teacherEducation.alsuEducation{grid-template-columns:repeat(3,1fr)}.teacherEducation.alsuEducation .calligraphyCredential{grid-column:1/-1;padding:34px 38px;text-align:center}.teacherEducation.alsuEducation .calligraphyCredential ul{max-width:760px;margin:0 auto;text-align:left}html[dir=rtl] .teacherEducation.alsuEducation .calligraphyCredential ul{text-align:right}@media(max-width:950px){.teacherEducation.alsuEducation{grid-template-columns:1fr 1fr}.teacherEducation.alsuEducation>article:nth-child(3){grid-column:1/-1}.teacherEducation.alsuEducation .calligraphyCredential{grid-column:1/-1}}@media(max-width:650px){.teacherEducation.alsuEducation{grid-template-columns:1fr}.teacherEducation.alsuEducation>article:nth-child(3),.teacherEducation.alsuEducation .calligraphyCredential{grid-column:auto}.teacherEducation.alsuEducation .calligraphyCredential{padding:25px 20px;text-align:left}html[dir=rtl] .teacherEducation.alsuEducation .calligraphyCredential{text-align:right}}
@media(max-width:650px){.overline{font-size:12px;letter-spacing:.18em;margin-bottom:19px}}

/* Standalone content pages */
.subpageMain{min-height:58vh;padding-top:34px;background:#f8f2e8}
.subpageMain>section{scroll-margin-top:135px}
.subpageMain .teachersSection{padding-top:78px}
.subpageMain .childrenSection{margin-top:0}
.subpage footer .logo{margin-right:auto}
@media(max-width:760px){
  .subpageMain{padding-top:16px}
  .subpageMain .teachersSection{padding-top:58px}
}

/* Concise home page */
.homeGateways{padding:100px 8vw;background:#f8f2e8;color:#241c14}
.homeGatewaysHeading{max-width:820px;margin:0 auto 44px;text-align:center}
.homeGatewaysHeading h2{font-size:clamp(42px,5vw,64px)}
.homeGatewaysHeading p{max-width:700px;margin:18px auto 0;color:#685f53}
.homeGatewayGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:1240px;margin:0 auto}
.homeGatewayGrid a{display:flex;min-height:310px;flex-direction:column;padding:34px;border:1px solid #dfd0b8;border-radius:18px;background:#fff;color:#241c14;text-decoration:none;box-shadow:0 14px 35px #7359250d;transition:transform .2s ease,box-shadow .2s ease}
.homeGatewayGrid a:hover{transform:translateY(-4px);box-shadow:0 20px 42px #73592518}
.homeGatewayGrid span{color:#b27b1d;font-weight:800;letter-spacing:.16em}
.homeGatewayGrid h3{margin:34px 0 13px;font-size:31px}
.homeGatewayGrid p{margin:0;color:#62594e}
.homeGatewayGrid b{margin-top:auto;padding-top:30px;color:#946515}
.homeFinalCta{padding:100px 8vw;text-align:center;background:linear-gradient(145deg,#2c251d,#17130f);color:#fff}
.homeFinalCta h2{max-width:900px;margin:0 auto;font-size:clamp(44px,5vw,68px)}
.homeFinalCta p{max-width:680px;margin:20px auto 30px;color:#ddd4c7}
.homeFinalCta .actions{justify-content:center}
@media(max-width:900px){.homeGatewayGrid{grid-template-columns:1fr}.homeGatewayGrid a{min-height:240px}}
@media(max-width:650px){.homeGateways,.homeFinalCta{padding:72px 22px}.homeGatewaysHeading h2,.homeFinalCta h2{font-size:clamp(34px,10vw,44px)}.homeGatewayGrid a{min-height:220px;padding:26px 22px}}
.childrenImage{aspect-ratio:3/2}
.childrenImage img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.childrenGuide{display:grid;grid-template-columns:.65fr 1.35fr;gap:6vw;align-items:start;padding:100px 8vw;background:#f7f0e4;color:#241c14;border-bottom:1px solid #e4d6c2}.childrenGuideCopy{position:sticky;top:90px}.childrenGuide h2{font-size:clamp(44px,5vw,68px)}.childrenGuideCopy p{font:600 23px/1.5 "Cormorant Garamond",serif;color:#62594d}.childrenGuide figure{max-width:760px;margin:0 auto;padding:18px;background:#fff;border:1px solid #dfd0b9;border-radius:24px;box-shadow:0 24px 55px #7359251a}.childrenGuide img{display:block;width:100%;height:auto;border-radius:14px}
@media(max-width:800px){.childrenGuide{grid-template-columns:1fr;padding:72px 22px}.childrenGuideCopy{position:static}.childrenGuide h2{font-size:clamp(36px,10vw,48px)}.childrenGuide figure{padding:10px;border-radius:18px}.childrenGuide img{border-radius:10px}}
.alifiyaEmbed{display:grid;grid-template-columns:minmax(260px,.42fr) minmax(0,1fr);gap:34px;align-items:stretch;padding:56px 6vw;background:radial-gradient(circle at 8% 12%,#ffd48e88 0 7%,transparent 22%),radial-gradient(circle at 92% 88%,#a7ddd488 0 8%,transparent 24%),linear-gradient(145deg,#fff4df 0%,#fffaf0 48%,#edf8ef 100%);border-block:1px solid #e8d6b8;color:#2e2419;overflow:hidden}.alifiyaIntro{max-width:500px;display:flex;flex-direction:column;align-self:stretch}.alifiyaIntro .overline{color:#9c6822}.alifiyaIntro h2{font-size:clamp(42px,4.8vw,68px);line-height:.98;margin-bottom:24px}.alifiyaIntro>p{font-size:17px;line-height:1.7;color:#665b4e}.alifiyaFeatures{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0}.alifiyaFeatures span{padding:8px 13px;border:1px solid #d9b970;border-radius:999px;background:#fff9ed;color:#715222;font-size:12px;font-weight:700}.alifiyaLaunch{display:inline-flex;justify-content:center;align-items:center;margin-top:2px}.alifiyaDaily{display:flex;align-items:center;gap:14px;margin-top:auto;padding:15px 17px;border:1px solid #d9c8aa;border-radius:18px;background:#fffdf8;box-shadow:0 12px 30px #73592510}.alifiyaDaily>span{width:48px;height:48px;display:grid;place-items:center;flex:0 0 auto;border-radius:15px;background:#f7dfca;font-size:27px}.alifiyaDaily strong,.alifiyaDaily small{display:block}.alifiyaDaily strong{font:700 20px/1.1 "Cormorant Garamond",serif;color:#4a3824}.alifiyaDaily small{margin-top:5px;color:#786d60;line-height:1.45}.alifiyaFrame{min-width:0;overflow:hidden;border:8px solid #fff;border-radius:30px;background:#fff;box-shadow:0 28px 72px #7359252b,0 0 0 1px #d8bd8c}.alifiyaFrameTop{height:44px;display:flex;align-items:center;gap:7px;padding:0 15px;background:#fff8ec;border-bottom:1px solid #eadbc3}.alifiyaFrameTop i{width:10px;height:10px;border-radius:50%;background:#f39b9b}.alifiyaFrameTop i:nth-child(2){background:#f3c66d}.alifiyaFrameTop i:nth-child(3){background:#8fcdbd}.alifiyaFrameTop span{margin-inline-start:auto;color:#94651d;font:700 18px "Cormorant Garamond",serif}.alifiyaFrame iframe{display:block;width:100%;height:720px;border:0;background:#fff8ed}html[dir=rtl] .alifiyaIntro{text-align:right}
@media(max-width:980px){.alifiyaEmbed{grid-template-columns:1fr;padding:62px 5vw}.alifiyaIntro{max-width:760px;text-align:center;margin:auto}.alifiyaFeatures{justify-content:center}.alifiyaDaily{max-width:520px;margin:24px auto 0;text-align:left}.alifiyaFrame iframe{height:720px}}
@media(max-width:650px){.alifiyaEmbed{padding:48px 14px;gap:26px}.alifiyaIntro{padding:0 8px}.alifiyaIntro h2{font-size:clamp(38px,12vw,52px)}.alifiyaIntro>p{font-size:15px}.alifiyaLaunch{width:100%}.alifiyaDaily{text-align:left}.alifiyaFrame{border-width:5px;border-radius:20px}.alifiyaFrameTop{height:38px}.alifiyaFrame iframe{height:650px}}

/* Refined children department */
.subpageMain .childrenSection{position:relative;isolation:isolate;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:46px 5.5vw;align-items:start;padding:92px 8vw 112px;background:radial-gradient(circle at 8% 20%,#e6d7bb66 0 8%,transparent 24%),radial-gradient(circle at 96% 78%,#d9e1cf88 0 9%,transparent 25%),linear-gradient(145deg,#fffdf8 0%,#f7efe2 55%,#f2eadb 100%);overflow:hidden}.subpageMain .childrenSection:before{content:"";position:absolute;z-index:-1;inset:22px;border:1px solid #d2ab642b;border-radius:34px;pointer-events:none}.subpageMain .childrenHeader{max-width:950px;margin-bottom:8px}.subpageMain .childrenHeader .overline{display:inline-flex;align-items:center;gap:11px;margin-bottom:18px;padding:8px 16px;border:1px solid #cba66070;border-radius:999px;background:#fff9ef;color:#8e641d;letter-spacing:.18em}.subpageMain .childrenHeader .overline:after{content:"✦";font-size:10px}.subpageMain .childrenHeader h1{max-width:900px;margin:0 auto 22px;color:#2e2419}.subpageMain .childrenHeader>.lead{max-width:760px;font-size:23px;line-height:1.5}.subpageMain .childrenImage{position:sticky;top:78px;align-self:start;border:8px solid #fff;border-radius:30px;box-shadow:0 28px 70px #654c2826,0 0 0 1px #cba66042}.subpageMain .childrenImage:after{content:"Онлайн-занятия с преподавателем";position:absolute;left:22px;right:22px;bottom:20px;padding:12px 16px;border:1px solid #ffffff88;border-radius:12px;background:#281e16b8;color:#fff;text-align:center;font:600 14px/1.3 Manrope,Arial,sans-serif;backdrop-filter:blur(8px)}.subpageMain .childrenCopy{display:flex;flex-direction:column;gap:16px}.subpageMain .childrenAdmission{margin:0;padding:30px;border:1px solid #d9c39e;border-top:4px solid #c89b49;border-radius:20px;background:#fffdf9;box-shadow:0 16px 42px #73592512}.subpageMain .childrenAdmission h2{color:#382a1b}.subpageMain .childrenFormats{gap:12px}.subpageMain .childrenFormats div{position:relative;padding:17px 18px 17px 46px;border:1px solid #e5d6bf;background:linear-gradient(145deg,#fbf5ea,#f3e8d7)}.subpageMain .childrenFormats div:before{content:"✓";position:absolute;left:16px;top:18px;width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:#b98a38;color:#fff;font-size:11px;font-weight:800}.subpageMain .childrenPoints{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0}.subpageMain .childrenPoints article{height:100%;align-items:flex-start;gap:18px;padding:22px 24px;border-color:#dfceb2;border-radius:16px;background:#fffdf9;box-shadow:0 10px 26px #745c3410}.subpageMain .childrenPoints article>b{flex-basis:42px;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#f2e3c7;color:#8d621b;font-size:12px}.subpageMain .childrenPoints h3{color:#342719}.subpageMain .childrenTeacher{display:grid!important;grid-template-columns:auto 1fr;border:1px solid #65513a!important;border-left:5px solid #d2aa60!important;background:linear-gradient(145deg,#30271f,#211b16)!important;color:#f8f1e6;box-shadow:0 18px 42px #2b201525!important}.subpageMain .childrenTeacher>b{background:#c99b43!important;color:#241b12!important}.subpageMain .childrenTeacher small{color:#e2bd77}.subpageMain .childrenTeacher h3{color:#fff}.subpageMain .childrenTeacher p{color:#d7cec1;line-height:1.68}.subpageMain .childrenCopy>.btn{width:100%;margin:2px 0 0;padding:17px 24px;border-radius:14px;border-color:#9d7027;background:linear-gradient(#d7ad60,#bd8730);color:#251b10;font-weight:800;box-shadow:0 5px 0 #8d621f,0 14px 28px #84602028;transition:transform .18s ease,box-shadow .18s ease}.subpageMain .childrenCopy>.btn:hover{transform:translateY(-2px);box-shadow:0 7px 0 #8d621f,0 18px 34px #84602032}.subpageMain .childrenGuide{position:relative;grid-template-columns:minmax(260px,.62fr) minmax(0,1.38fr);gap:6vw;padding:110px 8vw;background:linear-gradient(180deg,#fffdf9,#f5ecdf);overflow:hidden}.subpageMain .childrenGuide:before{content:"";position:absolute;width:440px;height:440px;right:-150px;top:-170px;border:1px solid #d4b06b55;border-radius:50%;box-shadow:0 0 0 45px #d4b06b0b,0 0 0 46px #d4b06b30}.subpageMain .childrenGuideCopy{top:100px;padding:34px 30px;border-left:4px solid #c99b43;background:#fffaf2;border-radius:0 18px 18px 0;box-shadow:0 15px 40px #6b512311}.subpageMain .childrenGuideCopy .overline{margin-bottom:16px}.subpageMain .childrenGuideCopy p{font-size:24px}.subpageMain .childrenGuide figure{position:relative;z-index:1;max-width:610px;padding:14px;border-radius:28px;background:#fff;box-shadow:0 30px 75px #553d1d28,0 0 0 1px #d4b37055}.subpageMain .childrenGuide img{border-radius:18px}
@media(max-width:950px){.subpageMain .childrenSection{grid-template-columns:1fr;gap:30px}.subpageMain .childrenImage{position:relative;top:auto;max-width:760px;margin:0 auto}.subpageMain .childrenGuide{grid-template-columns:1fr}.subpageMain .childrenGuideCopy{position:static;max-width:700px;margin:0 auto;text-align:center;border-left:0;border-top:4px solid #c99b43;border-radius:18px}.subpageMain .childrenGuide figure{max-width:560px}}
@media(max-width:650px){.subpageMain .childrenSection{padding:64px 18px 78px}.subpageMain .childrenSection:before{inset:10px;border-radius:24px}.subpageMain .childrenHeader .overline{font-size:9px}.subpageMain .childrenHeader>.lead{font-size:20px}.subpageMain .childrenImage{border-width:5px;border-radius:22px}.subpageMain .childrenImage:after{left:10px;right:10px;bottom:10px;padding:9px 10px;font-size:11px}.subpageMain .childrenAdmission{padding:24px 18px}.subpageMain .childrenFormats{grid-template-columns:1fr}.subpageMain .childrenPoints{grid-template-columns:1fr}.subpageMain .childrenPoints article{padding:19px 16px}.subpageMain .childrenTeacher{grid-template-columns:auto 1fr!important}.subpageMain .childrenTeacher p{font-size:13px}.subpageMain .childrenCopy>.btn{padding:16px 14px}.subpageMain .childrenGuide{padding:76px 18px}.subpageMain .childrenGuideCopy{padding:27px 20px}.subpageMain .childrenGuideCopy p{font-size:21px}.subpageMain .childrenGuide figure{padding:8px;border-radius:20px}.subpageMain .childrenGuide img{border-radius:13px}}
.subpageMain .childrenImage:after{display:none}
.subpageMain .childrenImageCaption{position:absolute;left:22px;right:22px;bottom:20px;padding:12px 16px;border:1px solid #ffffff88;border-radius:12px;background:#281e16b8;color:#fff;text-align:center;font:600 14px/1.3 Manrope,Arial,sans-serif;backdrop-filter:blur(8px)}
.subpageMain .childrenVisuals{position:sticky;top:78px;align-self:start;display:grid;gap:22px}
.subpageMain .childrenVisuals>*{width:100%;box-sizing:border-box}
.subpageMain .childrenVisuals .childrenImage{position:relative;top:auto;margin-top:-7px}
.subpageMain .childrenCircleImage{position:relative;overflow:hidden;aspect-ratio:3/2;margin:0;border:8px solid #fff;border-radius:30px;background:#efe6d8;box-shadow:0 28px 70px #654c2826,0 0 0 1px #cba66042}
.subpageMain .childrenCircleImage img{display:block;width:100%;height:100%;object-fit:cover}
.subpageMain .alifiyaIntro .alifiyaFeatures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:36px}
.subpageMain .alifiyaIntro .alifiyaFeatures span{display:block;text-align:center}
.subpageMain .alifiyaIntro .alifiyaFeatures span:nth-child(2){grid-column:1/-1;grid-row:1}
.subpageMain .alifiyaIntro .alifiyaFeatures span:nth-child(1){grid-column:1;grid-row:2}
.subpageMain .alifiyaIntro .alifiyaFeatures span:nth-child(3){grid-column:2;grid-row:2}
@media(max-width:950px){.subpageMain .childrenVisuals{position:relative;top:auto;grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px;margin:0 auto}.subpageMain .childrenCircleImage{border-radius:24px}}
@media(max-width:650px){.subpageMain .childrenImageCaption{left:10px;right:10px;bottom:10px;padding:9px 10px;font-size:11px}}
@media(max-width:650px){.subpageMain .childrenVisuals{grid-template-columns:1fr;gap:16px}.subpageMain .childrenCircleImage{border-width:5px;border-radius:22px}}
.subpageMain .childrenHadith{position:relative;margin:28px 0 0;padding:27px 24px 24px;border:1px solid #d8bd8b;border-radius:16px;background:linear-gradient(145deg,#fffdf8,#f4e8d5);box-shadow:0 12px 30px #6b512312;text-align:left}
.subpageMain .childrenHadith>span{position:absolute;right:18px;top:7px;color:#c79b4c42;font:700 72px/1 "Cormorant Garamond",serif}
.subpageMain .childrenHadith p{position:relative;margin:0 0 14px;color:#382b1e;font:600 18px/1.55 "Cormorant Garamond",serif}
.subpageMain .childrenHadith cite{display:block;color:#95691f;font:700 11px/1.4 Manrope,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}
html[dir="rtl"] .subpageMain .childrenHadith{text-align:right}
html[dir="rtl"] .subpageMain .childrenHadith>span{right:auto;left:18px}
.subpageMain .childrenGuide figure{width:min(100%,403px);justify-self:center}
.subpageMain .bedtimeGuide{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:38px 48px}
.subpageMain .bedtimeGuide .childrenGuideCopy{position:relative;top:auto;grid-column:1/-1;width:100%;margin:0 auto;text-align:center;border-left:0;border-top:4px solid #c99b43;border-radius:18px}
.subpageMain .bedtimeGuide .sleepGuideCard{width:min(100%,520px);display:grid;grid-template-rows:auto 1fr;justify-self:center;align-self:stretch}
.subpageMain .bedtimeGuide .sleepGuideCard figure{width:100%;max-width:none;aspect-ratio:1/2;display:flex;align-self:stretch;margin:0}
.subpageMain .bedtimeGuide .sleepGuideCard figure img{width:100%;height:100%;object-fit:contain;object-position:center;background:#f1e3cf}
.subpageMain .bedtimeGuide .sleepGuideCard .childrenHadith{height:100%;margin-top:22px}
@media(max-width:800px){.subpageMain .bedtimeGuide{grid-template-columns:1fr;gap:30px}.subpageMain .bedtimeGuide .childrenGuideCopy{grid-column:auto}}
@media(max-width:650px){.subpageMain .childrenHadith{margin-top:22px;padding:23px 19px 20px}.subpageMain .childrenHadith p{font-size:17px}.subpageMain .childrenHadith>span{font-size:58px}}
.subpageMain .childrenArabicLesson{display:grid;grid-template-columns:minmax(300px,.86fr) minmax(0,1.14fr);gap:6vw;align-items:center;padding:110px 8vw;background:linear-gradient(145deg,#f5eadb,#fffaf1 55%,#eef2e9);border-bottom:1px solid #e1d2ba}
.subpageMain .childrenArabicLesson figure{width:min(100%,480px);margin:0 auto;padding:12px;border:1px solid #d7bd8e;border-radius:28px;background:#fff;box-shadow:0 28px 65px #5d442225}
.subpageMain .childrenArabicLesson img{display:block;width:100%;height:auto;border-radius:18px}
.subpageMain .childrenArabicCopy{max-width:650px}
.subpageMain .childrenArabicCopy h2{margin:15px 0 18px;color:#302317;font-size:clamp(40px,4.5vw,64px)}
.subpageMain .childrenArabicCopy>p{margin:0 0 24px;color:#655746;font:600 22px/1.55 "Cormorant Garamond",serif}
.subpageMain .lettersCard{margin-top:14px;padding:20px 22px;border:1px solid #e0ccb0;border-radius:17px;background:#fffdf9;box-shadow:0 10px 28px #67502d10}
.subpageMain .lettersCard>b{display:block;color:#54391d;font:800 13px/1.4 Manrope,Arial,sans-serif;letter-spacing:.07em;text-transform:uppercase}
.subpageMain .lettersCard>p{margin:10px 0;color:#8d5e24;font:700 27px/1.5 serif;word-spacing:.28em}
.subpageMain .lettersCard small{display:block;color:#665a4b;font:500 14px/1.55 Manrope,Arial,sans-serif}
.subpageMain .sunLetters{border-left:5px solid #d69483;background:linear-gradient(145deg,#fffaf7,#f8e7e2)}
.subpageMain .moonLetters{border-left:5px solid #8cb0c6;background:linear-gradient(145deg,#fafcff,#eaf2f6)}
html[dir="rtl"] .subpageMain .sunLetters,html[dir="rtl"] .subpageMain .moonLetters{border-left:1px solid #e0ccb0;border-right-width:5px;border-right-style:solid}
html[dir="rtl"] .subpageMain .sunLetters{border-right-color:#d69483}
html[dir="rtl"] .subpageMain .moonLetters{border-right-color:#8cb0c6}
@media(max-width:850px){.subpageMain .childrenArabicLesson{grid-template-columns:1fr;padding:78px 22px}.subpageMain .childrenArabicLesson figure{max-width:430px}.subpageMain .childrenArabicCopy{max-width:680px;margin:0 auto;text-align:center}.subpageMain .lettersCard{text-align:left}html[dir="rtl"] .subpageMain .lettersCard{text-align:right}}
@media(max-width:650px){.subpageMain .childrenArabicLesson{padding:68px 18px;gap:38px}.subpageMain .childrenArabicLesson figure{padding:8px;border-radius:20px}.subpageMain .childrenArabicLesson img{border-radius:13px}.subpageMain .childrenArabicCopy h2{font-size:38px}.subpageMain .childrenArabicCopy>p{font-size:20px}.subpageMain .lettersCard{padding:18px 16px}.subpageMain .lettersCard>p{font-size:23px;word-spacing:.18em}}
.subpageMain .alphabetLesson{grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);align-items:stretch;background:linear-gradient(145deg,#fffaf2,#f2eadc 58%,#edf2e8)}
.subpageMain .alphabetLesson>.childrenArabicCopy{display:flex;flex-direction:column;justify-content:center;align-self:stretch}
.subpageMain .alphabetLesson>figure{display:flex;align-self:stretch}
.subpageMain .alphabetLesson>figure img{height:100%;object-fit:cover;object-position:top center}
.subpageMain .alphabetSteps{display:grid;gap:10px;margin:26px 0}
.subpageMain .alphabetSteps span{display:block;padding:13px 16px;border:1px solid #d8c09a;border-radius:12px;background:#fffdf8;color:#644823;font:750 13px/1.4 Manrope,Arial,sans-serif;letter-spacing:.04em}
.subpageMain .lessonNote{padding:20px!important;border-left:4px solid #b88a3d;border-radius:0 14px 14px 0;background:#fff8e9;color:#574632!important;font-size:18px!important}
html[dir="rtl"] .subpageMain .lessonNote{border-left:0;border-right:4px solid #b88a3d;border-radius:14px 0 0 14px}
@media(max-width:850px){.subpageMain .alphabetLesson{grid-template-columns:1fr}.subpageMain .alphabetLesson figure{grid-row:1}.subpageMain .alphabetSteps{text-align:left}html[dir="rtl"] .subpageMain .alphabetSteps{text-align:right}}
.subpageMain .alphabetSpeaker{grid-column:1/-1;margin-top:2px;padding:24px;border:1px solid #d8ba7d;border-radius:26px;background:radial-gradient(circle at 7% 20%,#ffd68b70,transparent 24%),radial-gradient(circle at 94% 85%,#a9ddd27a,transparent 26%),#fffdf8;box-shadow:0 20px 48px #654c2818}
.subpageMain .alphabetSpeakerHead{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;margin-bottom:20px}
.subpageMain .alphabetSpeakerIcon{width:52px;height:52px;display:grid;place-items:center;border-radius:17px;background:#f5d6c7;font-size:26px;box-shadow:inset 0 0 0 1px #d8a99a}
.subpageMain .alphabetSpeakerHead strong,.subpageMain .alphabetSpeakerHead small{display:block}
.subpageMain .alphabetSpeakerHead strong{color:#3b2b1d;font:700 25px/1.15 "Cormorant Garamond","Noto Naskh Arabic",serif}
.subpageMain .alphabetSpeakerHead small{margin-top:4px;color:#746453;font:600 13px/1.45 Manrope,Arial,sans-serif}
.subpageMain .alphabetNow{min-width:136px;padding:10px 14px;border:1px solid #d6bd94;border-radius:999px;background:#fff;color:#775426;text-align:center;font:700 14px/1.3 Manrope,"Noto Naskh Arabic",Arial,sans-serif}
.subpageMain .alphabetGrid{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:9px}
.subpageMain .arabicLetterButton{min-width:0;height:64px;border:1px solid #d5b36f;border-radius:17px;background:linear-gradient(145deg,#fff9eb,#efd9aa);color:#563e22;cursor:pointer;font:700 35px/1 "Noto Naskh Arabic",serif;box-shadow:0 4px 0 #c89d50,0 9px 18px #78582416;transition:transform .16s ease,box-shadow .16s ease,background .16s ease,color .16s ease}
.subpageMain .arabicLetterButton:nth-child(4n+2){background:linear-gradient(145deg,#fff4f4,#f1cdd3);border-color:#d8aab3;box-shadow:0 4px 0 #c68e9a,0 9px 18px #78582416}
.subpageMain .arabicLetterButton:nth-child(4n+3){background:linear-gradient(145deg,#effaf7,#cce8df);border-color:#9fcbbf;box-shadow:0 4px 0 #80b6a8,0 9px 18px #78582416}
.subpageMain .arabicLetterButton:nth-child(4n){background:linear-gradient(145deg,#f7f2ff,#d9cdec);border-color:#b9a6d1;box-shadow:0 4px 0 #9e87bc,0 9px 18px #78582416}
.subpageMain .arabicLetterButton:hover{transform:translateY(-2px)}
.subpageMain .arabicLetterButton:focus-visible{outline:4px solid #8e672c55;outline-offset:3px}
.subpageMain .arabicLetterButton.is-active{transform:translateY(-3px) scale(1.04);background:linear-gradient(145deg,#6a4a25,#9c733b);border-color:#684718;color:#fff9e9;box-shadow:0 5px 0 #4c3319,0 13px 25px #4c331933}
.subpageMain .arabicLetterButton.is-speaking{animation:alphabetPulse .72s ease-in-out infinite alternate}
@keyframes alphabetPulse{to{transform:translateY(-4px) scale(1.09);box-shadow:0 5px 0 #4c3319,0 0 0 8px #d6a9582b,0 15px 28px #4c331938}}
@media(max-width:1050px){.subpageMain .alphabetGrid{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(max-width:850px){.subpageMain .alphabetLesson>figure{align-self:auto}.subpageMain .alphabetLesson>figure img{height:auto;object-fit:contain}.subpageMain .alphabetSpeaker{grid-row:3}.subpageMain .alphabetSpeakerHead{text-align:left}html[dir="rtl"] .subpageMain .alphabetSpeakerHead{text-align:right}}
@media(max-width:560px){.subpageMain .alphabetSpeaker{padding:18px 14px;border-radius:20px}.subpageMain .alphabetSpeakerHead{grid-template-columns:auto minmax(0,1fr)}.subpageMain .alphabetSpeakerIcon{width:46px;height:46px}.subpageMain .alphabetSpeakerHead strong{font-size:22px}.subpageMain .alphabetNow{grid-column:1/-1;width:100%;min-width:0}.subpageMain .alphabetGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.subpageMain .arabicLetterButton{height:58px;font-size:32px;border-radius:15px}}
@media(prefers-reduced-motion:reduce){.subpageMain .arabicLetterButton{transition:none}.subpageMain .arabicLetterButton.is-speaking{animation:none}}
.subpageMain .sunMoonLesson{align-items:stretch}
.subpageMain .sunMoonLesson>figure{display:flex;align-self:stretch}
.subpageMain .sunMoonLesson>figure img{height:100%;object-fit:cover;object-position:top center}
.subpageMain .sunMoonLesson>.childrenArabicCopy{display:flex;flex-direction:column;justify-content:center;align-self:stretch;padding:34px;border:1px solid #d7bd8e;border-radius:28px;background:#fffdf9cc;box-shadow:0 28px 65px #5d442214}
@media(max-width:850px){.subpageMain .sunMoonLesson>figure{align-self:auto}.subpageMain .sunMoonLesson>figure img{height:auto;object-fit:contain}.subpageMain .sunMoonLesson>.childrenArabicCopy{padding:28px 24px}}
@media(max-width:650px){.subpageMain .sunMoonLesson>.childrenArabicCopy{padding:24px 18px;border-radius:20px}}
.subpageMain .childrenTeacherSpotlight{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);gap:5vw;align-items:stretch;padding:105px 8vw;background:radial-gradient(circle at 8% 16%,#f1d7a15c,transparent 25%),linear-gradient(145deg,#fffaf1,#f3eadc 55%,#eef3e9);border-bottom:1px solid #dfd0b8;color:#2e2419}
.subpageMain .madinaVisual{position:relative;isolation:isolate;min-height:660px;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;border:1px solid #d4b97f;border-radius:32px;background:radial-gradient(circle at 50% 38%,#fffaf0 0 16%,transparent 17%),linear-gradient(155deg,#d9c197,#8f6a38);box-shadow:0 30px 72px #62471f26;color:#fff9eb;text-align:center}
.subpageMain .madinaVisual:before,.subpageMain .madinaVisual:after{content:"";position:absolute;z-index:-1;border:1px solid #fff7df52;border-radius:50%}
.subpageMain .madinaVisual:before{width:430px;height:430px;top:-140px;right:-180px;box-shadow:0 0 0 42px #fff7df10}
.subpageMain .madinaVisual:after{width:360px;height:360px;bottom:-170px;left:-150px;box-shadow:0 0 0 36px #fff7df0d}
.subpageMain .madinaVisualLabel{position:absolute;top:26px;left:26px;right:26px;padding-bottom:17px;border-bottom:1px solid #fff5dc52;font-size:10px;font-weight:800;letter-spacing:.18em}
.subpageMain .madinaMonogram{position:relative;isolation:isolate;width:190px;height:190px;display:grid;place-items:center;border:2px solid #e5bd70;border-radius:50%;background:#2f251de8;color:#e5bd70;font:700 118px/1 "Noto Naskh Arabic",serif;box-shadow:0 24px 55px #39261144}
.subpageMain .madinaMonogram:before,.subpageMain .madinaMonogram:after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.subpageMain .madinaMonogram:before,.subpageMain .madinaMonogram:after{display:none}
.subpageMain .madinaMonogram>span{position:relative;z-index:1;display:block;line-height:1;letter-spacing:0;transform:none}
.subpageMain .madinaVisual img{width:88px;height:88px;margin-top:38px;object-fit:contain;filter:brightness(0) invert(1);opacity:.9}
.subpageMain .madinaVisual strong{margin-top:15px;font:700 24px/1.2 "Cormorant Garamond","Noto Naskh Arabic",serif}
.subpageMain .madinaCopy{display:flex;flex-direction:column;justify-content:center}
.subpageMain .madinaHeading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.subpageMain .madinaHeading h2{max-width:760px;margin:10px 0 22px;font-size:clamp(45px,4.7vw,67px);line-height:1.02;color:#302317}
.subpageMain .madinaAge{flex:0 0 auto;margin-top:5px;padding:10px 15px;border:1px solid #d2ad68;border-radius:999px;background:#fffaf0;color:#7b561d;font-size:12px;font-weight:800}
.subpageMain .madinaIntro{max-width:800px;margin:0 0 30px;color:#625649;font:600 22px/1.55 "Cormorant Garamond","Noto Naskh Arabic",serif}
.subpageMain .madinaCredentials{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.subpageMain .madinaCredentials article{position:relative;padding:27px 27px 25px;border:1px solid #dfcdb0;border-radius:18px;background:#fffdf9;box-shadow:0 12px 30px #7359250d}
.subpageMain .madinaCredentials article>span{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:#f0dfbf;color:#865d1c;font-size:11px;font-weight:800}
.subpageMain .madinaCredentials h3{margin:17px 0 13px;color:#3c2d1d;font-size:27px}
.subpageMain .madinaCredentials ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.subpageMain .madinaCredentials li{position:relative;padding-left:21px;color:#655a4d;line-height:1.55}
.subpageMain .madinaCredentials li:before{content:"◆";position:absolute;left:0;top:2px;color:#b98732;font-size:8px}
.subpageMain .madinaCredentials .madinaMethod{grid-column:1/-1;border-left:5px solid #c99b43;background:linear-gradient(145deg,#fffdf9,#f6ecdc)}
.subpageMain .muazzamSpotlight{background:radial-gradient(circle at 92% 18%,#d7e4d466,transparent 27%),linear-gradient(145deg,#f3eee4,#fffaf1 52%,#edf3e9)}
.subpageMain .muazzamVisual{background:radial-gradient(circle at 50% 38%,#fffaf0 0 16%,transparent 17%),linear-gradient(155deg,#a9b79a,#52634c)}
.subpageMain .muazzamSpotlight .madinaMethod{border-left-color:#879b75;background:linear-gradient(145deg,#fffdf9,#edf3e9)}
html[dir="rtl"] .subpageMain .madinaCredentials li{padding-left:0;padding-right:21px}
html[dir="rtl"] .subpageMain .madinaCredentials li:before{left:auto;right:0}
html[dir="rtl"] .subpageMain .madinaCredentials .madinaMethod{border-left:1px solid #dfcdb0;border-right:5px solid #c99b43}
html[dir="rtl"] .subpageMain .muazzamSpotlight .madinaMethod{border-right-color:#879b75}
@media(max-width:1050px){.subpageMain .childrenTeacherSpotlight{grid-template-columns:1fr}.subpageMain .madinaVisual{min-height:460px}.subpageMain .madinaCopy{max-width:900px;margin:0 auto}.subpageMain .madinaVisualLabel{max-width:520px;margin:auto}}
@media(max-width:650px){.subpageMain .childrenTeacherSpotlight{padding:72px 18px;gap:42px}.subpageMain .madinaVisual{min-height:390px;border-radius:24px}.subpageMain .madinaMonogram{width:150px;height:150px;font-size:92px}.subpageMain .madinaVisual img{width:68px;height:68px;margin-top:27px}.subpageMain .madinaHeading{display:block}.subpageMain .madinaHeading h2{font-size:40px}.subpageMain .madinaAge{display:inline-block;margin:0 0 20px}.subpageMain .madinaIntro{font-size:20px}.subpageMain .madinaCredentials{grid-template-columns:1fr}.subpageMain .madinaCredentials .madinaMethod{grid-column:auto}.subpageMain .madinaCredentials article{padding:23px 18px}.subpageMain .madinaCredentials h3{font-size:25px}}
.subpageMain .madinaVisual{background:linear-gradient(155deg,#d9c197,#8f6a38)}
.subpageMain .muazzamVisual{background:linear-gradient(155deg,#a9b79a,#52634c)}
.subpageMain .madinaMonogram>span{font-family:"Noto Naskh Arabic","Traditional Arabic","Segoe UI",serif;font-size:1em;font-weight:600;line-height:.9;transform:translateY(-.04em)}
@media(min-width:951px){.subpageMain .childrenVisuals{align-self:stretch;grid-template-rows:repeat(2,minmax(0,1fr));height:100%;min-height:0}.subpageMain .childrenVisuals .childrenCircleImage{min-height:0;aspect-ratio:auto}.subpageMain .childrenVisuals .childrenImage{align-self:stretch;min-height:0;margin-top:0;overflow:hidden;aspect-ratio:auto}.subpageMain .childrenVisuals img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center}}
@media(max-width:950px){.subpageMain .childrenVisuals .childrenImage{margin-top:0}}

/* Clear page location and consistent children-card markers */
.mainNav a{position:relative}
.mainNav a:first-child{color:inherit}
.mainNav a.is-current{color:#7d5313;font-weight:800;background:#fbf3e5}
.mainNav a.is-current:after{content:"";position:absolute;left:24px;right:24px;bottom:8px;height:2px;border-radius:999px;background:#c99b43;box-shadow:0 1px 5px #a16e1c55}
body:not(.subpage) .childrenPoints>article{border-left:4px solid #c99b43}
.subpageMain .childrenPoints article>b.childrenCheck{background:#b98a38;color:#fff;font-size:15px;font-weight:800}
html[dir=rtl] body:not(.subpage) .childrenPoints>article{border-left:1px solid #e2d2ba;border-right:4px solid #c99b43}

/* Rose and burgundy school-wide design */
:root{--black:#2b1a20;--gold:#9c2f45;--cream:#fdf1ee;--sand:#f6dfdc;--line:#e3bec3;--burgundy:#9c2f45;--burgundy-deep:#742235;--rose-gold:#c8941c;--blush:#fdf1ee;--blush-deep:#f6dfdc}
body{background:var(--blush);color:#2f2024}
.newHeader{background:#fffaf9;color:#352328;border-bottom:1px solid #ead2d5}
.masthead{background:linear-gradient(180deg,#fff,#fff9f8);border-bottom-color:#ead2d5}
.brandText strong{color:var(--burgundy-deep)}
.brandText small{color:#765c62}
.headerContact b{border-color:#d4aa58;background:#fff9ef;color:var(--rose-gold);box-shadow:0 5px 14px #7a243819}
.headerContact span{color:#684b52}.headerContact strong{color:#352328}
.masthead .langs button.active{color:var(--burgundy);font-weight:800}
.mainNav{background:#fffaf9;border-bottom-color:#ead2d5}
.mainNav a{color:#60474d;transition:color .2s ease,background .2s ease}
.mainNav a:hover{color:var(--burgundy);background:#fcefed}
.mainNav a.is-current{color:var(--burgundy-deep);background:#f8e2e1}
.mainNav a.is-current:after{background:linear-gradient(90deg,#c8941c,#efcf82,#c8941c);box-shadow:0 1px 6px #9c2f4540}
.mobileMenu{border-color:#d9b3b8;background:#fff7f5;color:var(--burgundy-deep)}
.mobileMenu span{background:var(--burgundy)}

.roseBrandBanner{position:relative;isolation:isolate;min-height:500px;display:grid;grid-template-columns:.92fr 1.08fr;align-items:center;gap:3vw;padding:46px 8vw;overflow:hidden;background:radial-gradient(circle at 8% 13%,#fffdf7b8 0 3%,transparent 14%),radial-gradient(circle at 88% 22%,#fffaf0ad 0 2%,transparent 13%),linear-gradient(118deg,#f8dddc,#fceeea 46%,#f2cecf);border-bottom:1px solid #e1b9bf}
.roseBrandBanner:before,.roseBrandBanner:after{content:"";position:absolute;z-index:-1;border:1px solid #c8941c42;border-radius:50%;pointer-events:none}
.roseBrandBanner:before{width:620px;height:620px;left:-290px;bottom:-350px;box-shadow:0 0 0 36px #fff8f348}
.roseBrandBanner:after{width:480px;height:480px;right:-240px;top:-260px;box-shadow:0 0 0 32px #c8941c10}
.roseBrandEmblem{justify-self:center;width:min(100%,430px);aspect-ratio:1;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle,#fffdf7 0 48%,#f7dedb 49% 55%,transparent 56%);filter:drop-shadow(0 22px 25px #7a243827)}
.roseBrandEmblem img{display:block;width:92%;height:92%;object-fit:contain}
.roseBrandCopy{text-align:center;color:var(--burgundy-deep)}
.roseBrandCopy h2{font-size:clamp(62px,7vw,104px);line-height:.85;letter-spacing:-.035em;text-shadow:0 2px 0 #fff8f2,0 7px 18px #7a243823}
.roseBrandCopy p{max-width:620px;margin:24px auto 12px;color:#93691e;font:700 clamp(27px,3vw,43px)/1.1 "Cormorant Garamond","Noto Naskh Arabic",serif}
.roseBrandCopy small{color:#8b5260;font:600 clamp(16px,1.6vw,22px)/1.4 "Cormorant Garamond",serif}
.heroBannerFull{width:100%;height:auto;min-height:0;display:block;margin:0;overflow:hidden;background:var(--blush,#f6dddd);border-bottom:1px solid #e1b9bf}
.heroBannerFull img{display:block;width:100%;height:auto;object-fit:contain;object-position:center}

.quranOpening{background:#2b1a20;color:#fff3f1}
.quranOpening article+article{border-color:#6d4550}
.quranOpening small,.quranOpening a{color:#d6ab56}
.quranOpening .ayahTranslation{color:#f5e6e4}
.hero{background:linear-gradient(115deg,#fffaf9,#f7dfdd);color:#352328}
.heroCopy>p{color:#6e555c}
.heroMedia{background:radial-gradient(circle at 50% 40%,#fff 0 32%,#f0d5d4 72%);border-radius:0 0 0 80px}
.heroMedia img{object-fit:contain;object-position:center bottom;filter:drop-shadow(0 18px 24px #6e27362c)}
.hero .stats.benefits{border-color:#e5c3c7;box-shadow:0 18px 38px #7a243818}
.benefits div{background:#fffafa;border-color:#edd7d9}
.benefits strong{border-color:#d6a94c;background:linear-gradient(145deg,#fffdf7,#f4dfbb);color:#b47d1e}
.benefits span{color:#4f383e}
.overline,.childrenHeader>.overline,.teachersIntro>.overline{color:var(--burgundy);font-weight:800}
.overline:before{background:linear-gradient(90deg,var(--rose-gold),var(--burgundy))}

.light,.sand,.dark,.schedule,.reviews,.careSection,.homeGateways,.pricesSection,.subpageMain{color:#332228}
.light,.reviews{background:#fffafa}
.sand,.careSection,.homeGateways,.pricesSection,.subpageMain{background:linear-gradient(180deg,#fdf1ee,#f8e3e1)}
.dark,.schedule,.apply{background:#f8e5e3;color:#332228}
.two blockquote,.aboutSupport,.two .aboutInfoCard,.platformSupport{background:#fff9f8;border-color:var(--burgundy);color:#644b52}
.two .aboutInfoCard blockquote{border-bottom-color:#e5c6ca;color:#3c282e}
.aboutInfoCard>p,.aboutSupport{color:#674f56}
.cards article,.teacherCards article,.specialtyList article,.teacherEducation article,.priceCards article,.reviewQuote,.reviewStory,.homeGatewayGrid a,.careSteps article,.madinaCredentials article{border-color:#e2bec3;background:linear-gradient(145deg,#fffdfc,#fbecea);box-shadow:0 15px 34px #7a243812}
.cards article:hover,.teacherCards article:hover,.homeGatewayGrid a:hover{box-shadow:0 22px 44px #7a243824}
.cards em,.cards small,.homeGatewayGrid span,.homeGatewayGrid b,.reviewCourse,.teacherCards small,.teacherEducation li:before,.reviewStoryHead{color:var(--burgundy)}
.cards p,.homeGatewayGrid p,.teacherCards p,.teacherEducation li,.reviewQuote>p,.pricesHeading p{color:#6b5158}
.teacherEducation h3,.priceCards h3,.homeGatewayGrid h3{color:#3d2930}
.reviewQuote.featured,.reviewStory .reviewAuthor,.individualPrice,.homeFinalCta,.carePromise{background:linear-gradient(145deg,#9c2f45,#6f2033)!important;border-color:#7a2438;color:#fff}
.reviewQuote.featured .reviewCourse,.reviewQuote.featured>p,.reviewStory .reviewAuthor,.individualPrice strong,.carePromise strong{color:#f0cf83}
.reviewQuote.featured blockquote,.homeFinalCta h2{color:#fff}
.homeFinalCta p{color:#f0dfe2}
.priceRow{border-color:#ead0d3}.priceRow span{color:#674f56}.priceRow b{color:var(--burgundy)}

.btn{border-color:#7e2538;background:linear-gradient(180deg,#fff7f6 0%,#f2d4d5 48%,#dea9af 100%);color:#4f1f2b;box-shadow:0 7px 0 #8a2a3e,0 12px 22px #7a243837,inset 0 2px 1px #fff,inset 0 -2px 5px #8b293d35;text-shadow:0 1px 0 #fff}
.btn:hover{box-shadow:0 9px 0 #7d2337,0 16px 28px #7a243846,inset 0 2px 1px #fff,inset 0 -2px 5px #8b293d35}
.btn:active{box-shadow:0 1px 0 #6d1d30,0 4px 10px #7a24382b,inset 0 3px 5px #6c1f313d}
.btn.gold{border-color:#6e1f32;background:linear-gradient(180deg,#c85a70 0%,#a8374f 48%,#7b2236 100%);color:#fff8f6;box-shadow:0 7px 0 #641a2d,0 12px 22px #7a24384c,inset 0 2px 1px #f5b2bf,inset 0 -3px 5px #4d10244d;text-shadow:0 1px 0 #4d1024}
.btn.gold:hover{box-shadow:0 9px 0 #641a2d,0 16px 28px #7a24385a,inset 0 2px 1px #f5b2bf,inset 0 -3px 5px #4d10244d}
.btn.gold:active{box-shadow:0 1px 0 #551326,0 4px 10px #7a24382b,inset 0 3px 5px #4d102466}

.childrenSection,.childrenGuide,.subpageMain .childrenSection,.subpageMain .childrenArabicLesson,.subpageMain .alphabetLesson,.subpageMain .childrenTeacherSpotlight,.subpageMain .muazzamSpotlight{background:radial-gradient(circle at 92% 12%,#fffaf6a8,transparent 22%),linear-gradient(145deg,#fdf1ee,#f7dddd 58%,#f2cecf)}
.childrenPoints article,.subpageMain .childrenAdmission,.subpageMain .childrenFormats div,.subpageMain .childrenHadith,.subpageMain .lettersCard,.subpageMain .sunMoonLesson>.childrenArabicCopy{border-color:#dfb8bd;background:linear-gradient(145deg,#fffdfc,#f9e8e7)}
body:not(.subpage) .childrenPoints>article{border-left-color:var(--burgundy)}
.subpageMain .childrenFormats div:before,.subpageMain .childrenPoints article>b.childrenCheck{background:var(--burgundy)}
.subpageMain .childrenImage,.subpageMain .childrenCircleImage,.childrenGuide figure,.subpageMain .childrenArabicLesson figure{border-color:#fff;box-shadow:0 26px 62px #7a243825,0 0 0 1px #d9adb4}
.subpageMain .madinaVisual,.subpageMain .muazzamVisual{background:linear-gradient(155deg,#c96275,#7a2438)}
.subpageMain .madinaCredentials .madinaMethod,.subpageMain .muazzamSpotlight .madinaMethod{border-left-color:var(--burgundy);background:linear-gradient(145deg,#fffdfb,#f7dfdd)}
.subpageMain .alifiyaEmbed{background:radial-gradient(circle at 8% 12%,#ffd9d7 0 7%,transparent 22%),linear-gradient(145deg,#fff3f0,#f7dddd 52%,#fff8f5);border-color:#e4bdc2}

.ijazaProof{padding:100px 8vw;background:linear-gradient(180deg,#f6dfdc,#fdf1ee);text-align:center}
.ijazaProof>.overline{display:flex;justify-content:center}
.ijazaProof h2{font-size:clamp(40px,4.5vw,58px);margin-bottom:14px}
.ijazaProof>p{max-width:680px;margin:0 auto 40px;color:#6c5057}
.ijazaGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;max-width:1200px;margin:0 auto}
.ijazaGrid figure{margin:0;overflow:hidden;aspect-ratio:3/4;border:1px solid #dfb8bd;border-radius:16px;background:#fff;box-shadow:0 18px 38px #7a243826;transition:transform .25s ease,box-shadow .25s ease}
.ijazaGrid figure:hover{transform:translateY(-6px);box-shadow:0 24px 48px #7a243838}
.ijazaGrid img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.ijazaGrid .ijazaFull img{object-fit:contain;object-position:center}

footer{background:linear-gradient(145deg,#8d2b40,#561729);color:#f3e4e5;border-top:0}
footer .logo{color:#fff}footer .logo img{filter:drop-shadow(0 8px 14px #27081166)}
.footerMotto{color:#4b2029;background:linear-gradient(90deg,#f8dedd,#fff5f1,#f8dedd);border-color:#c89535}
.footerMotto strong{color:var(--burgundy)}
.footerContacts{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.footerContacts a{display:inline-flex;align-items:center;gap:8px;color:#fff3ee;font-weight:700}
.footerContacts img{display:block;width:25px;height:25px;filter:drop-shadow(0 4px 7px #2d091766)}
.siteCreator{flex:0 0 100%;margin:0;padding-top:18px;border-top:1px solid #ffffff29;text-align:center;color:#eed9dc;font-size:13px}
footer small{color:#e3c7cc}

@media(max-width:900px){.roseBrandBanner{grid-template-columns:1fr;min-height:0;padding:42px 8vw 55px}.roseBrandEmblem{width:min(76vw,390px)}.roseBrandCopy h2{font-size:clamp(56px,13vw,82px)}.ijazaGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.roseBrandBanner{padding:30px 20px 46px;gap:12px}.roseBrandEmblem{width:min(83vw,340px)}.roseBrandCopy h2{font-size:clamp(50px,16vw,72px)}.roseBrandCopy p{font-size:27px}.heroMedia{height:420px;margin:0;border-radius:28px}.heroMedia img{object-fit:contain}.ijazaProof{padding:68px 20px}.ijazaGrid{grid-template-columns:1fr;max-width:440px}.ijazaGrid figure{aspect-ratio:auto}.ijazaGrid img{height:auto;object-fit:contain}.footerContacts{gap:13px}}

/* Final unified rose-and-burgundy finish for every page */
.subpageMain .alphabetSpeaker{border-color:#d9adb4;background:radial-gradient(circle at 7% 20%,#f7cbd270,transparent 24%),radial-gradient(circle at 94% 85%,#efd6da7a,transparent 26%),#fff9f8;box-shadow:0 20px 48px #7a243818}
.subpageMain .alphabetSpeakerIcon{background:#f3d5d9;box-shadow:inset 0 0 0 1px #d8a9b2}
.subpageMain .alphabetSteps span{border-color:#dfb8bd;background:#fffaf9;color:#6f293a}
.subpageMain .sunLetters,.subpageMain .moonLetters{border-left-color:var(--burgundy);background:linear-gradient(145deg,#fffaf9,#f7e0e1)}
.subpageMain .lessonNote{border-left-color:var(--burgundy);background:#fff1f1;color:#5f444b!important}
.subpageMain .alifiyaFeatures span{border-color:#d8aab1;background:#fff7f5;color:var(--burgundy-deep)}
.subpageMain .alifiyaDaily{border-color:#dfbec3;background:#fffafa;box-shadow:0 12px 30px #7a243812}
.subpageMain .alifiyaDaily>span{background:#f5d9dc}
.subpageMain .alifiyaFrame{border-color:#fff;box-shadow:0 28px 72px #7a24382b,0 0 0 1px #d8adb4}
.subpageMain .alifiyaFrameTop{background:#fff4f3;border-bottom-color:#e7c9cd}
.subpageMain .alifiyaFrameTop i:nth-child(2),.subpageMain .alifiyaFrameTop i:nth-child(3){background:#d9a4ad}
.subpageMain .alifiyaFrameTop span{color:var(--burgundy)}

footer{position:relative;isolation:isolate;overflow:hidden;flex-wrap:wrap;background:linear-gradient(rgba(255,241,245,.86),rgba(255,241,245,.86)),url('/school-emblem-transparent.png') center 48%/cover no-repeat;color:#5b4047;border-top:1px solid rgba(156,47,69,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.95)}
footer:before,footer:after{display:none}
footer>*{position:relative;z-index:1}
.footerMotto{flex:0 0 100%;margin:0 0 22px;padding:20px 16px;text-align:center;color:#44262e;background:rgba(255,247,248,.46);border-top:1px solid #d4aa58;border-bottom:1px solid #d4aa58;font:700 clamp(27px,3vw,40px)/1.25 "Cormorant Garamond","Noto Naskh Arabic",serif}
.footerMotto strong{color:var(--burgundy)}
footer .logo{gap:0;color:#563d43;font-weight:500}
footer .logo img{display:none}
footer .logo span{font-size:19px;font-weight:500;letter-spacing:.015em}
.footerContacts{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.footerContacts a{display:inline-flex;align-items:center;gap:8px;color:var(--burgundy-deep);font-weight:500}
.footerContacts img{display:block;width:24px;height:24px;filter:none}
.siteCreator{flex:0 0 100%;margin:0;padding-top:18px;border-top:1px solid rgba(156,47,69,.18);text-align:center;color:#6d4d55;font-size:12px;font-weight:500;letter-spacing:.08em}
footer small{color:#72565d;font-weight:400}

.hero .btn.outline,
.hero .btn.outline:link,
.hero .btn.outline:visited{border-color:#d98c9b;background:linear-gradient(180deg,#fff8f8 0%,#f2cbd1 48%,#d88897 100%);color:#5f1727;text-shadow:0 1px 0 #fff8f8;box-shadow:0 7px 0 #8f3146,0 12px 22px #7a243840,inset 0 2px 1px #fff,inset 0 -5px 8px #8a294044}
.hero .btn.outline:hover,
.hero .btn.outline:focus-visible{transform:translateY(-1px);background:linear-gradient(180deg,#fffafa 0%,#f5d2d7 48%,#dc91a0 100%);box-shadow:0 9px 0 #852a40,0 15px 27px #7a24384a,inset 0 2px 1px #fff,inset 0 -5px 8px #8a294040}
.hero .btn.outline:active{transform:translateY(1px);background:linear-gradient(180deg,#e2a1ad 0%,#f1c4cb 100%);box-shadow:0 2px 0 #762238,0 5px 13px #7a243838,inset 0 4px 7px #7a243833,inset 0 -1px 2px #fff9}

@media(max-width:700px){
  footer{background-position:center 45%}
  footer .logo span{font-size:18px}
  .siteCreator{font-size:11px}
}

/* Approved rose redesign details */
.heroMedia{height:auto;aspect-ratio:3/2;align-self:center;position:relative;border-radius:34px;overflow:hidden}
.heroMedia img{width:100%;height:100%;object-fit:cover;object-position:center;filter:none}
.isnadImageCaption{position:absolute;z-index:2;left:7%;top:16%;max-width:36%;margin:0;color:#7f2640;font:500 clamp(19px,2vw,30px)/1.16 Georgia,"Times New Roman",serif;letter-spacing:.01em;text-shadow:0 1px 0 rgba(255,255,255,.72)}
.isnadImageCaption:before{content:"";display:block;width:46px;height:1px;margin-bottom:13px;background:linear-gradient(90deg,#9f304d,#c8a05b)}

.light#about>.aboutTitle{max-width:980px;margin:0 0 42px;font-size:clamp(44px,5vw,68px)}
.light#about>.two{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,4vw,58px);align-items:stretch}
.light#about>.two>div:first-child{display:flex;min-width:0;flex-direction:column}
.light#about .aboutSupport{flex:1;margin-top:28px}
.light#about .aboutInfoCard{display:flex;min-width:0;height:100%;flex-direction:column;justify-content:center}
.light#about .directorQuote{font-size:clamp(21px,2vw,27px)}

.goldenPath{position:relative;isolation:isolate;padding:92px 8vw 100px;overflow:hidden;background:linear-gradient(145deg,#8f2940,#671b30);color:#fff;text-align:center}
.goldenPath:before{content:"";position:absolute;z-index:-1;width:520px;height:520px;right:-270px;top:-290px;border:1px solid #e5bd7066;border-radius:50%;box-shadow:0 0 0 38px #ffffff08,0 0 0 76px #e5bd7008}
.goldenPath .overline{display:flex;align-items:center;justify-content:center;color:#edc977}
.goldenPath>.overline:before{display:none}
.goldenPath h2{max-width:800px;margin:0 auto 18px;color:#fff;font-size:clamp(44px,5vw,68px)}
.goldenPathLead{max-width:650px;margin:0 auto;color:#efdde0;font-size:15px}
.goldenPathSteps{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px;max-width:1240px;margin:58px auto 0}
.goldenPathSteps:before{content:"";position:absolute;left:11%;right:11%;top:44px;height:2px;transform:translateY(-50%);background:linear-gradient(90deg,transparent,#e9c46a 8% 92%,transparent);box-shadow:0 0 14px #f1ca6e88}
.goldenStep{position:relative;z-index:1;padding:0 16px}
.goldenStep>span{width:88px;height:88px;display:grid;place-items:center;margin:0 auto 24px;border:1px solid #f2ce7d;border-radius:50%;background:linear-gradient(145deg,#fffaf1,#d8a743);color:#5d1a2d;box-shadow:0 0 0 8px #7b2237,0 14px 28px #3609135c,inset 0 2px 2px #fff;font:800 24px/1 "Cormorant Garamond","Noto Naskh Arabic",serif;transition:transform .2s ease,box-shadow .2s ease}
.goldenStep:hover>span{transform:translateY(-5px) scale(1.04);box-shadow:0 0 0 8px #7b2237,0 20px 36px #36091370,0 0 25px #f0c86988,inset 0 2px 2px #fff}
.goldenStep h3{margin:0 0 10px;color:#fff;font-size:29px}
.goldenStep p{margin:0;color:#ead7db;font-size:13px;line-height:1.55}

.btn,.btn.gold,.btn.outline,
.btn:hover,.btn:focus-visible,.btn.gold:hover,.btn.gold:focus-visible,.btn.outline:hover,.btn.outline:focus-visible{box-shadow:0 10px 22px #7a243833,inset 0 2px 1px #ffffffc7,inset 0 -3px 5px #7a243825}
.btn:hover,.btn:focus-visible,.btn.gold:hover,.btn.gold:focus-visible,.btn.outline:hover,.btn.outline:focus-visible{transform:translateY(-2px);box-shadow:0 14px 26px #7a243840,inset 0 2px 1px #ffffffd6,inset 0 -3px 5px #7a24382b}
.btn:active,.btn.gold:active,.btn.outline:active{transform:translateY(2px);box-shadow:0 4px 10px #7a24382e,inset 0 3px 5px #7a243833}
.hero .actions{display:grid;grid-template-columns:repeat(2,minmax(0,210px));gap:14px;align-items:stretch}
.hero .actions .btn{box-sizing:border-box;width:100%;min-width:0;height:52px;padding:0 20px;display:inline-flex;align-items:center;justify-content:center;line-height:1.15}

.backToTop{position:fixed;z-index:50;right:14px;bottom:14px;width:32px;height:32px;display:grid;place-items:center;border:1px solid rgba(127,38,64,.20);border-radius:50%;background:rgba(255,247,247,.62);color:rgba(127,38,64,.48);font:400 18px/1 Arial,sans-serif;box-shadow:0 4px 12px rgba(93,23,41,.08);backdrop-filter:blur(5px);transition:opacity .18s ease,transform .18s ease,color .18s ease,background .18s ease;opacity:.62}
.backToTop:hover,.backToTop:focus-visible{opacity:.92;color:#7f2640;background:rgba(255,247,247,.90);transform:translateY(-2px);box-shadow:0 6px 15px rgba(93,23,41,.12)}
.backToTop:active{transform:translateY(0);opacity:1}

@media(max-width:950px){
  .light#about>.two{grid-template-columns:1fr}
  .light#about .aboutInfoCard{height:auto}
  .goldenPathSteps{grid-template-columns:repeat(2,minmax(0,1fr));gap:44px 24px}
  .goldenPathSteps:before{display:none}
}
@media(max-width:700px){
  .heroMedia{height:auto;margin:0;aspect-ratio:3/2;border-radius:24px}
  .heroMedia img{object-fit:cover}
  .isnadImageCaption{left:6%;top:13%;max-width:39%;font-size:16px}
  .isnadImageCaption:before{width:34px;margin-bottom:9px}
  .light#about>.aboutTitle{font-size:clamp(38px,12vw,54px);margin-bottom:30px}
  .light#about .aboutInfoCard{padding:26px 22px}
  .goldenPath{padding:68px 20px 74px}
  .goldenPathSteps{grid-template-columns:1fr;gap:34px;margin-top:44px}
  .goldenStep{display:grid;grid-template-columns:76px 1fr;column-gap:18px;text-align:left}
  .goldenStep>span{width:72px;height:72px;grid-row:1/3;margin:0}
  .goldenStep h3{align-self:end;font-size:26px}
  .goldenStep p{align-self:start}
}
@media(max-width:480px){
  .hero .actions{grid-template-columns:1fr;width:100%}
  .hero .actions .btn{width:100%}
  .backToTop{right:10px;bottom:10px;width:30px;height:30px;font-size:17px}
}

/* Детский отдел: единая аккуратная 3D-кнопка без золотой полосы снизу. */
.subpageMain .childrenCopy>.btn{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:4px 0 0;
  padding:15px 24px;
  border:1px solid #76263a;
  border-radius:28px;
  background:linear-gradient(180deg,#cf7185 0%,#ae4159 50%,#7c263a 100%);
  color:#fffaf8;
  font-weight:800;
  text-shadow:0 1px 0 #4d1024;
  box-shadow:0 11px 24px #74283b3d,inset 0 2px 1px #f7c0ca,inset 0 -3px 5px #4d102440;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.subpageMain .childrenCopy>.btn:hover{
  transform:translateY(-2px);
  filter:saturate(1.04) brightness(1.04);
  box-shadow:0 14px 28px #74283b42,inset 0 2px 1px #f7c0ca,inset 0 -3px 5px #4d102440;
}
.subpageMain .childrenCopy>.btn:active{
  transform:translateY(1px);
  box-shadow:0 6px 14px #74283b34,inset 0 2px 4px #4d10243d;
}

/* Главный экран: обе 3D-кнопки имеют одинаковую высоту и глубину. */
.hero .actions .btn,
.hero .actions .btn.gold,
.hero .actions .btn.outline{
  align-self:stretch;
  min-height:52px;
  border-width:1px;
  box-shadow:0 10px 22px #7a24383d,inset 0 2px 1px #ffffffd6,inset 0 -4px 7px #7a243833;
}
.hero .actions .btn:hover,
.hero .actions .btn:focus-visible,
.hero .actions .btn.gold:hover,
.hero .actions .btn.gold:focus-visible,
.hero .actions .btn.outline:hover,
.hero .actions .btn.outline:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 14px 27px #7a243847,inset 0 2px 1px #ffffffdf,inset 0 -4px 7px #7a243838;
}
.hero .actions .btn:active,
.hero .actions .btn.gold:active,
.hero .actions .btn.outline:active{
  transform:translateY(1px);
  box-shadow:0 5px 12px #7a243833,inset 0 3px 5px #7a24383d;
}
