@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --green: #4f8f2f;
  --lime: #b7cf3a;
  --ink: #141414;
  --muted: #4f4f4f;
  --bg: #fdfcf8;
  --container: 1120px;
  --line: rgba(20,20,20,.1);
}

*{
  box-sizing: border-box;
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

.container{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn--primary{
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0,0,0,.15);
}
.btn--primary:hover{
  transform: translateY(-1px);
}
.btn--ghost{
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn--ghost.dark{
  border-color: rgba(20,20,20,.2);
  color: var(--ink);
}
.btn--block{
  width: 100%;
}

/* Topbar */
.topbar{
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(0,0,0,.1);
  position: sticky;
  top: 0;
  z-index: 60;
}
.topbar__inner{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto 44px;
  align-items: center;
  gap: 16px;
  height: 86px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__logo{
  height: 44px;
}
.nav{
  display: flex;
  justify-content: center;
  gap: 16px;
}
.nav__link{
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  opacity: .8;
  transition: background .2s ease, color .2s ease;
}
.nav__link:hover,
.nav__link.is-active{
  background: rgba(79,143,47,.1);
  color: var(--green);
  opacity: 1;
}
.nav__actions{
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.burger{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  background: #f4f4f4;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.burger span{
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}
.mobilemenu{
  display: none;
  padding: 18px 24px 24px;
  background: rgba(0,0,0,.04);
}
.mobilemenu__link{
  display: block;
  padding: 12px 10px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  margin-bottom: 6px;
}
.mobilemenu__link:hover,
.mobilemenu__link:focus{
  background: rgba(0,0,0,.1);
}
.mobilemenu__cta{ margin-top: 12px; }
body.menu-open .mobilemenu{ display: block; }

.hero{
  padding: 72px 0 48px;
}
.hero__card{
  background: #fff;
  border-radius: 28px;
  padding: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}
.hero__content{
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero__title{
  margin: 0;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  color: var(--green);
}
.hero__subtitle{
  margin: 0;
  font-size: clamp(16px, 2vw, 22px);
  color: #222;
  font-weight: 600;
}
.hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__quote{
  margin: 0;
  color: #3a3a3a;
  font-weight: 600;
  font-size: 16px;
}
.hero__meta{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.hero__media{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__media .hero__solo{
  width: clamp(360px, 45vw, 520px);
  max-width: 100%;
  border-radius: 20px;
  display: block;
}
.hero__tabs{
  margin-top: 24px;
  background: #111;
  border-radius: 28px;
  padding: 12px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__tab{
  padding: 10px 24px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.hero__tab.is-active{
  background: #fff;
  color: #111;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.05);
}

.meta__item{
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.meta__icon{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  display: grid;
  place-items: center;
  background: rgba(79,143,47,.08);
  color: var(--green);
}
.meta__icon svg{
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
}
.meta__text{
  text-align: left;
}
.meta__num{
  font-weight: 900;
  font-size: 18px;
  color: var(--green);
}
.meta__lbl{
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.strip{
  margin-top: 16px;
  background: var(--green);
  color: #fff;
}
.strip__inner{
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.strip__item{
  display: flex;
  justify-content: center;
}
.strip__text{
  font-weight: 800;
  letter-spacing: .6px;
  font-size: 12px;
  text-transform: uppercase;
}
.strip__spark{
  opacity: .9;
  font-weight: 900;
}

.mosque-logos{
  padding: 60px 0;
}
.mosque__grid{
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.mosque__card{
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 10px 10px rgba(0,0,0,.05);
  text-align: center;
  min-height: 110px;
}
.mosque__card img{
  max-width: 80px;
  height: auto;
}
.mosque__card span{
  font-weight: 800;
  color: var(--ink);
  font-size: 14px;
}

.blueprint{
  background: var(--green);
  color: #fff;
  padding: 64px 0;
}
.blueprint__inner{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}
.blueprint__title{
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
}
.blueprint__text{
  margin: 12px 0 0;
  color: rgba(255,255,255,.95);
  line-height: 1.7;
}
.blueprint__media img{
  width: 100%;
  max-width: 520px;
}

@media (max-width: 960px){
  .mosque__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px){
  .mosque__grid{
    grid-template-columns: 1fr;
  }
}

.content{
  padding: 48px 0 64px;
}
.content__inner{
  text-align: center;
}
.content__title{
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.1;
  font-weight: 900;
}
.content__text{
  margin: 0 auto;
  max-width: 980px;
  font-size: clamp(18px, 1.9vw, 20px);
}
.content__text--secondary{
  margin-top: 16px;
  color: var(--muted);
  font-weight: 700;
}

.feature{
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.feature__card{
  padding: 18px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 24px rgba(0,0,0,.05);
  text-align: left;
}
.feature__icon{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(183,207,58,.2);
  display: grid;
  justify-content: center;
  align-items: center;
  font-weight: 900;
  margin-bottom: 10px;
}
.feature__title{
  font-weight: 900;
  margin-bottom: 6px;
}
.feature__desc{
  color: var(--muted);
  font-weight: 600;
  line-height: 1.6;
}

.vision{
  background: linear-gradient(135deg, #f4e39d, #f3c02a);
  color: #1a1a1a;
  padding: 72px 0;
}
.vision__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: flex-start;
}
.vision__label{
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #9a2a00;
  margin-bottom: 12px;
}
.vision__title{
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 900;
  line-height: 1.15;
  margin: 0;
}
.vision__title span{
  color: #b30000;
}
.vision__note{
  margin-top: 24px;
  font-weight: 700;
  max-width: 520px;
  line-height: 1.5;
}
.vision__right{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mission__card{
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mission__card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.mission__icon{
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.08);
  color: var(--green);
}
.mission__icon svg{
  width: 30px;
  height: 30px;
  stroke: currentColor;
}
.mission__icon--tech{
  color: #1666b0;
}
.mission__icon--community{
  color: #0f5b30;
}
.mission__title{
  margin: 0 0 6px;
  font-weight: 900;
  letter-spacing: .2px;
  color: #165c20;
}
.mission__desc{
  margin: 0;
  color: rgba(0,0,0,.72);
  font-weight: 700;
  line-height: 1.5;
}

.section{
  padding: 58px 0;
}
.section--soft{
  background: #f6f6f2;
}
.section__head{
  text-align: center;
  margin-bottom: 24px;
}
.section__title{
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 6px;
}
.section__sub{
  margin: 0 auto;
  max-width: 700px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.5;
}

.cards{
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}
.card__badge{
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  color: var(--green);
  border: 1px solid rgba(79,143,47,.3);
  margin-bottom: 12px;
}
.card__badge--lime{
  border-color: rgba(183,207,58,.3);
  color: #5d6d12;
}
.card__badge--dark{
  border-color: rgba(0,0,0,.2);
  color: #111;
}
.card__title{
  font-size: 20px;
  margin: 12px 0 6px;
  font-weight: 900;
}
.card__desc{
  margin: 0 0 10px;
  color: var(--muted);
}
.card__list{
  margin: 0;
  padding-left: 18px;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 600;
}
.card__cta{
  display: inline-block;
  margin-top: 10px;
  font-weight: 900;
  color: var(--green);
  text-decoration: none;
}
.card__cta:hover{
  text-decoration: underline;
}

.impact{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}
.stats{
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
}
.stat{
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  text-align: center;
}
.stat__icon{
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.1);
  display: grid;
  place-items: center;
  color: var(--green);
  background: rgba(79,143,47,.08);
}
.stat__num{
  font-weight: 900;
  font-size: 22px;
  color: var(--green);
}
.stat__lbl{
  font-weight: 700;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
}
.panel{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  margin-bottom: 14px;
}
.panel__title{
  margin: 0 0 6px;
  font-weight: 900;
}
.panel__desc{
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 600;
}
.panel__row{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(79,143,47,.2);
  color: var(--green);
  font-weight: 800;
  font-size: 12px;
}

.cta{
  background: linear-gradient(180deg, #fff, #f3f8df);
  padding: 60px 0;
}
.cta__inner{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: center;
}
.cta__title{
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  color: var(--green);
}
.cta__desc{
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.donate{
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,.08);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.field{
  margin-bottom: 14px;
}
.field__label{
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}
.field__input{
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.15);
  font-weight: 600;
  font-family: inherit;
}
.field__input:focus{
  border-color: rgba(79,143,47,.6);
  box-shadow: 0 0 0 3px rgba(79,143,47,.2);
  outline: none;
}
.field__hint{
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(0,0,0,.6);
}
.donate__note{
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

.footer{
  background: #0f1a0a;
  color: #e9f2e4;
}
.footer__grid{
  padding: 46px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.footer__logo{
  height: 32px;
  width: auto;
  margin-bottom: 10px;
}
.footer__desc{
  max-width: 360px;
  line-height: 1.6;
  font-weight: 600;
}
.footer__title{
  font-weight: 900;
  margin-bottom: 10px;
}
.footer__link{
  display: block;
  color: rgba(233,242,228,.8);
  text-decoration: none;
  margin-bottom: 6px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__col--contact .footer__link{
  color: rgba(255,255,255,.85);
}
.footer__address{
  color: rgba(233,242,228,.85);
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 12px;
}
.footer__link-icon{
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer__link-icon svg{
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: currentColor;
}
.footer__link:hover{
  color: #fff;
}
.footer__muted{
  display: block;
  margin-top: 8px;
  opacity: .8;
  font-weight: 600;
}
.footer__bottom{
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 14px 0;
}
.footer__bottomInner{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}
.footer__top{
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}
.footer__top:hover{
  text-decoration: underline;
}

@media (max-width: 980px){
  .topbar__inner{
    grid-template-columns: auto 1fr auto;
  }
  .nav, .nav__actions{
    display: none;
  }
  .burger{
    display: flex;
  }
  .hero__card{
    padding: 28px;
  }
  .hero__tabs{
    flex-direction: column;
    align-items: stretch;
  }
  .hero__tab{
    width: 100%;
    text-align: center;
  }
  .strip__inner{
    grid-template-columns: repeat(5, minmax(80px, 1fr));
  }
}

@media (max-width: 520px){
  .topbar__inner{
    grid-template-columns: 1fr 48px;
  }
  .hero{
    padding: 36px 0 24px;
  }
  .hero__card{
    padding: 24px;
  }
  .hero__tabs{
    gap: 8px;
  }
  .hero__tab{
    padding: 8px 16px;
  }
  .strip__inner{
    grid-template-columns: repeat(5, minmax(60px, 1fr));
    gap: 4px;
  }
  .strip__text{
    font-size: 11px;
  }
  .feature, .cards, .stats, .impact{
    grid-template-columns: 1fr;
  }
  .vision__grid, .cta__inner{
    grid-template-columns: 1fr;
  }
  .footer__bottomInner{
    flex-direction: column;
    align-items: flex-start;
  }
}
