/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue:        #1AABDC;
  --blue-dark:   #0D7FAD;
  --blue-deeper: #085573;
  --green:       #39B54A;
  --green-dark:  #2A8638;
  --white:       #ffffff;
  --bg:          #F3FAFD;
  --bg2:         #E4F4FA;
  --text:        #1a1a1a;
  --text-muted:  #566;
  --radius:      16px;
  --shadow:      0 4px 24px rgba(0,0,0,0.09);
  --glass:       rgba(255,255,255,0.12);
  --glass-border: rgba(255,255,255,0.2);
  --font-arabic: 'Amiri', 'Scheherazade New', 'Times New Roman', serif;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }

/* ===== NAVBAR ===== */
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 72px;
  background: linear-gradient(270deg, #042d3f, var(--blue-deeper), #0a6d99, var(--blue-deeper));
  background-size: 300% 100%;
  animation: gradientShift 8s ease infinite;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 48px; width: auto; filter: brightness(0) invert(1); }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-text .logo-name { font-size: 1.2rem; font-weight: 800; color: white; letter-spacing: 3px; }
.nav-logo-text .logo-sub  { font-size: 0.62rem; color: rgba(255,255,255,0.6); letter-spacing: 0.5px; line-height: 1.2; }
.nav-links { display: flex; gap: 0.25rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  padding: 0.5rem 1.1rem; border-radius: 8px; font-size: 0.9rem;
  font-weight: 500; transition: all 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; width: 0; height: 2px;
  background: var(--green); transition: width 0.3s ease, left 0.3s ease; border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 50%; left: 25%; }
.nav-links a:hover, .nav-links a.active { color: white; background: rgba(255,255,255,0.1); }
.btn-donate-nav {
  background: linear-gradient(135deg, var(--green), #2ecc71) !important;
  color: white !important; font-weight: 700; border-radius: 8px !important;
  box-shadow: 0 4px 16px rgba(57,181,74,0.3);
}
.btn-donate-nav:hover { box-shadow: 0 6px 24px rgba(57,181,74,0.5) !important; transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  min-height: 460px; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 3rem 2rem 5rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('EID 2026.jpeg');
  background-size: cover; background-position: center;
  filter: brightness(0.35);
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,25,36,0.25) 0%, rgba(4,25,36,0.15) 45%, rgba(4,25,36,0.75) 100%);
  z-index: 1;
}
.hero:hover .hero-bg { transform: scale(1.1); }
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}
.hero-divider {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; line-height: 0;
}
.hero-divider svg { display: block; width: 100%; height: 60px; }
.hero-logo { width: 80px; height: auto; margin-bottom: 0.75rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4)); }
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-sub { font-family: var(--font-arabic); font-size: 1.7rem; font-weight: 700; color: rgba(255,255,255,0.92); margin-bottom: 0.65rem; text-shadow: 0 2px 10px rgba(0,0,0,0.45); }
.hero-kicker { display: inline-flex; align-items: center; gap: 0.5rem; color: #7FDDFF; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 0.85rem; }
.hero-kicker::before, .hero-kicker::after { content: ''; width: 26px; height: 1px; background: currentColor; opacity: 0.6; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); color: white; font-weight: 800; letter-spacing: -0.01em; text-shadow: 0 2px 20px rgba(0,0,0,0.45); }
.hero h2 { font-size: clamp(1rem, 2.1vw, 1.3rem); color: rgba(255,255,255,0.82); margin: 0.4rem 0 1.1rem; font-weight: 400; }
.hero-desc { color: rgba(255,255,255,0.88); max-width: 560px; margin: 0 auto 1.5rem; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(270deg, var(--green), #2ecc71, var(--green));
  background-size: 200% 100%; animation: gradientShift 3s ease infinite;
  color: white; font-weight: 700;
  padding: 0.75rem 2rem; border-radius: 10px; text-decoration: none; transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(57,181,74,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(57,181,74,0.45); }
.btn-secondary {
  background: rgba(255,255,255,0.1); color: white; border: 2px solid rgba(255,255,255,0.35);
  font-weight: 600; padding: 0.75rem 2rem; border-radius: 10px; text-decoration: none; transition: all 0.3s;
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.6); transform: translateY(-2px); }

/* ===== ICON SYSTEM ===== */
.icon {
  width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-badge {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white; box-shadow: 0 6px 18px rgba(13,127,173,0.28);
}
.icon-badge .icon { width: 26px; height: 26px; stroke-width: 1.8; }
.icon-badge.badge-green { background: linear-gradient(135deg, var(--green), var(--green-dark)); box-shadow: 0 6px 18px rgba(57,181,74,0.28); }
.icon-badge.badge-sm { width: 40px; height: 40px; border-radius: 11px; }
.icon-badge.badge-sm .icon { width: 20px; height: 20px; }
.icon-badge.badge-circle { border-radius: 50%; }
.icon-inline {
  width: 1.5rem; height: 1.5rem; flex-shrink: 0; margin-top: 1px;
  color: var(--blue-dark);
}
.icon-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg2); color: var(--blue-dark);
}
.icon-chip .icon { width: 14px; height: 14px; stroke-width: 2.2; }
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85); transition: all 0.3s;
}
.social-icon:hover { background: var(--green); border-color: var(--green); color: white; transform: translateY(-2px); }
.social-icon .icon { width: 18px; height: 18px; }
.icon-list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; color: var(--text-muted); }
.icon-list li { display: flex; align-items: center; gap: 0.65rem; }

