.download-resume {
  margin-left: 10px;
  vertical-align: middle;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.download-resume:hover svg {
  transform: scale(1.2);
  fill: #00cc00;
}
    /* Reset and base */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Courier New', monospace;
    }
    body {
      background: #000;
      color: #00ff00;
      overflow-x: hidden;
      scroll-behavior: smooth;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }
    /* Header */
    header {
      background: #111;
      padding: 20px 10px;
      text-align: center;
      border-bottom: 2px solid #00ff00;
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: 0 0 15px #00ff00aa;
      backdrop-filter: blur(10px);
      animation: slideDownFadeIn 0.8s ease;
    }
    header h1 {
      font-size: 2.8rem;
      text-shadow: 0 0 15px #00ff00;
      cursor: pointer;
      user-select: none;
      letter-spacing: 2px;
      transition: color 0.3s ease;
    }
    header h1 span {
      font-weight: 700;
      color: #00ff00;
    }
    nav {
      margin-top: 12px;
    }
    nav a {
      color: #00ff00;
      margin: 0 18px;
      text-decoration: none;
      font-weight: 700;
      font-size: 1.1rem;
      position: relative;
      padding-bottom: 4px;
      transition: color 0.3s ease;
    }
    nav a::after {
      content: "";
      position: absolute;
      width: 0;
      height: 2px;
      bottom: 0;
      left: 50%;
      background-color: #00ff00;
      transition: width 0.3s ease, left 0.3s ease;
      border-radius: 2px;
    }
    nav a:hover {
      color: #fff;
    }
    nav a:hover::after {
      width: 100%;
      left: 0;
    }
    nav a.active {
      color: #00ff00;
    }
    nav a.active::after {
      width: 100%;
      left: 0;
    }
    /* Hero Section */
    .hero {
      text-align: center;
      padding: 100px 20px 80px;
      position: relative;
      z-index: 10;
      animation: fadeInUp 1s ease 0.5s forwards;
    }
    .profile-pic {
      width: 140px;
      height: 140px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid #00ff00;
      margin-bottom: 20px;
      display: inline-block;
      box-shadow: 0 0 20px #00ff00aa;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      animation: floatUpDown 4s ease-in-out infinite;
    }
    .profile-pic:hover {
      transform: scale(1.1) rotate(3deg);
      box-shadow: 0 0 30px #00ff00;
    }
    .card {
      background: #111;
      border: 1.5px solid #00ff00;
      padding: 30px 35px;
      margin: 0 auto;
      max-width: 600px;
      border-radius: 14px;
      box-shadow: 0 0 30px #00ff00aa;
      animation: glowPulse 3s ease-in-out infinite;
    }
    .card h1 {
      font-size: 2.6rem;
      margin-bottom: 15px;
      text-shadow: 0 0 20px #00ff00;
      letter-spacing: 1.5px;
    }

    .typing-typewriter {
          overflow: hidden;
          white-space: nowrap;
          border-right: 3px solid #00ff00;
          animation: typing-typewriter 4s steps(40, end) forwards, blink 0.75s step-end infinite;
        }

        @keyframes typing-typewriter {
          from { width: 0 }
          to { width: 100% }
        }

        .typing-loop {
              overflow: hidden;
              white-space: nowrap;
              border-right: 3px solid #00ff00;
              animation: typing-loop 6s steps(40, end) infinite;
            }
            
            @keyframes typing-loop {
              0% { width: 0 }
              50% { width: 100% }
              100% { width: 0 }
            }
    .typing-fade {
      display: inline-block;
      animation: fadeInLetters 4s steps(40, end) forwards;
      border-right: 3px solid #00ff00;
    }
    
    @keyframes fadeInLetters {
      from { opacity: 0; width: 0 }
      to { opacity: 1; width: 100% }
    }
    .typing {
      font-size: 1.7rem;
      border-right: 3px solid #00ff00;
      display: inline-block;
      white-space: nowrap;
      overflow: hidden;
      animation: typing 2.5s steps(40, end) infinite, blink 0.75s step-end infinite;
      letter-spacing: 2px;
      user-select: none;
    }    

    /* Animations */
    @keyframes typing {
      from { width: 0 }
      to { width: 100% }
    }
    @keyframes blink {
      from, to { border-color: transparent }
      50% { border-color: #00ff00; }
    }
    @keyframes fadeInUp {
      0% {
        opacity: 0;
        transform: translateY(20px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }
    @keyframes glowPulse {
      0%, 100% {
        box-shadow: 0 0 30px #00ff00aa;
      }
      50% {
        box-shadow: 0 0 45px #00ff00ff;
      }
    }
    @keyframes floatUpDown {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-10px);
      }
    }
    @keyframes slideDownFadeIn {
      0% {
        opacity: 0;
        transform: translateY(-20px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }
    @keyframes shine {
      0% {
        transform: translateX(-100%) rotate(25deg);
      }
      100% {
        transform: translateX(100%) rotate(25deg);
      }
    }
    /* Matrix Background */
    .matrix-bg {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: black;
      z-index: -1;
      overflow: hidden;
    }
    canvas {
      display: block;
    }
    /* Sections */
    section {
      padding: 60px 20px 80px;
      max-width: 1000px;
      margin: auto;
      z-index: 10;
      position: relative;
      animation: fadeInUp 1s ease 0.7s forwards;
      opacity: 0;
    }
    h2, h3, h4 {
      text-shadow: 0 0 15px #00ff00;
      text-align: center;
      margin-bottom: 25px;
      font-weight: 700;
      letter-spacing: 1.5px;
      animation: fadeInUp 0.8s ease forwards;
    }
    /* Cards */
    .card p {
      font-size: 1.1rem;
      line-height: 1.6;
      color: #a0ffa0;
      text-align: justify;
      text-justify: inter-word;
      transition: color 0.3s ease;
    }
    .card p:hover {
      color: #fff;
    }
    /* Skills Grid */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
    }
    .skill-card {
      background: #111;
      border: 1.5px solid #00ff00;
      padding: 25px 20px;
      border-radius: 14px;
      box-shadow: 0 0 25px #00ff00aa;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      cursor: default;
      user-select: none;
      position: relative;
      overflow: hidden;
      animation: fadeInUp 1s ease forwards;
    }
    .skill-card::before {
      content: "";
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(45deg, transparent, #00ff00aa, transparent);
      animation: shine 3s linear infinite;
      pointer-events: none;
      transform: rotate(25deg);
      opacity: 0;
      transition: opacity 0.3s ease;
      border-radius: 14px;
      z-index: 1;
    }
    .skill-card:hover::before {
      opacity: 1;
    }
    .skill-card:hover {
      transform: translateY(-12px) scale(1.05);
      box-shadow: 0 0 40px #00ff00;
      z-index: 10;
    }
    .skill-card h4 {
      text-align: center;
      margin-bottom: 18px;
      font-size: 1.3rem;
      letter-spacing: 1.2px;
      position: relative;
      z-index: 2;
    }
    .skill-card ul {
      list-style: none;
      padding-left: 0;
      position: relative;
      z-index: 2;
    }
    .skill-card ul li {
      margin: 8px 0;
      padding-left: 22px;
      position: relative;
      font-size: 1.05rem;
      color: #a0ffa0;
      transition: color 0.3s ease;
    }
    .skill-card ul li::before {
      content: "›";
      position: absolute;
      left: 0;
      color: #00ff00;
      font-weight: 700;
      font-size: 1.2rem;
      top: 2px;
      transition: color 0.3s ease;
    }
    .skill-card ul li:hover {
      color: #fff;
    }
    .skill-card ul li:hover::before {
      color: #fff;
    }
    /* Projects Grid */
    .projects-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
    }
    .project-card {
      background: #111;
      border: 1.5px solid #00ff00;
      padding: 25px 20px;
      border-radius: 14px;
      box-shadow: 0 0 25px #00ff00aa;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      cursor: default;
      user-select: none;
      position: relative;
      overflow: hidden;
      animation: fadeInUp 1s ease 0.5s forwards;
      opacity: 0;
    }
    .project-card::before {
      content: "";
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(45deg, transparent, #00ff00aa, transparent);
      animation: shine 3.5s linear infinite;
      pointer-events: none;
      transform: rotate(25deg);
      opacity: 0;
      transition: opacity 0.3s ease;
      border-radius: 14px;
      z-index: 1;
    }
    .project-card:hover::before {
      opacity: 1;
    }
    .project-card:hover {
      transform: translateY(-12px) scale(1.05);
      box-shadow: 0 0 40px #00ff00;
      z-index: 10;
    }
    .project-card h4 {
      text-align: center;
      margin-bottom: 15px;
      font-size: 1.3rem;
      letter-spacing: 1.2px;
      position: relative;
      z-index: 2;
    }
    .project-card p {
      font-size: 1.05rem;
      color: #a0ffa0;
      line-height: 1.5;
      text-align: center;
      position: relative;
      z-index: 2;
    }
    /* Experience */
    .job {
      margin-bottom: 25px;
      padding: 25px 25px 20px;
      background: #111;
      border: 1.5px solid #00ff00;
      border-radius: 14px;
      box-shadow: 0 0 25px #00ff00aa;
      transition: transform 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
      cursor: default;
      user-select: none;
      position: relative;
      overflow: hidden;
      animation: fadeInUp 1s ease 0.6s forwards;
      opacity: 0;
    }
    .job::before {
      content: "";
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(45deg, transparent, #00ff00aa, transparent);
      animation: shine 4s linear infinite;
      pointer-events: none;
      transform: rotate(25deg);
      opacity: 0;
      transition: opacity 0.3s ease;
      border-radius: 14px;
      z-index: 1;
    }
    .job:hover::before {
      opacity: 1;
    }
    .job:hover {
      transform: translateX(8px);
      background: #1a1a1a;
      box-shadow: 0 0 35px #00ff00;
      z-index: 10;
    }
    .job h4 {
      font-size: 1.3rem;
      margin-bottom: 12px;
      letter-spacing: 1.1px;
      position: relative;
      z-index: 2;
    }
    .job h4 span {
      font-weight: 400;
      font-size: 0.9rem;
      color: #70ff70aa;
      font-style: italic;
      display: block;
      margin-top: 4px;
      position: relative;
      z-index: 2;
    }
    .job ul {
      list-style: disc inside;
      margin-bottom: 12px;
      color: #a0ffa0;
      font-size: 1.05rem;
      line-height: 1.5;
      position: relative;
      z-index: 2;
    }
    .job p i {
      font-size: 0.95rem;
      color: #70ff70aa;
      position: relative;
      z-index: 2;
    }
    /* Clients Section */
    #clients {
      text-align: center;
    }
    #toggleClients {
      background-color: #000;
      color: #00ff00;
      border: 2px solid #00ff00;
      padding: 12px 22px;
      font-size: 1.1rem;
      font-weight: 700;
      border-radius: 10px;
      cursor: pointer;
      box-shadow: 0 0 10px #00ff00;
      transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
      margin-bottom: 25px;
      user-select: none;
      position: relative;
      overflow: hidden;
      animation: fadeInUp 1s ease forwards;
    }
    #toggleClients::after {
      content: "";
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(45deg, transparent, #00ff00aa, transparent);
      animation: shine 3s linear infinite;
      pointer-events: none;
      transform: rotate(25deg);
      opacity: 0;
      transition: opacity 0.3s ease;
      border-radius: 10px;
      z-index: 0;
    }
    #toggleClients:hover::after {
      opacity: 1;
    }
    #toggleClients:hover {
      background-color: #00ff00;
      color: #000;
      box-shadow: 0 0 20px #00ff00, 0 0 40px #00ff00;
      z-index: 1;
    }
    #clientsContent {
      max-width: 900px;
      margin: 0 auto;
      text-align: left;
      animation: fadeInUp 0.6s ease forwards;
    }
    .clients-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 1rem;
      margin-bottom: 30px;
    }
    .client-card {
      background: #111;
      border: 1.5px solid #00ff00;
      padding: 12px 15px;
      border-radius: 10px;
      box-shadow: 0 0 15px #00ff00aa;
      font-weight: 600;
      font-size: 0.95rem;
      color: #a0ffa0;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
      cursor: default;
      user-select: none;
      position: relative;
      overflow: hidden;
      animation: fadeInUp 1s ease forwards;
    }
    .client-card::before {
      content: "";
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(45deg, transparent, #00ff00aa, transparent);
      animation: shine 3.5s linear infinite;
      pointer-events: none;
      transform: rotate(25deg);
      opacity: 0;
      transition: opacity 0.3s ease;
      border-radius: 10px;
      z-index: 0;
    }
    .client-card:hover::before {
      opacity: 1;
    }
    .client-card:hover {
      transform: scale(1.07);
      box-shadow: 0 0 25px #00ff00;
      color: #fff;
      z-index: 10;
    }
    /* Contact Section */
    #contact .card p {
      font-size: 1.1rem;
      margin-bottom: 12px;
      text-align: center;
      transition: color 0.3s ease;
    }
    #contact .card p:hover {
      color: #fff;
    }
    #contact a {
      color: #00ff00;
      text-decoration: none;
      font-weight: 700;
      transition: color 0.3s ease;
      word-break: break-word;
    }
    #contact a:hover {
      color: #fff;
      text-decoration: underline;
    }
    /* Footer */
    footer {
      background: #111;
      color: #00ff00;
      text-align: center;
      padding: 20px 10px;
      margin-top: auto;
      border-top: 2px solid #00ff00;
      font-size: 1rem;
      letter-spacing: 1.2px;
      user-select: none;
      box-shadow: 0 0 15px #00ff00aa inset;
      animation: fadeInUp 1s ease forwards;
    }
    /* Responsive tweaks */
   @media (max-width: 600px) {
  body {
    font-size: 14px; /* Slightly smaller font for mobile */
  }
  header h1 {
    font-size: 2rem;
  }
  nav a {
    margin: 0 8px;
    font-size: 0.9rem;
  }
  .hero {
    padding: 60px 15px 40px;
  }
  .card {
    padding: 15px 10px;
  }
  .skills-grid, .projects-container, .clients-grid {
    grid-template-columns: 1fr; /* Stack cards vertically */
    gap: 1.5rem;
  }
  .profile-pic {
    width: 100px;
    height: 100px;
  }
}


