/* ==========================================================================
   विक्रम सिंह — सरपंच पद प्रत्याशी (ग्राम पंचायत रामपुर)
   Personal Candidate Official Campaign Website Stylesheet
   Mobile-First, High-Impact Indian Election Aesthetic
   ========================================================================== */

:root {
  --cand-navy: #0b1e3b;
  --cand-navy-dark: #061124;
  --cand-navy-light: #132f5c;
  
  --cand-saffron: #f57200;
  --cand-saffron-dark: #c85300;
  --cand-saffron-glow: rgba(245, 114, 0, 0.25);
  
  --cand-green: #0a8f4c;
  --cand-green-dark: #066b37;
  --cand-green-glow: rgba(10, 143, 76, 0.28);
  
  --cand-gold: #ffb81c;
  --cand-bg: #f8faf9;
  --cand-card: #ffffff;
  
  --text-main: #0f172a;
  --text-muted: #52657d;
  --text-light: #ffffff;
  
  --border-color: #e2e8f0;
  --border-saffron: rgba(245, 114, 0, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(11, 30, 59, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 30, 59, 0.09);
  --shadow-lg: 0 16px 40px rgba(11, 30, 59, 0.15);
  
  --font-head: 'Baloo 2', -apple-system, sans-serif;
  --font-body: 'Mukta', -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background-color: var(--cand-bg);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 1.05rem;
  overflow-x: hidden;
  padding-bottom: 70px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 800;
}

/* Header & Sticky Nav */
.cand-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 30, 59, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--cand-saffron);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.cand-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}

.cand-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.symbol-badge-small {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--cand-saffron);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cand-title-block h1 {
  font-size: 1.35rem;
  color: #fff;
  line-height: 1.1;
}

.cand-title-block span {
  font-size: 0.8rem;
  color: var(--cand-gold);
  font-weight: 700;
}

.cand-nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.cand-nav-links a {
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.cand-nav-links a:hover {
  color: var(--cand-gold);
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cand-green);
  color: #fff;
  font-weight: 800;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  box-shadow: 0 4px 12px var(--cand-green-glow);
}

.header-cta-btn:hover {
  background: var(--cand-green-dark);
}

/* Hero Section */
.cand-hero {
  position: relative;
  background: linear-gradient(135deg, #0b1e3b 0%, #153360 60%, #08152b 100%);
  color: #fff;
  padding: 48px 0 64px;
  overflow: hidden;
}

.hero-tricolor-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #f57200 0 33%, #ffffff 33% 66%, #0a8f4c 66% 100%);
}

.cand-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cand-hero-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-symbol-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid var(--cand-gold);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  align-self: flex-start;
  color: #fff;
  font-weight: 800;
  font-size: 0.94rem;
}

.hero-heading {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  color: #fff;
  line-height: 1.15;
}

.hero-slogan {
  font-size: 1.25rem;
  color: #e2e8f0;
  font-weight: 600;
  line-height: 1.6;
}

.voting-info-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.voting-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--cand-saffron);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.voting-text b {
  display: block;
  font-size: 1.15rem;
  color: var(--cand-gold);
}

.voting-text span {
  font-size: 0.9rem;
  color: #cbd5e1;
}

.hero-action-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn-cand-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--cand-green), var(--cand-green-dark));
  color: #fff;
  font-weight: 800;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  box-shadow: 0 6px 18px var(--cand-green-glow);
  transition: transform 0.2s;
}

.btn-cand-primary:hover {
  transform: translateY(-2px);
}

.btn-cand-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 800;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  transition: all 0.2s;
}

.btn-cand-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

/* Hero Candidate Photo Card */
.cand-photo-frame {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 3px solid var(--cand-gold);
}

.cand-photo-frame img {
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
}

.cand-photo-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(11, 30, 59, 0.94);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--cand-gold);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: center;
  color: #fff;
}

.cand-photo-badge b {
  display: block;
  font-size: 1.25rem;
  color: #fff;
}

.cand-photo-badge span {
  font-size: 0.88rem;
  color: var(--cand-gold);
  font-weight: 700;
}

