.sprite{position:absolute}
:root{
  --leaf:#3f7d0e; --leaf-dark:#2b5a08; --lime:#a9d22a; --mist:#f3f8e8;
  --ink:#1d2a12; --muted:#52604a; --orange:#e8821e; --white:#fff;
  --display:'Bricolage Grotesque',Impact,'Arial Black',sans-serif;
  --body:'Figtree',system-ui,-apple-system,'Segoe UI',sans-serif;
}
*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth}
body{font-family:var(--body);color:var(--ink);line-height:1.6;font-size:1.05rem;background:var(--white)}
a{color:inherit}
:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.wrap{max-width:1100px;margin:0 auto;padding:0 1.25rem}
h1,h2,h3{font-family:var(--display);line-height:1.05;font-weight:800}

/* header */
header{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.95);backdrop-filter:blur(6px);border-bottom:1px solid #dfe8cf}
.nav{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 0}
.brand{font-family:var(--display);font-weight:800;font-size:1.2rem;color:var(--leaf-dark);text-decoration:none}
.nav nav{display:flex;gap:1.25rem;align-items:center}
.nav nav a{text-decoration:none;font-weight:500}
.nav nav a:hover{color:var(--leaf)}
.btn{display:inline-block;padding:.8rem 1.4rem;border-radius:999px;font-weight:600;text-decoration:none;border:2px solid transparent;cursor:pointer;font:inherit;font-weight:600}
.btn-primary{background:var(--orange);color:#fff}
.btn-primary:hover{background:#cf6f12}
.btn-ghost{border-color:var(--leaf);color:var(--leaf-dark)}
.btn-ghost:hover{background:var(--mist)}
.nav .btn{padding:.5rem 1.1rem}

/* hero */
.hero{background:linear-gradient(120deg,var(--leaf-dark),var(--leaf) 60%,#5a9a14);color:#fff;padding:4.5rem 0 5rem;overflow:hidden}
.hero .wrap{display:grid;gap:2rem}
.hero h1{font-size:clamp(3.2rem,12vw,8.5rem);letter-spacing:-.02em;text-transform:uppercase}
.hero h1 span{display:block}
.hero h1 .big{color:var(--lime);font-size:1.35em}
.hero p.lead{font-size:1.25rem;max-width:34rem;color:#eaf5d6}
.hero .actions{display:flex;flex-wrap:wrap;gap:.75rem}
.hero .btn-ghost{border-color:#fff;color:#fff}
.hero .btn-ghost:hover{background:rgba(255,255,255,.14)}
.badges{display:flex;flex-wrap:wrap;gap:.6rem;list-style:none;padding:0}
.badges li{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.35);padding:.35rem .9rem;border-radius:999px;font-weight:600;font-size:.95rem}

section{padding:4.5rem 0}
.section-head{max-width:40rem;margin-bottom:2.2rem}
.section-head h2{font-size:clamp(2rem,5vw,3rem);color:var(--leaf-dark);margin-bottom:.6rem}
.section-head p{color:var(--muted)}

/* services */
.services{display:grid;gap:1.25rem;grid-template-columns:1fr}
@media(min-width:620px){.services{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1000px){.services{grid-template-columns:repeat(4,1fr);gap:1rem}.service{padding:1.4rem}.service h3{font-size:1.3rem}.service p{font-size:.98rem}}
.video-section{background:#fff}
.video-section .section-head{text-align:center;margin-left:auto;margin-right:auto}
.video{max-width:340px;margin:0 auto;aspect-ratio:9/16;border-radius:22px;overflow:hidden;border:6px solid var(--lime);box-shadow:0 0 0 6px var(--mist);background:#000}
.video iframe{width:100%;height:100%;border:0;display:block}
.video-link{text-align:center;margin-top:1.25rem;font-size:.95rem;color:var(--muted)}
.video-link a{color:var(--leaf-dark);font-weight:600}
.service{background:var(--mist);border-radius:22px 22px 22px 4px;padding:1.75rem;border-top:6px solid var(--lime)}
.service h3{font-size:1.5rem;color:var(--leaf-dark);margin-bottom:.5rem}
.service p{color:var(--muted)}
.service svg{width:44px;height:44px;margin-bottom:1rem;stroke:var(--leaf);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* about halal */
.halal{background:var(--ink);color:#e9f0dd}
.halal .grid{display:grid;gap:2.5rem;grid-template-columns:1fr}
.halal h2{font-size:clamp(2rem,5vw,3rem);color:var(--lime);margin-bottom:1rem}
.halal p+p{margin-top:1rem}
.halal ul{list-style:none;padding:0;display:grid;gap:1rem;align-content:start}
.halal li{padding-left:1.6rem;position:relative}
.halal li::before{content:"";position:absolute;left:0;top:.6em;width:.7rem;height:.7rem;background:var(--lime);border-radius:50%}
.halal li strong{display:block;color:#fff}

/* officer */
.officer .grid{display:grid;gap:2.5rem;align-items:center;grid-template-columns:1fr}
.portrait{width:min(300px,70vw);aspect-ratio:1;border-radius:50%;overflow:hidden;border:8px solid var(--lime);box-shadow:0 0 0 8px var(--mist);margin:0 auto}
.portrait img{width:100%;height:100%;object-fit:cover;object-position:center top}
.officer h2{font-size:clamp(2rem,5vw,3rem);color:var(--leaf-dark)}
.officer .role{color:var(--leaf);font-weight:600;margin:.4rem 0 1rem}
.officer .links{margin-top:1.25rem;display:grid;gap:.4rem;font-weight:600}
.officer .links a{text-decoration:none;color:var(--leaf-dark)}
.officer .links a:hover{text-decoration:underline}

/* contact */
.contact{background:var(--mist)}
.contact .grid{display:grid;gap:2.5rem;grid-template-columns:1fr}
.contact-card{background:var(--leaf-dark);color:#fff;padding:2rem;border-radius:22px}
.contact-card h3{font-size:1.6rem;margin-bottom:1rem;color:var(--lime)}
.contact-card p{margin-bottom:.9rem}
.contact-card a{font-weight:600;text-decoration:none;font-size:1.15rem}
.contact-card a:hover{text-decoration:underline}
.contact-card .hours{color:#d3e8b0;font-size:.98rem}
form{display:grid;gap:1rem}
label{display:grid;gap:.3rem;font-weight:600;font-size:.95rem}
input,select,textarea{font:inherit;padding:.75rem .9rem;border:2px solid #cfdcb9;border-radius:12px;background:#fff;color:var(--ink)}
input:focus,select:focus,textarea:focus{border-color:var(--leaf);outline:none;box-shadow:0 0 0 3px rgba(169,210,42,.4)}
.two{display:grid;gap:1rem;grid-template-columns:1fr}
.hidden{display:none}

/* footer */
footer{background:#14200c;color:#b9c7a8;padding:2.5rem 0;font-size:.9rem}
footer .row{display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:space-between}
footer strong{color:#fff}
footer .disclaimer{margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid #2c3c20;max-width:60rem}

footer .contact-line{line-height:1.7}
.partners{background:#fff;color:#1d2a12;border-radius:18px;padding:1.5rem 1.75rem;margin-top:1.5rem;display:grid;gap:1.5rem;align-items:center;justify-items:center;text-align:center}
.partners img{max-width:100%;height:auto;display:block}
.partners .logo-ijara{width:230px}
.partners .logo-reg{width:150px}
.partners .powered{color:#1d2a12;font-size:.95rem;line-height:1.5}
.partners .powered .pb{font-size:1.2rem;font-weight:600;margin-bottom:.35rem}
:root{--tile-light:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.16' stroke-width='1.3'%3E%3Crect x='16' y='16' width='48' height='48'/%3E%3Crect x='16' y='16' width='48' height='48' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='9'/%3E%3Ccircle cx='0' cy='0' r='7'/%3E%3Ccircle cx='80' cy='0' r='7'/%3E%3Ccircle cx='0' cy='80' r='7'/%3E%3Ccircle cx='80' cy='80' r='7'/%3E%3C/g%3E%3C/svg%3E");--tile-dark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%233f7d0e' stroke-opacity='.35' stroke-width='1.3'%3E%3Crect x='16' y='16' width='48' height='48'/%3E%3Crect x='16' y='16' width='48' height='48' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='9'/%3E%3Ccircle cx='0' cy='0' r='7'/%3E%3Ccircle cx='80' cy='0' r='7'/%3E%3Ccircle cx='0' cy='80' r='7'/%3E%3Ccircle cx='80' cy='80' r='7'/%3E%3C/g%3E%3C/svg%3E")}
.hero{position:relative}
.hero::before,.halal::before{content:"";position:absolute;inset:0;background-image:var(--tile-light);background-size:80px;pointer-events:none}
.hero::before{-webkit-mask-image:linear-gradient(100deg,transparent 30%,#000);mask-image:linear-gradient(100deg,transparent 30%,#000)}
.halal{position:relative}
.hero .wrap,.halal .wrap{position:relative}
.halal-badge{width:96px;height:121px;color:#fff;display:block}
.hero .halal-badge{color:#fff}
.band{height:34px;background-color:var(--mist);background-image:var(--tile-dark);background-size:34px;background-position:center}
.band.dark{background-color:var(--leaf-dark);background-image:var(--tile-light)}
.privacy-note{font-size:.88rem;color:var(--muted)}
.halal .halal-badge{margin-bottom:1.2rem}
.langbar{background:var(--leaf-dark);color:#fff;font-size:.9rem}
.langbar .wrap{display:flex;align-items:center;justify-content:flex-end;gap:.7rem;padding-top:.35rem;padding-bottom:.35rem}
.langbar svg{width:18px;height:18px;stroke:var(--lime);fill:none;stroke-width:2}
.hint-bn{display:none}
html[lang=bn] .hint-en{display:none}html[lang=bn] .hint-bn{display:inline}
.seg{display:inline-flex;background:rgba(255,255,255,.16);border-radius:999px;padding:3px}
.seg button{font:inherit;font-weight:600;border:0;background:none;color:#fff;padding:.3rem .95rem;border-radius:999px;cursor:pointer}
.seg button[aria-pressed=true]{background:var(--lime);color:var(--ink)}
@media(max-width:480px){.hint{display:none!important}.langbar .wrap{justify-content:center}}
:lang(bn){font-family:'Noto Sans Bengali',var(--body)}
html[lang=bn]{--body:'Noto Sans Bengali',system-ui,sans-serif;--display:'Noto Sans Bengali',system-ui,sans-serif}
html[lang=bn] body{line-height:1.8}
html[lang=bn] h1,html[lang=bn] h2,html[lang=bn] h3{line-height:1.3}
html[lang=bn] .hero h1{font-size:clamp(2.8rem,10vw,6.5rem);text-transform:none;letter-spacing:0;line-height:1.25}
html[lang=bn] .program .req{text-transform:none;letter-spacing:0}
.loans{background:var(--mist)}
.programs{display:grid;gap:1.25rem;grid-template-columns:1fr}
@media(min-width:700px){.programs{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1000px){.programs{grid-template-columns:repeat(3,1fr)}}
.program{background:#fff;border-radius:22px 22px 22px 4px;padding:1.5rem;border-top:6px solid var(--lime)}
.program .num{font-family:var(--display);font-weight:800;font-size:2.6rem;color:var(--lime);line-height:1}
.program h3{font-size:1.45rem;color:var(--leaf-dark);margin:.3rem 0 .2rem}
.program .req{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:.8rem}
.program dl{display:grid;gap:.6rem;margin:0}
.program dl>div{background:var(--mist);border-radius:12px;padding:.55rem .85rem}
.program dt{font-weight:600;color:var(--leaf-dark);font-size:.9rem}
.program dd{margin:0}
.loan-note{margin-top:1.5rem;color:var(--muted);font-size:.95rem}
.loan-cta{margin-top:1rem}
.ijara-card{align-self:start;background:rgba(255,255,255,.08);border:1px solid rgba(169,210,42,.45);border-radius:22px;padding:1.75rem}
.ijara-card h3{color:#fff;font-size:1.5rem;margin-bottom:1rem}
.ijara-card .btn{font-size:.95rem;overflow-wrap:anywhere}
.videos{display:grid;gap:2rem;grid-template-columns:1fr;justify-items:center}
.vitem{width:100%;max-width:340px}
@media(min-width:700px){.videos{grid-template-columns:repeat(2,minmax(0,340px));justify-content:center;gap:2.5rem}}
section[id]{scroll-margin-top:40px}
@media(min-width:760px){.hero .halal-badge{position:absolute;right:1.25rem;top:0;width:140px;height:176px}}
@media(min-width:760px){.partners{grid-template-columns:auto 1fr auto;text-align:center}}
@media(min-width:760px){
  .halal .grid{grid-template-columns:1.1fr 1fr}
  .officer .grid{grid-template-columns:320px 1fr}
  .contact .grid{grid-template-columns:1fr 1.2fr}
  .two{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
.brand{display:none}
.nav{padding:.3rem 0}
.nav nav{width:100%;overflow-x:auto;white-space:nowrap;gap:.35rem;padding-right:3rem;scrollbar-width:none;-webkit-overflow-scrolling:touch;-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}
.nav nav::-webkit-scrollbar{display:none}
.nav nav a{flex:none;padding:.6rem .8rem}
.nav .btn{padding:.6rem 1.1rem}
.seg button{padding:.45rem 1.1rem}
.ijara-card .btn{display:block;text-align:center;border-radius:18px}
}
/* hero note, purchase questions, square video (carried over) */
.hero .hero-note{max-width:34rem;margin-top:-1rem;font-size:1.05rem;font-weight:600;color:#fff;background:rgba(0,0,0,.18);border-left:4px solid var(--lime);padding:.6rem .9rem;border-radius:6px;line-height:1.6}
.video.square{aspect-ratio:1/1}
.purchase-fields{display:none;gap:1rem;border:2px solid #cfdcb9;border-radius:16px;padding:1.1rem 1rem 1.2rem;margin:0;background:#f7fbef}
form:has(select[name="interest"] option[value="Home purchase"]:checked) .purchase-fields{display:grid}
.purchase-fields legend{font-weight:700;padding:0 .4rem}
.purchase-fields .help{margin:0;font-size:.92rem;color:var(--muted)}
.choice{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;border:0;padding:0;margin:0}
.choice legend{font-weight:600;font-size:.95rem;padding:0;margin-bottom:.35rem}
.choice label{display:flex;align-items:center;gap:.4rem;font-weight:500}
.choice input{width:1.1rem;height:1.1rem;padding:0;accent-color:var(--leaf)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
