:root {
  --navy: #0a3474;
  --navy-2: #071d43;
  --saffron: #ff5b16;
  --green: #138a36;
  --ink: #1b2430;
  --muted: #667085;
  --line: #e5eaf0;
  --paper: #fffdf9;
  --soft: #f5f8fb;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(15, 38, 76, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Noto Sans Tamil", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 40px)); }
.section-pad { padding: 110px 0; position: relative; }
.tinted { background: var(--soft); }

.page-loader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: var(--paper); transition: opacity .55s ease, visibility .55s ease;
}
.page-loader.hide { opacity: 0; visibility: hidden; }
.page-loader span { position: absolute; color: var(--navy); font-weight: 800; letter-spacing: .15em; font-size: .9rem; }
.loader-ring { width: 86px; height: 86px; border-radius: 50%; border: 4px solid #e7edf5; border-top-color: var(--saffron); border-right-color: var(--green); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.84);
  backdrop-filter: blur(18px); border-bottom: 1px solid rgba(15,38,76,.06);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(15,38,76,.08); background: rgba(255,255,255,.95); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 230px; }
.brand img {  height: 58px; object-fit: contain; border-radius: 0; box-shadow: none; ); }
.brand strong { display: block; color: var(--navy); font-size: 1.15rem; letter-spacing: .06em; }
.brand span { display: block; color: var(--muted); font-size: .76rem; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { position: relative; font-size: .91rem; font-weight: 600; color: #344054; }
.main-nav a::after { content:""; position:absolute; left:0; right:100%; bottom:-8px; height:2px; background: linear-gradient(90deg,var(--saffron),var(--green)); transition:right .25s ease; }
.main-nav a:hover::after { right:0; }
.menu-toggle { display:none; border:0; background:transparent; padding:8px; }
.menu-toggle span { width:24px; height:2px; background:var(--navy); display:block; margin:5px 0; }

.hero { min-height: 560px; display: flex; align-items: center; overflow: hidden; background: radial-gradient(circle at 80% 18%, rgba(19,138,54,.08), transparent 23%), radial-gradient(circle at 12% 20%, rgba(255,91,22,.08), transparent 20%), linear-gradient(180deg,#fff 0%,#fbfcff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 56px; position: relative; z-index: 2; }
.eyebrow, .section-kicker { color: var(--navy); text-transform: uppercase; letter-spacing: .13em; font-size: .75rem; font-weight: 800; }
.eyebrow { display:flex; align-items:center; gap:10px; margin-bottom:20px; }
.eyebrow span { width:40px; height:3px; border-radius:99px; background:linear-gradient(90deg,var(--saffron),var(--green)); }
h1, h2, h3 { line-height: 1.12; margin-top: 0; }
h1 { font-size: clamp(2.65rem, 5vw, 4.85rem); letter-spacing: -.045em; margin-bottom: 25px; color: var(--navy-2); }
h1 em { font-style: normal; background: linear-gradient(95deg,var(--saffron),#d94713 42%,var(--green)); -webkit-background-clip:text; color:transparent; }
.hero-subtitle { font-size: 1.12rem; color: var(--muted); max-width: 700px; }
.hero-actions { display:flex; gap:14px; margin: 26px 0 30px; flex-wrap:wrap; }
.btn { padding: 14px 22px; border-radius: 14px; font-weight: 700; font-size:.94rem; transition: transform .25s ease, box-shadow .25s ease; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--navy); color:white; box-shadow: 0 12px 30px rgba(10,52,116,.2); }
.btn-ghost { border:1px solid var(--line); background:#fff; }
.trust-row { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; border-top:1px solid var(--line); padding-top:25px; }
.trust-row strong { color:var(--navy); display:block; font-size:.92rem; }
.trust-row span { display:block; color:var(--muted); font-size:.76rem; }
.hero-visual { position:relative; display:flex; flex-direction:column; align-items:center; }
.logo-card { width:min(430px,100%); padding:0; background:transparent; box-shadow:none; border:0; }
.logo-card img { width:100%; display:block; object-fit:contain; filter: drop-shadow(0 18px 34px rgba(10,52,116,.14)); }
.floating { animation: float 5.5s ease-in-out infinite; }
@keyframes float { 50% { transform:translateY(-14px) rotate(.3deg); } }
.tricolor-line { width:86%; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:8px; margin-top:26px; }
.tricolor-line span:not(.chakra) { height:5px; border-radius:99px; transform-origin:left; animation:growLine 1.3s .6s both; }
.tricolor-line .saffron { background:var(--saffron); }
.tricolor-line .green { background:var(--green); }
.tricolor-line .chakra { color:var(--navy); font-size:1.4rem; animation:pulse 2.8s ease-in-out infinite; }
@keyframes growLine { from { transform:scaleX(0); } to { transform:scaleX(1); } }
@keyframes pulse { 50% { transform:scale(1.15) rotate(90deg); } }
.hero-orb { position:absolute; border-radius:50%; filter:blur(10px); opacity:.45; }
.orb-one { width:260px;height:260px;background:rgba(255,91,22,.12);left:-100px;top:120px; }
.orb-two { width:320px;height:320px;background:rgba(19,138,54,.09);right:-110px;bottom:30px; }

.statement-strip { background: var(--navy); color:#d9e5fb; padding:16px 0; text-align:center; font-size:.86rem; }
.statement-strip p { margin:0; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:40px; margin-bottom:46px; }
.section-heading h2, .narrow h2, .split-copy h2, .conduct-grid h2 { font-size:clamp(2.3rem,4vw,4.2rem); letter-spacing:-.035em; color:var(--navy-2); margin:8px 0 0; }
.section-heading > p { max-width:430px; color:var(--muted); margin:0; }
.narrow p { font-size:1.08rem; color:#475467; }

.feature-grid { display:grid; gap:28px; }
.two-col { grid-template-columns:repeat(2,1fr); }
.feature-card { background:white; border:1px solid var(--line); border-radius:28px; padding:36px; box-shadow:0 14px 40px rgba(15,38,76,.06); }
.feature-card h3 { font-size:1.6rem; color:var(--navy); }
.feature-card p, .feature-card li { color:var(--muted); }
.icon-circle { width:52px; height:52px; border-radius:50%; display:grid; place-items:center; background:linear-gradient(145deg,rgba(255,91,22,.14),rgba(19,138,54,.14)); color:var(--navy); font-size:1.4rem; margin-bottom:24px; }
.clean-list { padding-left:20px; margin:0; }
.clean-list li { margin:9px 0; }

.objective-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.objective-card { display:grid; grid-template-columns:70px 1fr; gap:16px; align-items:start; padding:22px 24px; border:1px solid var(--line); border-radius:20px; background:white; transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.objective-card:hover { transform:translateY(-4px); border-color:rgba(10,52,116,.28); box-shadow:0 14px 35px rgba(15,38,76,.08); }
.objective-card span { color:var(--saffron); font-size:1.35rem; font-weight:800; letter-spacing:.05em; }
.objective-card p { margin:0; color:#475467; }

.dark-section { background:var(--navy-2); color:white; overflow:hidden; }
.section-heading.light h2, .dark-section h2 { color:white; }
.section-heading.light p, .dark-section p { color:#c4d3ed; }
.dark-section .section-kicker { color:#f6ad86; }
.principles-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.principle { min-height:150px; padding:28px; border-radius:22px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); display:flex; flex-direction:column; justify-content:space-between; }
.principle b { color:#ff9967; font-size:.8rem; letter-spacing:.12em; }
.principle span { font-size:1.06rem; font-weight:650; }

.org-flow { display:grid; grid-template-columns:1fr 40px 1fr 40px 1fr 40px 1fr; align-items:center; }
.org-node { padding:24px; border-radius:22px; border:1px solid var(--line); background:white; min-height:220px; display:flex; flex-direction:column; justify-content:center; }
.org-node.featured { background:linear-gradient(145deg,var(--navy),#123f82); color:white; border:none; }
.org-node span { color:var(--saffron); text-transform:uppercase; letter-spacing:.1em; font-weight:800; font-size:.72rem; }
.org-node strong { margin:10px 0; font-size:1.1rem; color:var(--navy); }
.org-node.featured strong { color:white; }
.org-node small { color:var(--muted); line-height:1.6; }
.org-node.featured small { color:#d7e3f8; }
.connector { height:2px; background:linear-gradient(90deg,var(--saffron),var(--green)); }
.membership-panel { margin-top:50px; display:grid; grid-template-columns:.8fr 1.2fr; gap:40px; align-items:center; padding:34px; border-radius:26px; background:var(--soft); }
.membership-panel h3 { margin:8px 0 0; font-size:1.7rem; color:var(--navy-2); }
.chip-wrap { display:flex; flex-wrap:wrap; gap:10px; }
.chip-wrap span { background:white; border:1px solid var(--line); padding:9px 13px; border-radius:999px; font-size:.82rem; color:#475467; }

.activity-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.activity-card { background:white; border-radius:24px; padding:28px; border:1px solid var(--line); min-height:285px; transition:transform .25s ease, box-shadow .25s ease; }
.activity-card:hover { transform:translateY(-5px); box-shadow:0 18px 45px rgba(15,38,76,.08); }
.activity-card > span { color:var(--saffron); font-size:.78rem; letter-spacing:.13em; font-weight:800; }
.activity-card h3 { color:var(--navy); margin:45px 0 12px; }
.activity-card p { color:var(--muted); font-size:.9rem; margin:0; }

.split-layout { display:grid; grid-template-columns:.85fr 1.15fr; gap:70px; align-items:center; }
.poster-frame { border-radius:28px; overflow:hidden; box-shadow:var(--shadow); border:10px solid white; }
.poster-frame img { width:100%; height:auto; }
.poster-frame.tall { max-width:510px; justify-self:end; }
.split-copy p { color:var(--muted); font-size:1.03rem; }
.info-box { margin-top:28px; padding:24px; border-left:4px solid var(--saffron); background:var(--soft); border-radius:0 18px 18px 0; }
.info-box strong { color:var(--navy); }
.info-box p { margin-bottom:0; font-size:.92rem; }
.event-section { background:linear-gradient(180deg,#fffdf9,#f8fbff); }
.event-meta { display:grid; gap:12px; margin-top:30px; }
.event-meta div { display:flex; justify-content:space-between; gap:20px; border-bottom:1px solid var(--line); padding:12px 0; }
.event-meta span { color:var(--muted); }
.event-meta strong { color:var(--navy); }

.conduct-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.pledge-card { margin:0; padding:34px; border-radius:26px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1); }
.quote-mark { font-size:4rem; line-height:.8; color:#ff9967; }
.pledge-card p { color:#e1e9f7; }
.pledge-card cite { font-style:normal; color:#9fb4d8; font-size:.86rem; }

.site-footer { background:#06142e; color:#b7c5dc; padding:55px 0 24px; }
.footer-grid { display:flex; align-items:center; justify-content:space-between; gap:40px; }
.footer-brand { display:flex; gap:16px; align-items:center; max-width:540px; }
.footer-brand img { height:68px;object-fit:cover;border-radius:16px; }
.footer-brand strong { color:white; font-size:1.1rem; }
.footer-brand p { margin:4px 0 0; font-size:.85rem; }
.footer-links { display:flex; flex-wrap:wrap; gap:22px; font-size:.85rem; }
.footer-links a:hover { color:white; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; border-top:1px solid rgba(255,255,255,.08); margin-top:36px; padding-top:22px; font-size:.76rem; }
.back-top { position:fixed; right:24px; bottom:24px; width:46px; height:46px; border-radius:50%; border:0; background:var(--navy); color:white; box-shadow:0 10px 28px rgba(0,0,0,.16); cursor:pointer; opacity:0; pointer-events:none; transform:translateY(10px); transition:.25s ease; z-index:500; }
.back-top.show { opacity:1; pointer-events:auto; transform:none; }

.reveal { opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity:1; transform:none; }
.delay-1 { transition-delay:.12s; }

@media (max-width: 1060px) {
  .main-nav { position:absolute; top:82px; left:20px; right:20px; padding:18px; border-radius:18px; background:white; box-shadow:var(--shadow); flex-direction:column; align-items:stretch; gap:8px; opacity:0; visibility:hidden; transform:translateY(-8px); transition:.25s ease; }
  .main-nav.open { opacity:1; visibility:visible; transform:none; }
  .main-nav a { padding:10px 12px; }
  .menu-toggle { display:block; }
  .hero-grid, .split-layout, .conduct-grid { grid-template-columns:1fr; }
  .hero { min-height:auto; padding-top:48px; padding-bottom:48px; }
  .hero-visual { max-width:620px; margin:0 auto; }
  .activity-grid { grid-template-columns:repeat(2,1fr); }
  .principles-grid { grid-template-columns:repeat(2,1fr); }
  .org-flow { grid-template-columns:1fr; gap:12px; }
  .connector { width:2px; height:24px; justify-self:center; }
  .membership-panel { grid-template-columns:1fr; }
  .poster-frame.tall { justify-self:start; }
}

@media (max-width: 720px) {
  .container, .narrow { width:min(100% - 28px,1180px); }
  .section-pad { padding:78px 0; }
  .brand span { display:none; }
  .nav-wrap { min-height:72px; }
  .main-nav { top:72px; }
  h1 { font-size:clamp(2.7rem,13vw,4.4rem); }
  .hero-grid { gap:45px; }
  .trust-row { grid-template-columns:1fr; }
  .section-heading { display:block; }
  .section-heading > p { margin-top:16px; }
  .two-col, .objective-grid, .activity-grid, .principles-grid { grid-template-columns:1fr; }
  .objective-card { grid-template-columns:52px 1fr; }
  .membership-panel { padding:24px; }
  .split-layout { gap:40px; }
  .reverse-mobile .split-copy { order:1; }
  .reverse-mobile .poster-frame { order:2; }
  .footer-grid, .footer-bottom { flex-direction:column; align-items:flex-start; }
  .event-meta div { flex-direction:column; gap:2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
  .reveal { opacity:1; transform:none; }
}


/* Contact / information request */
.nav-contact { padding:10px 16px !important; border-radius:999px; background:var(--navy); color:white !important; }
.nav-contact:hover { background:var(--saffron); }
.contact-section { position:relative; overflow:hidden; background:linear-gradient(145deg,#f7fbff 0%,#fffaf5 48%,#f6fff8 100%); }
.contact-section::before { content:""; position:absolute; width:380px; height:380px; border-radius:50%; background:rgba(255,91,22,.08); left:-180px; top:-150px; filter:blur(2px); }
.contact-section::after { content:""; position:absolute; width:430px; height:430px; border-radius:50%; background:rgba(19,138,54,.08); right:-220px; bottom:-200px; }
.contact-grid { position:relative; z-index:1; display:grid; grid-template-columns:.9fr 1.1fr; gap:72px; align-items:center; }
.contact-copy h2 { max-width:560px; }
.contact-copy p { color:var(--muted); font-size:1.05rem; max-width:560px; }
.contact-points { display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }
.contact-points span { border:1px solid var(--line); background:white; color:var(--navy); font-weight:700; padding:9px 13px; border-radius:999px; font-size:.82rem; }
.contact-form { background:white; border:1px solid rgba(10,52,116,.12); border-radius:28px; padding:34px; box-shadow:0 24px 65px rgba(15,38,76,.12); }
.form-head { display:flex; align-items:center; gap:14px; padding-bottom:22px; margin-bottom:24px; border-bottom:1px solid var(--line); }
.form-head .form-icon { width:66px; height:66px; object-fit:contain; display:block; filter:drop-shadow(0 8px 16px rgba(8,46,114,.15)); }
.form-head small { display:block; color:var(--saffron); font-weight:800; letter-spacing:.12em; }
.form-head strong { color:var(--navy); font-size:1.15rem; }
.contact-form label { display:block; color:var(--navy); font-weight:800; font-size:.88rem; margin:16px 0 8px; }
.contact-form input, .contact-form select { width:100%; min-height:52px; border:1px solid #d9e1ec; border-radius:14px; background:#fbfcfe; padding:0 15px; font:inherit; color:#172033; outline:none; transition:border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.contact-form input:focus, .contact-form select:focus { border-color:var(--navy); box-shadow:0 0 0 4px rgba(10,52,116,.08); background:white; }
.contact-form input.invalid, .contact-form select.invalid { border-color:#d92d20; box-shadow:0 0 0 4px rgba(217,45,32,.07); }
.field-error { display:block; min-height:18px; margin-top:5px; color:#d92d20; font-size:.76rem; font-weight:650; }
.submit-btn { width:100%; border:0; margin-top:10px; min-height:54px; cursor:pointer; font:inherit; font-weight:800; }
.form-note { margin:13px 0 0; color:var(--muted); font-size:.76rem; line-height:1.55; }
.form-success { display:none; margin-top:16px; padding:13px 15px; border-radius:12px; background:#eefaf1; border:1px solid #b7e4c2; color:#176b2d; font-weight:700; font-size:.86rem; }
.form-success.show { display:block; animation:formPop .35s ease; }
@keyframes formPop { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
@media (max-width: 1060px) { .contact-grid { grid-template-columns:1fr; gap:36px; } }
@media (max-width: 720px) { .contact-form { padding:22px; border-radius:22px; } .nav-contact { border-radius:12px; } }


/* Highlight the final navigation item as a right-side CTA */
.main-nav .nav-highlight {
  margin-left: 4px;
  padding: 11px 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--saffron), #ff7a2f);
  box-shadow: 0 10px 24px rgba(255, 91, 22, .24);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.main-nav .nav-highlight::after { display: none; }
.main-nav .nav-highlight:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 91, 22, .32);
  background: linear-gradient(135deg, #ff6a1f, var(--green));
}
@media (max-width: 920px) {
  .main-nav .nav-highlight {
    margin-left: 0;
    margin-top: 6px;
    text-align: center;
    border-radius: 12px;
  }
}

/* V6: protest-style hero + membership information CTA */
.hero-protest {
  position: relative;
  min-height: 590px;
  padding: 64px 0 58px;
  overflow: hidden;
  isolation: isolate;
  background-image: url(assets/web.jpg);
  background-size: cover;
  background-position: center 35%;
}
/* .hero-protest::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: linear-gradient(90deg, rgba(3,22,55,.96) 0%, rgba(4,33,78,.90) 47%, rgba(4,31,72,.68) 70%, rgba(4,31,72,.80) 100%);
} */
.hero-protest::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(3,22,55,.20), rgba(3,22,55,.52)), radial-gradient(circle at 70% 45%, rgba(255,255,255,.11), transparent 28%);
}
.hero-overlay { position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,transparent 70%,rgba(3,22,55,.56)); }
.hero-grid-protest { min-height: 465px; align-items:center; }
.hero-protest .hero-copy { max-width: 760px; }
.hero-protest h1 { color:#fff; text-shadow:0 6px 30px rgba(0,0,0,.32); font-size:clamp(3rem,4.6vw,5.55rem); line-height:.98; }
.hero-protest h1 em { color:#ffb085; }
.hero-protest .hero-subtitle { color:rgba(255,255,255,.86); max-width:700px; }
.hero-eyebrow { color:#fff !important; background:rgba(255,255,255,.11); border:1px solid rgba(255,255,255,.18); width:max-content; max-width:100%; padding:8px 12px; border-radius:999px; backdrop-filter:blur(12px); }
.hero-eyebrow span { background:var(--saffron) !important; }
.hero-protest .btn-primary { box-shadow:0 14px 30px rgba(255,91,22,.28); }
.hero-info-btn { color:#fff !important; border-color:rgba(255,255,255,.48) !important; background:rgba(255,255,255,.10) !important; backdrop-filter:blur(10px); }
.hero-info-btn:hover { background:#fff !important; color:var(--navy) !important; }
.hero-badges { display:flex; gap:10px; flex-wrap:wrap; margin-top:26px; }
.hero-badges span { color:#fff; font-size:.78rem; font-weight:800; letter-spacing:.04em; padding:8px 12px; border-radius:999px; background:rgba(255,255,255,.11); border:1px solid rgba(255,255,255,.16); backdrop-filter:blur(10px); }
.hero-logo-shell { width:min(390px,85vw); aspect-ratio:1; display:grid; place-items:center; margin-left:auto; border-radius:42px; background:rgba(255,255,255,.92); border:1px solid rgba(255,255,255,.45); box-shadow:0 28px 75px rgba(0,0,0,.30); backdrop-filter:blur(18px); }
.hero-logo-shell img { width:88%; height:88%; object-fit:contain; filter:drop-shadow(0 16px 28px rgba(2,30,75,.16)); }
.hero-highlight-card { width:min(360px,84vw); margin:-44px 18px 0 auto; position:relative; z-index:3; padding:18px 20px; border-radius:18px; color:#fff; background:linear-gradient(135deg,rgba(255,91,22,.94),rgba(14,116,52,.92)); box-shadow:0 18px 45px rgba(0,0,0,.22); border:1px solid rgba(255,255,255,.24); }
.hero-highlight-card small { display:block; font-weight:900; letter-spacing:.16em; opacity:.82; }
.hero-highlight-card strong { display:block; font-size:1.15rem; margin:4px 0; }
.hero-highlight-card span { display:block; font-size:.78rem; line-height:1.5; opacity:.92; }
.hero-tricolor-glow { position:absolute; width:280px; height:280px; border-radius:50%; filter:blur(80px); opacity:.18; z-index:-1; }
.saffron-glow { background:var(--saffron); top:-80px; left:18%; }
.green-glow { background:var(--green); right:8%; bottom:-100px; }

.main-nav .nav-highlight { position:relative; overflow:hidden; }
.footer-brand img {
    background: #fff;
    padding: 5px;
}
.main-nav .nav-highlight::before { content:""; position:absolute; inset:-2px; background:linear-gradient(120deg,transparent 20%,rgba(255,255,255,.35) 45%,transparent 70%); transform:translateX(-120%); animation:ctaSweep 3.6s ease-in-out infinite; }
@keyframes ctaSweep { 0%,55%{transform:translateX(-120%)} 78%,100%{transform:translateX(120%)} }

.contact-section { scroll-margin-top:92px; }
.contact-section .section-kicker { color:var(--saffron); }
.contact-form .submit-btn { background:linear-gradient(135deg,var(--navy),#0d4b98); }
.contact-form .submit-btn:hover { background:linear-gradient(135deg,var(--saffron),var(--green)); }

@media (max-width:1060px){
  .hero-protest { min-height:auto; padding:52px 0 64px; background-position:center top; }
  .hero-grid-protest { min-height:0; }
  .hero-protest::before { background:linear-gradient(180deg,rgba(3,22,55,.93),rgba(4,33,78,.84) 60%,rgba(4,31,72,.88)); }
  .hero-protest .hero-copy { text-align:left; }
  .hero-logo-shell { margin:0 auto; width:min(330px,78vw); }
  .hero-highlight-card { margin:-34px auto 0; }
}
@media (max-width:720px){
  .hero-protest { padding-top:34px; padding-bottom:52px; }
  .hero-protest h1 { font-size:clamp(2.45rem,9vw,4rem); }
  .hero-actions { align-items:stretch; }
  .hero-actions .btn { width:100%; text-align:center; }
  .hero-badges { margin-top:18px; }
  .hero-protest {
    background-image: url(assets/web_m.jpg);
  }
}

/* V9 refinement: hero information + leader count + typography */
.hero-info-stack {
  width: min(390px, 88vw);
  margin: -42px 10px 0 auto;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(150px, .92fr);
  gap: 12px;
  align-items: stretch;
}
.hero-info-stack .hero-highlight-card {
  width: auto;
  margin: 0;
  min-height: 132px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-info-stack .hero-highlight-card small {
  font-size: .72rem;
  line-height: 1;
  margin-bottom: 8px;
}
.hero-info-stack .hero-highlight-card strong {
  font-size: 1.06rem;
  line-height: 1.2;
  margin: 0 0 8px;
  letter-spacing: -.01em;
}
.hero-info-stack .hero-highlight-card span {
  font-size: .72rem;
  line-height: 1.45;
}
.hero-stat-card {
  min-height: 132px;
  border-radius: 18px;
  padding: 18px 18px 16px;
  color: #fff;
  background: rgba(18, 48, 100, .92);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.hero-stat-card strong {
  display: block;
  font-size: clamp(1.65rem, 2.2vw, 2.25rem);
  line-height: 1;
  letter-spacing: -.035em;
  font-weight: 800;
  white-space: nowrap;
}
.hero-stat-card span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: .78rem;
  line-height: 1.2;
  font-weight: 700;
  color: #dbe8ff;
  white-space: nowrap;
}
.hero-stat-card i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2bd56f;
  box-shadow: 0 0 0 4px rgba(43,213,111,.12), 0 0 14px rgba(43,213,111,.55);
  flex: 0 0 auto;
}

.contact-form {
  padding: 34px 34px 30px;
}
.form-head {
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 26px;
}
.form-head .form-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  object-fit: contain;
  filter: drop-shadow(0 7px 14px rgba(8,46,114,.13));
}
.form-head .form-title {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-head small {
  font-size: .72rem;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: .14em;
}
.form-head strong {
  display: block;
  font-size: 1.13rem;
  line-height: 1.2;
  letter-spacing: -.015em;
}
.contact-form label {
  display: block;
  margin: 0 0 8px;
  font-size: .88rem;
  line-height: 1.45;
  font-weight: 800;
  color: var(--navy-2);
}
.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  padding: 0 15px;
  border: 1px solid #cfdaea;
  background: #fbfcfe;
  color: #172033;
  font-size: .96rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-form input:focus,
.contact-form select:focus {
  border-color: rgba(10,52,116,.58);
  box-shadow: 0 0 0 4px rgba(10,52,116,.08);
  background: #fff;
}
.contact-form .field-error {
  min-height: 24px;
  display: block;
  font-size: .75rem;
  line-height: 1.3;
  color: #c62828;
  padding-top: 4px;
}
.contact-form .submit-btn {
  width: 100%;
  min-height: 54px;
  margin-top: 5px;
  border: 0;
  border-radius: 14px;
  font-size: .94rem;
  letter-spacing: -.005em;
}
.contact-form .form-note {
  font-size: .76rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .hero-info-stack {
    width: min(520px, 92vw);
    margin: -30px auto 0;
    grid-template-columns: 1fr 180px;
  }
}
@media (max-width: 620px) {
  .hero-info-stack {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: -22px;
  }
  .hero-info-stack .hero-highlight-card,
  .hero-stat-card {
    min-height: auto;
  }
  .hero-stat-card {
    padding: 18px 20px;
  }
  .hero-stat-card strong { font-size: 2rem; }
  .contact-form { padding: 26px 22px 24px; }
  .form-head .form-icon { width: 56px; height: 56px; flex-basis: 56px; }
  .form-head strong { font-size: 1.02rem; }
}


/* ---- OTP verification step (contact form) ------------------------------- */
.otp-step { animation: formPop .3s ease; }
.otp-head {
  margin: 0 0 4px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f4f7fc;
  border: 1px solid #dbe4f1;
}
.otp-head strong { display: block; color: var(--navy); font-size: .95rem; font-weight: 800; }
.otp-head span { display: block; margin-top: 5px; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.otp-head b { color: var(--navy); white-space: nowrap; }

.contact-form input.otp-input {
  letter-spacing: .5em;
  text-indent: .5em;
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
}

.otp-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}
.linkish {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  font-size: .8rem;
  font-weight: 750;
  color: var(--navy);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.linkish:hover { color: var(--saffron); }
.linkish:disabled { color: var(--muted); cursor: default; text-decoration: none; }

.form-error {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #fdf2f1;
  border: 1px solid #f2c2bd;
  color: #b42318;
  font-weight: 700;
  font-size: .86rem;
  animation: formPop .3s ease;
}

.submit-btn:disabled { opacity: .65; cursor: progress; }


/* ---- Comments field (contact form) -------------------------------------- */
.contact-form textarea {
  width: 100%;
  min-height: 108px;
  border: 1px solid #cfdaea;
  border-radius: 14px;
  background: #fbfcfe;
  padding: 14px 15px;
  font: inherit;
  color: #172033;
  line-height: 1.55;
  resize: vertical;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(10, 52, 116, .08);
  background: #fff;
}
.contact-form textarea.invalid {
  border-color: #d92d20;
  box-shadow: 0 0 0 4px rgba(217, 45, 32, .07);
}
.label-optional { color: var(--muted); font-weight: 600; }
.char-count { margin-top: 6px; text-align: right; color: var(--muted); font-size: .72rem; font-weight: 650; }


/* ---- Language switcher --------------------------------------------------- */
.lang-picker { display: flex; align-items: center; margin-left: 6px; }
.lang-picker select {
  min-height: 38px;
  padding: 0 30px 0 12px;
  border: 1px solid rgba(10, 52, 116, .18);
  border-radius: 999px;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230a3474' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 9px;
  font: inherit;
  font-size: .82rem;
  font-weight: 750;
  color: var(--navy);
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lang-picker select:hover { border-color: var(--navy); }
.lang-picker select:focus-visible { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(10, 52, 116, .12); }

/* Indic scripts need a taller line box than Inter's default. */
html[data-lang="ta"] body { font-family: 'Inter', 'Noto Sans Tamil', system-ui, sans-serif; line-height: 1.7; }
html[data-lang="hi"] body { font-family: 'Inter', 'Noto Sans Devanagari', system-ui, sans-serif; line-height: 1.7; }
html[data-lang="ta"] h1, html[data-lang="hi"] h1 { line-height: 1.25; }
html[data-lang="ta"] h2, html[data-lang="hi"] h2,
html[data-lang="ta"] h3, html[data-lang="hi"] h3 { line-height: 1.35; }
html[data-lang="ta"] .section-kicker, html[data-lang="hi"] .section-kicker { letter-spacing: .04em; }
html[data-lang="ta"] .hero-eyebrow, html[data-lang="hi"] .hero-eyebrow { letter-spacing: .02em; }

.hero-eyebrow b { font-weight: inherit; letter-spacing: inherit; }

@media (max-width: 900px) {
  .lang-picker { margin: 10px 0 0; }
  .lang-picker select { width: 100%; border-radius: 12px; text-align: left; }
}


/* ---- Card icons ---------------------------------------------------------- */
.icon-circle svg { width: 26px; height: 26px; display: block; }


/* ======================= JOIN PAGE ======================================= */
.join-body { background: var(--soft); }
.join-nav { display: flex; align-items: center; gap: 14px; }
.join-main { padding: 116px 0 70px; }
.join-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }

.join-copy h1 { margin: 10px 0 0; font-size: clamp(2.1rem, 3.4vw, 3.1rem); line-height: 1.08; color: var(--navy); }
.join-lead { margin: 16px 0 0; color: #475467; font-size: 1.02rem; line-height: 1.75; }

.join-steps { display: grid; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; counter-reset: none; }
.join-steps li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--muted); font-weight: 700; font-size: .9rem; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.join-steps li b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #eef2f8; color: var(--muted); font-size: .8rem; flex: 0 0 auto; }
.join-steps li.is-current { border-color: rgba(10,52,116,.4); color: var(--navy); box-shadow: 0 8px 22px rgba(15,38,76,.07); }
.join-steps li.is-current b { background: var(--navy); color: #fff; }
.join-steps li.is-done b { background: #eefaf1; color: #176b2d; }
.join-steps li.is-done { color: #176b2d; }

.join-points { margin: 26px 0 0; padding-left: 20px; color: #475467; }
.join-points li { margin: 10px 0; line-height: 1.65; }

.join-pledge { margin: 28px 0 0; padding: 18px 20px; border-left: 3px solid var(--saffron); background: #fff; border-radius: 0 14px 14px 0; }
.join-pledge p { margin: 0; font-size: .93rem; line-height: 1.7; color: #475467; font-style: italic; }
.join-pledge cite { display: block; margin-top: 10px; font-size: .78rem; font-weight: 800; font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }

.join-panel { position: relative; }
.join-card { padding: 30px 30px 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.join-card label { display: block; margin: 18px 0 8px; font-size: .88rem; font-weight: 800; color: var(--navy); }
.join-card .form-head label:first-child { margin-top: 0; }
.join-card input[type="text"], .join-card input[type="tel"], .join-card input[type="email"], .join-card select {
  width: 100%; min-height: 52px; border: 1px solid #cfdaea; border-radius: 14px; background: #fbfcfe;
  padding: 0 15px; font: inherit; color: #172033; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.join-card input:focus, .join-card select:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(10,52,116,.08); background: #fff; }
.join-card input.invalid, .join-card select.invalid { border-color: #d92d20; box-shadow: 0 0 0 4px rgba(217,45,32,.07); }

.triple-select { display: grid; grid-template-columns: .8fr 1.3fr 1fr; gap: 10px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row label { margin-top: 18px; }

.join-divider { display: flex; align-items: center; gap: 12px; margin: 26px 0 4px; color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.join-divider::before, .join-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.photo-field { display: flex; gap: 16px; align-items: flex-start; }
.photo-preview { width: 92px; height: 112px; flex: 0 0 auto; display: grid; place-items: center; border: 1px dashed #cfdaea; border-radius: 12px; background: #fbfcfe; overflow: hidden; color: var(--muted); font-size: .72rem; text-align: center; padding: 6px; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-actions { flex: 1; min-width: 0; }
.photo-actions input[type="file"] { width: 100%; font: inherit; font-size: .85rem; color: #475467; }
.photo-actions .form-note { margin-top: 8px; }

/* ---- success + membership card ---- */
.join-success { text-align: center; }
.done-head h2 { margin: 16px 0 0; font-size: 1.5rem; line-height: 1.3; color: var(--navy); }
.done-head p { margin: 10px 0 0; color: #475467; font-size: .93rem; line-height: 1.7; }
.done-tick { width: 62px; height: 62px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: #eefaf1; color: #176b2d; }
.done-tick svg { width: 30px; height: 30px; }


.done-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.done-actions .btn { min-height: 50px; display: inline-flex; align-items: center; }

@media (max-width: 980px) {
  .join-grid { grid-template-columns: 1fr; gap: 34px; }
  .join-main { padding: 100px 0 56px; }
}
@media (max-width: 560px) {
  .join-card { padding: 22px 20px 24px; border-radius: 18px; }
  .triple-select { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .mcard-body { grid-template-columns: 84px 1fr; padding: 15px; }
  .mcard-photo { width: 84px; height: 102px; }
  .mcard-rows > div { grid-template-columns: 76px 1fr; }
}

/* Print only the membership card. */
@media print {
  body * { visibility: hidden !important; }
  #memberCard, #memberCard * { visibility: visible !important; }
  #memberCard { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; }
  @page { margin: 12mm; }
}


/* ---- Membership card (canvas) ---- */
.mcard-wrap { margin: 26px 0 0; }
#memberCard { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 18px 44px rgba(15,38,76,.16); }


/* ---- Photo cropper ------------------------------------------------------- */
.cropper { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(7, 22, 48, .72); backdrop-filter: blur(3px); }
.cropper[hidden] { display: none; }
.cropper-box { width: 100%; max-width: 400px; padding: 24px 24px 22px; border-radius: 20px; background: #fff; box-shadow: 0 30px 80px rgba(4, 18, 43, .4); }
.cropper-box h3 { margin: 0; font-size: 1.12rem; color: var(--navy); }
.cropper-hint { margin: 8px 0 16px; font-size: .82rem; line-height: 1.6; color: var(--muted); }

.cropper-stage { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #0f1b2e; }
.cropper-stage canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.cropper-stage canvas:active { cursor: grabbing; }
/* Circular guide so the member can see how the portrait will read. */
.cropper-mask { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); border-radius: 14px; }
.cropper-mask::after { content: ""; position: absolute; inset: 8%; border: 1px dashed rgba(255, 255, 255, .55); border-radius: 12px; }

.cropper-zoom { display: block; margin: 16px 0 6px; font-size: .8rem; font-weight: 800; color: var(--navy); }
.cropper input[type="range"] { width: 100%; accent-color: var(--navy); }
.cropper-actions { display: flex; gap: 10px; margin-top: 18px; }
.cropper-actions .btn { flex: 1; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; font: inherit; font-weight: 800; }
.cropper-actions .btn-ghost { border: 1px solid var(--line); }

@media (max-width: 460px) {
  .cropper-box { padding: 18px 16px 16px; border-radius: 16px; }
}
