body {
  margin: 0;
  font-family: "Noto Sans Devanagari", Arial, sans-serif;
  background: white;
}
/* === Header === */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px 0px 20px;
  /* border-bottom: 2px solid #ccc; */
  background-color: white;
}
.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
  margin: 0;
}
.header-left img,
.header-right img {
  height: 100px; /* लोगोचा आकार */
  margin: 0;
}

.header-center {
  margin: 0;
  text-align: center;
  flex-direction: column;
  flex: 1;
}
.header-center h1 {
  margin: 0;
  font-size: 25px;
  color: #003399;
  font-weight: bold;
}
.header-center h2 {
  margin: 0;
  font-size: 70px;
  color: rgb(142, 6, 6);
  font-weight: bold;
  font-family: Aparajita;
}
.header-center p {
  margin: 0;
  font-size: 16px;
  color: gray;
}

/* === Navbar === */
nav {
  background: #006dcc;
  display: flex;
  justify-content: center;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
}

nav ul li a {
  display: block;
  padding: 12px 18px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

nav ul li a:hover {
  background: #006dcc;
}

nav ul li ul {
  display: none;
  position: absolute;
  background: #006dcc;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 180px;
  z-index: 1000;
}

nav ul li:hover ul {
  display: block;
}

nav ul li ul li a {
  padding: 10px 15px;
  font-size: 15px;
}

/* === Main Container === */
.container {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 15px;
  padding: 15px;
}
.slider {
  position: relative;
  max-width: 100%;
  height: 490px;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
}
.slide {
  display: flex;
  width: 100%;
  animation: slide 10s infinite;
}
.slide img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

/* sidebar */
.container {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 15px;
  padding: 15px;
}

.sidebar,
.rightbar {
  background: wheat;
  padding: 10px;
  border: 1px solid #ddd;
  margin: -10px;
  border-radius: 10px;
}

.sidebar h3,
.rightbar h3 {
  text-align: center;
  background: #006400;
  color: #fff;
  padding: 8px;
  font-size: 18px;
  margin-top: 0;
}

/* Sidebar List */
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.sidebar ul li {
  padding: 10px 0;
  border-bottom: 1px solid #d7d4d4;
}

.sidebar ul li:hover {
  background: #006400;
  color: white;
  transform: translateX(5px);
}

/* Slider */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* === Cards === */
.card-container {
  max-width: 1200px;
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  padding: 0 12px;
}
.card {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e6e6e6;
  text-align: center;
}
.card img {
  width: 100px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 10px;
  margin-top: 5px;
}
.card h3 {
  margin: 6px 0 4px;
  font-size: 16px;
}
.card p {
  margin: 0;
  color: #555;
  font-size: 14px;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* === Footer === */
footer {
  background: #006400;
  color: #fff;
  text-align: center;
  padding: 12px;
  margin-top: 20px;
}

/* === Responsive Design === */
@media (max-width: 992px) {
  .container {
    grid-template-columns: 180px 1fr;
  }
  .rightbar {
    display: none;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
  }
  .header img {
    width: 60px;
  }
  .container {
    grid-template-columns: 1fr;
  }
  .sidebar {
    order: 2;
  }
  .slider {
    order: 1;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-direction: column;
  }
  nav ul li a {
    font-size: 14px;
    padding: 10px;
  }
  .card img {
    height: 140px;
  }
}
/* login  */

h1 {
  font-size: 2em;
  margin-bottom: 30px;
}

.btn-login {
  background: linear-gradient(135deg, #006dcc, #006dcc);
  border: none;
  color: white;
  padding: 2px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-login:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #ee0979, #ff6a00);
}

/* Popup background */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
}

/* Login box */
.login-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  width: 350px;
  text-align: center;
  animation: fadeIn 0.5s ease;
}

.login-box h2 {
  color: #fff;
  margin-bottom: 25px;
}

.input-box {
  margin-bottom: 20px;
}

.input-box input {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 16px;
}

.input-box input::placeholder {
  color: #eee;
}

.btn-submit {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(135deg, #ff6a00, #ee0979);
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  transform: scale(1.05);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Registration */

h1 {
  font-size: 2em;
  margin-bottom: 30px;
}

.btn-register {
  background: linear-gradient(135deg, #006dcc, #006dcc);
  border: none;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-register:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #ee0979, #ff6a00);
}

/* Popup background */
.overlay1 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
}

/* Registration box */
.register-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  width: 380px;
  text-align: center;
  animation: fadeIn 0.5s ease;
  position: relative;
}

.register-box h2 {
  color: #fff;
  margin-bottom: 25px;
}

.input-box {
  margin-bottom: 20px;
}

.input-box input {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 16px;
}

.input-box input::placeholder {
  color: #eee;
}

.btn-submit {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(135deg, #ff6a00, #ee0979);
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  transform: scale(1.05);
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* structure  */

:root {
  --bg: #0f172a;
  --card: #0b1220;
  --accent: #06b6d4;
  --accent2: #7c3aed;
  --glass: rgba(255, 255, 255, 0.04);
  --text: #e6eef8;
  --muted: #9fb4d1;
}

.wrap {
  width: 100%;
  /* max-width: 1100px; */
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.title {
  font-size: 20px;
  font-weight: 700;
}
.subtitle {
  color: var(--muted);
  font-size: 13px;
}
.controls {
  display: flex;
  gap: 10px;
}
button {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border: 0;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}
.chart-card {
  background: linear-gradient(180deg, var(--card), rgba(11, 18, 32, 0.8));
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.6);
}

/* diagram layout */
.diagram {
  position: relative;
  height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}
svg {
  width: 100%;
  height: 100%;
}

.node {
  fill: linear-gradient(180deg, var(--accent), var(--accent2));
}

.card {
  fill: #0b1220;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1.2;
}

.label {
  font-family: Inter, Segoe UI, Roboto;
  fill: var(--text);
  font-weight: 700;
  font-size: 13px;
}
.sublabel {
  font-size: 11px;
  fill: var(--muted);
  font-weight: 600;
}

/* legend / info box */
.info {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* Responsive small screens */
@media (max-width: 760px) {
  .diagram {
    height: 780px;
  }
}

/* tooltip */
.tooltip {
  position: fixed;
  background: #071329;
  padding: 10px;
  border-radius: 8px;
  color: var(--text);
  box-shadow: 0 6px 20px rgba(2, 6, 23, 0.6);
  pointer-events: none;
  z-index: 60;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

/* small node style */
.node-circle {
  fill: transparent;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1.2;
}

/* accessible focus */
.clickable:focus {
  outline: 3px solid rgba(99, 102, 241, 0.25);
  outline-offset: 4px;
}

/* tree plant */

.news-article {
  display: flex; /* image आणि text एकच line मध्ये */
  align-items: flex-start;
  border-bottom: 1px solid #ccc; /* newspaper style line */
  padding: 15px 0;
}

.news-article img {
  width: 500px;
  height: 250px;
  object-fit: cover;
  margin-right: 20px;
  border: 1px solid #ddd;
}

.news-article .text {
  flex: 1; /* text बाजूला remaining space घेईल */
}

.news-article .text h2 {
  margin: 0 0 10px 0;
  font-size: 20px;
  color: green;
}

.news-article .text p {
  margin: 0;
  line-height: 1.6;
  text-align: justify; /* newspaper style justified text */
}

@media (max-width: 768px) {
  .news-article {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .news-article img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }

  .news-article .text {
    text-align: justify;
  }
}

/* ghankachara */

@media (max-width: 768px) {
  .flex-section {
    flex-direction: column;
    text-align: center;
  }

  .points {
    text-align: left;
    font-size: 15px;
  }

  .caption {
    margin-left: 0;
  }
}
