/* === Layout / Background === */

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: #000;
    color: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Full-screen background canvas */
#bgCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #000;
}

/* Foreground content sits above the canvas */
#content {
    position: relative;
    z-index: 10;
}

/* === Logo tweaks (optional) === */

.content img {
    /* You can tweak these if needed */
    filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.8));
}

/* === Navbar styling === */

.navbar-custom {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Base link style */
.nav-link-custom {
    color: #0f0;
    text-decoration: none;
    font-size: 2.25rem;          /* larger font */
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    position: relative;
    padding-bottom: 0.1rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

/* Simple underline + slight scale on hover */
.nav-link-custom::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.15rem;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
    /* gradient underline */
    background: linear-gradient(90deg, #f0f, #0f0);
}

.nav-link-custom:hover {
    color: #f0f;
    transform: scale(1.05);
}

.nav-link-custom:hover::after {
    transform: scaleX(1);
}

.text-gradient {
    background: linear-gradient(90deg, #8a2be2, #00ff99);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-section {
    /* backdrop-filter: blur(4px); */
    /* text-shadow: 0 0 8px rgba(0, 255, 153, 0.3); */
}

.welcome-section .btn-outline-light:hover {
    /* background: #00ff99; */
    background: #0f0;
    color: #000;
    border-color: #00ff99;
}

.welcome-section .btn-light {
    color: #000;
    transition: all 0.3s ease;
}

.welcome-section .btn-light:hover {
    background: #8a2be2;
    color: #fff;
}

.about-section {
    /* backdrop-filter: blur(4px); */
}

.about-section .border-secondary {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.about-section p,
.about-section li {
    line-height: 1.6;
}

.about-section .text-gradient {
    background: linear-gradient(90deg, #8a2be2, #00ff99);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-section .bg-dark.bg-opacity-50:hover {
    background-color: rgba(138, 43, 226, 0.25) !important;
    transform: translateY(-4px);
    transition: all 0.3s ease;
}

.projects-purpose-section {
  text-align: center;
}

.project-card {
  transition: all 0.25s ease;
  text-align: left;
  position: relative;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 18px rgba(0, 255, 153, 0.25);
  background-color: rgba(138, 43, 226, 0.25) !important;
}

.text-gradient {
  background: linear-gradient(90deg, #8a2be2, #00ff99);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.skill-tag {
  display: inline-block;
  margin: 2px 4px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #00ff99;
  border: 1px solid rgba(0, 255, 153, 0.6);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.skill-tag:hover {
  background: #00ff99;
  color: #000;
  cursor: default;
}

.project-link {
  display: inline-block;
  font-weight: 600;
  color: #00ff99;
  text-decoration: none;
  margin-top: auto;
  transition: all 0.25s ease;
}

.project-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #8a2be2;
}

.projects-grid-section .border-secondary {
  border-color: rgba(255, 255, 255, 0.18) !important;
}

footer.footer {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  padding-right: 2rem;
  z-index: 100;
}

@media screen and (max-width: 992px) {
    .nav-link-custom {
        font-size: 1.75rem;  /* smaller font on small screens */
    }           
}
