:root {
  --navy: #09235b;
  --royal: #1646c2;
  --light-blue: #dcecff;
  --sky: #eef6ff;
  --gold: #d6a94b;
  --text: #112a63;
  --white: #ffffff;
  --line: #c7dcee;
  --ink: #173a7a;
  --sky-2: #e8f2ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  background: #f3f8ff;
  color: var(--text);
}

.page {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 95px;
  background: linear-gradient(180deg, #082057 0%, #081741 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.govt-emblem {
  text-align: center;
  margin-bottom: 20px;
}

.ashoka-pillars {
  font-size: 22px;
  line-height: 1;
}

.hindi-text {
  font-size: 9px;
  margin-top: 4px;
  opacity: 0.88;
}

.sidebar-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-item {
  width: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 9px 4px;
  border-radius: 10px;
  color: #dbe6f5;
  margin-bottom: 4px;
  transition: background .15s ease;
  text-decoration: none;
}

.nav-item .icon {
  font-size: 15px;
}

.nav-item span:last-child {
  font-size: 11px;
  line-height: 1.1;
}

.nav-item.active {
  background: #034782;
}

.nav-item.active svg { stroke: #fff; }

.nav-item svg {
  width: 20px;
  height: 20px;
  stroke: #e6edf8;
  fill: none;
  stroke-width: 1.6;
}

.nav-item span {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2px;
  text-align: center;
  line-height: 1.15;
}

.content {
  width: calc(100% - 95px);
  padding: 14px 18px 12px;
  background: #ffffff;
  overflow: hidden;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px 14px 32px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
  height: 70px;
  width: 1500px;
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.gov-logo {
  width: 190px;
  height: 90px;
  object-fit: contain;
  margin-left: -25px;
}

.bhu-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bhu-logo-img {
  width: 270px;
  height: 180px;
  object-fit: contain;
}

.gov-text {
  font-size: 14px;
  line-height: 1.4;
}

.divider-v {
  width: 1px;
  height: 70px;
  background: #cfcfcf;
}

.bhu-logo-text .title {
  font-size: 24px;
  font-weight: 700;
}

.bhu-logo-text .sub {
  font-size: 13px;
  line-height: 1.3;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 150px;
}

.topnav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 9px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.topnav a.active {
  background: var(--sky-2);
  border: 1px solid #a9cdec;
  color: var(--navy);
  font-weight: 600;
}

.topnav a.active svg {
  width: 15px;
  height: 15px;
  stroke: var(--royal);
  fill: none;
  stroke-width: 2;
}

.topnav a:not(.active):hover {
  color: var(--royal);
}

.login-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid #a9cdec;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  margin-left: 8px;
}

.login-btn svg {
  width: 15px;
  height: 15px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 2;
}

.i-dot {
  position: relative;
  display: inline-block;
  padding-right: 4px;
}

.i-dot::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff3b30;
  top: -1px;
  right: 6px;
}

.highlight-org {
  color: #ffffff;
  font-weight: 800;
  font-size: large;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
}

.hero {
  margin-top: 5px;
  position: relative;
  min-height: 450px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding: 20px 26px;
  border: 1px solid #d9e9ff;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(247, 251, 255, 0.867) 0%,
    rgba(247, 251, 255, 0.168) 35%,
    rgba(247, 251, 255, 0) 55%,
    rgba(247, 251, 255, 0) 100%
  );
  z-index: 1;
}

