/* ====================================================
   HERO SECTION — External Stylesheet
   Bootstrap classes used wherever possible;
   custom classes below cover gradients, colors,
   precise sizing, and effects not available in BS5.
   ==================================================== */

/* ---------- Global / Section ---------- */
.hero-section {
  position: relative;
  overflow: hidden;
  font-family: Lato, sans-serif;
  width: 100%;
  height: 100%;
}

.hero-no-pointer {
  pointer-events: none;
}

/* ---------- App root ---------- */
.app-root {
  width: 100%;
  height: 100%;
}

/* ---------- Flag background ---------- */
.flag-svg {
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  opacity: 0.015;
  transform: rotate(-8deg);
}

.flag-fabric-overlay {
  background: repeating-linear-gradient(
    -8deg,
    transparent 0px,
    rgba(0,0,0,0.002) 40px,
    transparent 80px
  );
}

/* ---------- Dramatic lighting ---------- */
.lighting-spotlight {
  width: 900px;
  height: 900px;
  top: -300px;
  right: -200px;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(218,165,80,0.08) 0%, rgba(218,165,80,0.03) 30%, transparent 70%);
}

.lighting-blue-glow {
  width: 700px;
  height: 700px;
  top: 10%;
  left: -200px;
  background: radial-gradient(circle, rgba(26,58,110,0.12) 0%, transparent 65%);
}

.lighting-bottom-warm {
  width: 100%;
  height: 300px;
  background: radial-gradient(ellipse 80% 100% at 60% 100%, rgba(218,165,80,0.06) 0%, transparent 60%);
}

.lighting-red-accent {
  width: 600px;
  height: 200px;
  top: 0;
  left: 20%;
  background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(204,51,51,0.06) 0%, transparent 70%);
}

.lighting-vignette {
  background: radial-gradient(ellipse 80% 70% at 50% 45%, transparent 0%, rgba(240,245,250,0.3) 100%);
}

/* ---------- Top accent line ---------- */
.hero-accent-line {
  height: 2px;
  z-index: 20;
  background: linear-gradient(90deg, transparent 0%, rgba(204,51,51,0.2) 20%, rgba(218,165,80,0.25) 50%, rgba(204,51,51,0.2) 80%, transparent 100%);
}

/* ---------- Navigation ---------- */
.hero-nav {
  z-index: 20;
  padding-left: clamp(24px, 3vw, 64px);
  padding-right: clamp(24px, 3vw, 64px);
}

.hero-nav-logo {
  height: 42px;
  width: auto;
}

.hero-nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(13,22,40,0.5);
  text-decoration: none;
  transition: color 0.3s;
}

.hero-nav-link:hover {
  color: rgba(13,22,40,0.85);
}

.hero-nav-donate {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(204,51,51,0.08) 0%, rgba(204,51,51,0.04) 100%);
  border: 1px solid rgba(204,51,51,0.15);
  box-shadow: 0 2px 10px rgba(204,51,51,0.08);
  cursor: pointer;
  transition: box-shadow 0.3s;
  color: #A03C3C;
}

.hero-nav-donate-icon {
  width: 14px;
  height: 14px;
  color: #A03C3C;
}

/* ---------- Main content container ---------- */
.hero-content {
  position: relative;
  z-index: 10;
  padding: 20px 0;
  width: 100%;
}

/* ---------- Left column ---------- */
.hero-left-col {
  max-width: 560px;
  padding-top: clamp(32px, 4vw, 64px);
}

.hero-tagline-badge {
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(26,58,110,0.06) 0%, rgba(26,58,110,0.03) 100%);
  border: 1px solid rgba(26,58,110,0.1);
}

.hero-live-dot {
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #C45C5C 40%, rgba(160,60,60,0.6) 100%);
  box-shadow: 0 0 8px rgba(196,92,92,0.4);
}

.hero-tagline-text {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(26,58,110,0.6);
}

.hero-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #0D1628;
  text-shadow: 0 2px 40px rgba(26,58,110,0.08);
}

.hero-subheadline {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #8B2E2E;
}

.hero-mission {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.85;
  color: rgba(13,22,40,0.6);
  max-width: 440px;
}

