    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    body {
      background-color: #d8dcdb;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      padding: 0px;
      border: none;
    }

    /* Frame outer container */
    .page-frame {
      background-color: #e3e3e3;
      padding: 20px;
      border: 0x solid #c8c8c8;
      width: 95vw;
      max-width: 900px;
      width: 100%;
    }

    .portfolio-container {
      background-color: #1470af;
      color: #ffffff;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
      transition: opacity 0.8s ease-in-out;
      position: relative;
      width: 100%;
      overflow: hidden;
    }

  .name-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

  /* Hamburger  Menu */
  .hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hamburger:hover {
  background-color: #ffffff;
}

.hamburger span {
  width: 16px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.hamburger:hover span {
  background-color: #4572c2;
}

/* Morph into an X when open */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
    /* --- GLOBAL HEADER SECTION --- */
    .top-section {
      padding: 30px 40px 20px 40px;
    }

    /* Row 1: Name (Left) & Social Icons (Right) */
    .header-main-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px;
    }

    .brand-name {
      font-size: 1.1rem;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    .social-links {
      display: flex;
      gap: 10px;
    }

    .social-icon {
      color: #ffffff;
      font-size: 1rem;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .social-icon:hover {
      background-color: #ffffff;
      color: #4572c2;
      transform: translateY(-2px);
    }

    /* Row 2: Navigation Bar */
    .nav-bar {
      display: flex;
      gap: 12px;
      margin-bottom: 30px;
      padding-top: 10px;
      border-top: 1px solid rgba(255, 255, 255, 0.15);
      flex-wrap: wrap;
    }

    .nav-btn {
      color: #ffffff;
      text-decoration: none;
      font-size: 0.88rem;
      font-weight: 500;
      padding: 6px 16px;
      border-radius: 20px;
      background-color: rgba(255, 255, 255, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: all 0.3s ease;
      white-space: nowrap;
      display: inline-flex;
      gap: 10px;
      align-items: center;
    }

    .nav-btn:hover,
    .nav-btn.active {
      background-color: #ffffff;
      color: #4572c2;
      transform: translateY(-2px);
    }

    /* --- PROJECTS SECTION LAYOUT --- */
    .projects-container {
      padding: 20px 40px 40px 40px;
    }

    .projects-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 20px;
  }

  .project-card{
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    aspect-ratio: 3 / 4;
    min-width: 250px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255,255,255,0.35);
    cursor:pointer;
    backdrop-filter: blur(2px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  }

  .project-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  }

  /* Each card can have its own thumbnail image inside the top area */
  .project-card .thumb{
    position:absolute;
    inset:0;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    transition: opacity 0.45s ease;
  }

  .project-card:hover .thumb {
    opacity: 0.9;
  }

  .card-label{
    position:absolute;
    left:0;
    right:0;
    top:50%;
    transform: translateY(-50%);
    display:flex;
    flex-direction:column;
    align-items:center;
    transition: top 0.45s cubic-bezier(.4,0,.2,1), transform 0.45s cubic-bezier(.4,0,.2,1), padding 0.45s ease;
    padding: 0 16px;
  }

  .card-label .divider{
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.6);
    margin-bottom: 14px;
  }

  .card-label span{
    color:#fff;
    font-weight:700;
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    text-align:center;
  }

  /* On hover, slide the label + divider down to the bottom */
  .project-card:hover .card-label{
    top: auto;
    bottom: 0;
    transform: translateY(0);
    padding: 14px 16px 18px 16px;
    background: rgba(0,0,0,0.25);
  }

       .footer {
      background-color: #2C3E50;
      color: #ffffff;
      text-decoration: none;
      border-top: 2px solid #ffffff;
      padding-top: 10px;
    }
    .footer-content {
      display: flex;
      text-decoration: none;
      justify-content: space-between;
      flex-wrap: wrap;
    }
    .c {
      display: flex;
      flex-direction: column;
      width: 25%;
      padding: 0% 2%;
      gap: 5px;
    }

    .touch {
      display: flex;
      gap: 10px;
    }

    .footer-icon {
      color: #ffffff;
      font-size: 1rem;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .footer-icon:hover {
      background-color: #ffffff;
      color: #2C3E50;
      transform: translateY(-2px);
    }

    .footer-logo {
      color: rgba(255, 255, 255, 0.75);
      text-decoration: none;
      margin-left: 10px;
    }

    .footer-logo:hover {
      color: rgba(255, 255, 255, 1);
      text-decoration: underline;
    }

    .last-row {
      display: flex;
      justify-content: space-between;
      padding: 0px 40px 25px 40px;
      font-size: 1rem;
    }
    /* Mobile Responsiveness */
    @media (max-width: 768px) {
      .header-main-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
      }

      .projects-container {
        padding: 20px;
      }

       .projects-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    
  .hamburger {
    display: flex;
  }

  .nav-bar {
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    gap: 8px;
    padding-top: 0;
    border-top: none;
    margin-bottom: 0;
    transition: max-height 0.35s ease, padding-top 0.35s ease, margin-bottom 0.35s ease;
  }

  .nav-bar.active {
    max-height: 400px;
    padding-top: 15px;
    margin-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .nav-btn {
    text-align: center;
    justify-content: center;
  }

    .footer-content {
      display: block;
      column-count: 2;
      margin-left: 15px;
      font-size: 0.6rem;
    }

    .c {
      width: 100%;
      break-inside: avoid;
      margin-bottom: 20px;
      padding: 0;
    }

    .last-row {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 10px;
    }
    }

    @media (max-width: 480px) {
      .projects-grid {
        grid-template-columns: 1fr;
      }
    
    }