/* ================================================
   ASSOCIATION OF BOSNIAKS — ALBANY, NY
   v2.0 — Elevated, Modern, Warm
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Amiri:wght@400;700&display=swap');

/* --- Custom Properties --- */
:root {
  /* Warm, refined palette */
  --bg-cream: #FDFAF5;
  --bg-warm: #F7F2EB;
  --bg-section-alt: #FFF9F0;
  --bg-dark: #1A1612;
  --bg-dark-warm: #262018;
  --bg-card: #FFFFFF;

  /* Accent colors — čilim-inspired but refined */
  --terracotta: #C4593A;
  --terracotta-soft: rgba(196, 89, 58, 0.1);
  --teal: #2A7D6E;
  --teal-soft: rgba(42, 125, 110, 0.08);
  --gold: #D4A44C;
  --gold-bright: #E8B84A;
  --gold-soft: rgba(212, 164, 76, 0.12);
  --navy: #2C3E6B;
  --navy-soft: rgba(44, 62, 107, 0.08);
  --crimson: #A83232;
  --crimson-soft: rgba(168, 50, 50, 0.08);

  /* Text */
  --text-primary: #1A1612;
  --text-secondary: #5C544A;
  --text-tertiary: #9B9189;
  --text-on-dark: #F0EAE0;
  --text-on-dark-muted: rgba(240, 234, 224, 0.6);

  /* Typography */
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-arabic: 'Amiri', serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 100px;
  --section-py: 120px;

  /* Effects */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 100px;
  --shadow-subtle: 0 1px 3px rgba(26, 22, 18, 0.04), 0 4px 12px rgba(26, 22, 18, 0.03);
  --shadow-card: 0 2px 8px rgba(26, 22, 18, 0.04), 0 8px 32px rgba(26, 22, 18, 0.06);
  --shadow-elevated: 0 4px 16px rgba(26, 22, 18, 0.06), 0 16px 48px rgba(26, 22, 18, 0.1);
  --shadow-glow-gold: 0 4px 24px rgba(212, 164, 76, 0.25);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  font-family: var(--font-body);
  cursor: pointer;
}

/* --- Layout --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* --- Section Headers --- */
.section-header {
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-top: 14px;
  line-height: 1.75;
  font-weight: 400;
}

/* --- Čilim Accent Strip --- */
.cilim-strip {
  height: 5px;
  background: linear-gradient(90deg,
      var(--terracotta) 0%, var(--terracotta) 20%,
      var(--gold) 20%, var(--gold) 40%,
      var(--teal) 40%, var(--teal) 60%,
      var(--navy) 60%, var(--navy) 80%,
      var(--crimson) 80%, var(--crimson) 100%);
}

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.navbar.scrolled::after {
  background: rgba(26, 22, 18, 0.08);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold-bright);
  transition: var(--transition);
}

.nav-brand:hover .nav-brand-mark {
  transform: scale(1.05);
}

.nav-brand-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.25;
}

.nav-brand-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(26, 22, 18, 0.04);
}

.nav-cta {
  background: var(--bg-dark) !important;
  color: var(--gold-bright) !important;
  font-weight: 600 !important;
  padding: 10px 26px !important;
}

.nav-cta:hover {
  background: var(--bg-dark-warm) !important;
  box-shadow: var(--shadow-elevated);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  background: none;
  border: none;
}

.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 22, 18, 0.4);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: brightness(0.7);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(212, 164, 76, 0.15) 0%, transparent 60%),
    linear-gradient(180deg,
      rgba(26, 22, 18, 0.55) 0%,
      rgba(26, 22, 18, 0.25) 40%,
      rgba(26, 22, 18, 0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 140px 28px 100px;
  max-width: 850px;
}

.hero-bismillah {
  font-family: var(--font-arabic);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--gold-bright);
  margin-bottom: 28px;
  opacity: 0.85;
  letter-spacing: 2px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.hero-highlight {
  color: var(--gold-bright);
  font-style: italic;
}

.hero-location {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 28px;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 540px;
  margin: 0 auto 44px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.2px;
}

.btn-gold {
  background: var(--gold);
  color: var(--bg-dark);
}

.btn-gold:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-gold);
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-scroll-cue .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(212, 164, 76, 0.6) 0%, transparent 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(0.7);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ========== ABOUT ========== */
.about {
  padding: var(--section-py) 0;
  background: var(--bg-cream);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.about-img-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-img-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  background: var(--gold-soft);
  border: 2px solid var(--gold);
  z-index: -1;
}

