/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #000;
    color: white;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
  }
  
  /* ===== Stars Background ===== */
  .stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
  }
  
  .star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 2s infinite ease-in-out;
  }
  
  @keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
  }
  
  /* ===== Header ===== */
  .header {
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav__logo {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .nav__menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
  }
  
  .nav__menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
  }
  
  .nav__menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #00d8ff;
    transition: width 0.3s ease;
  }
  
  .nav__menu a:hover {
    color: #00d8ff;
  }
  
  .nav__menu a:hover::after {
    width: 100%;
  }  
  
  /* ===== Hero Section ===== */
  .hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
    padding: 2rem;
    text-align: center;
  }
  
  .hero__content {
    z-index: 1;
  }
  
  .hero__title {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }
  
  .hero__cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: white;
    color: black;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
  }
  
  .hero__cta:hover {
    background-color: #00d8ff;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 216, 255, 0.6);
    cursor: pointer;
  }  
  
  /* ===== Sections ===== */
  section {
    padding: 4rem 2rem;
    max-width: 960px;
    margin: 0 auto;
  }
  
  .section__title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
  }
  
  /* ===== Projects Section ===== */
  .projects__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .project-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255,255,255,0.1);
  }

  .project-card:hover {
    transform: scale(1.03);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .project-card {
    transition: all 0.3s ease;
  }  
  
  .project-card__title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .project-card__description {
    margin-bottom: 1rem;
  }
  
  .project-card__link {
    color: #00d8ff;
    text-decoration: none;
  }
  
  /* ===== About Section ===== */
  .about__content {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
  }
  
  /* ===== Contact Section ===== */
  .contact__content {
    text-align: center;
  }
  
  .contact__content a {
    color: #00d8ff;
    text-decoration: none;
  }  
  
  /* ===== Footer ===== */
  .footer {
    text-align: center;
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.8);
  }

  /* Hide nav menu by default on small screens */
@media (max-width: 768px) {
    .nav__menu {
      position: fixed;
      top: 60px; /* below header */
      right: 0;
      background: rgba(0, 0, 0, 0.95);
      flex-direction: column;
      width: 200px;
      height: calc(100vh - 60px);
      gap: 1rem;
      padding: 1rem;
      transform: translateX(100%);
      transition: transform 0.3s ease;
      z-index: 20;
    }
    
    /* Show menu when active */
    .nav__menu.active {
      transform: translateX(0);
    }
  
    /* Make nav menu links bigger & stacked */
    .nav__menu a {
      font-size: 1.2rem;
      padding: 0.5rem 0;
    }
    
    /* Hamburger button styles */
    .nav__toggle {
      display: block !important;
      cursor: pointer;
      font-size: 2rem;
      color: white;
      background: none;
      border: none;
      right: 15px !important;
    }
    
    .projects__grid {
      grid-template-columns: 1fr;
    }
  }

  /* Hide hamburger on desktop */
  .nav__toggle {
    display: none;
  }
  