.hero-left {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-left h1 {
  margin: 10;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  color: #0d2f73;
  letter-spacing: 1px;
  font-size: 36px;
  line-height: 0.95;
  margin-top: 130px;
  margin-left: 40px;
}

.hero-subtitle {
  margin: 4px 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.3px;
  margin-left: 40px;
  margin-top: -17px;
}

.hero-tagline {
  margin: 0 0 10px;
  font-family: Cinzel, Georgia, serif;
  color: #000000;
  font-size: 34px;
}

.hero-copy {
  margin: 0;
  color: #000000;
  font-size: 12px;
  line-height: 1.45;
  margin-left: 40px;
  font-style: italic;
}

.basin-title {
  margin-top: 16px;
  display: inline-flex;
  gap: 11px;
  align-items: center;
  color: #1a3d7c;
  font-size: 16px;
  font-weight: 700;
}

.ornament {
  color: var(--gold);
  font-size: 20px;
}

.hero-badge {
  position: absolute;
  right: 16px;
  top: 92px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #19449c, #071b53);
  border: 3px solid var(--gold);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(7, 31, 88, 0.35);
}

.badge-inner {
  width: 108px;
  height: 108px;
  border: 2px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
}

.badge-inner .mid {
  color: #ffdb8e;
}

.cards-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.river-card {
  min-height: 176px;
  border-radius: 10px;
  border: 1px solid #b5cff4;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 0 10px 9px;
  background:
    linear-gradient(to top, rgba(199, 235, 255, 0.912) 0%, rgba(199, 235, 255, 0.372) 37%, rgba(199, 235, 255, 0.276) 100%),
    url("image/ganga-basin.png") center 5% / 70% auto no-repeat;
}

.river-card:nth-child(2n) {
  background:
    linear-gradient(to top, rgba(255, 255, 255, 0.912) 0%, rgba(255, 255, 255, 0.502) 37%, rgba(255, 255, 255, 0.06) 100%),
    url("image/bramhaputra-basin.png") center 5% / 70% auto no-repeat;
}

.river-card:nth-child(3n) {
  background:
    linear-gradient(to top, rgba(199, 235, 255, 0.912) 0%, rgba(199, 235, 255, 0.372) 37%, rgba(199, 235, 255, 0.276) 100%),
    url("image/teesta-basin.png") center 5% / 70% auto no-repeat;
}

.river-card:nth-child(4n) {
  background:
    linear-gradient(to top, rgba(255, 255, 255, 0.912) 0%, rgba(255, 255, 255, 0.502) 37%, rgba(255, 255, 255, 0.06) 100%),
    url("image/narmada-basin.png") center 5% / 70% auto no-repeat;
}

.river-card:nth-child(5n) {
  background:
    linear-gradient(to top, rgba(199, 235, 255, 0.912) 0%, rgba(199, 235, 255, 0.372) 37%, rgba(199, 235, 255, 0.276) 100%),
    url("image/tapi-basin.png") center 5% / 70% auto no-repeat;
}

.river-card:nth-child(6n) {
  background:
    linear-gradient(to top, rgba(255, 255, 255, 0.912) 0%, rgba(255, 255, 255, 0.502) 37%, rgba(255, 255, 255, 0.06) 100%),
    url("image/godavari-basin.png") center 5% / 70% auto no-repeat;
}

.river-card:nth-child(7n) {
  background:
    linear-gradient(to top, rgba(199, 235, 255, 0.912) 0%, rgba(199, 235, 255, 0.372) 37%, rgba(199, 235, 255, 0.276) 100%),
    url("image/mahanadi-basin.png") center 5% / 70% auto no-repeat;
}

.river-card:nth-child(8n) {
  background:
    linear-gradient(to top, rgba(255, 255, 255, 0.912) 0%, rgba(255, 255, 255, 0.502) 37%, rgba(255, 255, 255, 0.06) 100%),
    url("image/krishna-basin.png") center 5% / 70% auto no-repeat;
}

.river-card:nth-child(9n) {
  background:
    linear-gradient(to top, rgba(199, 235, 255, 0.912) 0%, rgba(199, 235, 255, 0.372) 37%, rgba(199, 235, 255, 0.276) 100%),
    url("image/cauvery-basin.png") center 5% / 70% auto no-repeat;
}

.river-card:nth-child(10n) {
  background:
    linear-gradient(to top, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 37%, rgba(255, 255, 255, 0.06) 100%),
    url("image/pennar-basin.png") center 5% / 70% auto no-repeat;
}

.river-card:nth-child(11n) {
  background:
    linear-gradient(to top, rgba(199, 235, 255, 0.912) 0%, rgba(199, 235, 255, 0.372) 37%, rgba(199, 235, 255, 0.276) 100%),
    url("image/bramhani-baitarani.png") center 5% / 70% auto no-repeat;
}

.river-card:nth-child(12n) {
  background:
    linear-gradient(to top, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 37%, rgba(255, 255, 255, 0.06) 100%),
    url("image/sabarmati-basin.png") center 5% / 70% auto no-repeat;
}

.river-card:nth-child(13n) {
  background:
    linear-gradient(to top, rgba(199, 235, 255, 0.912) 0%, rgba(199, 235, 255, 0.372) 37%, rgba(199, 235, 255, 0.276) 100%),
    url("image/mahi-basin.png") center 5% / 70% auto no-repeat;
}

.river-card:nth-child(14n) {
  background:
    linear-gradient(to top, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 37%, rgba(255, 255, 255, 0.06) 100%),
    url("image/indus-basin.png") center 5% / 70% auto no-repeat;
}

.river-card:hover {
  border: 2px solid #d2621c;
  cursor: pointer;
  transition: all 0.3s ease;
}

.river-card h3 {
  margin-bottom: 10px;
  color: #000000;
  font-size: 15px !important;
  line-height: 1.04;
  font-weight: 600;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

.river-card p {
  margin: 2px 0 15px;
  color: #1d3d7d;
  font-size: 14px;
  font-weight: 500;
}

.river-card button {
  border: 1px solid #8fb2e5;
  border-radius: 7px;
  background: #ffffff9a;
  color: #153777;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 10px;
}

.river-card button span {
  margin-left: 6px;
}

.stats-strip {
  margin: 6px 28px 18px;
  background: #032d5b;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(10, 31, 68, .05);
}

.stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  flex: 1;
  justify-content: center;
  border-right: 1px solid #e3edf7;
}

.stat:last-child {
  border-right: none;
}

.stat svg {
  width: 26px;
  height: 26px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.stat .num {
  font-size: 19px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.stat .label {
  font-size: 11px;
  color: var(--white);
  line-height: 1.25;
  margin-top: 1px;
}

.footer {
  text-align: center;
  padding: 14px 20px 22px;
  font-size: 12px;
  color: var(--navy);
  font-weight: 500;
}

/* Full-screen zoom overlay for basin navigation */
.zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  background-color: #000;
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  transition: top 0.8s ease, left 0.8s ease, width 0.8s ease, height 0.8s ease, opacity 0.8s ease;
}

.zoom-overlay.active {
  opacity: 1;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: auto;
}

@media (max-width: 1800px) {
  .hero-left h1 { font-size: 56px; }
  .hero-tagline { font-size: 29px; }
  .hero-copy { font-size: 14px; }
  .river-card h3 { font-size: 22px; }
  .river-card p { font-size: 12px; }
  .stat strong { font-size: 28px; }
  .stat small { font-size: 12px; }
  .footer { font-size: 15px; }
}