/* ===== PRAYER SECTION ===== */
.prayer-section { background: white; padding: 1.5rem 2rem; }
.section-title { font-size: 1.5rem; font-weight: 800; color: var(--blue-deeper); margin-bottom: 1rem; text-align: center; }
.section-title::after {
  content: ''; display: block; width: 50px; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--green));
  background-size: 200% 100%; animation: gradientShift 3s ease infinite;
  margin: 0.5rem auto 0; border-radius: 2px;
}

/* ===== CUSTOM PRAYER WIDGET ===== */
.custom-prayer-widget {
  background: linear-gradient(135deg, var(--blue-deeper) 0%, #0a6d99 60%, var(--blue-dark) 100%);
  border-radius: 20px; overflow: hidden; max-width: 960px; margin: 0 auto;
  box-shadow: 0 12px 48px rgba(8,85,115,0.3);
}
.prayer-clock-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2rem 2.5rem 1.5rem; gap: 1rem;
}
.prayer-clock-side { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; min-width: 90px; }
.pclock-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); letter-spacing: 0.1em; text-transform: uppercase; }
.pclock-time { font-size: 1.3rem; font-weight: 700; color: white; }
.prayer-clock-center { flex: 1; text-align: center; }
.pclock-mosque { font-size: 0.85rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.5); text-transform: uppercase; margin-bottom: 0.2rem; }
.pclock-live { font-size: 3.2rem; font-weight: 800; color: white; line-height: 1; font-variant-numeric: tabular-nums; }
.pclock-date { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-top: 0.3rem; }
.pclock-hijri { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.prayer-times-row { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,0.1); }
.pt-card { padding: 1rem 0.5rem; text-align: center; border-right: 1px solid rgba(255,255,255,0.06); transition: all 0.3s; }
.pt-card:last-child { border-right: none; }
.pt-card.active { background: rgba(255,255,255,0.1); }
.pt-name { font-size: 0.75rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.pt-time { font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 0.2rem; }
.pt-iqama { font-size: 0.85rem; color: var(--green); font-weight: 600; }
.pt-loading { color: rgba(255,255,255,0.5); padding: 2rem; text-align: center; grid-column: 1/-1; }
.date-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 400; margin-left: 0.5rem; }
.prayer-note { text-align: center; font-size: 0.8rem; color: var(--text-muted); margin-top: 1rem; }

