:root {
  --green: #006a4e;
  --green-dark: #004d38;
  --red: #f42a41;
  --ink: #16211d;
  --muted: #5d6b65;
  --line: #dfe6e2;
  --bg: #f6f8f7;
  --card: #ffffff;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Hind Siliguri", "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
html[lang="en"] body { font-family: "Inter", "Hind Siliguri", system-ui, sans-serif; }
a { color: var(--green); }
img, video { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Top bar */
.topbar { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.dot { width: 22px; height: 22px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px var(--green); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; text-decoration: none; font-weight: 600; }

/* Buttons */
.btn { display: inline-block; border: 0; border-radius: 999px; padding: 12px 24px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; text-align: center; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #d91c32; }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.btn-ghost { background: transparent; color: inherit; border: 2px solid currentColor; }
.btn-block { width: 100%; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; padding: 56px 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(1.7rem, 4vw, 2.8rem); }
.lead { font-size: 1.1rem; opacity: .92; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero .btn-ghost { color: #fff; }
.hero-video iframe { display: block; border: 0; }
.yt-facade { position: relative; display: block; width: 100%; aspect-ratio: 16/9; padding: 0; border: 0; border-radius: var(--radius); cursor: pointer; background: #000 center/cover no-repeat; box-shadow: 0 20px 40px rgba(0,0,0,.3); }
.yt-play { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; font: inherit; font-weight: 700; transition: background .15s; }
.yt-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); font-size: 1rem; padding-left: 3px; }
.yt-facade:hover .yt-play, .yt-facade:focus-visible .yt-play { background: rgba(0,0,0,.85); }
.hero-video video, .hero-video iframe { width: 100%; border-radius: var(--radius); background: #000; box-shadow: 0 20px 40px rgba(0,0,0,.3); aspect-ratio: 16/9; }

/* Sections */
section { padding: 56px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); }

.upload { background: #eaf2ee; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
form label { display: block; font-weight: 600; margin-bottom: 16px; }
form input:not([type=checkbox]), form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff;
}
form input:focus, form textarea:focus { outline: 2px solid var(--green); border-color: transparent; }
form .file .muted { font-weight: 400; font-size: .9rem; }
form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
form .check input { margin-top: 6px; width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -9999px; }
.error { color: #b3001b; background: #fde8eb; border-radius: 10px; padding: 10px 12px; }
.progress { position: relative; height: 34px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 14px; }
.progress .bar { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--green); transition: width .3s; }
.progress .pct { position: relative; display: block; text-align: center; line-height: 34px; font-weight: 600; color: #fff; mix-blend-mode: difference; }
.done { text-align: center; }
.done .big { font-size: 3rem; color: var(--green); }

/* Gallery */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.thumb { position: relative; aspect-ratio: 16/9; background: #000; }
.thumb video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 2rem; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.card-body { padding: 14px 16px; }
.card-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.card-body p { margin: 0; font-size: .9rem; }
.empty { background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 32px; text-align: center; color: var(--muted); }
.pager { display: flex; justify-content: center; gap: 20px; margin-top: 28px; font-weight: 600; }

/* Single video */
.page { padding-top: 24px; padding-bottom: 56px; }
.player video { width: 100%; border-radius: var(--radius); background: #000; max-height: 75vh; }
.video-title { margin-top: 20px; font-size: clamp(1.4rem, 3vw, 2rem); }
.idea { white-space: normal; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: .95rem; text-decoration: none; color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--green); }

.social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; font-weight: 600; }
.hero .social .chip, .footer .social .chip { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }

.footer { background: var(--ink); color: #cfd8d4; padding: 28px 0; font-size: .95rem; }
.footer .muted { color: #8b9993; margin: 0; }

@media (max-width: 800px) {
  .hero { padding: 36px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .steps { grid-template-columns: 1fr; }
  section { padding: 40px 0; }
  .panel { padding: 18px; }
}
