/*
Theme Name: Nabi Akram Islamic Center
Theme URI: https://nabiakramcenter.org
Author: Nabi Akram Center
Author URI: https://nabiakramcenter.org
Description: A modern, fully responsive WordPress theme for Nabi Akram Islamic Center, Jacksonville FL. Features prayer times, services, events, news, membership, and donation sections — all editable via WordPress Customizer and Custom Post Types.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nabi-akram
Tags: islamic, mosque, community, responsive, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --g50:  #f5f8f5;
  --g100: #e0eae1;
  --g200: #bdd0bf;
  --g300: #8aac8d;
  --g400: #5a8a5e;
  --g500: #3d6b41;
  --g600: #2c5030;
  --g700: #1e3821;
  --g800: #12221a;
  --g900: #090f0b;
  --gold:      #b8903a;
  --gold-lt:   #d4a955;
  --gold-pale: #f0d898;
  --cream: #faf8f3;
  --white: #ffffff;
  --dark:  #0e1a10;
  --text:  #1a2b1c;
  --muted: #4a6050;
  --border:#d0ddd2;
  --r:  14px;
  --rs: 9px;
  --sh:  0 2px 16px rgba(0,0,0,0.07);
  --shl: 0 10px 40px rgba(0,0,0,0.13);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "DM Sans", "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--g500); text-decoration: none; transition: color .2s; }
a:hover { color: var(--g700); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.2;
  color: var(--g800);
}
.arabic { font-family: "Amiri", "Traditional Arabic", serif; }
p { margin-bottom: 1rem; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 52px; }
.stag {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--g500); margin-bottom: 10px;
}
.stitle {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700; color: var(--g800);
  line-height: 1.2; margin-bottom: 12px;
}
.sdesc { font-size: 16px; color: var(--muted); max-width: 540px; margin: 0 auto; }
.divider { width: 48px; height: 3px; background: var(--gold); border-radius: 2px; margin: 13px auto 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-main {
  background: var(--g600); color: #fff;
  font-weight: 600; font-size: 14px;
  padding: 12px 26px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 8px;
  border: none; transition: all .2s;
}
.btn-main:hover { background: var(--g700); transform: translateY(-1px); color: #fff; }
.btn-gold {
  background: var(--gold); color: var(--dark);
  font-weight: 600; font-size: 14px;
  padding: 13px 26px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 8px;
  border: none; transition: all .2s;
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-1px); color: var(--dark); }
.btn-ghost {
  background: transparent; color: #fff;
  font-weight: 500; font-size: 14px;
  padding: 12px 26px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(255,255,255,.28); transition: all .2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); color: #fff; }
.btn-form {
  width: 100%; padding: 12px;
  background: var(--g600); color: #fff;
  font-weight: 600; font-size: 14px;
  border: none; border-radius: var(--rs);
  transition: background .2s;
}
.btn-form:hover { background: var(--g700); }

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.fg { margin-bottom: 13px; }
.fg label { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 4px; }
.fg input,
.fg select,
.fg textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--rs);
  font-family: inherit; font-size: 14px;
  color: var(--text); background: var(--g50);
  outline: none; transition: border-color .2s;
}
.fg input:focus,
.fg select:focus,
.fg textarea:focus { border-color: var(--g400); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--g800);
  color: rgba(255,255,255,.7);
  font-size: 12.5px; padding: 7px 0;
}
.topbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 8px;
}
.topbar a { color: var(--gold-lt); }
.topbar a:hover { color: var(--gold-pale); }

/* ============================================================
   HEADER & NAV
   ============================================================ */
.site-header {
  background: var(--white);
  position: sticky; top: 0; z-index: 1000;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.05);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 8px 24px;
  display: flex; justify-content: space-between;
  align-items: center; gap: 20px;
}
.site-logo img { height: 62px; width: auto; }
.site-logo .text-logo { font-family: "Playfair Display", serif; font-size: 20px; font-weight: 700; color: var(--g700); }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  font-size: 13px; font-weight: 500; color: var(--text);
  padding: 7px 11px; border-radius: var(--rs); transition: all .2s; white-space: nowrap;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { background: var(--g50); color: var(--g600); }
