:root{
  --forest:#008050;
  --forest2:#004b32;
  --mint:#e6f5ed;
  --gold:#70b040;
  --sand:#f4faf6;
  --shadow:0 18px 50px rgba(0,128,80,.13);
}
.brand-logo{width:190px;height:64px;object-fit:contain;display:block}
.site-header .brand-logo{width:265px;height:78px;max-width:none}
.site-header .brand{gap:12px;min-width:270px}
.site-header.upgraded .nav{height:92px}
.site-header .brand.logo-only span{display:none}
.site-header .brand b{color:#073d2b}
.site-header .brand small{color:#5d7c6f}
.footer .brand-logo{width:130px;height:70px;filter:brightness(0) invert(1)}
.clean-nav a:hover,.clean-nav a.active{color:#008050}
.btn{background:#008050}
.btn:hover{background:#004b32}
.btn.gold{background:#70b040;color:#fff}
.utility-bar{background:#004b32}
.hero-slider{background:#003d2a}
.slide:after{background:linear-gradient(90deg,rgba(0,45,31,.94) 0%,rgba(0,70,45,.74) 42%,rgba(0,80,50,.12) 100%)}
.slide .eyebrow{color:#a7d86c}
.slider-dot.active{background:#70b040}
.about-hero,.zad-about-hero{background-image:url('images/zad-pics/about/zad-office.jpg')!important}
.zad-about-hero:before{background:linear-gradient(90deg,rgba(0,55,36,.94),rgba(0,75,50,.72) 52%,rgba(0,128,80,.16))}
.about-photo,.zad-photo-about-home{background:url('images/zad-pics/about/itqaan-al-quran.jpg') center/cover!important}
.zad-photo-approach{background:url('images/zad-pics/community/makumbusho-14595.jpg') center/cover!important}
.zad-about-stack{display:grid;grid-template-columns:1fr .72fr;gap:14px;padding:0 38px 45px 0}
.zad-about-stack img{height:520px}
.zad-about-stack img+img{height:360px;align-self:end}
.zad-folder-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.zad-folder-gallery figure{margin:0;position:relative;min-height:320px;border-radius:18px;overflow:hidden;background:#dce9e4}
.zad-folder-gallery img{width:100%;height:100%;object-fit:cover;display:block;transition:.35s}
.zad-folder-gallery figure:hover img{transform:scale(1.04)}
.zad-folder-gallery figcaption{position:absolute;inset:auto 0 0;padding:60px 18px 18px;color:#fff;background:linear-gradient(transparent,rgba(0,45,31,.92))}
.zad-folder-gallery b,.zad-folder-gallery span{display:block}
.zad-folder-gallery span{font-size:12px;color:#d8eee5}
.home-course-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:stretch}
.home-course-grid .course-card{height:100%;display:flex;flex-direction:column}
.home-course-grid .course-body{display:flex;flex:1;flex-direction:column}
.home-course-grid .course-foot{margin-top:auto}
.branding-settings{display:grid;grid-template-columns:220px 1fr 1fr;gap:16px;align-items:end;margin-bottom:26px}
.brand-preview{border:1px solid var(--line);border-radius:14px;padding:16px;background:#fff;display:grid;place-items:center;min-height:130px}
.brand-preview img{max-width:170px;max-height:78px;object-fit:contain}
.brand-preview small{color:var(--muted);font-weight:800;margin-top:8px}
.soft-head{margin-top:26px}
.soft-head h3{font-size:24px}
.utility-bar .container{display:flex;align-items:center;justify-content:space-between;gap:18px}
.header-socials{display:flex;align-items:center;gap:7px}
.header-socials a{width:28px;height:28px;border-radius:999px;display:grid;place-items:center;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);color:#fff;font-size:11px;font-weight:900;line-height:1}
.header-socials svg,.footer-socials svg,.mobile-socials svg{width:15px;height:15px;display:block;fill:currentColor}
.header-socials .social-facebook,.footer-socials .social-facebook span{background:#1877f2!important;color:#fff}
.header-socials .social-x,.footer-socials .social-x span{background:#111!important;color:#fff}
.header-socials .social-instagram,.footer-socials .social-instagram span{background:linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4)!important;color:#fff}
.header-socials .social-youtube,.footer-socials .social-youtube span{background:#ff0000!important;color:#fff}
.header-socials .social-tiktok,.footer-socials .social-tiktok span{background:#010101!important;color:#fff}
.header-socials .social-whatsapp,.footer-socials .social-whatsapp span,.header-socials .social-whatsapp-channel,.footer-socials .social-whatsapp-channel span{background:#25d366!important;color:#fff}
.header-socials a:hover{background:#70b040;color:#fff;transform:translateY(-1px)}
.mobile-socials{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px 0 4px}
.mobile-socials b{grid-column:1/-1;color:#008050;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.mobile-socials a{border:1px solid #dce8e2!important;border-radius:10px!important;padding:10px!important;text-align:center;background:#f7fbf9;color:#008050!important;font-weight:800;display:flex!important;align-items:center;justify-content:center;gap:8px}
.footer-cta-section{padding-bottom:0;background:#f8fbf9}
.refined-newsletter{margin-bottom:-55px;position:relative;z-index:2}
.modern-footer{padding-top:115px;background:radial-gradient(circle at 12% 0,rgba(112,176,64,.14),transparent 30%),linear-gradient(180deg,#07291f,#061a15)}
.footer-feature{display:grid;grid-template-columns:1fr 1.25fr;gap:38px;align-items:center;border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:34px;margin-bottom:34px}
.footer-feature p{max-width:620px;color:#d7e4df;margin:14px 0 0}
.footer-socials{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.footer-socials a{display:flex!important;align-items:center;gap:9px;margin:0!important;padding:12px 13px;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);color:#fff}
.footer-socials a:hover{background:#008050;border-color:#70b040;transform:translateY(-2px)}
.footer-socials span{width:28px;height:28px;border-radius:999px;background:#70b040;color:#fff;display:grid;place-items:center;font-weight:900}
.footer-socials b{font-size:12px}
.modern-footer .footer-grid{grid-template-columns:repeat(4,1fr);gap:34px}
.modern-footer h4{color:#fff;font-size:15px;text-transform:uppercase;letter-spacing:.08em}
.modern-footer .footer-grid a{color:#c7d6d1}
.modern-footer .footer-grid a:hover{color:#70b040}
.modern-footer .footer-grid p{color:#aec7be}
.modern-footer .copyright{display:flex;justify-content:space-between;gap:18px;color:#9fb8ae}
.zad-gallery-hero{background-image:url('images/zad-pics/first-page/zad-gathering-030a8429.jpg')!important}
.zad-gallery-page{background:#f8fbf9}
.zad-gallery-grid{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:110px;grid-auto-flow:dense;gap:16px;align-items:stretch}
.zad-gallery-item{grid-column:span 3;grid-row:span 3;border:0;border-radius:12px;padding:0;overflow:hidden;position:relative;background:#dce8e2;text-align:left;box-shadow:0 10px 26px rgba(0,75,50,.08)}
.zad-gallery-item.g0,.zad-gallery-item.g5{grid-column:span 6;grid-row:span 4}
.zad-gallery-item.g1,.zad-gallery-item.g4{grid-column:span 3;grid-row:span 4}
.zad-gallery-item.g2{grid-column:span 3;grid-row:span 3}
.zad-gallery-item.g3{grid-column:span 6;grid-row:span 3}
.zad-gallery-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .42s ease}
.zad-gallery-item:hover img{transform:scale(1.045)}
.zad-gallery-item>span{position:absolute;inset:auto 0 0;padding:72px 18px 18px;color:#fff;background:linear-gradient(transparent,rgba(0,45,31,.94));display:grid;grid-template-columns:1fr auto;gap:4px}
.zad-gallery-item small{grid-column:1/-1;color:#d8eee5;font-weight:900;letter-spacing:.08em;text-transform:uppercase;font-size:11px}
.zad-gallery-item b{font-size:16px;line-height:1.25}
.zad-gallery-item i{font-style:normal;align-self:end}
.gallery-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.gallery-admin-grid article{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.gallery-admin-grid img{width:100%;height:170px;object-fit:cover;display:block}.gallery-admin-grid article>div{padding:16px}.gallery-admin-grid h3{font-size:20px;margin:8px 0 3px}.gallery-admin-grid p{color:var(--muted);font-size:13px;min-height:38px}
@media(max-width:900px){
  .zad-folder-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .branding-settings{grid-template-columns:1fr}
  .brand-logo{width:160px;height:58px}.site-header .brand-logo{width:205px;height:64px}.site-header .brand{min-width:208px}.site-header.upgraded .nav{height:78px}.gallery-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .zad-gallery-grid{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:95px}
  .zad-gallery-item,.zad-gallery-item.g0,.zad-gallery-item.g1,.zad-gallery-item.g2,.zad-gallery-item.g3,.zad-gallery-item.g4,.zad-gallery-item.g5{grid-column:span 3;grid-row:span 3}
  .footer-feature{grid-template-columns:1fr}
  .footer-socials{grid-template-columns:repeat(3,minmax(0,1fr))}
  .modern-footer .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  .brand-logo{width:145px;height:52px}.site-header .brand-logo{width:175px;height:58px}
  .site-header .brand{min-width:178px}
  .site-header .brand span{display:none}
  .slide:after{background:linear-gradient(to bottom,rgba(0,55,36,.02) 0,rgba(0,70,45,.18) 34%,rgba(0,55,36,.95) 62%,#003d2a 100%)}
  .zad-about-stack{grid-template-columns:1fr;padding:0 20px 30px 0}
  .zad-about-stack img,.zad-about-stack img+img{height:330px}
  .zad-folder-gallery{grid-template-columns:1fr}
  .home-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
  .zad-folder-gallery figure{min-height:280px}
  .zad-gallery-grid{display:block!important}
  .gallery-admin-grid{grid-template-columns:1fr}
  .zad-gallery-item,.zad-gallery-item.g0,.zad-gallery-item.g1,.zad-gallery-item.g2,.zad-gallery-item.g3,.zad-gallery-item.g4,.zad-gallery-item.g5{display:block;width:100%;height:280px;margin-bottom:14px;border-radius:12px}
  .product{display:block!important;padding:24px 0!important;width:min(100% - 26px,1160px)!important}
  .product-image{min-height:260px!important;border-radius:20px!important;padding:24px!important;margin-bottom:22px}
  .product-image span{font-size:54px!important}
  .product-image h2{font-size:27px!important}
  .product h1{font-size:clamp(30px,9vw,38px)!important;line-height:1.12!important;word-break:normal;overflow-wrap:anywhere}
  .product>.buybox,.product .buybox{padding:18px!important;margin-top:18px!important;border-radius:16px}
  .product .meta{gap:8px!important}
  .product .meta span{display:inline-flex;align-items:center;background:#f3f8f5;border:1px solid #dce8e2;border-radius:999px;padding:6px 9px;font-size:12px}
  .product+.section{padding-top:40px!important}
  .product+.section .story{display:block!important}
  .product+.section .panel{margin-top:20px;overflow-x:auto}
  .product .btn,.buybox .btn{min-height:46px;width:100%}
  .utility-bar .container{justify-content:center}
  .header-socials{display:none}
  .refined-newsletter{margin-bottom:-35px}
  .modern-footer{padding-top:85px}
  .footer-feature{gap:22px}
  .footer-socials{grid-template-columns:1fr 1fr}
  .footer-socials a{padding:10px}
  .modern-footer .footer-grid{grid-template-columns:1fr}
  .modern-footer .copyright{display:block}
  .modern-footer .copyright span{display:block;margin:8px 0}
}

/* Global responsive hardening for the full ZAD system */
html,body{max-width:100%;overflow-x:hidden}
img,iframe,video,svg{max-width:100%}
.table-scroll,.panel,.settings-content,.admin-main{max-width:100%}
.panel table{min-width:720px}
.panel:has(table),.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(min-width:1500px){
  .container{width:min(1360px,calc(100% - 72px))}
  .section{padding:105px 0}
  .home-course-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .site-header.upgraded .nav{height:96px}
}

/* Subtle ZAD-mark texture for footer and breadcrumb areas only */
.modern-footer,.footer{position:relative;overflow:hidden;isolation:isolate}
.modern-footer:before,.footer:before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.13;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='210' height='120' viewBox='0 0 210 120'%3E%3Cpath d='M24 56C60 18 105 31 144 47C178 62 195 42 205 18' fill='none' stroke='%23ffffff' stroke-width='9' stroke-linecap='round' opacity='.7'/%3E%3Cpath d='M48 78C80 49 117 56 148 70C176 82 195 66 206 44' fill='none' stroke='%23f1c75f' stroke-width='6' stroke-linecap='round' opacity='.48'/%3E%3C/svg%3E");
  background-size:210px 120px;background-repeat:repeat;
}
.modern-footer>.container,.footer>.container{position:relative;z-index:1}
.crumb,.breadcrumb,.breadcrumbs{
  position:relative;isolation:isolate;overflow:hidden;border-radius:999px;
  display:inline-flex;align-items:center;gap:8px;padding:8px 14px;
  background:rgba(255,255,255,.1);backdrop-filter:blur(4px)
}
.crumb:before,.breadcrumb:before,.breadcrumbs:before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.22;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='42' viewBox='0 0 76 42'%3E%3Cpath d='M7 20C20 7 37 11 50 17C62 22 70 15 74 7' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M17 29C29 18 43 21 54 26C64 30 71 24 75 16' fill='none' stroke='%23f1c75f' stroke-width='2.4' stroke-linecap='round' opacity='.75'/%3E%3C/svg%3E");
  background-size:76px 42px;background-repeat:repeat;
}
@media(max-width:1180px){
  .clean-nav{gap:10px!important}
  .clean-nav a{padding:10px 12px!important;font-size:13px}
  .site-header .brand-logo{width:220px;height:68px}
  .site-header .brand{min-width:220px}
  .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-socials{grid-template-columns:repeat(3,minmax(0,1fr))}
  .modern-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:980px){
  .container{width:min(100% - 32px,1160px)}
  .hero-grid,.story,.product,.donation-layout,.story-approach-grid,.iqra-layout,.footer-feature{grid-template-columns:1fr!important}
  .section-head{align-items:flex-start;flex-direction:column}
  .filters{grid-template-columns:1fr 1fr!important}
  .program-directory-grid,.home-course-grid,.iqra-featured,.approach-picture-grid,.testimonial-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .newsletter{display:block}
  .newsletter form{min-width:0;margin-top:18px}
  .admin-layout{grid-template-columns:86px 1fr}
  .sidebar .brand b,.sidebar .brand small,.sidebar a span{display:none}
  .settings-shell{grid-template-columns:1fr!important}
  .settings-tabs{display:flex;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .settings-tabs a{min-width:210px}
  .editor-layout{grid-template-columns:1fr!important}
  .order-detail-grid{grid-template-columns:1fr!important}
  .dashboard-charts{grid-template-columns:1fr 1fr!important}
}
@media(max-width:760px){
  .utility-bar .container{flex-wrap:wrap;justify-content:center;text-align:center}
  .site-header.upgraded .nav{height:74px}
  .site-header .brand-logo{width:178px;height:58px}
  .site-header .brand{min-width:178px}
  .nav-actions .account-pill b{display:none}
  .nav-actions{gap:7px}
  .donation-link{padding:10px 12px}
  h1{font-size:clamp(36px,11vw,48px)}
  h2{font-size:clamp(30px,8vw,40px)}
  .hero-actions,.newsletter form,.actions{flex-direction:column}
  .btn,.newsletter .btn{width:100%}
  .filters{grid-template-columns:1fr!important}
  .form-grid,.backup-grid,.version-card{grid-template-columns:1fr!important}
  .grid-3,.grid-4,.program-directory-grid,.home-course-grid,.iqra-featured,.approach-picture-grid,.testimonial-page-grid,.footer-socials,.modern-footer .footer-grid{grid-template-columns:1fr!important}
  .home-course-grid{gap:14px!important}
  .program-directory-card,.course-card,.feature,.post,.panel{border-radius:16px}
  .donation-contact-grid{grid-template-columns:1fr!important}
  .donation-card-main,.donation-side-panel{padding:22px!important}
  .home-impact-return .impact-grid{grid-template-columns:1fr!important}
  .home-impact-return .impact-main,.home-impact-return .impact-side{padding:24px!important;min-height:285px!important}
  .zad-gallery-grid{display:block!important}
  .zad-gallery-item{display:block!important;width:100%!important;height:270px!important;margin:0 0 14px!important}
  .admin-layout{display:block}
  .admin-main{padding:18px!important;padding-top:64px!important}
  .sidebar{position:fixed!important;inset:0 auto 0 0;width:270px!important;height:100vh!important;z-index:100;transform:translateX(-105%);transition:.25s;padding-top:66px!important}
  .sidebar.open{transform:none}
  .sidebar .brand,.sidebar a span{display:initial}
  .admin-top{display:block}
  .dashboard-welcome{display:block!important}
  .dashboard-welcome form{margin:18px 0!important}
  .dashboard-alerts{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}
  .dashboard-charts{grid-template-columns:1fr!important}
  .content-filters{grid-template-columns:1fr!important}
  .order-grid,.ecommerce-order-grid{grid-template-columns:1fr!important}
}
@media(max-width:430px){
  .container{width:min(100% - 24px,1160px)}
  .utility-contact{display:grid;gap:3px}
  .site-header .brand-logo{width:154px;height:52px}
  .site-header .brand{min-width:154px}
  .donation-link{font-size:12px;padding:9px 10px}
  .mobile-toggle{width:40px;height:40px}
  .section{padding:52px 0}
  .stats .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .stats b{font-size:29px}
  .product-image{min-height:230px!important}
  .program-directory-image{height:105px!important}
  .program-directory-card h3{font-size:18px!important}
  .footer-socials a{font-size:12px}
}

/* Footer and contact polish */
.modern-footer .footer-feature{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:28px!important}
.modern-footer .footer-feature>div:first-child{display:flex;align-items:center;gap:22px;min-width:0;flex:1}
.modern-footer .footer-feature .footer-logo{width:132px!important;height:58px!important;object-fit:contain}
.modern-footer .footer-feature p{margin:0!important;max-width:560px;font-size:14px;line-height:1.65}
.modern-footer .footer-socials{display:flex!important;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:nowrap}
.modern-footer .footer-socials a{padding:8px 10px!important;border-radius:12px;gap:7px;min-width:auto}
.modern-footer .footer-socials span{width:22px!important;height:22px!important}
.modern-footer .footer-socials svg{width:12px!important;height:12px!important}
.modern-footer .footer-socials b{font-size:11px}
.zad-map-embed{width:100%;height:290px;border:0;display:block;background:#dbe9e4}
.contact-detail-list{display:grid;gap:8px;margin:18px 0}
.contact-detail-list p{display:flex;justify-content:space-between;gap:18px;margin:0;padding:9px 0;border-bottom:1px solid var(--line)}
.contact-detail-list b{color:var(--forest)}
.hours-table td:last-child{text-align:right;font-weight:800;color:var(--forest)}
@media(max-width:980px){.modern-footer .footer-feature{display:grid!important}.modern-footer .footer-feature>div:first-child{align-items:flex-start}.modern-footer .footer-socials{justify-content:flex-start;flex-wrap:wrap}}
@media(max-width:600px){.modern-footer .footer-feature>div:first-child{display:grid}.modern-footer .footer-socials a{flex:1 1 calc(50% - 8px)}}

/* Footer: About summary replaces old Links column */
.modern-footer{padding-top:88px!important}
.modern-footer .footer-feature{display:none!important}
.modern-footer .footer-grid{display:grid!important;grid-template-columns:minmax(300px,1.35fr) repeat(3,minmax(170px,.75fr))!important;gap:38px!important;align-items:start}
.footer-about-column{max-width:430px}
.footer-about-logo{display:inline-flex!important;margin:0 0 18px!important}
.footer-about-column .footer-logo{width:150px!important;height:62px!important;object-fit:contain;filter:brightness(0) invert(1) saturate(.25)}
.footer-about-column h4{margin-top:0!important}
.footer-about-column p{color:#d7e4df!important;font-size:14px!important;line-height:1.72!important;margin:0 0 18px!important}
.modern-footer .compact-footer-socials{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;justify-content:flex-start!important;gap:10px!important;margin-top:16px}
.modern-footer .compact-footer-socials a{min-height:46px!important;width:auto!important;height:auto!important;padding:10px 12px!important;border-radius:14px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.15)!important;color:#fff!important}
.modern-footer .compact-footer-socials span{width:26px!important;height:26px!important;flex:0 0 26px!important}
.modern-footer .compact-footer-socials svg{width:14px!important;height:14px!important}
.modern-footer .compact-footer-socials b{position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;white-space:normal!important;font-size:12px!important;line-height:1.15!important}
.contact-social-panel{margin-top:28px;background:linear-gradient(135deg,#053a2c,#075f43);border-radius:24px;padding:28px;color:#fff;box-shadow:0 18px 45px rgba(0,61,42,.16);position:relative;overflow:hidden}
.contact-social-panel:before{content:"";position:absolute;inset:0;opacity:.16;background:radial-gradient(circle at 22px 22px,rgba(255,255,255,.45) 2px,transparent 3px),linear-gradient(45deg,transparent 46%,rgba(255,255,255,.13) 48%,rgba(255,255,255,.13) 52%,transparent 54%);background-size:56px 56px;pointer-events:none}
.contact-social-panel>*{position:relative}
.contact-social-panel .eyebrow,.contact-social-panel h3{color:#fff}
.contact-social-panel p{color:#d7eee6;margin:8px 0 18px}
.contact-social-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.contact-social-buttons a{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:16px;padding:14px;color:#fff;text-decoration:none;transition:.2s}
.contact-social-buttons a:hover{transform:translateY(-2px);background:rgba(255,255,255,.16)}
.contact-social-buttons span{width:36px;height:36px;border-radius:999px;display:grid;place-items:center;flex:0 0 36px}
.contact-social-buttons svg{width:18px;height:18px;fill:currentColor}
.contact-social-buttons b{display:block;font-size:14px}
.contact-social-buttons small{display:block;color:#d6e9e2;font-weight:700;font-size:11px;margin-top:2px}
@media(max-width:980px){.modern-footer .footer-grid{grid-template-columns:1fr 1fr!important}.footer-about-column{max-width:none}}
@media(max-width:600px){.modern-footer{padding-top:70px!important}.modern-footer .footer-grid{grid-template-columns:1fr!important}.modern-footer .compact-footer-socials,.contact-social-buttons{grid-template-columns:1fr!important}}

/* Social icon sizing repair */
.contact-social-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.contact-social-buttons a{display:grid!important;grid-template-columns:38px 1fr!important;align-items:center!important;column-gap:12px!important;min-height:62px!important;padding:12px 14px!important;border-radius:16px!important;overflow:hidden!important}
.contact-social-buttons a>span{width:38px!important;height:38px!important;max-width:38px!important;max-height:38px!important;border-radius:999px!important;display:grid!important;place-items:center!important;overflow:hidden!important;grid-row:1 / span 2!important}
.contact-social-buttons a svg{width:18px!important;height:18px!important;max-width:18px!important;max-height:18px!important;display:block!important;fill:currentColor!important;transform:none!important}
.contact-social-buttons a b{font-size:14px!important;line-height:1.15!important;margin:0!important}
.contact-social-buttons a small{font-size:11px!important;line-height:1.2!important;margin:2px 0 0!important}
.modern-footer .compact-footer-socials{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
.modern-footer .compact-footer-socials a{width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border-radius:999px!important;display:grid!important;place-items:center!important;gap:0!important;min-width:0!important}
.modern-footer .compact-footer-socials a>span{width:24px!important;height:24px!important;max-width:24px!important;max-height:24px!important;display:grid!important;place-items:center!important;overflow:hidden!important}
.modern-footer .compact-footer-socials svg{width:13px!important;height:13px!important;max-width:13px!important;max-height:13px!important;display:block!important;fill:currentColor!important}
.modern-footer .compact-footer-socials b{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
@media(max-width:600px){.contact-social-buttons{grid-template-columns:1fr!important}}

/* v1.5.45 Arabic/navigation duplicate guard */
.site-header .mobile-nav{
  display:none!important;
}
.site-header .mobile-nav.open{
  display:flex!important;
  flex-direction:column!important;
}
@media(min-width:901px){
  .site-header .mobile-toggle,
  .site-header .mobile-nav{
    display:none!important;
  }
}
@media(max-width:900px){
  .site-header .nav-links.clean-nav{
    display:none!important;
  }
  .site-header .mobile-toggle{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
}

/* v1.5.36 smart floating Google Translate */
.zad-translate-float{
  position:fixed!important;
  right:16px!important;
  bottom:16px!important;
  z-index:90!important;
  display:grid!important;
  justify-items:end!important;
  gap:8px!important;
  pointer-events:none!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
.zad-translate-toggle{
  pointer-events:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-width:40px!important;
  height:36px!important;
  padding:0 11px!important;
  border:1px solid rgba(255,255,255,.22)!important;
  border-radius:999px!important;
  background:rgba(5,82,61,.93)!important;
  color:#fff!important;
  box-shadow:0 12px 30px rgba(1,35,25,.18)!important;
  cursor:pointer!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
  backdrop-filter:blur(12px)!important;
}
.zad-translate-toggle:hover,
.zad-translate-float.open .zad-translate-toggle{
  background:rgba(0,114,79,.96)!important;
  transform:translateY(-1px)!important;
}
.zad-translate-toggle span{
  display:inline-block!important;
  max-width:74px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
.zad-translate-panel{
  pointer-events:auto!important;
  display:none!important;
  width:min(270px,calc(100vw - 32px))!important;
  padding:12px!important;
  border:1px solid rgba(4,76,55,.18)!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 20px 48px rgba(2,37,28,.22)!important;
}
.zad-translate-float.open .zad-translate-panel{display:block!important}
.zad-translate-panel small{
  display:block!important;
  margin-top:7px!important;
  color:#5d746d!important;
  font-size:11px!important;
  font-weight:800!important;
}
.zad-translate-panel select{
  max-width:100%!important;
  min-height:34px!important;
  border-radius:10px!important;
  border:1px solid #d8e7e0!important;
  color:#063d30!important;
}
.zad-translate-panel .goog-te-gadget{
  color:transparent!important;
  font-size:0!important;
  line-height:1!important;
}
.zad-translate-panel .goog-te-gadget span,
.zad-translate-panel .goog-logo-link{
  display:none!important;
}
body>.skiptranslate{display:none!important}
body{top:0!important}
@media(max-width:600px){
  .zad-translate-float{
    right:11px!important;
    bottom:11px!important;
  }
  .zad-translate-toggle{
    width:38px!important;
    height:38px!important;
    padding:0!important;
    font-size:15px!important;
  }
  .zad-translate-toggle span{display:none!important}
  .zad-translate-panel{
    width:min(245px,calc(100vw - 22px))!important;
    padding:10px!important;
  }
}

/* v1.5.32 newsletter/footer spacing: compact CTA, no overlap */
.footer-cta-section{
  padding:42px 0 34px!important;
  background:#f8fbf9!important;
}
.refined-newsletter{
  margin-bottom:0!important;
  padding:30px 42px!important;
  border-radius:22px!important;
  min-height:0!important;
  align-items:center!important;
}
.refined-newsletter h3{
  font-size:clamp(24px,2.4vw,32px)!important;
  line-height:1.12!important;
  margin:.3em 0!important;
}
.refined-newsletter p{
  font-size:15px!important;
  line-height:1.55!important;
  max-width:610px!important;
  margin:0!important;
}
.refined-newsletter form{
  min-width:min(420px,100%)!important;
}
.refined-newsletter .input{
  min-height:48px!important;
  padding:11px 15px!important;
}
.refined-newsletter .btn{
  min-height:48px!important;
  padding:10px 18px!important;
}
.modern-footer{
  padding-top:42px!important;
}
@media(max-width:760px){
  .footer-cta-section{
    padding:30px 0 22px!important;
  }
  .refined-newsletter{
    padding:22px!important;
    border-radius:18px!important;
  }
  .refined-newsletter h3{
    font-size:24px!important;
  }
  .refined-newsletter p{
    font-size:14px!important;
  }
  .refined-newsletter form{
    display:grid!important;
    gap:10px!important;
    margin-top:16px!important;
  }
}

/* v1.5.33 hard separation between newsletter CTA and footer */
.footer-cta-section{
  padding:38px 0 58px!important;
  position:relative!important;
  z-index:1!important;
}
.refined-newsletter{
  position:static!important;
  z-index:auto!important;
  margin:0 auto!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
  max-width:1120px!important;
}
.modern-footer{
  margin-top:0!important;
  clear:both!important;
}
@media(max-width:760px){
  .footer-cta-section{
    padding:26px 0 36px!important;
  }
}

/* v1.5.35 replace repeated ZAD-logo background patterns with real ZAD photography */
.page-hero{
  background-image:
    linear-gradient(90deg,rgba(3,45,33,.94),rgba(3,83,61,.74) 52%,rgba(3,45,33,.42)),
    url('images/zad-pics/hero/zad-graduation-certificates-bg.jpg')!important;
  background-size:cover!important;
  background-position:center 42%!important;
  background-repeat:no-repeat!important;
}
.page-hero:after,
.inner-hero:before{
  display:none!important;
  background-image:none!important;
}
.page-hero .container,
.inner-hero .container{
  position:relative!important;
  z-index:1!important;
}
.modern-footer:before,
.footer:before{
  display:none!important;
  background-image:none!important;
}

/* v1.5.35 staff/admin profile manager and donation transaction controls */
.staff-management-grid{
  display:grid;
  grid-template-columns:minmax(280px,.72fr) minmax(260px,.72fr) minmax(0,1.25fr);
  gap:18px;
  align-items:start;
}
.staff-create-card form,
.staff-profile-form,
.password-reset-form{
  display:grid;
  gap:12px;
}
.staff-list{
  display:grid;
  gap:9px;
  max-height:650px;
  overflow:auto;
}
.staff-list a{
  display:grid;
  grid-template-columns:46px 1fr;
  gap:9px 12px;
  align-items:center;
  border:1px solid #dce8e2;
  border-radius:14px;
  padding:12px;
  background:#fff;
}
.staff-list a.active,
.staff-list a:hover{
  border-color:#0d7358;
  background:#edf8f3;
}
.staff-list span,
.staff-profile-head>span{
  width:46px;
  height:46px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#075f49;
  color:#fff;
  font-weight:900;
}
.staff-list b,
.staff-list small{
  grid-column:2;
  display:block;
}
.staff-list small{
  color:#6b7b75;
  font-size:11px;
}
.staff-profile-head{
  display:flex;
  align-items:center;
  gap:16px;
  border-bottom:1px solid #dce8e2;
  padding-bottom:16px;
  margin-bottom:18px;
}
.staff-profile-head h3{
  margin:2px 0;
}
.staff-profile-head p{
  margin:0;
  color:#60746b;
}
.staff-profile-actions{
  display:grid;
  grid-template-columns:1fr auto;
  gap:14px;
  align-items:end;
  border-top:1px solid #dce8e2;
  margin-top:18px;
  padding-top:16px;
}
.staff-danger{
  background:#9b1c1c!important;
  color:#fff!important;
}
.staff-danger:hover{
  background:#7f1414!important;
}
.donation-card-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:14px 0;
}
.donation-payment-history article{
  grid-template-columns:35px minmax(0,1fr) auto auto!important;
}
.transaction-actions{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  justify-content:flex-end;
}
.transaction-actions .btn{
  padding:7px 10px;
  font-size:11px;
  min-height:34px;
}
@media(max-width:1180px){
  .staff-management-grid{
    grid-template-columns:1fr 1fr;
  }
  .staff-profile-panel{
    grid-column:1/-1;
  }
}
@media(max-width:720px){
  .staff-management-grid,
  .staff-profile-actions{
    grid-template-columns:1fr;
  }
  .donation-payment-history article{
    grid-template-columns:35px 1fr!important;
  }
  .donation-payment-history article strong,
  .transaction-actions{
    grid-column:1/-1;
    justify-content:flex-start;
  }
}

/* v1.5.31 keep footer social links as round icon buttons */
.modern-footer .compact-footer-socials{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:8px!important;
}
.modern-footer .compact-footer-socials a{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  max-width:34px!important;
  max-height:34px!important;
  padding:0!important;
  border-radius:999px!important;
  display:grid!important;
  place-items:center!important;
}
.modern-footer .compact-footer-socials a>span{
  width:22px!important;
  height:22px!important;
  max-width:22px!important;
  max-height:22px!important;
  display:grid!important;
  place-items:center!important;
}
.modern-footer .compact-footer-socials svg{
  width:13px!important;
  height:13px!important;
}
.modern-footer .compact-footer-socials b{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  white-space:nowrap!important;
}
@media(max-width:760px){
  .modern-footer .compact-footer-socials a{
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    min-height:32px!important;
  }
}

/* Use the full ZAD logo as the repeated background pattern */
.modern-footer:before,.footer:before{
  opacity:.075!important;
  background-image:url('images/zad-pics/logo/zad-foundation-logo.png')!important;
  background-size:255px auto!important;
  background-repeat:repeat!important;
  background-position:center!important;
  filter:grayscale(1) brightness(2.1);
}
.crumb:before,.breadcrumb:before,.breadcrumbs:before{
  opacity:.14!important;
  background-image:url('images/zad-pics/logo/zad-foundation-logo.png')!important;
  background-size:118px auto!important;
  background-repeat:repeat!important;
  background-position:center!important;
  filter:grayscale(1) brightness(2.15);
}

/* Compact footer: logo + socials only in first column */
.modern-footer{
  padding-top:46px!important;
  padding-bottom:16px!important;
}
.modern-footer .footer-grid{
  grid-template-columns:minmax(230px,.9fr) repeat(3,minmax(165px,.75fr))!important;
  gap:26px!important;
}
.modern-footer .footer-about-column h4,
.modern-footer .footer-about-column p{
  display:none!important;
}
.modern-footer .footer-about-logo{
  margin-bottom:10px!important;
}
.modern-footer .footer-about-column .footer-logo{
  width:132px!important;
  height:auto!important;
  max-height:58px!important;
}
.modern-footer .compact-footer-socials{
  margin-top:10px!important;
  gap:7px!important;
}
.modern-footer .copyright{
  margin-top:22px!important;
  padding-top:14px!important;
  font-size:12px!important;
}
.modern-footer .footer-grid a,
.modern-footer .footer-grid p{
  margin:5px 0!important;
}
.modern-footer h4{
  margin:0 0 10px!important;
}
@media(max-width:980px){
  .modern-footer{padding-top:36px!important}
  .modern-footer .footer-grid{grid-template-columns:1fr 1fr!important;gap:22px!important}
}
@media(max-width:600px){
  .modern-footer{padding-top:32px!important;padding-bottom:12px!important}
  .modern-footer .footer-grid{grid-template-columns:1fr!important;gap:18px!important}
  .modern-footer .copyright{margin-top:16px!important}
}

/* v1.5.31 mobile footer: hide secondary link/contact columns on small devices */
@media(max-width:760px){
  .modern-footer .footer-grid{
    display:block!important;
  }
  .modern-footer .footer-grid>div:not(.footer-about-column){
    display:none!important;
  }
  .modern-footer .footer-about-column{
    display:grid!important;
    justify-items:flex-start!important;
    gap:8px!important;
  }
  .modern-footer .compact-footer-socials{
    margin-top:4px!important;
  }
  .modern-footer .copyright{
    display:block!important;
    margin-top:14px!important;
    padding-top:12px!important;
    text-align:left!important;
  }
  .modern-footer .copyright span:not(:first-child),
  .modern-footer .copyright a{
    display:none!important;
  }
}

/* v1.5.26 white footer social icons */
.modern-footer .compact-footer-socials a{
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.2)!important;
  color:#fff!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)!important
}
.modern-footer .compact-footer-socials a:hover{
  background:rgba(255,255,255,.16)!important;
  border-color:rgba(255,255,255,.38)!important;
  transform:translateY(-2px)!important
}
.modern-footer .compact-footer-socials a>span,
.modern-footer .compact-footer-socials .social-facebook span,
.modern-footer .compact-footer-socials .social-x span,
.modern-footer .compact-footer-socials .social-instagram span,
.modern-footer .compact-footer-socials .social-youtube span,
.modern-footer .compact-footer-socials .social-tiktok span,
.modern-footer .compact-footer-socials .social-whatsapp span,
.modern-footer .compact-footer-socials .social-whatsapp-channel span{
  background:transparent!important;
  color:#fff!important;
  border:0!important
}
.modern-footer .compact-footer-socials svg{
  color:#fff!important;
  fill:#fff!important;
  opacity:.96!important
}

/* Compact contact social pills */
.contact-social-panel{padding:28px!important}
.contact-social-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.contact-social-buttons a{
  display:flex!important;align-items:center!important;gap:10px!important;
  min-height:46px!important;padding:9px 14px!important;border-radius:14px!important;
  background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.22)!important;
  color:#fff!important;overflow:hidden!important
}
.contact-social-buttons a>span{
  width:26px!important;height:26px!important;max-width:26px!important;max-height:26px!important;
  border-radius:999px!important;display:grid!important;place-items:center!important;
  flex:0 0 26px!important;grid-row:auto!important
}
.contact-social-buttons a svg{width:13px!important;height:13px!important;max-width:13px!important;max-height:13px!important}
.contact-social-buttons a b{font-size:12px!important;line-height:1.15!important;margin:0!important;font-weight:900!important}
.contact-social-buttons a small{display:none!important}
.contact-social-buttons .social-whatsapp-channel{grid-column:span 1!important}
@media(max-width:600px){.contact-social-buttons{grid-template-columns:1fr!important}}
