/* --- Global Reset & Font --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    padding: 2rem;
    max-width: 800px;
    margin: auto;
  }
  
  /* --- Headings --- */
  h1, h2, h3 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #222;
  }
  
  h1 {
    font-size: 2.2rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
    margin-top: 2rem;
  }
  
  p {
    margin-bottom: 1rem;
  }
  
  /* --- Links --- */
  a {
    color: #007acc;
    text-decoration: none;
    margin-right: 1.5rem;
    font-weight: 500;
    transition: color 0.2s ease;
  }
  a:hover {
    color: #005a99;
    text-decoration: underline;
  }
  
  /* --- Lists --- */
  ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
  }
  li {
    margin-bottom: 0.4rem;
  }
  
  /* --- Form Styles --- */
  form {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    margin-top: 2rem;
  }
  
  label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
  }
  
  input[type="text"],
  input[type="email"],
  textarea {
    width: 100%;
    padding: 0.6rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
  }
  
  input[type="submit"] {
    background: #007acc;
    color: #fff;
    border: none;
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  
  input[type="submit"]:hover {
    background: #005a99;
  }
  
  /* --- Footer Links (if any) --- */
  footer {
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #777;
    text-align: center;
  }
  
/* Base link styling */
a {
    position: relative;
    display: inline-block;
    color: #007acc; /* base color */
    font-weight: 500;
    text-decoration: none;
    padding: 0.2rem 0;
    margin-right: 1.5rem;
    transition: color 0.25s ease; /* smooth color change */
  }
  
  /* Underline effect (hidden by default) */
  a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: #007acc; /* matches text color */
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
  }
  
  /* Hover effect */
  a:hover {
    color: #005a99; /* slightly darker tone on hover */
  }
  
  a:hover::after {
    transform: scaleX(1); /* underline smoothly expands */
  }
  
  .project {
    margin-top: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #ddd;
  }
  
  .project h2 {
    margin-bottom: 0.5rem;
  }
  
  .project p {
    margin-bottom: 1rem;
  }
  
  .project-media {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .project-media img,
  .project-media video {
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
  }
  