/* ============================================================================
   TRS Campaign Website — Design System
   Aesthetic: proud, rooted, modern movement.  Green + Yellow/Gold + Ink.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700;9..144,900&family=Mukta:wght@400;500;600;700;800&family=Noto+Sans+Telugu:wght@500;700&display=swap');

:root {
  /* Brand palette: GREEN (primary) + YELLOW/GOLD (accent).
     Variable names below are legacy (--pink / --gold) but now hold the
     green + yellow brand colours so every rule recolours at once. */
  --pink: #1B7A3D;        /* brand green (primary) */
  --pink-deep: #0F5C2A;   /* deep green */
  --pink-bright: #2EA84F; /* bright green */
  --gold: #F4C20D;        /* brand yellow (accent) */
  --gold-deep: #C99700;   /* deep gold */
  --ink: #10261A;         /* near-black green ink */
  --ink-soft: #2c4636;
  --cream: #F6FBF1;       /* soft ivory-green */
  --cream-2: #E7F4DD;     /* pale green */
  --white: #ffffff;
  --grey: #5d6f62;
  --line: rgba(16,38,26,.10);

  --maxw: 1320px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -20px rgba(15,92,42,.32);
  --shadow-soft: 0 10px 30px -16px rgba(16,38,26,.22);

  --display: 'Fraunces', Georgia, serif;
  --body: 'Mukta', system-ui, -apple-system, Segoe UI, sans-serif;
  --telugu: 'Noto Sans Telugu', var(--body);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
/* Scale the whole UI up on large monitors so a 100% browser zoom on a
   1080p+ screen reads as crisply as it does at 150% (rem-based sizing). */
@media (min-width: 1500px) { html { font-size: 17px; } }
@media (min-width: 1800px) { html { font-size: 18px; } }
@media (min-width: 2200px) { html { font-size: 19px; } }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.telugu { font-family: var(--telugu); }

/* ---- Layout helpers --------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 92px 0; }
.section.tight { padding: 60px 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; font-size: .74rem; color: var(--pink);
  padding: 6px 14px; border: 1px solid rgba(27,122,61,.25);
  border-radius: 50px; background: rgba(27,122,61,.05);
}
h1,h2,h3 { font-family: var(--display); line-height: 1.08; font-weight: 700; letter-spacing: -.01em; }
h2.title { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 18px 0 14px; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--grey); }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--body); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 50px; cursor: pointer;
  border: 2px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-bright));
  color: #fff; box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 60px -18px rgba(27,122,61,.55); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--ink); }
.btn-gold:hover { transform: translateY(-3px); }
.btn-ghost { background: transparent; border-color: rgba(26,10,20,.18); color: var(--ink); }
.btn-ghost:hover { border-color: var(--pink); color: var(--pink); }
.btn-light { background: #fff; color: var(--pink); }

/* ---- Navigation ------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(246,251,241,.85);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.nav.scrolled { box-shadow: 0 10px 30px -20px rgba(26,10,20,.4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.logo .mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--pink), var(--pink-bright));
  color: #fff; font-family: var(--display); font-weight: 900; font-size: 1.15rem;
  box-shadow: var(--shadow);
}
.logo .lt { display: flex; flex-direction: column; line-height: 1.05; }
.logo .lt b { font-size: 1.02rem; letter-spacing: .02em; }
.logo .lt span { font-size: .68rem; color: var(--grey); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  transition: background .18s, color .18s;
}
.nav-links a:hover { background: rgba(27,122,61,.08); color: var(--pink); }
.nav-links a.active { color: var(--pink); }
.nav-cta { margin-left: 8px; }

/* language switcher */
.langsw { display: inline-flex; background: rgba(26,10,20,.06); border-radius: 50px; padding: 3px; margin: 0 6px; }
.langsw button {
  border: 0; background: transparent; cursor: pointer; font-family: var(--body); font-weight: 700;
  font-size: .82rem; padding: 6px 12px; border-radius: 50px; color: var(--ink-soft); transition: .18s; min-width: 38px;
}
.langsw button.on { background: linear-gradient(135deg,var(--pink),var(--pink-bright)); color: #fff; box-shadow: var(--shadow-soft); }
.langsw button:not(.on):hover { color: var(--pink); }
.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .25s; }

