/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #0f0f0f;
  color: #fff;
  transition: all 0.3s;
}

/* Navbar */
/* Glass navbar style */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: flex-start; 
  gap: 50px;
  align-items: center;
  padding: 15px 40px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  padding: 5px 10px;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}
.nav-links li a.active, .nav-links li a:hover {
  color: #00FF00;
  border-bottom: 2px solid #00FF00;
}

/* Logo */
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00FF00; /* bright green */
}

/* If you want your own logo image instead */
.logo img {
  height: 40px;
  width: auto;
}

/* Hero Heading with code font and cursor */
#typed-heading {
  font-family: 'Source Code Pro', monospace; /* code font */
  font-size: 5rem;
  color: #00FF00;
  text-shadow: 0 0 20px #02c102;
  display: inline-block;
}

/* Blinking cursor */
#cursor {
  display: inline-block;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.nav-links li.active a::after,
.nav-links li a:hover::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: #00ff7f;
  bottom: -4px;
  left: 0;
}

.toggle-mode {
  cursor: pointer;
  font-size: 1.2rem;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

#heroVideo {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.hero-text h1 {
  font-size: 5rem;
  color: #00ff7f;
  text-shadow: 0 0 20px #00ff7f;
}

.hero-text p {
  font-size: 1.5rem;
  margin: 20px 0;
}

.hero-text button {
  padding: 12px 30px;
  border: none;
  background: #00ff7f;
  color: #000;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.hero-text button:hover {
  background: #00cc66;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #062d06;
  margin-top: 50px;
}

.importance-section {
  padding: 60px 40px;
  background: #0a0a0a;
  color: #fff;
}

.importance-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #00FF00;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: 300px;
  gap: 20px;
  grid-auto-flow: dense;
}

.grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  transition: transform 0.3s;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7);
}

.grid-item p {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
}

.grid-item:hover {
  transform: scale(1.05);
}
.dashboard-section {
  padding: 60px 40px;
  background: #050505;
}

.dashboard-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #00FF00;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 50px;
}

.card {
  background: rgba(0, 255, 0, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  width: 200px;
  padding: 20px;
  text-align: center;
  color: #00FF00;
  box-shadow: 0 0 15px #00FF0050;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}