.main-nav .donate-btn > a {
  background: var(--g600) !important; color: #fff !important;
  padding: 7px 16px !important; border-radius: 100px !important;
}
.main-nav .donate-btn > a:hover { background: var(--g700) !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 4px; border: none; background: none;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--g700); border-radius: 2px; transition: all .3s; }

/* ============================================================
   MOBILE NAV
   ============================================================ */
.mob-nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 2000;
}
.mob-nav-overlay.open { display: block; }
.mob-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 272px;
  background: #fff; padding: 20px;
  display: flex; flex-direction: column; gap: 5px; overflow-y: auto;
}
.mob-close {
  align-self: flex-end; background: none; border: none;
  font-size: 22px; color: var(--text); margin-bottom: 12px;
}
.mob-panel a {
  display: block; padding: 10px 14px;
  border-radius: var(--rs); font-size: 14px; font-weight: 500;
  color: var(--text); border-bottom: 1px solid #f0f0f0;
}
.mob-panel a:hover { color: var(--g600); background: var(--g50); }
.mob-donate {
  background: var(--g600) !important; color: #fff !important;
  text-align: center; border-radius: 100px !important;
  margin-top: 8px; border-bottom: none !important;
}

/* ============================================================
   PRAYER TIMES BAR
   ============================================================ */
.prayer-bar { background: var(--g700); padding: 11px 0; }
.prayer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between;
  align-items: center; gap: 16px; flex-wrap: wrap;
}
.prayer-label {
  font-family: "Amiri", serif; font-size: 15px;
  color: var(--gold-pale); font-weight: 700; white-space: nowrap;
}
.prayer-times { display: flex; flex: 1; justify-content: center; flex-wrap: wrap; }
.prayer-time {
  text-align: center; padding: 3px 16px;
  border-right: 1px solid rgba(255,255,255,.13);
  color: rgba(255,255,255,.78);
}
.prayer-time:last-child { border-right: none; }
.prayer-time .pt-name { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; opacity: .55; display: block; }
.prayer-time .pt-value { font-size: 15px; font-weight: 600; display: block; }
.prayer-time.active .pt-name,
.prayer-time.active .pt-value { color: var(--gold-pale); opacity: 1; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: center; overflow: hidden;
  background: var(--g800);
}
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: .18;
}
.hero-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--g900) 35%, transparent 75%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(125deg, var(--g900) 0%, var(--g800) 55%, #1a3020 100%);
  opacity: .85;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 80px 24px; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: var(--gold-pale); font-size: 11.5px;
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 22px; letter-spacing: .05em;
}
.hero-arabic {
  font-family: "Amiri", serif;
  font-size: clamp(18px, 2.8vw, 32px);
  color: var(--gold-lt); margin-bottom: 12px; display: block;
}
.hero-title {
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 700; color: #fff;
  line-height: 1.1; margin-bottom: 16px; max-width: 560px;
}
.hero-title em { font-style: normal; color: var(--gold-pale); }
.hero-desc { font-size: 16px; color: rgba(255,255,255,.68); max-width: 460px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 36px;
  margin-top: 50px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1); flex-wrap: wrap;
}
.hero-stat .num {
  font-family: "Playfair Display", serif;
  font-size: 33px; font-weight: 700;
  color: var(--gold-pale); display: block; line-height: 1;
}
.hero-stat .lbl { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 3px; display: block; }

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 80px 0; }
.bg-white { background: var(--white); }
.bg-light { background: var(--g50); }
.bg-dark  { background: var(--g800); }
.bg-green { background: var(--g700); }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: 22px; }
.svc-card {
  border-radius: var(--r); border: 1px solid var(--border);
  background: var(--white); transition: all .3s; overflow: hidden;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shl); border-color: var(--g200); }
