/* =================== Navbar =================== */
.navbar {
  background-color: #212529 !important;
  transition: background-color 0.3s ease;
  z-index: 1050;
}

.navbar-brand span {
  color: white;
  font-size: 1.4rem;
  font-weight: 600;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #0d6efd !important;
}

/* Fix toggler icon visibility */
.navbar-toggler {
  border: none;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.95)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Add spacing for fixed navbar */
body {
  padding-top: 80px; /* adjusts for fixed navbar height */
}

/* Responsive Nav */
@media (max-width: 991px) {
  .navbar-nav {
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
  }

  .navbar-nav .nav-link {
    font-size: 1.1rem;
  }

  .navbar-brand span {
    font-size: 1.1rem;
  }

  main h1 {
    font-size: 1.5rem !important;
    word-break: break-word;
  }

  main p {
    font-size: 1rem !important;
  }
}

/* =================== Footer =================== */
footer {
  background-color: #212529;
  color: white;
  font-size: 0.95rem;
}

footer .social-icons a:hover {
  color: #0d6efd;
}
