body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: transparent;
    color: #333;
  }
  header {
    background-color: black;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
  }
  
  nav a {
    color: #fff;
    margin-left: 1.5rem;
    text-decoratioan: none;
  }
  
  nav a:hover {
    text-decoration: underline;
  }
  
  .hero {
    text-align: center;
    padding: 5rem 2rem;
    background-color: grey;
    opacity: 25%;
    color: white;
    pointer-events: none;
    flex-grow: 1;

  }
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
  }
  
  .hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
  }
  
  footer {
    background-color: rgba(14, 14, 14, 0.9);
    color: #ccc;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    flex-shrink: 0;
    z-index: 1;
  }
  .projects-container {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .page-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }
  
  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .project-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .project-card h2 {
    margin-top: 0;
    font-size: 1.5rem;
  }
  
  .project-card a {
    color: #1e88e5;
    text-decoration: none;
  }
  
  .project-card a:hover {
    text-decoration: underline;
  }
  .project-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 0 auto 1rem auto;
    display: block;
    border-radius: 6px;
    cursor: pointer;
  }

  /* Modal Styles */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 2rem 1rem;
  }

  .modal-content {
    background-color: #fff;
    margin: auto;
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
    position: relative;
  }

 
  .modal-content::-webkit-scrollbar {
    width: 6px;
  }
  .modal-content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
  }

 
  .modal-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto 1rem auto;
    display: block;
    border-radius: 6px;
  }

  
  .close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: #444;
  }
  .modal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .modal-content li {
    margin-bottom: 0.5rem;
  }
  .modal-content code {
    background-color: #eee;
    padding: 2px 5px;
    border-radius: 4px;
    font-family: monospace;
  }
    /* Fade in animation for modal background */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Scale-in for modal content */
  @keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }
  /* Initial hidden state */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  /* When visible */
  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }
  /* Base animation styles */
  .project-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

  /* When in view */
  .project-card.animate-in {
    opacity: 1;
    transform: translateY(0);
  }
  .modal {
    animation: fadeIn 0.3s ease-out;
  }

  .modal-content {
    animation: scaleIn 0.3s ease-out;
  }



  /* Filter and Category Options */
  .filter-buttons {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .filter-buttons button {
    margin: 0.3rem;
    padding: 0.5rem 1rem;
    border: none;
    background-color: #444;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .filter-buttons button:hover {
    background-color: #666;
  }
  
  .project-tag {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: #555;
  }
  
  .tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #222;
  }
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
  }
  
  header {
    background-color: #24292e;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  nav a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
  }
  
  nav a.active,
  nav a:hover {
    text-decoration: underline;
  }
  
  main.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: auto;
    background: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
  }
  
  .about-image {
    flex: 1 1 250px;
    text-align: center;
  }
  
  .about-image img {
    max-width: 250px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .about-content {
    flex: 2 1 400px;
  }
  
  .about-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .about-content p {
    margin-bottom: 1.2rem;
  }
  
  .about-content a {
    color: #0077cc;
    text-decoration: none;
  }
  
  .about-content a:hover {
    text-decoration: underline;
  }
  main.contact-container {
    max-width: 600px;
    margin: 3rem auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }
  
  main.contact-container h1 {
    margin-bottom: 1rem;
    font-size: 2rem;
    text-align: center;
  }
  
  main.contact-container p {
    text-align: center;
    margin-bottom: 2rem;
    color: #555;
  }
  
  .contact-form label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    margin-top: 1rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
  }
  
  .contact-form textarea {
    resize: vertical;
  }
  
  .contact-form button {
    margin-top: 1.5rem;
    padding: 0.75rem 1.2rem;
    background-color: #0077cc;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: #005fa3;
  }
  
  .contact-info {
    margin-top: 3rem;
    text-align: center;
  }
  
  .contact-info h2 {
    margin-bottom: 1rem;
  }
  
  .contact-info ul {
    list-style: none;
    padding: 0;
  }
  
  .contact-info ul li {
    margin: 0.5rem 0;
  }
  
  .contact-info a {
    color: #0077cc;
    text-decoration: none;
  }
  
  .contact-info a:hover {
    text-decoration: underline;
  }
  
  
  .tag.web { background-color: #d1c4e9; }
  .tag.bots { background-color: #f8bbd0; }
  .tag.graphics { background-color: #bbdefb; }
  .tag.systems { background-color: #ffe0b2; }
  .tag.ml { background-color: #c8e6c9; }
  .tag.game { background-color: #437744; }
  .tag.data { background-color: #9348b6; }

  