.about-body .section-eyebrow {
  color: var(--terracotta);
}

.about-body .section-eyebrow::before {
  background: var(--terracotta);
}

.about-body p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 18px;
  font-size: 0.98rem;
}

.about-body p strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Mission & Vision */
.mv-section {
  padding: 0 0 var(--section-py);
  background: var(--bg-cream);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mv-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(26, 22, 18, 0.04);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.mv-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.mv-card-stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.mv-card:nth-child(1) .mv-card-stripe {
  background: var(--terracotta);
}

.mv-card:nth-child(2) .mv-card-stripe {
  background: var(--teal);
}

.mv-card-emoji {
  font-size: 2.2rem;
  margin-bottom: 20px;
  display: block;
}

.mv-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.mv-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ========== PRAYER TIMES ========== */
.prayer {
  padding: var(--section-py) 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.prayer::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 164, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.prayer .section-title {
  color: var(--text-on-dark);
}

.prayer .section-desc {
  color: var(--text-on-dark-muted);
}

.prayer .section-eyebrow {
  color: var(--gold-bright);
}

.prayer .section-eyebrow::before {
  background: var(--gold-bright);
}

.prayer-dates {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.prayer-date-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--text-on-dark);
}

.prayer-date-chip .chip-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  font-weight: 600;
}

.prayer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.prayer-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 30px 16px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.prayer-tile::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gold);
  border-radius: 2px 2px 0 0;
  transition: var(--transition);
}

.prayer-tile:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(212, 164, 76, 0.2);
  transform: translateY(-3px);
}

.prayer-tile:hover::after {
  width: 40px;
}

.prayer-tile.active {
  background: rgba(212, 164, 76, 0.1);
  border-color: rgba(212, 164, 76, 0.3);
}

.prayer-tile.active::after {
  width: 40px;
}

.prayer-tile-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
  display: block;
}

.prayer-tile-name {
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}

.prayer-tile-time {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-on-dark);
}

.prayer-tile-time.loading {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
}

.prayer-note {
  margin-top: 32px;
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.5px;
}

/* Džuma Namaz Banner */
.dzuma-banner {
  margin-top: 40px;
}

.dzuma-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(212, 164, 76, 0.12) 0%, rgba(212, 164, 76, 0.04) 100%);
  border: 1px solid rgba(212, 164, 76, 0.25);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  flex-wrap: wrap;
  gap: 20px;
}

.dzuma-label {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dzuma-icon {
  font-size: 2rem;
}

.dzuma-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--gold-bright);
}

.dzuma-sub {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

.dzuma-times {
  display: flex;
  align-items: center;
  gap: 28px;
}

.dzuma-slot {
  text-align: center;
}

.dzuma-slot-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
}

.dzuma-slot-time {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-on-dark);
}

.dzuma-divider {
  width: 1px;
  height: 40px;
  background: rgba(212, 164, 76, 0.3);
}

/* Announcements loading state */
.ann-loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-tertiary);
  font-size: 0.95rem;
  grid-column: 1 / -1;
}

/* ========== ANNOUNCEMENTS ========== */
.announcements {
  padding: var(--section-py) 0;
  background: var(--bg-warm);
}

.ann-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ann-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(26, 22, 18, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.ann-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-5px);
}

.ann-card-stripe {
  height: 4px;
}

.ann-card:nth-child(1) .ann-card-stripe {
  background: var(--terracotta);
}

.ann-card:nth-child(2) .ann-card-stripe {
  background: var(--gold);
}

.ann-card:nth-child(3) .ann-card-stripe {
  background: var(--teal);
}

.ann-card-body {
  padding: 32px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ann-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  width: fit-content;
}

.ann-card:nth-child(1) .ann-tag {
  background: var(--terracotta-soft);
  color: var(--terracotta);
}

.ann-card:nth-child(2) .ann-tag {
  background: var(--gold-soft);
  color: var(--gold);
}

.ann-card:nth-child(3) .ann-tag {
  background: var(--teal-soft);
  color: var(--teal);
}