/* Sections Common */
.cand-section {
  padding: 64px 0;
}

.cand-section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 40px;
}

.cand-eyebrow {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--cand-saffron);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.cand-section-title {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  color: var(--cand-navy);
  margin-bottom: 10px;
}

.cand-title-sep {
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, var(--cand-saffron), var(--cand-green));
  border-radius: 2px;
  margin: 12px auto 0;
}

/* Emotional Appeal Letter */
.appeal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  border-left: 6px solid var(--cand-saffron);
  position: relative;
}

.appeal-quote-mark {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 4rem;
  color: rgba(245, 114, 0, 0.12);
  line-height: 1;
  font-family: serif;
}

.appeal-content p {
  font-size: 1.12rem;
  color: #334155;
  margin-bottom: 18px;
  line-height: 1.8;
}

.appeal-sign-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 16px;
}

.appeal-signature b {
  display: block;
  font-size: 1.3rem;
  color: var(--cand-navy);
}

.appeal-signature span {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Manifesto Promises (5 Big Sankalp) */
.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.manifesto-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-color);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.manifesto-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cand-saffron);
}

.sankalp-num {
  align-self: flex-start;
  background: rgba(245, 114, 0, 0.12);
  color: var(--cand-saffron-dark);
  font-weight: 900;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.manifesto-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.manifesto-card h3 {
  font-size: 1.25rem;
  color: var(--cand-navy);
  margin-bottom: 10px;
}

.manifesto-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Proven Track Record */
.track-record-section {
  background: #ffffff;
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.track-item {
  background: var(--cand-bg);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.track-item b {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--cand-green-dark);
  line-height: 1.1;
}

.track-item h4 {
  font-size: 1.05rem;
  color: var(--cand-navy);
  margin: 6px 0 4px;
}

.track-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Rally & Meeting Schedule */
.schedule-table-wrap {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.schedule-table th, .schedule-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.schedule-table th {
  background: var(--cand-navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}

.schedule-table tr:hover {
  background: #f8fafc;
}

/* Endorsement & Testimonials */
.endorse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.endorse-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.endorse-quote {
  font-size: 1rem;
  color: #334155;
  font-style: italic;
  margin-bottom: 18px;
  line-height: 1.6;
}

.endorse-person b {
  display: block;
  font-size: 1.05rem;
  color: var(--cand-navy);
}

.endorse-person span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Volunteer Form */
.volunteer-box {
  background: linear-gradient(135deg, #0b1e3b, #153360);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.vol-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vol-input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.98rem;
  outline: none;
}

.vol-input:focus {
  border-color: var(--cand-gold);
  background: rgba(255, 255, 255, 0.14);
}

.vol-btn {
  background: var(--cand-green);
  color: #fff;
  font-weight: 800;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--cand-green-glow);
}

.vol-btn:hover {
  background: var(--cand-green-dark);
}

/* Footer */
.cand-footer {
  background: #061124;
  color: #94a3b8;
  padding: 40px 0 24px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cand-footer h4 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.cand-footer p {
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.cand-subtle-powered {
  font-size: 0.76rem;
  color: #64748b;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Mobile Bottom Sticky Bar */
.cand-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0b1e3b;
  border-top: 2px solid var(--cand-saffron);
  padding: 10px 14px;
  z-index: 999;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
  gap: 10px;
}

.cand-mobile-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.92rem;
  color: #fff;
}

.cand-mobile-btn.wa {
  background: var(--cand-green);
}

.cand-mobile-btn.call {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 960px) {
  .cand-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-symbol-pill {
    align-self: center;
  }
  
  .hero-action-buttons {
    justify-content: center;
  }
  
  .manifesto-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .track-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .volunteer-box {
    grid-template-columns: 1fr;
  }
  
  .cand-nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
  }
  
  .endorse-grid {
    grid-template-columns: 1fr;
  }
  
  .track-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .cand-mobile-bar {
    display: flex;
  }
  
  body {
    padding-bottom: 74px;
  }
  
  .appeal-box {
    padding: 24px 20px;
  }
  
  .volunteer-box {
    padding: 28px 20px;
  }
}