@media (max-width: 940px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--cream); padding: 16px 22px 26px; gap: 4px;
    border-bottom: 1px solid var(--line); transform: translateY(-130%);
    transition: transform .35s cubic-bezier(.4,0,.2,1); box-shadow: var(--shadow-soft);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 12px; border-radius: 10px; }
  .nav-cta { margin: 8px 0 0; }
  .burger { display: flex; }
}

/* ---- Hero ------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 90px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 600px at 12% -10%, rgba(27,122,61,.16), transparent 60%),
    radial-gradient(900px 600px at 100% 0%, rgba(244,184,41,.18), transparent 55%),
    linear-gradient(180deg, var(--cream), var(--cream-2));
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(27,122,61,.12) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--pink), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .telugu-tag { font-family: var(--telugu); color: var(--pink-deep); font-size: 1.3rem; font-weight: 700; margin-top: 6px; }
.hero p.lead { margin: 22px 0 30px; font-size: 1.18rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-portrait {
  position: relative; border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 4/5; background: var(--cream-2);
  border: 6px solid #fff;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -14px; bottom: 24px; background: #fff; color: var(--ink);
  padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow-soft); font-weight: 700;
  display: flex; align-items: center; gap: 10px;
}
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(27,122,61,.18); }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { max-width: 360px; margin: 6px auto 0; }
}

/* ---- Stat band -------------------------------------------------------- */
.statband { background: linear-gradient(135deg, var(--ink), #0a3d1f); color: #fff; }
.statband .grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; padding: 54px 0; }
.stat { text-align: center; padding: 8px; }
.stat .num { font-family: var(--display); font-size: clamp(2.2rem,4.5vw,3.4rem); font-weight: 900;
  background: linear-gradient(120deg,#fff,var(--gold)); -webkit-background-clip: text; background-clip:text; -webkit-text-fill-color: transparent; }
.stat .lab { font-weight: 700; margin-top: 4px; }
.stat .note { color: rgba(255,255,255,.6); font-size: .85rem; }
@media (max-width: 720px){ .statband .grid { grid-template-columns: repeat(2,1fr); } }

/* ---- Cards / generic -------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px; }
@media (max-width: 980px){ .grid-3,.grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; } }

/* pillar / feature card */
.feature { padding: 28px; }
.feature .ic { font-size: 2rem; }
.feature h3 { font-size: 1.3rem; margin: 14px 0 8px; }

/* ---- Leader focus ----------------------------------------------------- */
.leaderfocus { display: grid; grid-template-columns: .85fr 1.15fr; gap: 46px; align-items: center; }
.leaderfocus .lf-photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; aspect-ratio: 4/5; background: var(--cream-2); }
.leaderfocus .lf-photo img { width: 100%; height: 100%; object-fit: cover; }
.lf-role { color: var(--pink); font-weight: 800; font-size: 1.05rem; margin: 8px 0 4px; }
.lf-facts { list-style: none; margin: 16px 0 18px; }
.lf-facts li { padding-left: 26px; position: relative; margin-bottom: 8px; color: var(--ink-soft); }
.lf-facts li::before { content: "✦"; position: absolute; left: 0; color: var(--gold-deep); }
.lf-quote { font-family: var(--display); font-size: 1.35rem; color: var(--pink-deep); border-left: 4px solid var(--gold); padding-left: 18px; margin: 0 0 22px; line-height: 1.4; }
@media (max-width: 880px) { .leaderfocus { grid-template-columns: 1fr; } .leaderfocus .lf-photo { max-width: 340px; margin: 0 auto; } }

/* ---- Instagram embeds ------------------------------------------------- */
.ig-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; justify-items: center; }
.ig-grid .instagram-media { max-width: 460px; }

/* ---- Agenda ----------------------------------------------------------- */
.agenda-item { padding: 30px; position: relative; overflow: hidden; }
.agenda-item .no {
  position: absolute; top: -10px; right: 14px; font-family: var(--display);
  font-weight: 900; font-size: 5rem; color: rgba(27,122,61,.08);
}
.agenda-item .ic { font-size: 2.2rem; }
.agenda-item h3 { font-size: 1.45rem; margin: 12px 0 8px; }
.agenda-item ul { list-style: none; margin-top: 14px; }
.agenda-item ul li { padding-left: 26px; position: relative; margin-bottom: 8px; color: var(--ink-soft); }
.agenda-item ul li::before { content: "✓"; position: absolute; left: 0; color: var(--pink); font-weight: 800; }

/* ---- Section heading -------------------------------------------------- */
.sec-head { max-width: 720px; margin-bottom: 46px; }
.sec-head.center { margin-left: auto; margin-right: auto; }

/* ---- Newsroom / updates ----------------------------------------------- */
.news-card { overflow: hidden; }
.news-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .thumb img { transform: scale(1.06); }
.news-card .body { padding: 20px 22px 24px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--pink-deep); background: rgba(27,122,61,.1); padding: 4px 11px; border-radius: 50px; }
.news-card h3 { font-size: 1.18rem; margin: 12px 0 8px; }
.date { font-size: .82rem; color: var(--grey); font-weight: 600; }

