/* Projects Section */
section {
    min-height: 100vh;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .section-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
  }

  .projects {
    position: relative;
    text-align: center;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.02) 0%,
      rgba(255, 255, 255, 0) 100%
    );
    padding: 80px 5%;
  }
  
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 60px auto 0;
  }
  
  .project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px);
  
    display: flex;             
    flex-direction: column;
  }
  
  .project-card.animate {
    opacity: 1;
    transform: translateY(0);
  }
  
  .project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: var(--accent);
  }
  
  .project-image {
    height: 200px;
    background: linear-gradient(45deg, var(--accent), var(--accent-alt));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    position: relative;
    overflow: hidden;
  }
  
  .project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
  }
  
  .project-card:hover .project-image::before {
    left: 100%;
  }
  
  .project-content {
    flex: 1;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .project-title {
    font-size: 1.6rem;
    margin-bottom: 15px; 
  }

  .project-description {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 20px; 
    flex-grow: 1;
  }
  
  .project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px; 
  }
  
  .project-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: auto;
  }
  
  .tech-tag {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 255, 136, 0.3);
  }
  
  
  .project-link {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .project-link:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
  }