.svc-img { height: 200px; position: relative; overflow: hidden; }
.svc-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.svc-card:hover .svc-img img { transform: scale(1.06); }
.svc-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,26,16,.75) 0%, rgba(14,26,16,.1) 55%, transparent 100%);
}
.svc-img-label {
  position: absolute; bottom: 14px; left: 16px; right: 16px;
  color: #fff; font-family: "Playfair Display", serif;
  font-size: 16px; font-weight: 600; line-height: 1.3;
  z-index: 1; text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.svc-body { padding: 16px 18px 20px; }
.svc-body p { font-size: 13px; color: var(--muted); line-height: 1.65; margin: 0; }
.svc-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--g500); font-size: 12.5px; font-weight: 600;
  margin-top: 11px; transition: gap .2s;
}
.svc-link:hover { gap: 8px; color: var(--g600); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img { width: 100%; height: 450px; border-radius: var(--r); overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-float {
  position: absolute; bottom: -18px; right: -18px;
  background: var(--gold); color: var(--dark);
  padding: 18px 22px; border-radius: var(--r);
  text-align: center; box-shadow: var(--sh);
}
.about-float .big { font-size: 31px; font-weight: 700; font-family: "Playfair Display", serif; display: block; line-height: 1; }
.about-float .sm { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.about-content .stag,
.about-content .stitle { text-align: left; }
.about-content .divider { margin: 13px 0; }
.about-content p { color: var(--muted); font-size: 15px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin: 22px 0; }
.pillar {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 13px; background: var(--white);
  border-radius: var(--rs); border: 1px solid var(--border);
}
.pillar-ico {
  width: 34px; height: 34px; background: var(--g100);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.pillar-ico svg { width: 16px; height: 16px; stroke: var(--g600); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar h4 { font-size: 12.5px; font-weight: 600; color: var(--g700); font-family: "DM Sans", sans-serif; }
.pillar p { font-size: 11px; color: var(--muted); margin: 0; }

/* ============================================================
   PRINCIPLES
   ============================================================ */
.prin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 13px; margin-top: 42px; }
.prin-card {
  text-align: center; padding: 26px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r); transition: all .3s;
}
.prin-card:hover { background: rgba(255,255,255,.09); transform: translateY(-2px); }
.prin-card .pico {
  width: 46px; height: 46px; background: rgba(255,255,255,.07);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 11px;
}
.prin-card .pico svg { width: 20px; height: 20px; stroke: var(--gold-pale); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.prin-card .arabic { font-family: "Amiri", serif; font-size: 17px; color: var(--gold-pale); display: block; margin-bottom: 4px; }
.prin-card .name { font-size: 13px; font-weight: 600; color: #fff; display: block; }
.prin-card .meaning { font-size: 11px; color: rgba(255,255,255,.4); display: block; margin-top: 3px; }

/* ============================================================
   EVENTS
   ============================================================ */
.ev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(295px, 1fr)); gap: 18px; }
.ev-card {
  display: flex; gap: 16px; padding: 20px;
  background: var(--g50); border-radius: var(--r);
  border: 1px solid var(--border); transition: all .2s; align-items: flex-start;
}
.ev-card:hover { border-color: var(--g300); box-shadow: var(--sh); }
.ev-date {
  flex-shrink: 0; width: 54px; text-align: center;
  background: var(--g600); color: #fff;
  border-radius: var(--rs); padding: 8px 5px;
}
.ev-date .day { font-size: 21px; font-weight: 700; font-family: "Playfair Display", serif; display: block; line-height: 1; }
.ev-date .mon { font-size: 9.5px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; display: block; margin-top: 3px; }
.ev-date.gold { background: var(--gold); }
.ev-info h3 { font-size: 14.5px; font-weight: 600; color: var(--g800); margin-bottom: 4px; font-family: "DM Sans", sans-serif; }
.ev-info p { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 0; }
.ev-meta { display: flex; gap: 7px; margin-top: 7px; flex-wrap: wrap; }
.ev-meta span { font-size: 11px; color: var(--g600); background: var(--g100); padding: 2px 8px; border-radius: 100px; border: 1px solid var(--g200); }

/* ============================================================
   NEWS / BLOG
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: 22px; }
.news-card {
  background: var(--white); border-radius: var(--r);
  overflow: hidden; border: 1px solid var(--border); transition: all .3s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.news-thumb { height: 200px; overflow: hidden; position: relative; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-thumb-placeholder { height: 200px; background: linear-gradient(135deg, var(--g800), var(--g600)); display: flex; align-items: center; justify-content: center; }
.news-body { padding: 20px; }
.news-cat { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--g500); margin-bottom: 7px; display: block; }
.news-body h3 { font-size: 17px; color: var(--g800); margin-bottom: 7px; line-height: 1.4; }
.news-body p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }
.news-ft { display: flex; justify-content: space-between; align-items: center; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--border); }
.news-date { font-size: 11px; color: var(--muted); }
.news-link { font-size: 12px; font-weight: 600; color: var(--g500); }
.news-link:hover { color: var(--g700); }

/* ============================================================
   MEMBERSHIP
   ============================================================ */
.mem-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mem-content .stag { color: var(--gold-pale); text-align: left; display: block; }
.mem-content .stitle { color: #fff; text-align: left; }
.mem-desc { color: rgba(255,255,255,.72); font-size: 15px; margin: 13px 0 22px; }
.benefits { display: flex; flex-direction: column; gap: 9px; }
.benefit {
  display: flex; align-items: center; gap: 11px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  padding: 11px 13px; border-radius: var(--rs);
  color: rgba(255,255,255,.82); font-size: 13px;
}
.b-check {
  width: 24px; height: 24px; background: var(--gold);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.b-check svg { width: 11px; height: 11px; stroke: var(--dark); fill: none; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.mem-note { font-size: 12.5px; margin-top: 16px; color: rgba(255,255,255,.38); }
.mem-form { background: #fff; border-radius: var(--r); padding: 30px; box-shadow: var(--shl); }
.mem-form h3 { font-size: 20px; color: var(--g800); margin-bottom: 18px; }

/* ============================================================
   QURAN / LIBRARY
   ============================================================ */
.qr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: 20px; }
.qr-card { border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); transition: all .3s; background: var(--g50); }
.qr-card:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.qr-thumb { height: 148px; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; }
.play-btn {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; transition: all .2s;
}
.play-btn svg { width: 16px; height: 16px; fill: #fff; margin-left: 3px; }
.play-btn:hover { background: rgba(255,255,255,.3); transform: scale(1.06); }
.qr-body { padding: 16px 18px; }
.qr-body h3 { font-size: 14.5px; font-weight: 600; color: var(--g800); margin-bottom: 4px; font-family: "DM Sans", sans-serif; }
.qr-body p { font-size: 12px; color: var(--muted); margin: 0; }

/* ============================================================
   DONATION
   ============================================================ */
.don-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.don-content .stitle,
.don-content .stag { text-align: left; }
.don-content .stag { display: block; }
.don-content p { color: var(--muted); font-size: 15px; }
.don-arabic { font-family: "Amiri", serif; font-size: 19px; color: var(--g600); line-height: 2; }
.tax-info { background: var(--g100); border: 1px solid var(--g200); border-radius: var(--r); padding: 16px; margin-top: 16px; }
.tax-info strong { font-size: 13.5px; color: var(--g700); display: block; margin-bottom: 5px; }
.tax-info span { font-size: 12.5px; color: var(--muted); }
.don-card { background: #fff; border-radius: var(--r); padding: 30px; border: 1px solid var(--border); box-shadow: var(--sh); }
.don-card h3 { font-size: 20px; color: var(--g800); margin-bottom: 5px; }
.don-arabic-sm { font-family: "Amiri", serif; font-size: 17px; color: var(--gold); display: block; margin-bottom: 18px; }
.amt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 18px 0; }
.amt-btn {
  padding: 12px; border: 1.5px solid var(--border);
  border-radius: var(--rs); background: #fff;
  font-size: 17px; font-weight: 700;
  font-family: "Playfair Display", serif;
  color: var(--g700); transition: all .2s; text-align: center;
}
.amt-btn:hover,
.amt-btn.active { border-color: var(--g500); background: var(--g100); color: var(--g600); }
.secure-note { font-size: 11px; color: var(--muted); text-align: center; margin-top: 9px; }

/* ============================================================
   CONTACT
   ============================================================ */
.ct-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; margin-top: 42px; }
.ct-list { display: flex; flex-direction: column; gap: 20px; }
.ct-item { display: flex; gap: 13px; align-items: flex-start; }
.ct-ico {
  width: 42px; height: 42px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--rs); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.ct-ico svg { width: 19px; height: 19px; stroke: var(--gold-pale); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ct-item h4 { font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.45); margin-bottom: 2px; font-family: "DM Sans", sans-serif; }
.ct-item p { font-size: 14px; color: #fff; margin: 0; }
.ct-form { background: #fff; border-radius: var(--r); padding: 34px; }
.ct-form h3 { font-size: 20px; color: var(--g800); margin-bottom: 18px; }
.bg-dark .stag { color: var(--gold-pale); }
.bg-dark .stitle { color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--dark); color: rgba(255,255,255,.58); padding: 60px 0 0; }
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 42px; padding-bottom: 42px; }
.ft-logo img { height: 54px; width: auto; }
.ft-brand p { font-size: 13px; margin: 13px 0; line-height: 1.7; }
.ft-social { display: flex; gap: 8px; margin-top: 14px; }
.soc {
  width: 33px; height: 33px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center; transition: all .2s;
}
.soc svg { width: 14px; height: 14px; stroke: rgba(255,255,255,.5); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.soc:hover { background: var(--g600); border-color: var(--g500); }
.soc:hover svg { stroke: #fff; }
.ft-col h4 { font-size: 11.5px; font-weight: 600; color: #fff; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .1em; font-family: "DM Sans", sans-serif; }
.ft-col ul { display: flex; flex-direction: column; gap: 8px; }
.ft-col ul li a { font-size: 13px; color: rgba(255,255,255,.48); }
.ft-col ul li a:hover { color: var(--gold-pale); }
.ft-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 17px 0; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.ft-bottom p { font-size: 12px; margin: 0; }

/* ============================================================
   WORDPRESS CORE ALIGNMENT & BLOCKS
   ============================================================ */
.wp-block-image { margin: 1.5rem 0; }
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin: 0 auto 1rem; display: block; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }
.page-content, .entry-content, .entry-summary { max-width: 780px; margin: 0 auto; padding: 40px 24px; }
.entry-content h2 { margin: 2rem 0 1rem; }
.entry-content p  { margin-bottom: 1.2rem; color: var(--muted); }

/* ============================================================
   FADE UP ANIMATION
   ============================================================ */
.fu { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.fu.vis { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .about-grid, .mem-inner, .don-inner, .ct-grid { grid-template-columns: 1fr; }
  .about-img { height: 300px; }
  .about-float { right: 0; bottom: -14px; }
}
@media (max-width: 700px) {
  .form-row { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-stats { gap: 20px; }
  .prin-grid { grid-template-columns: repeat(2, 1fr); }
  .prayer-times { overflow-x: auto; width: 100%; }
  .prayer-time { min-width: 72px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  section { padding: 56px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-bg-img { width: 100%; opacity: .1; }
  .amt-grid { grid-template-columns: repeat(3, 1fr); }
}
