body {
  background-color: #212431;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

main {
  margin-left: 250px;
  padding: 2rem;
}

.navbar {
  background-color: #1a1e2b;
  width: 250px;
}

.navbar-brand {
  color: #e03a3c !important;
  font-weight: 600;
}

.nav-link {
  color: #ffffff !important;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.nav-link:hover, .nav-link.active {
  color: #e03a3c !important;
}

.hero {
  background-color: #212431;
  min-height: 100vh;
}

h1 {
  font-size: 3.5rem;
  color: #ffffff;
  font-weight: 600;
}

h2 {
  font-size: 1.8rem;
  color: #e03a3c;
}

.section-title {
  font-size: 2.5rem;
  color: #e03a3c;
  margin-bottom: 2rem;
}

.card {
  background-color: #2a2e3b;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.btn-accent {
  background-color: #e03a3c;
  color: #ffffff;
  border: none;
}

.btn-accent:hover {
  background-color: #c82325;
}

footer a {
  color: #e03a3c;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .navbar {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem;
  }

  main {
    margin-left: 0;
    padding: 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }
}
html {
  scroll-behavior: smooth;
}

#typing-text {
  display: inline-block;
  min-width: 220px; /* wide enough for your longest word */
  height: 1.2em; /* ensures height stays fixed */
  vertical-align: bottom;
  white-space: nowrap;
}

.highlight {
  color: #e03a3c;
  font-weight: 600;
  text-shadow: 0 0 5px rgba(224, 58, 60, 0.5);
  transition: text-shadow 0.3s ease;
}

.highlight:hover {
  text-shadow: 0 0 8px rgba(224, 58, 60, 0.8), 0 0 12px rgba(224, 58, 60, 0.4);
}

.glow-on-hover {
  color: white;
  transition: text-shadow 0.3s ease;
}

.glow-on-hover:hover {
  color: #e03a3c;
  text-shadow: 0 0 6px rgba(224, 58, 60, 0.8), 0 0 12px rgba(224, 58, 60, 0.6);
  cursor: default;
}
