/* ============================================================
   PAXUNITY — Main Stylesheet
   ============================================================ */

@font-face {
  font-family: 'UrduNastaliq';
  src: url('../fonts/Urdu_Emad_Nastaliq.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --gold: #f5c400;
  --gold-light: #ffe066;
  --gold-dark: #b8860b;
  --green: #7ed98b;
  --dark: #0d0d0d;
  --dark2: #161616;
  --dark3: #202020;
  --text: #f5f0e8;
  --muted: #a09880;
  --border: rgba(245,196,0,0.15);
  --radius: 1rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; background: var(--dark); color: var(--text); overflow-x: hidden; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 68px;
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  color: var(--text); text-decoration: none;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; opacity: 0.75; transition: all 0.2s;
}
.nav-links a:hover { color: var(--gold); opacity: 1; }
.nav-cta { background: var(--gold) !important; color: var(--dark) !important; padding: 0.5rem 1.2rem !important; border-radius: 999px; font-weight: 700 !important; font-size: 0.8rem !important; opacity: 1 !important; white-space: nowrap; }
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 199; background: rgba(13,13,13,0.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); padding: 1rem 0; flex-direction: column; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text); text-decoration: none; padding: 0.9rem 2rem; font-size: 1rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.04); transition: color 0.2s; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .mob-cta { color: var(--gold); }

