:root {
  --ink: #10291f;
  --green: #0d5b3c;
  --green-deep: #073b2a;
  --gold: #c49a3a;
  --cream: #f6f2e8;
  --paper: #fffdf8;
  --muted: #627069;
  --line: #dfe5dd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { background: white; left: 16px; padding: 10px 14px; position: fixed; top: -80px; z-index: 100; }
.skip-link:focus { top: 12px; }

.site-header {
  align-items: center; backdrop-filter: blur(16px); background: rgba(255,253,248,.95);
  border-bottom: 1px solid rgba(13,91,60,.12); display: grid; grid-template-columns: auto 1fr auto;
  min-height: 78px; padding: 0 5vw; position: sticky; top: 0; z-index: 30;
}
.brand { align-items: center; display: flex; gap: 12px; }
.logo-wrap { align-items: center; background: white; border: 1px solid #dce5df; border-radius: 10px; display: flex; height: 50px; justify-content: center; overflow: hidden; padding: 3px; width: 56px; }
.logo-wrap img, .footer-logo img { height: 100%; object-fit: contain; width: 100%; }
.brand strong { display: block; font-size: 16px; letter-spacing: .16em; }
.brand small { color: var(--muted); display: block; font-size: 11px; margin-top: 3px; }
.site-navigation { display: flex; gap: 27px; justify-self: center; }
.site-navigation a { color: #40554b; font-size: 14px; font-weight: 700; }
.site-navigation a:hover, .site-navigation a:focus { color: var(--green); }
.menu-button { display: none; }
.language-switcher { background: #edf2ec; border-radius: 999px; display: flex; padding: 4px; }
.language-switcher button { background: transparent; border: 0; border-radius: 999px; color: #496057; cursor: pointer; font-size: 12px; font-weight: 800; min-width: 34px; padding: 7px 9px; }
.language-switcher button.active { background: var(--green); color: white; }

.hero { background: var(--green-deep); color: white; display: grid; grid-template-columns: 1.08fr .92fr; min-height: 640px; overflow: hidden; padding: 88px 7vw 70px; position: relative; }
.hero::before { background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size: 36px 36px; content: ""; inset: 0; position: absolute; }
.hero-copy { align-self: center; max-width: 760px; position: relative; z-index: 2; }
.eyebrow { color: #e1c77b; font-size: 12px; font-weight: 800; letter-spacing: .2em; margin: 0 0 22px; text-transform: uppercase; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem,6vw,5.8rem); font-weight: 500; letter-spacing: -.045em; line-height: .98; margin: 0; }
.hero-intro { color: #d9e6df; font-size: 18px; line-height: 1.75; margin: 30px 0 0; max-width: 650px; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { border-radius: 8px; display: inline-flex; font-size: 14px; font-weight: 800; justify-content: center; padding: 15px 22px; }
.button.primary { background: var(--gold); color: #1d2b24; }
.button.secondary { border: 1px solid rgba(255,255,255,.36); color: white; }
.hero-emblem { align-items: center; display: flex; justify-content: center; min-height: 430px; position: relative; z-index: 2; }
.emblem-disc { align-items: center; background: white; border: 12px solid rgba(196,154,58,.55); border-radius: 50%; box-shadow: 0 30px 80px rgba(0,0,0,.25); display: flex; height: min(30vw,390px); justify-content: center; overflow: hidden; padding: 34px; width: min(30vw,390px); }
.emblem-disc img { height: 100%; object-fit: contain; width: 100%; }
.crescent { color: #e0bd62; font-size: 72px; position: absolute; right: 4%; top: 4%; }

.section { padding: 88px 7vw; scroll-margin-top: 74px; }
.prayer-section { background: var(--cream); }
.section-heading { max-width: 740px; }
.section-kicker { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem,4vw,3.7rem); font-weight: 500; letter-spacing: -.035em; margin: 8px 0 16px; }
.section-heading > p:last-child { color: var(--muted); font-size: 16px; line-height: 1.75; }
.prayer-grid { display: grid; gap: 12px; grid-template-columns: repeat(6,1fr); margin-top: 42px; }
.prayer-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; min-height: 126px; padding: 22px 18px; }
.prayer-card span { color: var(--muted); display: block; font-size: 13px; }
.prayer-card strong { color: var(--green); display: block; font-size: 20px; line-height: 1.25; margin-top: 15px; }
.prayer-card small { color: #7a6b49; display: block; font-size: 10px; line-height: 1.45; margin-top: 8px; }
.jummah-card { align-items: center; background: var(--green); border-radius: 12px; color: white; display: flex; grid-column: 1/-1; justify-content: space-between; padding: 23px 25px; }
.jummah-card span { display: block; font-size: 17px; font-weight: 800; }
.jummah-card small { color: #cfe0d7; display: block; margin-top: 8px; }
.jummah-card strong { color: #f2d889; font-size: 16px; }

.announcements-section { background: var(--paper); }
.notice-card { align-items: center; border: 1px solid var(--line); border-radius: 14px; display: flex; gap: 20px; margin-top: 38px; max-width: 850px; padding: 26px; }
.notice-icon { align-items: center; background: var(--cream); border: 1px solid #e8ddc4; border-radius: 50%; color: var(--gold); display: flex; flex: 0 0 52px; font-size: 34px; height: 52px; justify-content: center; }
h3 { margin: 0; }
.notice-card h3 { font-size: 17px; }
.notice-card p { color: var(--muted); line-height: 1.65; margin: 7px 0 0; }

.learning-section { background: var(--green-deep); color: white; }
.light-heading > p:last-child { color: #cbdcd3; }
.learning-grid { display: grid; gap: 16px; grid-template-columns: repeat(3,1fr); margin-top: 44px; }
.learning-card { border: 1px solid rgba(255,255,255,.14); border-radius: 14px; min-height: 230px; padding: 26px; }
.learning-card > span { color: var(--gold); font-family: Georgia,serif; font-size: 18px; }
.learning-card h3 { font-family: Georgia,serif; font-size: 26px; font-weight: 500; margin-top: 50px; }
.learning-card p { color: #b9cec3; font-size: 13px; line-height: 1.6; margin: 13px 0 0; }

.donate-section { align-items: center; background: #fbf8f0; display: grid; gap: 8vw; grid-template-columns: .9fr 1.1fr; }
.donate-copy > p:not(.section-kicker) { color: var(--muted); line-height: 1.75; max-width: 610px; }
.pending-pill { background: #efe7d3; border-radius: 6px; color: #715c28; display: inline-block; font-size: 12px; font-weight: 800; margin-top: 14px; padding: 10px 12px; }
.donation-list { display: grid; gap: 12px; }
.donation-list article { align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; display: flex; gap: 18px; padding: 20px; }
.donation-list article > span { align-items: center; background: var(--green); border-radius: 8px; color: white; display: flex; flex: 0 0 44px; font-size: 22px; height: 44px; justify-content: center; }
.donation-list h3 { font-size: 16px; }
.donation-list p { color: var(--muted); font-size: 12px; margin: 6px 0 0; }

.contact-section { background: var(--paper); }
.contact-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin-top: 38px; max-width: 900px; }
.contact-grid article { border-top: 2px solid var(--green); padding: 22px 0; }
.contact-grid small { color: var(--muted); display: block; font-size: 12px; margin-bottom: 10px; text-transform: uppercase; }
.contact-grid strong, .contact-link { font-size: 17px; font-weight: 800; }
.contact-link { color: var(--green); }
.call-button { background: var(--green); color: white; }
.whatsapp-button { background: #25d366; color: #073b2a; }

footer { align-items: center; background: #052f22; color: white; display: flex; justify-content: space-between; padding: 34px 7vw; }
.footer-brand { align-items: center; display: flex; gap: 14px; }
.footer-logo { align-items: center; background: white; border-radius: 8px; display: flex; height: 48px; justify-content: center; overflow: hidden; padding: 3px; width: 54px; }
.footer-brand strong { display: block; font-family: Georgia,serif; font-size: 17px; }
.footer-brand small { color: #abc5b8; display: block; font-size: 11px; margin-top: 5px; }
footer p { color: #abc5b8; font-size: 12px; }

[dir="rtl"] .hero, [dir="rtl"] .donate-section { direction: rtl; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto 1fr; }
  .menu-button { background: transparent; border: 1px solid var(--line); border-radius: 7px; display: block; justify-self: end; margin-right: 12px; padding: 8px 11px; }
  .site-navigation { background: var(--paper); border-bottom: 1px solid var(--line); display: none; flex-direction: column; gap: 0; left: 0; padding: 10px 5vw 18px; position: absolute; right: 0; top: 78px; }
  .site-navigation.open { display: flex; }
  .site-navigation a { padding: 12px 0; }
  .hero { grid-template-columns: 1fr; }
  .hero-emblem { min-height: 330px; }
  .emblem-disc { height: 300px; width: 300px; }
  .prayer-grid { grid-template-columns: repeat(3,1fr); }
  .donate-section { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .site-header { padding: 0 18px; }
  .brand strong { font-size: 13px; }
  .brand small { display: none; }
  .logo-wrap { height: 42px; width: 47px; }
  .language-switcher button { min-width: 30px; padding-inline: 7px; }
  .hero { min-height: auto; padding: 62px 22px 48px; }
  h1 { font-size: 3rem; }
  .hero-intro { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-emblem { min-height: 260px; }
  .emblem-disc { border-width: 8px; height: 230px; padding: 22px; width: 230px; }
  .section { padding: 66px 22px; }
  .prayer-grid { grid-template-columns: repeat(2,1fr); }
  .jummah-card { align-items: flex-start; flex-direction: column; gap: 14px; }
  .learning-grid, .contact-grid { grid-template-columns: 1fr; }
  .learning-card { min-height: 190px; }
  footer { align-items: flex-start; flex-direction: column; gap: 22px; }
}
