body {
      margin: 0;
      background-color: #000;
      color: #00ff00;
      font-family: 'Share Tech Mono', monospace;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: #101010;
      padding: 1rem 2rem;
      border-bottom: 1px solid #00ff00;
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    header h1 {
      margin: 0;
      font-size: 1.8rem;
    }

    nav {
      display: flex;
      align-items: center;
    }

    nav a {
      color: #00ff00;
      margin-left: 1.5rem;
      text-decoration: none;
      transition: color 0.3s;
    }

    nav a:hover {
      color: #0f0;
      background-color: gray;
    }

    /* Hamburger menu styles */
    .menu-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
    }

    .menu-toggle span {
      background: #00ff00;
      height: 3px;
      width: 25px;
      margin: 4px 0;
      transition: 0.4s;
      border-radius: 2px;
    }

    /* Hero Section */
    .hero {
      text-align: center;
      margin: auto;
      padding: 5rem 1rem;
      flex-grow: 1;
    }

    .hero h2 {
      font-size: 2.5rem;
      margin-bottom: 0.5rem;
    }

    #typing {
      font-size: 1.5rem;
      color: #00ff00;
      min-height: 2rem; /* avoid jump when text changes */
    }

    
    .content {
      flex: 1;
      padding: 3rem 2rem;
    }

    .service {
      border: 1px solid #00ff00;
      padding: 1.5rem;
      margin: 1rem 0;
      border-radius: 10px;
      background-color: #0a0a0a;
    }

    .service h2 {
      font-size: 1.6rem;
      margin-bottom: 0.5rem;
    }

    .service p {
      font-size: 1rem;
      line-height: 1.6;
    }

    .project {
      border: 1px solid #00ff00;
      padding: 1.5rem;
      margin: 1.5rem 0;
      border-radius: 10px;
      background-color: #0a0a0a;
    }

    .project h2 {
      font-size: 1.5rem;
      margin-bottom: 0.5rem;
    }

    .project p {
      font-size: 1rem;
      line-height: 1.5;
    }

    .project a {
      display: inline-block;
      margin-top: 0.5rem;
      color: #00ff00;
      text-decoration: underline;
    }

    
/* Project Card Styles */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    perspective: 1000px;
}

.card-front, .card-back {
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    backface-visibility: hidden;
    position: absolute;
    transition: transform 0.6s;
}

.card-front {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 5px;
}

.card-back {
    background: #333;
    color: #fff;
    transform: rotateY(180deg);
    border: 1px solid #ddd;
    border-radius: 10px;
}

.card-back a {
  width: 100px;
  height: 40px;
  background-color: greenyellow;
  border-radius: 20px;
  font-size: 20px;
  text-align: center;
  color: black;
}

.project-card:hover .card-front {
    transform: rotateY(180deg);
}

.project-card:hover .card-back {
    transform: rotateY(0);
}

/* Project Detail Page */
.project-detail {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
}
.contents {
      flex: 1;
      padding: 3rem 2rem;
      max-width: 700px;
      margin: 0 auto;
      margin-bottom: 60px;
    }

    form {
      display: flex;
      flex-direction: column;
    }

    label {
      margin-top: 1rem;
      margin-bottom: 0.2rem;
    }

    input, textarea {
      background: #0a0a0a;
      border: 1px solid #00ff00;
      color: #00ff00;
      padding: 0.8rem;
      border-radius: 5px;
      font-size: 1rem;
      resize: vertical;
    }

    button {
      margin-top: 1.5rem;
      padding: 0.8rem;
      background: #00ff00;
      color: #000;
      font-weight: bold;
      border: none;
      cursor: pointer;
      font-family: inherit;
      border-radius: 5px;
      transition: background 0.3s;
    }

    button:hover {
      background: #0f0;
    }
    footer {
      background: #101010;
      text-align: center;
      padding: 1rem 0;
      border-top: 1px solid #00ff00;
    }

    .social-icons a {
      color: #00ff00;
      margin: 0 10px;
      font-size: 1.2rem;
      transition: color 0.3s;
    }

    .social-icons a:hover {
      color: #0f0;
      background-color: tomato;
    }

    /* Responsive styles */
    @media (max-width: 768px) {
      nav {
        position: fixed;
        top: 60px;
        right: -100%;
        background: #101010;
        height: calc(100% - 60px);
        width: 200px;
        flex-direction: column;
        padding-top: 2rem;
        transition: right 0.3s ease-in-out;
        border-left: 1px solid #00ff00;
      }

      nav.open {
        right: 0;
      }

      nav a {
        margin: 1rem 0;
        font-size: 1.3rem;
      }

      .menu-toggle {
        display: flex;
      }
    }