/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5fa;
    color: #1a1a1a;
  }
  
  header {
    display: flex;
    justify-content: space-between;
    padding: 15px 30px;
    background: linear-gradient(to right, #0f0c29, #302b63, #24243e);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .logo {
    font-size: 28px;
    font-weight: bold;
  }
  
  .er {
    color: #ffde59;
  }
  
  .name {
    color: white;
  }
  
  /* Projects Section */
  .projects {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 30px;
    margin-bottom: 80px;
  }
  
  /* Project Card */
  .project-card {
    display: flex;
    flex-direction: row;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  }
  
  .project-card img {
    width: 40%;
    height: auto;
    object-fit: cover;
  }
  
  .project-details {
    padding: 20px;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #1a1a1a;
    color: white;
  }
  
  .project-details h3 {
    font-size: 22px;
    color: #ffde59;
    margin-bottom: 10px;
  }
  
  .project-details p {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
  }
  
  /* Source Button */
  .source-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    background: #ffde59;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .source-btn:hover {
    background: #f4c400;
    color: #000;
  }
  
  /* Footer */
  footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 15px;
    background: #ff4e50;
    color: white;
    font-weight: bold;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .project-card {
      flex-direction: column;
    }
  
    .project-card img,
    .project-details {
      width: 100%;
    }
  
    .project-details {
      padding: 16px;
    }
  }
  