.projects {
    max-width: 1100px;
    margin: 120px auto 80px;
    padding: 20px;
    color: #f0f0f0;
  }
  
  .projects h1 {
    text-align: center;
    color: #f0e3ea;
    margin-bottom: 10px;
  }
  
  .projects .intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
  }
  
  .project-grid {
    display: grid;
    gap: 40px;
  }
  
  .project-card {
    background: #111;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.2s ease;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
  }
  
  .project-header h2 {
    color: #f0e3ea;
    margin-bottom: 10px;
  }
  
  .project-tagline {
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  .video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; 
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  }
  
  .video-container iframe,
  .video-container video,
  .video-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    object-fit: cover;
  }
  
 
  .stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
    list-style: none;
    padding: 0;
  }
  
  .stack li {
    background: #f0e3ea;
    color: #000;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
  }
  
  .project-links {
    margin-top: 10px;
  }
  
  .project-links a {
    display: inline-block;
    margin-right: 10px;
    margin-top: 5px;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
  }
  
  .project-links .btn.github {
    background: #333;
    color: #fff;
  }
  
  .project-links .btn.github:hover {
    background: #555;
  }
  
  .project-links .btn.demo {
    background: #476280;
    color: #fff;
  }
  
  .project-links .btn.demo:hover {
    background: #345067;
  }
  