/* ===== COUNTERS ===== */
.counters-section {
  position: relative; overflow: hidden;
  background: linear-gradient(270deg, var(--blue-deeper), #0a6d99, #085573, var(--blue-dark));
  background-size: 300% 100%;
  animation: gradientShift 6s ease infinite;
  padding: 3rem 2rem; text-align: center;
}
.counters-section::before {
  content: ''; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
}
.counters-grid {
  position: relative;
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
  max-width: 800px; margin: 0 auto;
}
.counter-item { color: white; min-width: 140px; }
.counter-num {
  font-size: 2.5rem; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, #7FDDFF, var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.counter-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 0.4rem; font-weight: 500; }

/* ===== INFO CARDS ===== */
.info-section { padding: 3rem 2rem; background: var(--bg); }
.cards-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.card {
  background: white; border-radius: var(--radius); padding: 2rem 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06); transition: all 0.4s;
  border: 1px solid rgba(0,0,0,0.04); position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--blue));
  background-size: 200% 100%;
  animation: gradientShift 4s ease infinite;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.card-icon { margin-bottom: 1rem; }
.card h3 { font-size: 1.05rem; font-weight: 700; color: var(--blue-deeper); margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.9rem; }
.card-link { display: inline-block; margin-top: 1rem; color: var(--blue-dark); font-weight: 600; text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.card-link:hover { color: var(--green); }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.gallery-item img {
  width: 100%; height: 220px; object-fit: cover; display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); filter: brightness(0.7); }
.gallery-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  padding: 1.25rem; opacity: 0; transition: opacity 0.4s;
  background: linear-gradient(transparent 40%, rgba(8,85,115,0.85));
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: white; font-weight: 700; font-size: 0.95rem; }
.gallery-item.span-2 { grid-column: span 2; }
.gallery-item.span-2 img { height: 220px; }

/* ===== MANAGEMENT TEAM ===== */
.mgmt-grid { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.mgmt-card {
  background: white; border-radius: var(--radius); padding: 2rem 1.5rem 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.15rem;
  flex: 1 1 200px; max-width: 220px; transition: all 0.4s;
  border: 1px solid rgba(0,0,0,0.04); position: relative; overflow: hidden;
}
.mgmt-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--green));
  background-size: 200% 100%;
  animation: gradientShift 4s ease infinite;
}
.mgmt-card:hover { transform: translateY(-6px); box-shadow: 0 14px 38px rgba(0,0,0,0.12); }
.mgmt-avatar {
  width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue-dark));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1.4rem; flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  margin-bottom: 0.85rem; border: 3px solid white; outline: 2px solid var(--bg2);
}
.mgmt-photo { object-fit: cover; }
.mgmt-name { font-weight: 700; color: var(--blue-deeper); font-size: 0.98rem; }
.mgmt-role { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ===== CTA BLOCK ===== */
.mem-cta-block {
  background: linear-gradient(270deg, var(--blue-deeper), #0a6d99, #085573, var(--blue-dark));
  background-size: 300% 100%;
  animation: gradientShift 6s ease infinite;
  border-radius: var(--radius); padding: 2.5rem 2rem; text-align: center;
  color: white; margin-top: 2.5rem;
  box-shadow: 0 8px 32px rgba(8,85,115,0.25);
}
.mem-cta-block h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.mem-cta-block p { color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; font-size: 0.95rem; }
.btn-member {
  display: inline-block; background: linear-gradient(270deg, var(--green), #2ecc71, var(--green));
  background-size: 200% 100%; animation: gradientShift 3s ease infinite;
  color: white; font-weight: 700; font-size: 1rem; padding: 0.85rem 2.5rem;
  border-radius: 10px; text-decoration: none; transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(57,181,74,0.3);
}
.btn-member:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(57,181,74,0.45); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--blue-deeper), var(--blue-dark)); padding: 3.5rem 2rem 4.5rem; text-align: center; color: white; }
.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; animation: fadeInUp 0.7s ease-out; }
.page-hero p { color: rgba(255,255,255,0.75); margin-top: 0.5rem; animation: fadeInUp 0.9s ease-out; }