.ann-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.ann-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.ann-card-meta {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ========== DONATE ========== */
.donate {
  padding: var(--section-py) 0;
  background: var(--bg-cream);
}

.donate .section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.donate .section-eyebrow {
  color: var(--teal);
}

.donate .section-eyebrow::before {
  background: var(--teal);
}

.donate .section-desc {
  text-align: center;
}

.donate-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.donate-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(26, 22, 18, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.donate-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-5px);
}

.donate-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
}

.donate-card:nth-child(1) .donate-icon {
  background: var(--navy-soft);
}

.donate-card:nth-child(2) .donate-icon {
  background: rgba(0, 140, 255, 0.08);
}

.donate-card:nth-child(3) .donate-icon {
  background: rgba(109, 30, 212, 0.06);
}

.donate-card:nth-child(4) .donate-icon {
  background: var(--teal-soft);
}

.donate-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.donate-card>p {
  color: var(--text-tertiary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.donate-btn {
  display: block;
  width: 100%;
  padding: 13px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  transition: var(--transition);
  text-align: center;
  letter-spacing: 0.2px;
}

.dbtn-paypal {
  background: #003087;
  color: #fff;
}

.dbtn-paypal:hover {
  background: #001E5C;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 48, 135, 0.3);
}

.dbtn-venmo {
  background: #008CFF;
  color: #fff;
}

.dbtn-venmo:hover {
  background: #006FCC;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 140, 255, 0.3);
}

.dbtn-zelle {
  background: #6D1ED4;
  color: #fff;
}

.dbtn-zelle:hover {
  background: #5816A8;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(109, 30, 212, 0.3);
}

.dbtn-check {
  background: var(--teal);
  color: #fff;
}

.dbtn-check:hover {
  background: #1E6358;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(42, 125, 110, 0.3);
}

.donate-info {
  margin-top: 14px;
  padding: 14px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: left;
  line-height: 1.7;
}

.donate-info strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Quran verse */
.donate-verse {
  max-width: 640px;
  margin: 64px auto 0;
  text-align: center;
  padding: 40px 36px;
  background: var(--gold-soft);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 164, 76, 0.15);
}

.donate-verse .verse-arabic {
  font-family: var(--font-arabic);
  font-size: 1.4rem;
  color: var(--text-primary);
  line-height: 2.2;
  margin-bottom: 14px;
}

.donate-verse .verse-translation {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.donate-verse .verse-ref {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: 0.5px;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.footer-main {
  padding: 80px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-name span {
  color: var(--gold);
  font-size: 1.1rem;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--gold);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 400;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  align-items: flex-start;
}

.footer-contact-row .fc-icon {
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-row span {
  color: var(--text-on-dark-muted);
  line-height: 1.5;
}

.footer-map-wrap {
  margin-top: 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  height: 160px;
}

.footer-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.5) brightness(0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0;
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  text-align: center;
}

/* ========== BACK TO TOP ========== */
.btt {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--bg-dark);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  box-shadow: var(--shadow-elevated);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 999;
  cursor: pointer;
}

.btt.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btt:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-gold);
}

/* ========== TOAST ========== */
.toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--bg-dark);
  color: var(--gold-bright);
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-elevated);
  z-index: 9999;
  opacity: 0;
  transition: var(--transition);
  border: 1px solid rgba(212, 164, 76, 0.2);
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 {
  transition-delay: 0.08s;
}

.reveal-d2 {
  transition-delay: 0.16s;
}

.reveal-d3 {
  transition-delay: 0.24s;
}

.reveal-d4 {
  transition-delay: 0.32s;
}

.reveal-d5 {
  transition-delay: 0.40s;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

  .donate-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 80px;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background: var(--bg-cream);
    flex-direction: column;
    padding: 100px 28px 40px;
    gap: 6px;
    transition: var(--transition-slow);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: 14px 18px;
    width: 100%;
    color: var(--text-primary);
  }

  .nav-cta {
    margin-top: 12px;
    text-align: center;
    justify-content: center;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .prayer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .dzuma-inner {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }

  .dzuma-label {
    flex-direction: column;
    gap: 8px;
  }

  .dzuma-times {
    width: 100%;
    justify-content: center;
  }

  .ann-grid {
    grid-template-columns: 1fr;
  }

  .donate-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 9vw, 3.5rem);
  }
}

@media (max-width: 480px) {
  .prayer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prayer-dates {
    flex-direction: column;
  }

  .dzuma-title {
    font-size: 1.15rem;
  }

  .dzuma-slot-time {
    font-size: 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}