html {
      scroll-behavior: smooth;
    }
    body {
      font-family: 'Poppins', sans-serif;
      padding-top: 4rem; /* Adjust this value based on your navbar height */
    }
    .btn:hover {
      transform: scale(1.05);
      transition: 0.3s ease;
    }
    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.15);
      transition: 0.3s ease;
    }

body.dark-mode {
  background-color: #121212 !important;
  color: #f1f1f1;
}

.dark-mode .navbar,
.dark-mode .card,
.dark-mode .bg-light {
  background-color: #1e1e1e !important;
  color: #f1f1f1;
}

.dark-mode .btn-outline-light {
  color: #f1f1f1;
  border-color: #f1f1f1;
}

.dark-mode a {
  color: #90caf9;
}

body.dark-mode .text-muted {
  color: #ccc !important; /* lighter gray for dark background */
}

footer {
  background-color: #222; /* dark footer background, adjust as needed */
  color: #eee;
  padding: 20px 0;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#built-with h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ddd;
}

.tech-icons a {
  margin: 0 8px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.tech-icons a:hover {
  transform: scale(1.3);
}

.tech-icons img {
  vertical-align: middle;
}

body {
  transition: background-color 0.6s ease, color 0.4s ease;
}

body.dark-mode .btn.btn-light {
  background-color: #1e1e1e !important;
  color: #f1f1f1;
}

body {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

body.fade-in {
  opacity: 1;
}

#terminal-splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  color: limegreen;
  font-family: 'Courier New', 'Courier New', Courier, monospace;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.terminal-content {
  font-size: 1.5rem;
  padding: 2rem;
  text-align: center;
}


.cursor {
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

body, section, div {
  transition: background-color 0.5s ease, color 0.5s ease;
}

.card-img-top.custom-img {
  height: 200px;
  object-fit: cover;
}