/* ===== EVENTS PAGE ===== */
.events-section { padding: 3rem 2rem; }
.event-list { display: flex; flex-direction: column; gap: 1.25rem; max-width: 760px; margin: 0 auto; }
.event-item {
  background: white; border-radius: var(--radius); padding: 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06); display: flex; gap: 1.25rem; align-items: flex-start;
  border: 1px solid rgba(0,0,0,0.04); position: relative; overflow: hidden; transition: all 0.3s;
}
.event-item::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--green));
}
.event-item:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.event-date { background: linear-gradient(135deg, var(--blue-deeper), var(--blue-dark)); color: white; border-radius: 12px; padding: 0.75rem; text-align: center; min-width: 56px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.event-day   { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.event-day .icon { width: 26px; height: 26px; stroke-width: 1.8; }
.event-month { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; }
.event-body h3 { font-weight: 700; color: var(--blue-deeper); margin-bottom: 0.25rem; }
.event-body p  { color: var(--text-muted); font-size: 0.9rem; }
.event-tag { display: inline-block; background: var(--bg2); color: var(--blue-dark); font-size: 0.75rem; font-weight: 600; border-radius: 20px; padding: 2px 10px; margin-top: 0.5rem; }
.announcements-section { background: white; padding: 3rem 2rem; }
.announcements-section .container { max-width: 760px; margin: 0 auto; }
.announcement { border-bottom: 1px solid #e8f0f4; padding: 1.25rem 0; }
.announcement:last-child { border-bottom: none; }
.announcement h4 { color: var(--blue-deeper); font-weight: 700; margin-bottom: 0.25rem; }
.announcement p { color: var(--text-muted); font-size: 0.9rem; }
.announcement-date { font-size: 0.8rem; color: var(--green); font-weight: 600; margin-bottom: 0.25rem; }

/* ===== ABOUT PAGE ===== */
.about-section { padding: 3.5rem 2rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 920px; margin: 0 auto; align-items: start; }
.about-text h2 { color: var(--blue-deeper); font-size: 1.4rem; margin-bottom: 1rem; }
.about-text p { color: var(--text-muted); margin-bottom: 1rem; }
.facilities-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.facility-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--bg2); color: var(--blue-dark); font-size: 0.85rem; font-weight: 600; padding: 5px 14px 5px 10px; border-radius: 20px; border: 1px solid #b8dff0; }
.facility-badge .icon { width: 16px; height: 16px; }
.contact-card { background: white; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); border-top: 4px solid var(--blue); }
.contact-card h2 { color: var(--blue-deeper); font-size: 1.3rem; margin-bottom: 1.25rem; }
.contact-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.contact-row strong { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 2px; }
.contact-row a { color: var(--blue-dark); text-decoration: none; }
.contact-row a:hover { text-decoration: underline; color: var(--green); }
.map-section { padding: 0 2rem 3.5rem; }
.map-section .container { max-width: 920px; margin: 0 auto; }
.map-section h2 { color: var(--blue-deeper); margin-bottom: 1rem; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { display: block; width: 100%; height: 350px; border: none; }

/* ===== DONATE PAGE ===== */
.donate-section { padding: 3.5rem 2rem; }
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 920px; margin: 0 auto; }
.donate-info h2 { color: var(--blue-deeper); font-size: 1.4rem; margin-bottom: 1rem; }
.donate-info p { color: var(--text-muted); margin-bottom: 1rem; }
.donate-info blockquote { border-left: 4px solid var(--blue); padding: 0.75rem 1rem; background: white; border-radius: 0 8px 8px 0; font-style: italic; color: var(--blue-deeper); margin: 1.5rem 0; }
.donate-methods { display: flex; flex-direction: column; gap: 1.25rem; }
.donate-card { background: white; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border-left: 4px solid var(--blue); }
.donate-card h3 { color: var(--blue-deeper); font-weight: 700; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.donate-card p, .donate-card address { color: var(--text-muted); font-size: 0.9rem; font-style: normal; line-height: 1.8; }
.impact-section { background: linear-gradient(135deg, var(--blue-deeper), #0a6d99); color: white; padding: 3rem 2rem; text-align: center; }
.impact-section h2 { font-size: 1.4rem; margin-bottom: 0.5rem; color: #7FDDFF; }
.impact-section p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto; }

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(270deg, #042d3f, var(--blue-deeper), #0a6d99, var(--blue-deeper));
  background-size: 300% 100%;
  animation: gradientShift 10s ease infinite;
  color: rgba(255,255,255,0.7); padding: 2.5rem 2rem; text-align: center;
}
.footer-logo { height: 56px; width: auto; margin-bottom: 0.75rem; filter: brightness(0) invert(1); }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.footer-brand span { font-size: 1.2rem; font-weight: 800; color: white; letter-spacing: 2px; }
.footer-social { display: flex; justify-content: center; gap: 0.85rem; margin: 1.25rem 0; }
.footer-contact { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.85rem; }
.footer-contact .icon { width: 15px; height: 15px; color: var(--green); }
.footer p { font-size: 0.85rem; margin-top: 0.25rem; }
.footer-copy { margin-top: 1rem !important; font-size: 0.75rem !important; color: rgba(255,255,255,0.35) !important; }

/* ===== ANIMATIONS ===== */
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes borderGlow {
  0%   { border-image-source: linear-gradient(90deg, var(--blue), var(--green), var(--blue)); }
  50%  { border-image-source: linear-gradient(90deg, var(--green), var(--blue), var(--green)); }
  100% { border-image-source: linear-gradient(90deg, var(--blue), var(--green), var(--blue)); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(57,181,74,0.4); }
  50%      { box-shadow: 0 0 20px 6px rgba(57,181,74,0.2); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-logo   { animation: fadeIn 0.8s ease-out; }
.hero-sub    { animation: fadeIn 1s ease-out; }
.hero-kicker { animation: fadeIn 1.1s ease-out; }
.hero h1     { animation: fadeInUp 0.7s ease-out; }
.hero h2     { animation: fadeInUp 0.9s ease-out; }
.hero-desc   { animation: fadeInUp 1.1s ease-out; }
.hero-actions { animation: fadeInUp 1.3s ease-out; }

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal .card, .reveal .mgmt-card, .reveal .gallery-item {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal.visible .card, .reveal.visible .mgmt-card, .reveal.visible .gallery-item {
  opacity: 1; transform: translateY(0);
}
.reveal.visible .card:nth-child(1), .reveal.visible .mgmt-card:nth-child(1), .reveal.visible .gallery-item:nth-child(1) { transition-delay: 0s; }
.reveal.visible .card:nth-child(2), .reveal.visible .mgmt-card:nth-child(2), .reveal.visible .gallery-item:nth-child(2) { transition-delay: 0.1s; }
.reveal.visible .card:nth-child(3), .reveal.visible .mgmt-card:nth-child(3), .reveal.visible .gallery-item:nth-child(3) { transition-delay: 0.15s; }
.reveal.visible .card:nth-child(4), .reveal.visible .gallery-item:nth-child(4) { transition-delay: 0.2s; }
.reveal.visible .gallery-item:nth-child(5) { transition-delay: 0.25s; }

.pt-card.active { animation: pulseGlow 3s ease-in-out infinite; }

a, button { transition: all 0.3s ease; }

/* ===== UTILITIES ===== */
.container { max-width: 1100px; margin: 0 auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: rgba(8,85,115,0.98); padding: 1rem 2rem; backdrop-filter: blur(12px); }
  .nav-links.open { display: flex; }
  .about-grid, .donate-grid { grid-template-columns: 1fr; }
  .hero { min-height: 340px; padding-bottom: 4rem; }
  .hero h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.span-2 { grid-column: span 1; }
  .counters-grid { gap: 1.5rem; }
  .counter-num { font-size: 2rem; }
  .mgmt-card { max-width: 100%; flex: 1 1 100%; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
