/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f5f7fa;
  color: #333;
  transition: background-color 0.3s, color 0.3s;
  position: relative;
  min-height: 100vh;
  padding-bottom: 50px; /* for watermark spacing */
}

/* Dark Mode */
.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

/* Header */
header {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: white;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Button */
.toggle-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #4f46e5;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 999;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Section titles */
h2 {
  font-size: 24px;
  margin: 20px 0 10px;
  color: #1e40af;
}

/* Category Boxes */
.category-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.box {
  background-color: #e0e7ff;
  color: #1e3a8a;
  padding: 15px 25px;
  font-weight: 600;
  border-radius: 10px;
  transition: 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.box:hover {
  background-color: #c7d2fe;
  transform: translateY(-3px);
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  padding: 14px;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

th {
  background-color: #4f46e5;
  color: white;
  font-weight: 600;
}

tbody tr:nth-child(even) {
  background-color: #f1f5f9;
}

tbody tr:hover {
  background-color: #e0f2fe;
}

/* Dropdown Filter */
.category-filter {
  text-align: center;
  margin: 20px 0;
}

.category-filter select {
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* Responsive */
@media (max-width: 768px) {
  .category-boxes {
    flex-direction: column;
    align-items: center;
  }

  .toggle-btn {
    width: auto;
    font-size: 14px;
  }
}

/* Watermark */
body::before {
  content: "GYANHUB";
  position: fixed;
  top: 50%;
  left: 50%;
 transform: translate(-50%, -50%) rotate(-25deg);
  font-size: 10vw;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.dark-mode::before {
  color: rgba(255, 255, 255, 0.02);
}
 @media (max-width: 768px){
body::before {
  content: "GYANHUB";
  position: fixed;
  top: 50%;
  left: 50%;
 transform: translate(-50%, -50%) rotate(-25deg);
  font-size: 20vw;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.dark-mode::before {
  color: rgba(255, 255, 255, 0.02);
}}