/* ---- Gallery / media -------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.gallery a { border-radius: 14px; overflow: hidden; aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.08); }
@media (max-width: 720px){ .gallery { grid-template-columns: repeat(2,1fr); } }

.video-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.video-grid .vid { border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-soft); background:#000; }
.video-grid iframe { width: 100%; aspect-ratio: 16/9; border: 0; display:block; }
.video-grid .vt { padding: 12px 14px; background:#fff; font-weight:700; }
@media (max-width: 820px){ .video-grid { grid-template-columns: 1fr; } }

/* ---- Social cards ----------------------------------------------------- */
.social-card { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.social-card .top { display: flex; align-items: center; justify-content: space-between; }
.social-card .plat { font-weight: 800; color: var(--pink); }
.social-card .handle { color: var(--grey); font-size: .85rem; }
.social-card .likes { font-weight: 700; color: var(--ink-soft); font-size: .9rem; }

/* ---- Leaders ---------------------------------------------------------- */
.leader-card { overflow: hidden; text-align: center; }
.leader-card .ph { aspect-ratio: 1; overflow: hidden; background: var(--cream-2); }
.leader-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.leader-card .body { padding: 18px 16px 22px; }
.leader-card h3 { font-size: 1.15rem; }
.leader-card .role { color: var(--pink); font-weight: 700; font-size: .88rem; }
.leader-card .meta { color: var(--grey); font-size: .85rem; margin-top: 4px; }
.chip { display:inline-block; margin-top:10px; font-size:.76rem; font-weight:700; background:rgba(244,184,41,.18); color:var(--gold-deep); padding:4px 10px; border-radius:50px; }

/* filter bar */
.filterbar { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:30px; align-items:center; }
.filterbar input, .filterbar select {
  font-family: var(--body); font-size: .95rem; padding: 11px 16px; border-radius: 50px;
  border: 1px solid var(--line); background:#fff; min-width: 200px; outline:none;
}
.filterbar input:focus, .filterbar select:focus { border-color: var(--pink); }

/* ---- Constituencies --------------------------------------------------- */
.district { padding: 22px 24px; }
.district h3 { font-size: 1.2rem; display:flex; align-items:center; justify-content:space-between; }
.district .count { font-size:.8rem; font-weight:700; color:#fff; background:var(--pink); padding:3px 10px; border-radius:50px; }
.cons-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.cons-tags span { font-size:.82rem; background: var(--cream-2); color: var(--ink-soft); padding: 6px 12px; border-radius: 8px; font-weight:500; }

/* ---- Events ----------------------------------------------------------- */
.event-row {
  display:grid; grid-template-columns: 110px 1fr auto; gap: 22px; align-items:center;
  padding: 22px 24px; background:#fff; border:1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 14px; transition: transform .2s, box-shadow .2s;
}
.event-row:hover { transform: translateX(4px); box-shadow: var(--shadow-soft); }
.event-date { text-align:center; background: linear-gradient(135deg,var(--pink),var(--pink-bright)); color:#fff; border-radius:14px; padding:12px 6px; }
.event-date .d { font-family:var(--display); font-size:1.8rem; font-weight:900; line-height:1; }
.event-date .m { font-size:.8rem; text-transform:uppercase; letter-spacing:.1em; }
.event-info h3 { font-size:1.2rem; }
.event-info .where { color: var(--grey); font-size:.9rem; margin-top:3px; }
.event-type { font-size:.76rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em; color:var(--gold-deep); background:rgba(244,184,41,.18); padding:6px 13px; border-radius:50px; }
@media (max-width:620px){ .event-row{ grid-template-columns:80px 1fr; } .event-type{ grid-column:2; justify-self:start; } }

/* ---- Support / donate ------------------------------------------------- */
.donate-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items:start; }
@media (max-width:880px){ .donate-grid{ grid-template-columns:1fr; } }
.progress-wrap { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px; box-shadow:var(--shadow-soft); }
.progress-bar { height:14px; background:var(--cream-2); border-radius:50px; overflow:hidden; margin:14px 0 10px; }
.progress-bar > i { display:block; height:100%; border-radius:50px; background:linear-gradient(90deg,var(--pink),var(--gold)); width:0; transition: width 1.4s cubic-bezier(.2,.7,.2,1); }
.progress-meta { display:flex; justify-content:space-between; font-weight:700; }
.tier-grid { display:grid; grid-template-columns: repeat(2,1fr); gap:14px; margin-top:18px; }
.tier { border:2px solid var(--line); border-radius:var(--radius-sm); padding:16px; cursor:pointer; transition:.2s; background:#fff; text-align:left; font-family:var(--body); }
.tier:hover, .tier.sel { border-color:var(--pink); background:rgba(27,122,61,.04); transform:translateY(-2px); }
.tier .amt { font-family:var(--display); font-size:1.5rem; font-weight:900; color:var(--pink); }
.tier .tl { font-weight:800; }
.tier .pk { font-size:.85rem; color:var(--grey); }
.form-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:30px; box-shadow:var(--shadow-soft); }
.field { margin-bottom:16px; }
.field label { display:block; font-weight:700; font-size:.9rem; margin-bottom:6px; }
.field input { width:100%; padding:13px 16px; border:1px solid var(--line); border-radius:12px; font-family:var(--body); font-size:1rem; outline:none; }
.field input:focus { border-color:var(--pink); }
.compliance { font-size:.82rem; color:var(--grey); margin-top:14px; line-height:1.5; }

/* ---- CTA band --------------------------------------------------------- */
.cta-band { background: linear-gradient(135deg, var(--pink), var(--pink-deep)); color:#fff; border-radius: 28px; padding: 56px; text-align:center; box-shadow: var(--shadow); }
.cta-band h2 { font-size: clamp(1.8rem,4vw,2.8rem); }
.cta-band p { opacity:.92; max-width:560px; margin: 14px auto 26px; }

/* ---- Footer ----------------------------------------------------------- */
footer.site {
  background: var(--ink); color: rgba(255,255,255,.78); padding: 64px 0 30px; margin-top: 20px;
}
footer.site .cols { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
footer.site h4 { color:#fff; font-family:var(--body); font-weight:800; margin-bottom:14px; font-size:1rem; letter-spacing:.02em; }
footer.site a { display:block; padding:5px 0; color:rgba(255,255,255,.72); transition:color .2s; }
footer.site a:hover { color: var(--gold); }
footer.site .brandblock p { margin-top:12px; max-width:300px; font-size:.92rem; }
footer.site .disclaimer { border-top:1px solid rgba(255,255,255,.12); margin-top:40px; padding-top:22px; font-size:.8rem; color:rgba(255,255,255,.5); line-height:1.6; }
@media (max-width:820px){ footer.site .cols{ grid-template-columns:1fr 1fr; } }

/* demo ribbon */
.demo-ribbon {
  background: repeating-linear-gradient(45deg,#1a0a14,#1a0a14 12px,#2a0f1f 12px,#2a0f1f 24px);
  color: var(--gold); text-align:center; font-size:.78rem; font-weight:700; padding:7px 12px; letter-spacing:.03em;
}

/* ---- Scroll reveal ---------------------------------------------------- */
.reveal { opacity:0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity:1; transform:none; }
.reveal.d1{ transition-delay:.08s; } .reveal.d2{ transition-delay:.16s; }
.reveal.d3{ transition-delay:.24s; } .reveal.d4{ transition-delay:.32s; }

/* page header (interior pages) */
.page-hero { position:relative; padding: 70px 0 50px; }
.page-hero::before { content:""; position:absolute; inset:0; z-index:-1;
  background: radial-gradient(800px 400px at 10% 0%, rgba(27,122,61,.14), transparent 60%),
              radial-gradient(700px 400px at 100% 0%, rgba(244,184,41,.16), transparent 55%),
              linear-gradient(180deg,var(--cream),var(--cream-2)); }
.page-hero h1 { font-size: clamp(2.2rem,5vw,3.6rem); font-weight:900; }
.page-hero .lead { margin-top:14px; }
