/* ==========================================================================
   Portfolio 6: High-Stakes Action Petition Funnel & Civic Campaign HQ (বাংলা)
   Aesthetic: Urgent Movement Funnel, Sticky Action Card, Thermometer Meter,
   High-Contrast Coral/Orange & Deep Navy, Ground Action & Endorsement Feeds
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700;800&family=Tiro+Bangla:ital@0;1&display=swap');

:root {
  --funnel-navy: #0f172a;
  --funnel-dark: #0a0f1d;
  --funnel-card: #1e293b;
  --action-coral: #ff4757;
  --action-coral-hover: #e0404f;
  --action-amber: #ffa502;
  --action-emerald: #2ed573;
  --text-white: #ffffff;
  --text-dim: #94a3b8;
  --font-bangla: 'Hind Siliguri', sans-serif;
  --font-quote: 'Tiro Bangla', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-bangla);
  background-color: var(--funnel-dark);
  color: var(--text-white);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Urgent Countdown Ribbon */
.urgent-ribbon {
  background: linear-gradient(90deg, #ff4757, #ff6b81);
  color: #fff;
  padding: 0.65rem 0;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(255, 71, 87, 0.3);
}

.urgent-ribbon-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Funnel Header */
.funnel-header {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-campaign {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-symbol {
  width: 44px;
  height: 44px;
  background: var(--action-coral);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
}

.brand-text h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.brand-text span {
  font-size: 0.78rem;
  color: var(--action-amber);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.nav-funnel-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  align-items: center;
}

.btn-pledge-nav {
  background: var(--action-coral);
  color: #fff;
  padding: 0.55rem 1.25rem;
  font-weight: 700;
  border-radius: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.35);
}

.btn-pledge-nav:hover {
  background: var(--action-coral-hover);
  transform: translateY(-2px);
}

/* Split Hero Funnel */
.hero-funnel {
  padding: 3.5rem 0 4.5rem;
  background: radial-gradient(circle at 20% 30%, rgba(255, 71, 87, 0.12) 0%, transparent 60%);
}

.funnel-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 3rem;
  align-items: flex-start;
}

/* Left: Candidate Urgent Open Letter */
.letter-box {
  background: var(--funnel-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 71, 87, 0.15);
  color: var(--action-coral);
  border: 1px solid rgba(255, 71, 87, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.hero-funnel h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  color: #fff;
}

.hero-funnel h1 span {
  color: var(--action-coral);
  text-decoration: underline;
  text-decoration-color: var(--action-amber);
}

.letter-content {
  font-family: var(--font-quote);
  font-size: 1.08rem;
  line-height: 1.8;
  color: #e2e8f0;
  margin-bottom: 1.75rem;
}

.letter-content p {
  margin-bottom: 1rem;
}

.letter-sign-strip {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
}

.leader-avatar-circle {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--action-amber);
}

/* Right: Sticky Action Card & Pledge Thermometer */
.action-card-sticky {
  background: #ffffff;
  color: #0f172a;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 0 3px rgba(255, 71, 87, 0.2);
  position: sticky;
  top: 100px;
}

.action-card-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.action-card-header p {
  color: #64748b;
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

/* Pledge Thermometer */
.thermometer-wrap {
  background: #f1f5f9;
  border-radius: 8px;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  border: 1px solid #e2e8f0;
}

.thermo-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.thermo-bar {
  height: 18px;
  background: #cbd5e1;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
}

.thermo-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff4757, #ffa502);
  border-radius: 50px;
  width: 76%;
}

.thermo-stats-strip {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

/* Action Pledge Form */
.pledge-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.funnel-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-family: var(--font-bangla);
  font-size: 0.95rem;
  background: #f8fafc;
  outline: none;
  transition: all 0.2s ease;
}

.funnel-input:focus {
  border-color: var(--action-coral);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.15);
}

.btn-pledge-submit {
  background: var(--action-coral);
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-pledge-submit:hover {
  background: var(--action-coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.5);
}

.security-note {
  font-size: 0.78rem;
  color: #64748b;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Section Common */
.section {
  padding: 4.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-head-center {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem;
}

.section-head-center h2 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-head-center p {
  color: var(--text-dim);
  font-size: 1.05rem;
}

/* 5 Urgent Demands Cards */
.demands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.demand-card {
  background: var(--funnel-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.75rem;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.demand-card:hover {
  transform: translateY(-4px);
  border-color: var(--action-coral);
}

.demand-badge {
  background: rgba(255, 71, 87, 0.15);
  color: var(--action-coral);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.85rem;
}

.demand-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #fff;
}

.demand-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Rally & Ground Photos */
.rally-feature {
  background: var(--funnel-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.rally-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.rally-content {
  padding: 2.5rem;
}

.rally-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.rally-content p {
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Citizen Endorsement Wall */
.endorsement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.endorsement-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.5rem;
}

.endorsement-quote {
  font-family: var(--font-quote);
  font-size: 0.98rem;
  color: #e2e8f0;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  position: relative;
}

.endorser-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.endorser-initial {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--action-coral);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.endorser-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.endorser-info span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Citizen Toolkit Download */
.toolkit-box {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 2px dashed rgba(255, 71, 87, 0.4);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
}

.toolkit-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn-tool {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.2s ease;
}

.btn-tool:hover {
  background: var(--action-coral);
  border-color: var(--action-coral);
}

/* Footer */
.funnel-footer {
  background: #060a12;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 0 2rem;
  font-size: 0.92rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-col p {
  color: var(--text-dim);
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--action-coral);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.contact-row i {
  color: var(--action-coral);
  margin-top: 0.25rem;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-dim);
}

.footer-bottom-bar a {
  color: var(--action-amber);
}

.mobile-toggle {
  display: none;
  background: rgba(255, 71, 87, 0.15);
  border: 1px solid rgba(255, 71, 87, 0.4);
  color: #fff;
  font-size: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.mobile-toggle:hover {
  background: var(--action-coral);
}

@media (max-width: 950px) {
  .funnel-grid { grid-template-columns: 1fr; }
  .action-card-sticky { position: static; }
  .rally-feature { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .mobile-toggle { display: flex; }

  .header-inner {
    position: relative;
  }

  .nav-funnel-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    gap: 0.85rem;
    margin-top: 0.5rem;
    z-index: 1000;
  }

  .nav-funnel-links.active {
    display: flex !important;
  }

  .nav-funnel-links li {
    width: 100%;
  }

  .nav-funnel-links li a {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-funnel-links li a.btn-pledge-nav {
    text-align: center;
    margin-top: 0.5rem;
  }
}

@media (max-width: 600px) {
  .footer-columns { grid-template-columns: 1fr; }
}
