/* --- New Color Palette & Global Styles --- */
:root {
    --primary-bg: #0d0d0d;         /* Deep black for a modern look */
    --secondary-bg: #121212;       /* Slightly lighter dark for cards and sections */
    --secondary-bg: #131313;
    --accent-color: #00f5ff;        /* Vibrant neon blue */
    --accent-color: rgba(178, 165, 226, 0.926);
    --second-accent: #2651a6fb;
    --text-color: #e0e0e0;          /* Soft off‑white text */
    --transition: all 0.3s ease;
    --container-width: 1200px;
  }

  a:link {
    text-decoration: none;
    color: inherit;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  
  body {
    background-color: var(--primary-bg);
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
  }

  /* Remove default link styling for project cards */
.project-card {
  text-decoration: none; /* Removes the default underline */
  color: inherit; /* Keeps text color consistent */
}

.project-card:visited {
  color: inherit; /* Ensures no purple highlighting after clicking */
}

.project-card:focus,
.project-card:active {
  outline: none; /* Removes focus outline */
}

  
  /* --- Loader Animation (unchanged or refined as needed) --- */
  .loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s;
  }
  
  .loader.fade-out {
    opacity: 0;
  }
  
  .loader-circle {
    width: 80px;
    height: 80px;
    border: 5px solid var(--accent-color);
    border-radius: 50%;
    border-top-color: var(--text-color);
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  
  /* --- Header & Navigation (sleek, minimal, and interactive) --- */
  .header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 200;
    padding: 1rem 0;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: background 0.3s, box-shadow 0.3s;
  }
  
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
  }
  
  .logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent-color);
  }

  .logo-link {
    text-decoration: none; /* Removes underline */
    display: inline-block; /* Adjusts block behavior */
  }
  
  .logo {
    cursor: pointer; /* Shows a pointer when hovering */
  }
  
  
  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }
  
  .nav-links a {
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
  }
  
  .nav-links a:hover::after {
    width: 100%;
  }
  
  .burger {
    display: none;
    cursor: pointer;
  }
  
  .burger div {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 5px;
    transition: var(--transition);
  }
  
  /* --- Full-Screen Particle Canvas --- */
  #particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Behind the content */
    pointer-events: none;
  }
  
  /* --- Content Section Helper --- */
  .content-section {
    padding-top: 120px;
    padding-bottom: 80px;
  }
  
  /* --- Container --- */
  .container {
    width: 90%;
    max-width: var(--container-width);
    margin: 100px auto;
    text-align: center;
  }
  
  /* --- Hero Section (Modern typography & micro-animations) --- */
  .hero {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
  }
  
  .hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out forwards;
  }
  
  .hero-title {
    font-size: 3.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
  }
  
  .btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-bg) !important;
    padding: 0.75rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, background 0.3s;
  }
  
  .btn:hover {
    transform: translateY(-3px);
    background: #00c0e0; /* Slightly muted on hover */
    background: rgba(113, 88, 205, 0.926); 
    background: rgba(212, 205, 237, 0.926);
  }

  .start-button {
    margin-left: 30px;
  }
  
  @media screen and (max-width: 600px) {
    .start-button {
      margin-left: 0;
      margin-top: 20px;
    }
  }

  /* --- Sections (About, Services, etc.) --- */
  .section-title {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
  }
  
  .section-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 3px;
    background: var(--accent-color);
    margin: 0.5rem auto 0;
  }
  
  .section-text {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* --- Services Grid --- */
  .services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
  
  .service-card {
    background: #4747472a;
    border-radius: 10px;
    padding: 2rem;
    width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
  }
  
  .service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }
  
  /* --- Portfolio Section --- */
  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    position: relative;
    z-index: 2 !important;
  }

  .archived-projects {
    text-align: center;
    margin-top: 4rem;
  }
  
  .project-card {
    background: #1f1f1f8b;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 4s, box-shadow 4s;
    position: relative;
    z-index: 2 !important;
  }
  
  .project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
  }

  
  .project-image img {
    width: 100%;
    display: block;
  }
  
  .project-info {
    padding: 1rem;
  }
  
  .tech-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
  
  .tech-tags span {
    background: var(--second-accent);
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.875rem;
  }
  
  /* --- Footer --- */
  footer {
    background: var(--secondary-bg);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-color);
    font-size: 0.9rem;
  }
  
  /* --- Keyframe Animations --- */
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* --- Responsive Design --- */
  @media (max-width: 768px) {
    .nav-links {
      position: fixed;
      right: -100%;
      top: 70px;
      flex-direction: column;
      background: var(--primary-bg);
      width: 100%;
      text-align: center;
      transition: var(--transition);
    }
    .nav-links.active {
      right: 0;
    }
    .burger {
      display: block;
    }
  }

  /* --- Spruced Up Footer --- */
footer {
  background: var(--secondary-bg);
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-color);
  font-size: 0.9rem;
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.footer-tagline {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-color);
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  color: var(--text-color);
  font-size: 1.5rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: var(--accent-color);
}

.footer-copy {
  font-size: 0.85rem;
}

  