/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  
  body {
    background-color: #111;
    color: #fff;
    overflow-x: hidden;
    scroll-behavior: smooth;
  }
  
  h1, h2 {
    font-weight: 700;
  }
  
  h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
  }
  
  h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  /* Header Section */
  header {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #0d0d0d, #1b1b1b);
    position: relative;
  }
  
  header h1 {
    font-size: 4rem;
    text-transform: uppercase;
    position: relative;
  }
  
  .glitch {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    position: relative;
    animation: glitch-animation 2s infinite;
  }
  
  @keyframes glitch-animation {
    0% { text-shadow: 2px 2px 0 #f00, -2px -2px 0 #0f0; }
    50% { text-shadow: -2px -2px 0 #f00, 2px 2px 0 #0f0; }
    100% { text-shadow: 2px 2px 0 #f00, -2px -2px 0 #0f0; }
  }
  
  .tagline {
    font-weight: 300;
    font-size: 1.5rem;
    margin-top: 1rem;
  }
  
  /* About Section */
  .about {
    padding: 50px 10%;
    background: #1b1b1b;
  }
  
  .about-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  
  .about-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    animation: zoom-in 1s ease-in-out;
  }
  
  @keyframes zoom-in {
    0% {
      transform: scale(0.5);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  .about-text {
    max-width: 500px;
  }
  
  .fade-in {
    animation: fadeIn 1.5s ease-in-out;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  /* Skills Section */
  .skills {
    background: linear-gradient(135deg, #111, #1b1b1b);
    padding: 50px 10%;
    text-align: center;
  }
  
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .skill-card {
    padding: 20px;
    background: #333;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
    animation: fadeInUp 1.5s ease-in-out;
  }
  
  .skill-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.5), 0 6px 10px rgba(0, 255, 255, 0.2);
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Projects Section */
  .projects {
    padding: 50px 10%;
    background: #1b1b1b;
  }
  
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .project {
    background: #333;
    padding: 20px;
    border-radius: 10px;
  }
  
  .project img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  
  .project:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  }
  
  .project:hover img {
    transform: scale(1.03);
  }
  
  /* Resume Section */
  .resume {
    background: linear-gradient(135deg, #111, #1b1b1b);
    padding: 50px 10%;
    text-align: center;
  }
  
  .resume-link {
    font-size: 1.5rem;
    text-decoration: none;
    color: #03dac5;
    border: 2px solid #03dac5;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .resume-link:hover {
    background-color: #03dac5;
    color: #111;
  }
  
  /* Contact Section */
  .contact {
    background: #111;
    padding: 50px 10%;
    text-align: center;
  }
  
  /* Footer */
  footer {
    padding: 20px;
    background: #0d0d0d;
    text-align: center;
  }
  
  footer p {
    color: #888;
  }
  
  /* Mobile Responsive Media Queries */
  @media screen and (max-width: 768px) {
    
    /* Stack header content vertically */
    .header-content {
      flex-direction: column;
    }
  
    /* Adjust text size */
    header h1 {
      font-size: 2.5rem;
    }
  
    header .tagline {
      font-size: 1.2rem;
    }
  
    /* Stack about section */
    .about-content {
      flex-direction: column;
      text-align: center;
    }
  
    .about-image img {
      width: 150px;
      height: 150px;
    }
  
    /* Make the skills and projects grid stack into one column */
    .skills-grid, .projects-grid {
      grid-template-columns: 1fr;
    }
  
    /* Adjust padding and margins for better spacing */
    .skills, .projects, .about {
      padding: 30px 5%;
    }
  
    .skill-card, .project {
      padding: 15px;
    }
  
    /* Reduce resume button size */
    .resume-link {
      font-size: 1.2rem;
      padding: 8px 16px;
    }
  
    /* Ensure contact section text is well spaced on smaller screens */
    .contact {
      padding: 30px 5%;
    }
  }
  