 /* style.css */
 :root {
   --md-sys-color-primary: #bb86fc;
   --md-sys-color-secondary: #03dac6;
   --md-sys-color-tertiary: #3700b3;
   --md-sys-color-error: #cf6679;
   --md-sys-color-background: #121212;
   --md-sys-color-surface: #1e1e1e;
   --md-sys-color-on-primary: #000000;
   --md-sys-color-on-secondary: #000000;
   --md-sys-color-on-tertiary: #ffffff;
   --md-sys-color-on-error: #000000;
   --md-sys-color-on-background: #ffffff;
   --md-sys-color-on-surface: #ffffff;
  }
 
  body {
   font-family: "Roboto", sans-serif;
   margin: 0;
   padding: 0;
   background-color: var(--md-sys-color-background);
   color: var(--md-sys-color-on-background);
   transition: background-color 0.3s ease, color 0.3s ease;
  }
 
  header {
   background-color: var(--md-sys-color-surface);
   color: var(--md-sys-color-on-surface);
   padding: 1rem 0;
   text-align: center;
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
   margin-bottom: 1rem;
   display: flex;
   flex-direction: column;
   align-items: center;
  }
 
  header h1 {
   margin: 0 0 0.5rem 0;
   font-weight: 500;
   letter-spacing: 0.1em;
  }
 
  nav {
   display: flex;
   gap: 1rem;
   justify-content: center;
   margin-top: 0.5rem;
  }
 
  nav a {
   color: var(--md-sys-color-on-surface);
   text-decoration: none;
   padding: 0.5rem 1rem;
   border-radius: 8px;
   transition: background-color 0.3s ease, color 0.3s ease;
   display: inline-block;
  }
 
  nav a:hover {
   background-color: var(--md-sys-color-primary);
   color: var(--md-sys-color-on-primary);
  }
 
  #hero {
   background-color: var(--md-sys-color-background);
   padding: 2rem;
   text-align: center;
  }
 
  .hero-content {
   max-width: 800px;
   margin: 0 auto;
  }
 
  .hero-content h2 {
   font-weight: 700;
   margin-bottom: 1rem;
  }
 
  #skills,
  #systems {
   padding: 2rem;
   text-align: center;
  }
 
  .skills-grid,
  .systems-grid {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 0.75rem;
   margin-top: 1rem;
  }
 
  .skills-grid span,
  .systems-grid span {
   position: relative;
   background-color: var(--md-sys-color-surface);
   color: var(--md-sys-color-on-surface);
   padding: 0.5rem 1rem;
   border-radius: 8px;
   transition: transform 0.2s ease, box-shadow 0.2s ease;
   overflow: hidden;
  }
 
  .skills-grid span:hover,
  .systems-grid span:hover {
   transform: translateY(-3px);
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }
 
  /* Primary skills and systems */
  .primary-skill,
  .primary-system {
   border: 2px solid rgba(170, 170, 170, 0.3);
  }
 
  /* Gradient text directly inside primary skills */
  .primary-skill .gradient-text,
  .primary-system .gradient-text {
   background-image: linear-gradient(
     to right,
     #ff4d4d,
     #ff9933,
     #fffc33,
     #73ff33,
     #33ffc2,
     #3366ff,
     #9933ff,
     #ff33e6
   );
   -webkit-background-clip: text;
   background-clip: text;
   color: transparent;
   display: inline-block;
   padding: 0;
   margin: 0;
   animation: animateTextGradient 5s linear infinite;
   background-size: 200% auto;
   /* Prevent any movement of the text itself during hover */
   transform: none !important;
   position: relative;
   z-index: 2;
  }
 
  /* Ensure hover effects don't affect the inner text */
  .primary-skill:hover .gradient-text,
  .primary-system:hover .gradient-text {
   transform: none !important;
  }
 
  @keyframes animateTextGradient {
   0% {
   background-position: 0% center;
   }
   100% {
   background-position: 200% center;
   }
  }
 
  #projects {
   padding: 2rem;
   text-align: center;
  }
 
  .project-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 1.5rem;
   max-width: 1200px;
   margin: 0 auto;
  }
 
  .project-card {
   background-color: var(--md-sys-color-surface);
   color: var(--md-sys-color-on-surface);
   padding: 1.5rem;
   border-radius: 12px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
   transition: transform 0.2s ease;
  }
 
  .project-card:hover {
   transform: translateY(-5px);
  }
 
  .project-card h3 {
   font-weight: 500;
   margin-bottom: 0.5rem;
  }
 
  .project-card a {
   color: var(--md-sys-color-primary);
   text-decoration: none;
   transition: color 0.3s ease;
  }
 
  .project-card a:hover {
   color: var(--md-sys-color-secondary);
  }
 
  /* Project links styling */
  .project-links {
   display: flex;
   gap: 1rem;
   justify-content: center;
   margin-top: 1rem;
  }
 
  .project-links a {
   background-color: rgba(187, 134, 252, 0.1);
   padding: 0.5rem 1rem;
   border-radius: 8px;
   transition: background-color 0.3s ease;
  }
 
  .project-links a:hover {
   background-color: rgba(187, 134, 252, 0.2);
  }
 
  #socials {
   padding: 2rem;
   text-align: center;
  }
 
  .social-links a {
   color: var(--md-sys-color-primary);
   text-decoration: none;
   margin: 0 1rem;
   font-size: 1.2rem;
   transition: color 0.3s ease;
  }
 
  .social-links a:hover {
   color: var(--md-sys-color-secondary);
  }
 
  #contact {
   padding: 2rem;
   text-align: center;
  }
 
  /* Email styling */
  .email-link {
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
   color: var(--md-sys-color-primary);
   text-decoration: none;
   padding: 0.6rem 1.2rem;
   border-radius: 8px;
   background-color: rgba(187, 134, 252, 0.08);
   transition: all 0.3s ease;
   margin-top: 0.5rem;
   font-weight: 500;
   letter-spacing: 0.03em;
   border: 1px solid rgba(187, 134, 252, 0.2);
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
 
  .email-link svg {
   transition: transform 0.3s ease;
  }
 
  .email-link:hover {
   background-color: rgba(187, 134, 252, 0.15);
   transform: translateY(-2px);
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
   border-color: rgba(187, 134, 252, 0.3);
  }
 
  .email-link:hover svg {
   transform: scale(1.1);
   color: var(--md-sys-color-secondary);
  }
 
  footer {
   text-align: center;
   padding: 1rem 0;
   background-color: var(--md-sys-color-surface);
   color: var(--md-sys-color-on-surface);
  }
 
  /* Only add side padding to the #projects section on screens wider than 600px */
  @media (min-width: 600px) {
    #projects {
      padding-left: 0;
      padding-right: 0;
    }
  }
 
 /* Language Switcher Styling */
 .language-switcher {
   position: absolute;
   top: 1rem;
   left: 1rem;
   display: flex;
   z-index: 1000; /* Ensure it's above other content */
 }

 .lang-button {
   background-color: var(--md-sys-color-surface);
   color: var(--md-sys-color-on-surface);
   border: 1px solid rgba(255, 255, 255, 0.2);
   padding: 0.4rem 0.8rem;
   border-radius: 6px;
   cursor: pointer;
   font-size: 0.9rem;
   transition: all 0.2s ease;
 }

 .lang-button:hover {
   background-color: var(--md-sys-color-primary);
   color: var(--md-sys-color-on-primary);
   border-color: var(--md-sys-color-primary);
 }
 