/* Mouamah unified overrides — loaded after the exported Next.js CSS */
html,body,button,input,textarea,select{font-family:Segoe UI,Tahoma,Arial,sans-serif}
@media(max-width:680px){html,body,button,input,textarea,select{font-family:Tahoma,Arial,sans-serif}}

/* Header: Mouamah + Algerian Made, kept in the same grid cell */
.topbar-inner{grid-template-columns:270px 1fr 210px;gap:24px}
.brand{width:258px;gap:14px;overflow:visible;display:flex;align-items:center}
.brand>img.brand-main-logo,.brand>img:first-child{width:166px!important;height:72px!important;object-fit:contain!important;object-position:right center!important;flex:0 0 166px}
.header-made-mark{width:78px;height:44px;border:1px solid rgba(7,7,7,.10);border-radius:11px;background:#fff;display:flex;align-items:center;justify-content:center;padding:5px 6px;box-shadow:0 8px 24px rgba(7,7,7,.06);flex:0 0 78px}
.header-made-mark img{width:100%!important;height:100%!important;object-fit:contain!important}
.topbar:not(.scrolled) .header-made-mark{border-color:rgba(255,255,255,.28);box-shadow:0 8px 24px rgba(0,0,0,.12)}
.desktop-nav{gap:clamp(18px,1.7vw,32px)}
@media(max-width:1100px) and (min-width:961px){.topbar-inner{grid-template-columns:244px 1fr 185px;gap:16px}.brand{width:232px;gap:10px}.brand>img.brand-main-logo,.brand>img:first-child{width:150px!important;flex-basis:150px}.header-made-mark{width:70px;height:40px;flex-basis:70px}.desktop-nav{gap:16px}.desktop-nav a{font-size:12px}.header-cta{padding-inline:17px}}
@media(max-width:960px){.topbar-inner{grid-template-columns:235px 1fr}.brand{width:225px}.brand>img.brand-main-logo,.brand>img:first-child{width:145px!important;flex-basis:145px}.header-made-mark{width:68px;height:38px;flex-basis:68px}}
@media(max-width:480px){.topbar-inner{grid-template-columns:205px 1fr;width:min(calc(100% - 28px),var(--max))}.brand{width:198px;gap:7px}.brand>img.brand-main-logo,.brand>img:first-child{width:128px!important;height:62px!important;flex-basis:128px}.header-made-mark{width:62px;height:34px;flex-basis:62px;padding:4px}}

/* Purpose / vision & mission — complete visual rebuild without changing content */
#purpose.purpose-section{background:linear-gradient(180deg,#fff 0%,#f7f7f5 100%);overflow:hidden}
#purpose .purpose-grid{grid-template-columns:1fr;gap:54px}
#purpose .purpose-heading{position:relative;top:auto;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.7fr);gap:clamp(40px,7vw,110px);align-items:end;padding-bottom:12px}
#purpose .purpose-heading:before{content:"لماذا موائمة";position:absolute;top:-30px;right:0;color:var(--purple);font-size:11px;font-weight:800;letter-spacing:.12em}
#purpose .purpose-heading h2{font-size:clamp(3.6rem,6.6vw,7.2rem);line-height:.96;margin:0;letter-spacing:-.05em;max-width:900px}
#purpose .purpose-heading>p:last-child{max-width:620px;font-size:17px;line-height:1.95;padding-bottom:8px}
#purpose .purpose-statements{border:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;position:relative}
#purpose .purpose-card{display:flex;flex-direction:column;justify-content:flex-start;min-height:390px;padding:42px 42px 38px;border:1px solid var(--line);border-radius:28px;position:relative;overflow:hidden;box-shadow:0 20px 60px rgba(22,8,55,.055)}
#purpose .purpose-card:before{display:inline-flex;width:max-content;align-items:center;justify-content:center;border-radius:999px;padding:8px 14px;margin-bottom:68px;font-size:12px;font-weight:800;letter-spacing:.03em;position:relative;z-index:2}
#purpose .purpose-card:after{position:absolute;left:28px;top:4px;font-size:clamp(7rem,12vw,13rem);font-weight:800;letter-spacing:-.08em;line-height:1;color:rgba(82,13,242,.055);pointer-events:none}
#purpose .purpose-card:first-child{background:var(--purple-dark);border-color:transparent;color:#fff}
#purpose .purpose-card:first-child:before{content:"الرؤية";background:#fff;color:var(--purple-dark)}
#purpose .purpose-card:first-child:after{content:"01";color:rgba(255,255,255,.07)}
#purpose .purpose-card:nth-child(2){background:#fff}
#purpose .purpose-card:nth-child(2):before{content:"الرسالة";background:var(--purple-soft);color:var(--purple)}
#purpose .purpose-card:nth-child(2):after{content:"02"}
#purpose .purpose-card h3{position:relative;z-index:2;margin:0 0 28px;font-size:clamp(2.25rem,3.15vw,3.85rem);line-height:1.15;letter-spacing:-.035em;font-weight:600;max-width:720px}
#purpose .purpose-card p{position:relative;z-index:2;grid-column:auto;margin:auto 0 0;font-size:16px;line-height:2;max-width:720px;color:var(--muted)}
#purpose .purpose-card:first-child p{color:rgba(255,255,255,.72)}
#purpose .legacy-national-panel{margin-top:0;min-height:390px;border-radius:28px;box-shadow:0 28px 80px rgba(35,12,90,.13)}
#purpose .legacy-national-mark{min-height:390px}
#purpose .legacy-national-copy h3{font-size:clamp(2.6rem,4.5vw,5.2rem)}
@media(max-width:960px){#purpose .purpose-heading{grid-template-columns:1fr;gap:24px}#purpose .purpose-statements{grid-template-columns:1fr 1fr}#purpose .purpose-card{min-height:360px;padding:34px}#purpose .purpose-card:before{margin-bottom:50px}}
@media(max-width:680px){#purpose .purpose-grid{gap:36px}#purpose .purpose-heading{padding-top:20px}#purpose .purpose-heading:before{top:-8px}#purpose .purpose-heading h2{font-size:clamp(3rem,13vw,4.6rem);line-height:1.06}#purpose .purpose-heading>p:last-child{font-size:15px}#purpose .purpose-statements{grid-template-columns:1fr;gap:14px}#purpose .purpose-card{min-height:auto;border-radius:22px;padding:28px 24px 30px}#purpose .purpose-card:before{margin-bottom:46px}#purpose .purpose-card h3{font-size:clamp(2rem,9vw,2.8rem);line-height:1.22}#purpose .purpose-card p{font-size:15px;line-height:1.9}#purpose .purpose-card:after{left:16px;font-size:8rem}#purpose .legacy-national-panel{border-radius:22px}}

/* Added institutional marks, same footer component everywhere */
.footer-certification-marks{display:inline-flex;align-items:center;gap:10px;flex:0 0 auto}
.footer-certification-marks img{display:block;object-fit:contain;width:auto;height:auto;max-height:39px}
.footer-certification-marks .cert-tech-footer{max-width:108px;max-height:43px}
.footer-certification-marks .cert-made-footer{max-width:112px;max-height:38px}
@media(max-width:680px){.Footer-module__5K0E9a__institutionalMarks{flex-wrap:wrap;justify-content:flex-start!important}.footer-certification-marks{width:100%;gap:16px}.footer-certification-marks .cert-tech-footer{max-width:104px}.footer-certification-marks .cert-made-footer{max-width:108px}}
