:root {
      --green: #075b35;
      --green-dark: #064326;
      --saffron: #f58220;
      --orange: #e95d27;
      --ink: #183328;
      --muted: #64736b;
      --paper: #fffdf9;
      --line: #e8eee9;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      min-height: 100vh;
      color: var(--ink);
      font-family: "Noto Sans Devanagari", "Mangal", "Kohinoor Devanagari", system-ui, sans-serif;
      background:
        radial-gradient(circle at 8% 2%, rgba(245,130,32,.10), transparent 25rem),
        radial-gradient(circle at 95% 95%, rgba(7,91,53,.09), transparent 26rem),
        #f5f7f4;
    }
    a { color: inherit; text-decoration: none; }
    .top-ribbon {
      height: 8px;
      background: linear-gradient(90deg, var(--saffron) 0 33.3%, #fff 33.3% 66.6%, var(--green) 66.6% 100%);
    }
    .page { width: min(100% - 28px, 510px); margin: 24px auto 30px; }
    @keyframes pageEnter {
      from { opacity: 0; transform: translateY(16px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes logoFloat {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-4px); }
    }
    @keyframes softGlow {
      0%, 100% { box-shadow: 0 8px 24px rgba(5, 70, 40, .16); }
      50% { box-shadow: 0 10px 30px rgba(245, 130, 32, .22); }
    }
    @keyframes accentSweep {
      0%, 100% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
    }
    .profile-card { animation: pageEnter .7s cubic-bezier(.2,.7,.2,1) both; }
    .lotus { animation: logoFloat 4.5s ease-in-out infinite; transform-origin: center; }
    .portrait-wrap { animation: softGlow 5s ease-in-out infinite; }
    .name-underline { background-size: 200% 100%; animation: accentSweep 6s ease-in-out infinite; }
    .social { position: relative; overflow: hidden; }
    .social::before {
      content: ""; position: absolute; inset: 0 auto 0 -120%; width: 65%;
      background: linear-gradient(105deg, transparent, rgba(245,130,32,.08), transparent);
      transform: skewX(-18deg); transition: left .55s ease; pointer-events: none;
    }
    .social:hover::before, .social:focus-visible::before { left: 150%; }
    .social-icon { transition: transform .22s ease; }
    .social:hover .social-icon, .social:focus-visible .social-icon { transform: scale(1.08) rotate(-3deg); }
    .profile-card {
      overflow: hidden;
      position: relative;
      background: var(--paper);
      border: 1px solid rgba(7,91,53,.10);
      border-radius: 28px;
      box-shadow: 0 18px 55px rgba(18, 53, 35, .10);
    }
    .hero {
      position: relative;
      padding: 30px 24px 24px;
      text-align: center;
      isolation: isolate;
      background: linear-gradient(145deg, #fff 0%, #fffaf2 62%, #f1f8f3 100%);
    }
    .hero::before, .hero::after {
      content: "";
      position: absolute;
      z-index: -1;
      pointer-events: none;
    }
    .hero::before {
      width: 190px; height: 190px; top: -105px; left: -90px;
      transform: rotate(35deg);
      background: var(--saffron);
      opacity: .13;
      border-radius: 28px;
    }
    .hero::after {
      width: 160px; height: 160px; right: -100px; bottom: -100px;
      transform: rotate(35deg);
      background: var(--green);
      opacity: .12;
      border-radius: 28px;
    }
    .lotus {
      width: 104px; height: 92px; margin: 0 auto 12px;
      display: grid; place-items: center;
      background: transparent;
    }
    .lotus img { display:block; width:100%; height:100%; object-fit:contain; }
    .portrait-wrap {
      width: 142px; height: 142px;
      margin: 0 auto 15px;
      padding: 5px;
      border-radius: 50%;
      background: linear-gradient(140deg, var(--saffron) 0 50%, var(--green) 50% 100%);
      box-shadow: 0 8px 24px rgba(5, 70, 40, .16);
    }
    .portrait {
      width: 100%; height: 100%;
      display: block;
      object-fit: cover;
      object-position: center 28%;
      border: 3px solid #fff;
      border-radius: 50%;
      background: #e9e6e1;
    }
    .eyebrow {
      margin: 0 0 7px;
      color: var(--green);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 2px;
      text-transform: uppercase;
    }
    h1 {
      margin: 0;
      color: var(--green);
      font-size: clamp(27px, 7vw, 36px);
      line-height: 1.28;
      font-weight: 850;
      letter-spacing: -.5px;
    }
    .name-underline {
      width: 74px; height: 4px; margin: 12px auto 15px;
      border-radius: 9px;
      background: linear-gradient(90deg, var(--saffron) 0 50%, var(--green) 50% 100%);
    }
    .roles {
      max-width: 390px;
      margin: 0 auto;
      color: #46594f;
      font-size: 14px;
      line-height: 1.85;
    }
    .roles strong { color: #244b36; font-weight: 750; }
    .section { padding: 22px 22px 24px; }
    .section-heading {
      display: flex; align-items: center; gap: 10px;
      margin: 0 0 14px;
      color: var(--green-dark);
      font-size: 16px;
      font-weight: 850;
    }
    .section-heading::after { content: ""; height: 1px; flex: 1; background: var(--line); }
    .links { display: grid; gap: 10px; }
    .social {
      min-height: 58px;
      display: flex; align-items: center; gap: 13px;
      padding: 11px 14px;
      border: 1px solid var(--line);
      border-radius: 15px;
      background: #fff;
      transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }
    .social:hover, .social:focus-visible {
      transform: translateY(-2px);
      border-color: rgba(7,91,53,.28);
      box-shadow: 0 8px 20px rgba(18,53,35,.08);
      outline: none;
    }
    .social-icon {
      width: 38px; height: 38px; flex: 0 0 38px;
      display: grid; place-items: center;
      color: #fff; border-radius: 12px;
      font-size: 19px; font-weight: 900;
    }
    .wa { background: #20b968; }
    .fb { background: #1877f2; }
    .ig { background: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7); }
    .yt { background: #ff0033; }
    .x { background: #111; }
    .in { background: #0a66c2; }
    .social-copy { min-width: 0; flex: 1; }
    .social-title { display: block; font-size: 14px; font-weight: 800; color: #21392d; }
    .social-sub { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
    .arrow { color: #8b9a91; font-size: 21px; padding-left: 4px; }
    .missing { opacity: .62; cursor: default; background: #f8faf8; }
    .missing:hover { transform: none; box-shadow: none; }
    .contact-note {
      margin: 14px 0 0;
      padding: 12px 14px;
      border-radius: 13px;
      background: #f0f7f2;
      color: #345d43;
      font-size: 12px;
      line-height: 1.7;
    }
    .footer {
      padding: 16px 18px 20px;
      text-align: center;
      border-top: 1px solid var(--line);
      background: #fff;
      color: #7a887f;
      font-size: 11px;
      line-height: 1.8;
    }
    .footer-mark { color: var(--green); font-weight: 800; }
    .tricolor-line { display: flex; height: 4px; }
    .tricolor-line span { flex: 1; }
    .tricolor-line span:nth-child(1) { background: var(--saffron); }
    .tricolor-line span:nth-child(2) { background: #fff; }
    .tricolor-line span:nth-child(3) { background: var(--green); }
    @media (max-width: 380px) {
      .lotus { width: 88px; height: 78px; margin-bottom: 10px; }
      .page { width: min(100% - 18px, 510px); margin-top: 10px; }
      .hero { padding: 25px 16px 20px; }
      .section { padding: 20px 14px 20px; }
      .portrait-wrap { width: 126px; height: 126px; }
      .roles { font-size: 13px; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
    }

.footer-tagline { padding-top: 12px; }


/* Final BJP two-color gradient: saffron orange directly to BJP green */
h1.name-gradient {
  display: inline-block;
  background-image: linear-gradient(90deg, #ff7900 0%, #ff7900 4%, #08783e 100%) !important;
  background-repeat: no-repeat;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
}
@media (prefers-contrast: more) {
  h1.name-gradient {
    background: none !important;
    color: #075b35 !important;
    -webkit-text-fill-color: #075b35 !important;
  }
}
