/* =========================================================
   Isiko Islamic Charity Organization (I.I.C.O) — Stylesheet
   Palette taken from the official logo
   ========================================================= */
:root {
  --green: #1a6b31;
  --green-dark: #0f4520;
  --green-deep: #0a2f16;
  --red: #b5121b;
  --red-dark: #8e0d14;
  --blue: #1c75bc;
  --blue-light: #4aa3e0;
  --gold: #f4c514;
  --gold-soft: #fbe7a1;
  --ivory: #fbf8f1;
  --sand: #f3ecdc;
  --ink: #1c2420;
  --muted: #5b665f;
  --line: #e4dccb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 47, 22, .10);
  --shadow-lg: 0 20px 50px rgba(10, 47, 22, .18);
  --max: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Playfair Display", Georgia, serif;
  --font-ar: "Amiri", "Traditional Arabic", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: var(--green-deep); }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.arabic { font-family: var(--font-ar); direction: rtl; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Islamic geometric pattern (8‑point star) */
.pattern {
  background-color: var(--green-deep);
  background-image: 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='%23f4c514' stroke-opacity='.13' stroke-width='1.2'%3E%3Cpath d='M40 6 L50 30 L74 40 L50 50 L40 74 L30 50 L6 40 L30 30 Z'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3Crect x='22' y='22' width='36' height='36'/%3E%3Ccircle cx='40' cy='40' r='8'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Top bar ---------- */
.topbar { background: var(--green-deep); color: #d9e6dc; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: var(--gold); }
.topbar .bism { font-family: var(--font-ar); font-size: 1.15rem; color: var(--gold); }
.topbar .info { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 5px; fill: currentColor; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--green) 0 25%, var(--gold) 25% 50%, var(--blue) 50% 75%, var(--red) 75% 100%) 1;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--green-deep); }
.brand img { width: 62px; height: 62px; object-fit: contain; border-radius: 50%; background: #fff; }
.brand .name { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; line-height: 1.15; }
.brand .name small { display: block; font-family: var(--font); font-weight: 600; font-size: .72rem; letter-spacing: .14em; color: var(--red); text-transform: uppercase; margin-top: 3px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a { display: block; padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.nav a:hover { background: var(--sand); color: var(--green); }
.nav a.active { color: var(--green); background: #e9f3ec; }
.nav a.btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--green-deep); border-radius: 2px; transition: .3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 50px; font-weight: 700; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
  font-family: var(--font);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-red { background: var(--red); color: #fff !important; }
.btn-red:hover { background: var(--red-dark); }
.btn-gold { background: var(--gold); color: var(--green-deep) !important; }
.btn-green { background: var(--green); color: #fff !important; }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { border-color: #fff; color: #fff !important; }
.btn-outline:hover { background: #fff; color: var(--green-deep) !important; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 780px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; transform: scale(1.06); }
.hero-slides img.show { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 47, 22, .93) 0%, rgba(10, 47, 22, .72) 45%, rgba(10, 47, 22, .25) 100%); }
.hero .container { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 80px; }
.hero-content { max-width: 680px; }
.hero .arabic { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--gold); margin-bottom: 10px; text-align: left; direction: rtl; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--gold); }
.hero p.lead { font-size: 1.15rem; color: #e6efe8; max-width: 580px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 3px; }
.hero .eyebrow { color: var(--gold); }
.hero-dots { position: absolute; z-index: 3; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.hero-dots button.on { background: var(--gold); border-color: var(--gold); }

/* ---------- Page banner (inner pages) ---------- */
.page-banner { position: relative; padding: 110px 0 90px; color: #fff; text-align: center; overflow: hidden; }
.page-banner .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 47, 22, .88), rgba(10, 47, 22, .78)); }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin-bottom: 10px; }
.page-banner p { color: #dce9df; max-width: 640px; margin: 0 auto; }
.crumbs { font-size: .88rem; margin-top: 16px; color: var(--gold-soft); }
.crumbs a { color: var(--gold); }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 3px; }
.section-head p { color: var(--muted); }
.bg-sand { background: var(--sand); }
.bg-white { background: #fff; }
.divider { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px auto 0; color: var(--gold); }
.divider::before, .divider::after { content: ""; height: 2px; width: 50px; background: linear-gradient(90deg, transparent, var(--gold)); }
.divider::after { transform: scaleX(-1); }
.divider svg { width: 18px; height: 18px; fill: var(--gold); }

/* ---------- Intro strip ---------- */
.pillars { margin-top: -70px; position: relative; z-index: 5; padding: 0; }
.pillars .grid { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.pillar { padding: 30px 26px; color: #fff; }
.pillar:nth-child(1) { background: var(--green); }
.pillar:nth-child(2) { background: var(--blue); }
.pillar:nth-child(3) { background: var(--red); }
.pillar:nth-child(4) { background: var(--gold); color: var(--green-deep); }
.pillar svg { width: 40px; height: 40px; fill: currentColor; margin-bottom: 12px; opacity: .95; }
.pillar h3 { color: inherit; font-size: 1.15rem; margin-bottom: 6px; }
.pillar p { margin: 0; font-size: .92rem; opacity: .92; }

/* ---------- Split / About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-img { position: relative; }
.split-img .main { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.split-img .float { position: absolute; width: 48%; right: -24px; bottom: -30px; border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; }
.split-img .badge { position: absolute; left: -18px; top: 30px; background: var(--red); color: #fff; padding: 16px 20px; border-radius: 12px; box-shadow: var(--shadow); font-weight: 700; line-height: 1.3; max-width: 200px; font-size: .92rem; }
.split-img .badge span { display: block; font-family: var(--font-ar); font-size: 1.3rem; color: var(--gold); }
.checklist { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before { content: ""; flex: 0 0 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ---------- Vision / Mission cards ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm-card { position: relative; background: #fff; border-radius: var(--radius); padding: 40px 36px; box-shadow: var(--shadow); border-top: 6px solid var(--green); overflow: hidden; }
.vm-card.mission { border-top-color: var(--red); }
.vm-card .icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: #e9f3ec; margin-bottom: 18px; }
.vm-card.mission .icon { background: #fbe9ea; }
.vm-card .icon svg { width: 34px; height: 34px; fill: var(--green); }
.vm-card.mission .icon svg { fill: var(--red); }
.vm-card p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.vm-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--gold); opacity: .12; }

/* ---------- Program cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .thumb img { transform: scale(1.07); }
.card .tag { position: absolute; left: 16px; bottom: 16px; background: var(--gold); color: var(--green-deep); font-weight: 700; font-size: .75rem; padding: 5px 12px; border-radius: 30px; letter-spacing: .05em; text-transform: uppercase; }
.card .body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card .body p { color: var(--muted); font-size: .96rem; flex: 1; }
.card .more { font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.card .more::after { content: "→"; transition: transform .2s; }
.card:hover .more::after { transform: translateX(4px); }

/* ---------- Icon service grid ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: .3s; }
.service:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-4px); }
.service .ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.service .ic svg { width: 28px; height: 28px; fill: #fff; }
.service:nth-child(4n+1) .ic { background: var(--green); }
.service:nth-child(4n+2) .ic { background: var(--blue); }
.service:nth-child(4n+3) .ic { background: var(--red); }
.service:nth-child(4n+4) .ic { background: var(--gold); }
.service:nth-child(4n+4) .ic svg { fill: var(--green-deep); }
.service h3 { font-size: 1.12rem; }
.service p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Program detail (programs page) ---------- */
.program { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: center; padding: 60px 0; border-bottom: 1px dashed var(--line); scroll-margin-top: 110px; }
.program:last-child { border-bottom: 0; }
.program:nth-child(even) .program-media { order: 2; }
.program-media { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 400px; }
.program-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; cursor: zoom-in; }
.program-media img:first-child { grid-row: span 2; }
.program-media.single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.program-media.single img:first-child { grid-row: auto; }
.program .num { font-family: var(--font-head); font-size: 3.4rem; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.program p { color: var(--muted); }
.program ul { color: var(--ink); }
.prog-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.prog-nav a { padding: 9px 18px; border-radius: 30px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .88rem; color: var(--green-deep); }
.prog-nav a:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* ---------- Quote band ---------- */
.quote-band { color: #fff; text-align: center; padding: 100px 0; }
.quote-band .arabic { font-size: clamp(1.7rem, 4vw, 2.7rem); color: var(--gold); line-height: 1.9; margin-bottom: 18px; direction: rtl; }
.quote-band blockquote { margin: 0 auto; max-width: 760px; font-family: var(--font-head); font-style: italic; font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: #f0f6f1; }
.quote-band cite { display: block; margin-top: 16px; font-style: normal; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filters button { font-family: var(--font); font-weight: 600; font-size: .9rem; padding: 10px 20px; border-radius: 30px; border: 1px solid var(--line); background: #fff; color: var(--green-deep); cursor: pointer; transition: .2s; }
.filters button:hover { border-color: var(--green); }
.filters button.active { background: var(--green); border-color: var(--green); color: #fff; }
.filters button .count { display: inline-block; margin-left: 6px; font-size: .75rem; opacity: .7; }
.masonry { columns: 4 260px; column-gap: 16px; }
.masonry figure { break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--sand); box-shadow: 0 4px 14px rgba(0, 0, 0, .06); }
.masonry figure img { width: 100%; height: auto; transition: transform .5s; }
.masonry figure:hover img { transform: scale(1.06); }
.masonry figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(10, 47, 22, .9)); color: #fff; font-size: .88rem; font-weight: 600; opacity: 0; transform: translateY(10px); transition: .3s; }
.masonry figure:hover figcaption, .masonry figure:focus-visible figcaption { opacity: 1; transform: none; }
.masonry figure.hide { display: none; }
.mini-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.mini-gallery a { aspect-ratio: 1; overflow: hidden; border-radius: 10px; display: block; }
.mini-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mini-gallery a:hover img { transform: scale(1.1); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(6, 22, 11, .95); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox .cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #e8f1ea; font-size: .95rem; padding: 0 20px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: var(--red); }
.lightbox .close { top: 18px; right: 18px; }
.lightbox .prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; padding: 70px 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; border: 40px solid rgba(244, 197, 20, .15); }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { margin: 0; color: #fde3e4; max-width: 620px; }

/* ---------- Donate / Involve ---------- */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.way { background: #fff; border-radius: var(--radius); padding: 36px 30px; box-shadow: var(--shadow); text-align: center; position: relative; overflow: hidden; }
.way .ic { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); }
.way .ic svg { width: 36px; height: 36px; fill: var(--green); }
.way p { color: var(--muted); font-size: .95rem; }
.way::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.way:nth-child(1)::before { background: var(--green); }
.way:nth-child(2)::before { background: var(--blue); }
.way:nth-child(3)::before { background: var(--red); }
.causes { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.cause { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 12px; padding: 14px; border: 1px solid var(--line); }
.cause img { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; flex: 0 0 84px; }
.cause h4 { font-family: var(--font); font-size: 1rem; margin: 0 0 4px; }
.cause p { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.5; }
.phone-big { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--gold); font-weight: 700; letter-spacing: .02em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; }
.info-card { background: var(--green-deep); color: #dbe8de; border-radius: var(--radius); padding: 40px 34px; }
.info-card h3 { color: #fff; }
.info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.info-item .ic { flex: 0 0 48px; height: 48px; border-radius: 12px; background: rgba(244, 197, 20, .15); display: grid; place-items: center; }
.info-item .ic svg { width: 22px; height: 22px; fill: var(--gold); }
.info-item strong { display: block; color: #fff; margin-bottom: 2px; }
.info-item a { color: var(--gold); }
.form-card { background: #fff; border-radius: var(--radius); padding: 40px 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid var(--line); font: inherit; font-size: .95rem; background: var(--ivory); transition: border .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(26, 107, 49, .15); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 12px; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 50px; }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { color: #c5d6ca; padding-top: 70px; }
.footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-family: var(--font); font-size: 1.02rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--gold); border-radius: 3px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; font-size: .93rem; }
.footer a { color: #c5d6ca; }
.footer a:hover { color: var(--gold); }
.footer .about img { width: 80px; height: 80px; border-radius: 50%; background: #fff; margin-bottom: 14px; object-fit: contain; }
.footer .about p { font-size: .93rem; }
.footer .motto { font-family: var(--font-head); font-style: italic; color: var(--gold); }
.footer .contact-line { display: flex; gap: 10px; align-items: flex-start; }
.footer .contact-line svg { width: 16px; height: 16px; fill: var(--gold); flex: 0 0 16px; margin-top: 5px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 50px; padding: 22px 0; font-size: .85rem; text-align: center; }
.footer-bottom .stripe { height: 4px; width: 120px; margin: 0 auto 14px; border-radius: 4px; background: linear-gradient(90deg, var(--green) 0 25%, var(--gold) 25% 50%, var(--blue) 50% 75%, var(--red) 75%); }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slides img.show { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 85vw); background: #fff; box-shadow: -10px 0 40px rgba(0, 0, 0, .15); transform: translateX(100%); transition: transform .35s ease; padding: 90px 22px 30px; z-index: 60; }
  .nav.open { transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav a { padding: 13px 16px; }
  .nav a.btn { margin: 14px 0 0; justify-content: center; }
  .nav-toggle { position: relative; z-index: 70; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .pillars .grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer .grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 50px; }
  .ways { grid-template-columns: 1fr; }
  .mini-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  section { padding: 70px 0; }
  .split, .vm-grid, .contact-grid, .program { grid-template-columns: 1fr; }
  .program:nth-child(even) .program-media { order: 0; }
  .program-media { height: 300px; }
  .split-img { margin: 0 10px 30px; }
  .split-img .float { right: -10px; }
  .split-img .badge { left: -10px; }
  .topbar .info .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .brand img { width: 50px; height: 50px; }
  .brand .name { font-size: .98rem; }
  .brand .name small { font-size: .62rem; letter-spacing: .08em; }
  .pillars .grid, .cards, .footer .grid, .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; }
  .topbar .bism { display: none; }
  .topbar .container { justify-content: center; }
  .vm-card, .form-card, .info-card { padding: 30px 22px; }
  .lightbox { padding: 60px 10px; }
  .lightbox .prev, .lightbox .next { top: auto; bottom: 50px; transform: none; }
  .program-media { height: 240px; }
}