/* SECTIONS */
section { padding: 5rem 1.5rem; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.light-section { background: #fdf8f0 !important; }
.white-section { background: #ffffff !important; }
.dark-warm-section { background: #1a1208; padding: 5rem 1.5rem; }
.gold-banner { background: var(--gold); padding: 4rem 1.5rem; }
.section-label { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); border-left: 3px solid var(--gold); padding-left: 0.75rem; margin-bottom: 0.8rem; }
.gold-label { color: var(--gold-dark) !important; border-color: var(--gold-dark) !important; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.18; margin-bottom: 1.5rem; color: var(--text); }
.dark-title { color: #1a1a1a !important; }
.accent { color: var(--gold); }
.gold-accent { color: var(--gold-dark) !important; }
.section-desc { color: #555; max-width: 620px; margin: 0 auto; line-height: 1.8; }

/* HERO */
#home {
  min-height: auto;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 5rem 1.5rem 3rem;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; background-image: url('../images/sunset.png'); background-size: cover; background-position: center; filter: brightness(0.45) saturate(0.85); }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.3) 0%, rgba(13,13,13,0.5) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 800px; width: 100%; }
/*.hero-top-row { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; animation: fadeUp 0.7s ease both; justify-content: center; } */
.hero-logo { width: min(140px, 38vw); height: auto; flex-shrink: 0; }
/*.hero-welcome { font-size: 0.75rem; color: rgba(245,240,232,0.55); letter-spacing: 0.04em; line-height: 1.9; text-align: left; } */
.hero-badge { display: inline-block; border: 1px solid rgba(245,196,0,0.45); color: var(--gold); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.38rem 1rem; border-radius: 999px; margin-bottom: 1.5rem; animation: fadeUp 0.7s 0.1s ease both; }
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 900; line-height: 1.08;
  margin-bottom: 1.1rem; animation: fadeUp 0.7s 0.2s ease both;
}
.hero-slogan { font-size: clamp(1rem, 2.5vw, 1.2rem); font-weight: 600; color: rgba(245,240,232,0.9); margin-bottom: 0.5rem; animation: fadeUp 0.7s 0.3s ease both; }
.hero-sub { font-size: 0.95rem; color: rgba(245,240,232,0.6); margin-bottom: 2rem; animation: fadeUp 0.7s 0.35s ease both; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.7s 0.4s ease both; }

/* BUTTONS */
.btn-primary { background: var(--gold); color: var(--dark); padding: 0.85rem 1.8rem; border-radius: 999px; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: all 0.2s; display: inline-block; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,196,0,0.3); }
.btn-outline { border: 1.5px solid rgba(245,240,232,0.5); color: var(--text); padding: 0.85rem 1.8rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: all 0.2s; display: inline-block; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-gold { background: var(--gold-dark); color: #fff; padding: 0.85rem 1.8rem; border-radius: 999px; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: all 0.2s; display: inline-block; }
.btn-gold:hover { background: var(--gold); color: var(--dark); transform: translateY(-2px); }
.btn-dark { background: #1a1a1a; color: #fff; padding: 0.85rem 2rem; border-radius: 999px; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: all 0.2s; display: inline-block; border: 2px solid #1a1a1a; }
.btn-dark:hover { background: transparent; color: #1a1a1a; transform: translateY(-2px); }

/* ABOUT PILLARS */
.about-pillars { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-top: 2.5rem; }
.about-pillar-item { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; background: #fff; border: 1px solid #e8d8b0; border-radius: 1rem; padding: 1.2rem 1.5rem; min-width: 140px; transition: all 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.about-pillar-item:hover { border-color: var(--gold-dark); transform: translateY(-3px); }
.about-pillar-icon { font-size: 2rem; }
.about-pillar-item span { font-size: 0.82rem; font-weight: 700; color: #555; text-align: center; letter-spacing: 0.04em; }

/* ABOUT GRID */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img-wrap { position: relative; border-radius: var(--radius); overflow: hidden; }
.about-img-wrap img { width: 100%; height: auto; max-height: 480px; object-fit: cover; display: block; }
.about-img-wrap::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px rgba(184,134,11,0.3); border-radius: var(--radius); pointer-events: none; }
.about-text p { line-height: 1.85; margin-bottom: 1.1rem; font-size: 1rem; }

/* PROGRAM CARDS */
.program-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.program-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid #e8e8e8; transition: all 0.3s; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.program-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.program-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.program-card-body { padding: 1.2rem; }
.program-card-body h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: #1a1a1a; margin-bottom: 0.5rem; }
.program-card-body p { font-size: 0.85rem; color: #666; line-height: 1.6; margin-bottom: 1rem; }
.program-btn { display: inline-block; background: #1a1a1a; color: #fff; padding: 0.5rem 1.2rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; text-decoration: none; transition: all 0.2s; }
.program-btn:hover { background: var(--gold-dark); }

/* JOIN + EVENTS */
.join-events-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.events-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 0.5rem; }
.event-item { display: flex; align-items: flex-start; gap: 1rem; }
.event-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 5px; }
.event-item strong { display: block; color: var(--text); font-size: 0.95rem; }
.event-date { font-size: 0.82rem; color: var(--muted); }
.impact-row { display: flex; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.impact-stat { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; background: rgba(245,196,0,0.08); border: 1px solid var(--border); border-radius: 0.75rem; padding: 1rem 1.2rem; flex: 1; min-width: 90px; }
.impact-icon { font-size: 1.5rem; }
.impact-num { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--gold); font-weight: 700; }
.impact-label { font-size: 0.72rem; color: var(--muted); text-align: center; text-transform: uppercase; letter-spacing: 0.07em; }

/* VOLUNTEER */
#volunteer { background: var(--dark2); }
.volunteer-intro { max-width: 640px; margin-bottom: 2.5rem; color: rgba(245,240,232,0.75); font-size: 1rem; line-height: 1.8; }

/* FORMS */
.form-card { background: var(--dark3); border: 1px solid var(--border); border-radius: 1.2rem; padding: clamp(1.5rem, 4vw, 2.8rem); max-width: 780px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.78rem; font-weight: 700; color: var(--gold); letter-spacing: 0.07em; text-transform: uppercase; }
.field input, .field select, .field textarea { background: rgba(255,255,255,0.04); border: 1px solid rgba(245,196,0,0.18); border-radius: 0.55rem; padding: 0.72rem 0.9rem; color: var(--text); font-family: 'Nunito', sans-serif; font-size: 0.92rem; transition: border-color 0.2s; outline: none; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); background: rgba(245,196,0,0.04); }
.field select option { background: var(--dark3); }
.field textarea { resize: vertical; min-height: 90px; }
.checkbox-group { display: flex; flex-direction: column; gap: 0.55rem; margin-top: 0.2rem; }
.checkbox-item { display: flex; align-items: flex-start; gap: 0.55rem; }
.checkbox-item input[type="checkbox"] { accent-color: var(--gold); margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; }
.checkbox-item span { font-size: 0.88rem; color: rgba(245,240,232,0.78); line-height: 1.5; }
.form-note { font-size: 0.78rem; color: var(--muted); font-style: italic; margin-top: 1.4rem; border-top: 1px solid var(--border); padding-top: 1.1rem; line-height: 1.6; }
.submit-btn { background: var(--gold); color: var(--dark); border: none; cursor: pointer; padding: 0.88rem 2.2rem; border-radius: 999px; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 0.95rem; margin-top: 1.6rem; transition: all 0.2s; }
.submit-btn:hover { background: var(--gold-light); transform: translateY(-2px); }
.back-btn { background: transparent; border: 1.5px solid rgba(245,240,232,0.3); color: var(--text); cursor: pointer; padding: 0.85rem 1.5rem; border-radius: 999px; font-family: 'Nunito', sans-serif; font-weight: 600; font-size: 0.95rem; transition: all 0.2s; }
.back-btn:hover { border-color: var(--gold); color: var(--gold); }
.form-success { display: none; background: rgba(126,217,139,0.1); border: 1px solid #7ed98b; border-radius: 0.8rem; padding: 1.5rem; text-align: center; color: #7ed98b; font-weight: 600; margin-top: 1.5rem; line-height: 1.7; }
.show-section-btn { background: var(--gold); color: var(--dark); border: none; cursor: pointer; padding: 0.85rem 2rem; border-radius: 999px; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 2rem; transition: all 0.2s; display: inline-block; }
.show-section-btn:hover { background: var(--gold-light); transform: translateY(-2px); }

/* FEEDBACK */
.feedback-notice { background: rgba(245,196,0,0.07); border: 1px solid rgba(245,196,0,0.22); border-radius: 0.75rem; padding: 0.9rem 1.3rem; font-size: 0.86rem; color: var(--muted); margin-bottom: 2rem; max-width: 640px; line-height: 1.6; }
.feedback-notice strong { color: var(--gold); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 1.2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 0.9rem; }
.contact-icon { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; background: rgba(245,196,0,0.08); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.contact-detail strong { display: block; font-size: 0.78rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.2rem; }
.contact-detail span, .contact-detail a { color: rgba(245,240,232,0.72); font-size: 0.92rem; text-decoration: none; }
.contact-detail a:hover { color: var(--gold); }
.social-links { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.8rem; }
.social-row-link { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--gold); font-weight: 700; font-size: 0.95rem; transition: opacity 0.2s; }
.social-row-link:hover { opacity: 0.75; }

/* FOOTER */
footer { background: #080808; padding: 3rem 1.5rem; text-align: center; border-top: 1px solid var(--border); }
footer img { height: 52px; margin-bottom: 1rem; }
footer p { color: var(--muted); font-size: 0.84rem; line-height: 1.75; max-width: 460px; margin: 0 auto; }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; margin: 1.2rem 0; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-legal { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px solid var(--border); }
.footer-legal a { color: rgba(160,152,128,0.5); text-decoration: none; font-size: 0.74rem; transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold); }
.copy { color: rgba(160,152,128,0.4); font-size: 0.75rem; margin-top: 1.2rem; }

/* POLICY PAGES */
.policy-page { padding: 7rem 1.5rem 5rem; max-width: 820px; margin: 0 auto; }
.policy-page h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3rem); color: var(--gold); margin-bottom: 0.5rem; }
.policy-page .policy-date { color: var(--muted); font-size: 0.82rem; margin-bottom: 2.5rem; }
.policy-page h2 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--gold); margin: 2.2rem 0 0.7rem; }
.policy-page p { color: rgba(245,240,232,0.78); line-height: 1.85; margin-bottom: 1rem; font-size: 0.97rem; }
.policy-page ul { color: rgba(245,240,232,0.75); padding-left: 1.5rem; margin-bottom: 1rem; }
.policy-page ul li { margin-bottom: 0.5rem; line-height: 1.7; font-size: 0.95rem; }
.policy-page a { color: var(--gold); }
.policy-back { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--gold); text-decoration: none; font-size: 0.85rem; font-weight: 700; margin-bottom: 2.5rem; }
.policy-back:hover { color: var(--gold-light); }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .program-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  nav { padding: 0 1.2rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .about-grid, .contact-grid, .join-events-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-full { grid-column: 1; }
}
@media (max-width: 600px) {
  .program-cards { grid-template-columns: 1fr; }
  .about-pillars { gap: 1rem; }
  .about-pillar-item { min-width: 120px; padding: 1rem; }
  section { padding: 4rem 1.2rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 280px; text-align: center; }
  .hero-top-row { flex-direction: column; text-align: center; }
  .hero-welcome { text-align: center; }
}
/* ── WELCOME STRIP ── */
.welcome-strip {
  background: #0d0d0d;
  padding: 40px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(245,196,0,0.15);
}
.welcome-langs {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.6);
  line-height: 2;
  max-width: 700px;
  margin: 0 auto 28px;
  letter-spacing: 0.03em;
}
.welcome-logo {
  width: min(180px, 50vw);
  height: auto;
  margin: 0 auto 20px;
  display: block;
}
.welcome-tagline {
  font-size: 0.92rem;
  color: rgba(245,240,232,0.75);
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto;
}
.welcome-tagline strong {
  color: #f5f0e8;
  font-size: 1rem;
}
.nav-emblem {
  height: 40px;
  width: auto;
  margin-right: 6px;
}
/* ── SUPPORT & SPONSOR ── */
#donate { background: var(--dark2); }
.support-top { max-width: 760px; margin-bottom: 2.5rem; }
.support-intro { color: rgba(245,240,232,0.75); font-size: 0.97rem; line-height: 1.85; margin-bottom: 0.5rem; }
.support-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.support-card { background: var(--dark3); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; }
.support-card-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.support-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--gold); margin-bottom: 0.3rem; }
.support-card-sub { font-size: 0.8rem; color: var(--muted); font-style: italic; margin-bottom: 1rem; }
.support-card-body { color: rgba(245,240,232,0.72); font-size: 0.92rem; line-height: 1.75; margin-bottom: 0.8rem; }
.support-list { list-style: none; padding: 0; margin-bottom: 1.2rem; }
.support-list li { color: rgba(245,240,232,0.75); font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.6rem; padding-left: 0.5rem; }
.support-socials { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1rem; }
.support-social-btn { background: rgba(245,196,0,0.1); border: 1px solid var(--border); color: var(--gold); padding: 0.45rem 1rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.support-social-btn:hover { background: var(--gold); color: var(--dark); }
.support-divider { border: none; border-top: 1px solid var(--border); margin: 3rem 0; }
.sponsor-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.sponsor-card { background: var(--dark3); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; transition: transform 0.3s, border-color 0.3s; }
.sponsor-card:hover { transform: translateY(-4px); }
.sponsor-gold { border-top: 3px solid #f5c400; }
.sponsor-silver { border-top: 3px solid #c0c0c0; }
.sponsor-bronze { border-top: 3px solid #cd7f32; }
.sponsor-tier-badge { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.8rem; }
.sponsor-card h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--text); margin-bottom: 1rem; }
#corporate {
  scroll-margin-top: 80px;
}
@media (max-width: 860px) {
  .support-cards { grid-template-columns: 1fr; }
  .sponsor-tiers { grid-template-columns: 1fr; }
}
#support, #sponsor {
  scroll-margin-top: 80px;
}
.nav-cta {
  text-decoration: none;
}
.nav-cta:hover {
  text-decoration: none;
}