.hero-cta-btn {
  padding: 16px 36px;
  background: linear-gradient(135deg, #8B2E2E 0%, #A83C3C 40%, #C04848 100%);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 30px rgba(160,60,60,0.3), 0 1px 0 rgba(255,255,255,0.1) inset;
  cursor: pointer;
  transition: box-shadow 0.3s;
  border: none;
}

.hero-cta-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.hero-cta-chevron {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.hero-secondary-link-wrap {
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(13,22,40,0.4);
}

.hero-secondary-link {
  color: rgba(13,22,40,0.4);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(13,22,40,0.15);
  transition: color 0.3s;
}

.hero-secondary-link:hover {
  color: rgba(13,22,40,0.7);
}

/* ---------- Right column ---------- */
.hero-right-col {
  max-width: 920px;
}

/* ---------- Bottom stats bar ---------- */
.hero-stats-bar {
  z-index: 10;
  border-top: 1px solid rgba(26,58,110,0.1);
  background: linear-gradient(to right, rgba(26,58,110,0.02) 0%, rgba(26,58,110,0.04) 50%, rgba(26,58,110,0.02) 100%);
}

.hero-stats-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: clamp(24px, 3vw, 64px);
  padding-right: clamp(24px, 3vw, 64px);
}

.hero-stat-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0D1628;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(13,22,40,0.45);
  margin-top: 2px;
}

.hero-stat-divider {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, transparent, rgba(26,58,110,0.15), transparent);
}

/* ====================================================
   HOUSE PROGRESS COMPONENT
   ==================================================== */

.house-goal-header {
  z-index: 10;
}

.house-goal-label {
  font-size: 0.7rem;
  font-weight: 600;
  font-family: Lato, sans-serif;
  letter-spacing: 0.25em;
  color: rgba(13,22,40,0.5);
}

.house-goal-amount {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  font-family: Lato, sans-serif;
  letter-spacing: -0.03em;
  color: #0D1628;
  text-shadow: 0 2px 30px rgba(26,58,110,0.08);
}

.house-svg {
  width: 100%;
}

/* ---------- Badge ---------- */
.house-badge-wrap {
  right: clamp(-40px, -2vw, -10px);
  top: clamp(10px, 3%, 30px);
}

.house-badge-outer {
  width: clamp(72px, 10vw, 96px);
  height: clamp(72px, 10vw, 96px);
}

.house-badge-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.house-badge-ring-transition {
  transition: stroke-dasharray 2.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.house-badge-inner {
  width: 78%;
  height: 78%;
  background: radial-gradient(circle at 40% 35%, rgba(27,62,80,0.95) 0%, rgba(20,46,60,0.98) 100%);
  border: 1px solid rgba(43,188,224,0.25);
  box-shadow: 0 0 30px rgba(43,188,224,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
}

.house-badge-percent {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 800;
  font-family: Inter, sans-serif;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -0.02em;
}

.house-badge-funded {
  font-size: clamp(0.4rem, 0.8vw, 0.55rem);
  font-weight: 600;
  font-family: Inter, sans-serif;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.15em;
  margin-top: 2px;
}

/* ---------- Stats below house ---------- */
.house-stats {
  font-family: Lato, sans-serif;
}

.house-stat-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(13,22,40,0.45);
}

.house-stat-raised {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #1B3E50;
  letter-spacing: -0.02em;
}

.house-stat-goal {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: rgba(27,62,80,0.55);
  letter-spacing: -0.02em;
}

.house-stat-divider {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(218,165,80,0.3), transparent);
}

/* ====================================================
   QR CODE CARD
   ==================================================== */

.qr-card {
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(26,58,110,0.06) 0%, rgba(26,58,110,0.03) 100%);
  border: 1px solid rgba(26,58,110,0.12);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 16px rgba(26,58,110,0.08);
}

.qr-code-wrap {
  padding: 8px;
  background: white;
  box-shadow: 0 2px 12px rgba(13,22,40,0.15);
}

.qr-text-wrap {
  font-family: Lato, sans-serif;
}

.qr-label-row {
  margin-bottom: 2px;
}

.qr-icon {
  width: 12px;
  height: 12px;
  color: rgba(13,22,40,0.45);
}

.qr-label {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(13,22,40,0.5);
}

.qr-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0D1628;
  letter-spacing: -0.01em;
}