/* === Base Styles === */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  position: relative;
  z-index: 1;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* ← This is the magic! */
}

/* === Navbar === */
.custom-navbar {
  background-color: rgba(0, 0, 0, 0.85);
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);

  position: fixed;
  top: 0; /* We’ll dynamically update this with JS */
  left: 0;
  width: 100%;
  z-index: 1031; /* Must be below the banner */
  transition: top 0.3s ease;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.navbar-brand .brand-text {
  font-size: 1rem;
  color: #fff;
  font-weight: 300;
  margin-left: 5px;
}

.navbar-nav .nav-link {
  color: #eee;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #00ffe7;
}

.dropdown-toggle {
  color: #fff;
}

.dropdown-menu {
  background-color: #111;
  border: none;
}

.dropdown-item {
  color: #ddd;
}

.dropdown-item:hover {
  background-color: #222;
  color: #00ffe7;
}

/* === Hero Section === */
.hero-section {
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.6));
  padding-top: 120px;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-section .lead {
  font-size: 1.25rem;
  color: #ccc;
}

.typed-text {
  color: #00ffe7;
  border-right: 2px solid #00ffe7;
}

/* === Overview Section === */
.overview-section {
  background-color: #f8f9fa;
  color: #222;
}

.overview-section h2 {
  font-size: 1.8rem;
  color: #111;
}

.overview-section p {
  font-size: 1rem;
  color: #333;
}

/* === Preview Section === */
.preview-section {
  background: #111;
  color: #fff;
}

.preview-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.card {
  background-color: #222;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 255, 231, 0.3);
}

.card-title {
  font-size: 1.5rem;
  color: #00ffe7;
}

.card-text {
  font-size: 1rem;
  color: #ccc;
}

.btn-primary {
  background-color: #00ffe7;
  border: none;
  color: #111;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #00cdbb;
}

.btn-dark {
  background-color: #333;
  border: none;
  color: #fff;
  font-weight: 600;
}

.btn-dark:hover {
  background-color: #555;
}

/* === Footer === */
footer {
  background: #000;
  color: #aaa;
  z-index: 1;
}

footer p {
  margin: 0;
  font-size: medium;
}

footer .socials a {
  color: #aaa;
  font-size: medium;
  transition: color 0.3s ease;
}

footer .socials a:hover {
  color: #00ffe7;
}

/* === Media Queries === */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.2rem;
  }

  .navbar-nav {
    text-align: center;
  }

  .preview-section h2 {
    font-size: 1.5rem;
  }

  .card-title {
    font-size: 1.3rem;
  }
}
