  /* =================================================================
    GLOBAL STYLES & BODY
    ================================================================= */

   body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Trirong', serif;
    background: linear-gradient(-45deg, #0a0f2c, #1b1f3a, #0a0f2c, #1b1f3a);
    background-size: 400% 400%;
    animation: gradient 10s ease infinite;
    color: #fff;
    position: relative;
    background-attachment: fixed;
  }
  
  body::-webkit-scrollbar {
    display: none;
  }

  @keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
  }
  
  /* =================================================================
     ANIMATIONS & KEYFRAMES
     ================================================================= */
  
  @keyframes slideUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
  }
  
  /* =================================================================
     NAVIGATION & HEADER
     ================================================================= */
  
     .nav-header {
      position: relative;
      top: 20px;
      left: 0;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 4rem;
      z-index: 1000;
      box-sizing: border-box;
    }
    
    .menu-toggle {
      position: absolute;
      left: 4rem;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: #fff;
      font-size: 2rem;
      cursor: pointer;
      transition: transform 0.3s ease;
      padding: 0.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .menu-toggle:hover {
      transform: translateY(-50%) scale(1.05);
    }
    
    .menu-toggle.hidden,
    .contact-btn.hidden,
    .nav-brand.hidden,
    .nav-name.hidden {
      display: none;
    }
    
    .contact-btn {
      position: absolute;
      right: 4rem;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: 2px solid #fff;
      color: #fff;
      padding: 0.25rem 1rem;
      text-decoration: none;
      border-radius: 50px;
      transition: transform 0.3s ease;
      z-index: 2500;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .contact-btn:hover {
      transform: translateY(-50%) scale(1.05);
    }
    
    .nav-brand {
      display: flex;
      align-items: center;
      cursor: pointer;
      transition: transform 0.3s ease;
      justify-content: center;
    }
    
    .nav-brand:hover {
      transform: scale(1.05);
    }
    
    .headshot {
      cursor: pointer;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
      margin-right: 0.5rem;
    }
    
    .nav-name {
      cursor: pointer;
      font-size: 1.5rem;
      font-weight: bold;
      line-height: 1;
    }

  /* =================================================================
     MENU OVERLAY & MOBILE MENU
     ================================================================= */
  
  .menu {
    position: fixed;
    top: 4rem;
    left: 1rem;
    display: none;
  }
  
  .menu.active {
    display: block;
  }
  
  .menu-links {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .menu-links li {
    margin: 1rem 0;
  }
  
  .menu-links li a {
    color: #fff;
    text-decoration: none;
  }
  
  .menu-links li a:hover {
    color: #00bcd4;
  }
  
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-start;
    transform: translateX(-100%);
    transition: transform 0.75s ease;
    z-index: 999;
  }
  
  .menu-overlay.active {
    transform: translateX(0);
  }
  
  .menu-content {
    width: 400px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    height: 100%;
    padding: 2rem;
    color: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    border-right: 1px solid rgba(255,255,255,0.2);
  }
  
  .menu-content ul {
    list-style: none;
    padding: 0;
  }
  
  .menu-content li {
    margin: 1rem 0;
  }
  
  .menu-content li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
  }

  .menu-content li a:hover {
    transform: scale(1.05);
  }

  /* =================================================================
     HERO SECTION
     ================================================================= */
  
  #hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: opacity 0.5s ease;
    margin-bottom: 0;
  }
  
  .hero-name {
    font-size: 5rem;
    font-weight: 700;
    margin: 0 0 1rem;
  }
  
  .hero-role {
    font-size: 1.5rem;
    color: #ccc;
    max-width: 750px;
    margin: 0 auto;
  }
  
  .hero-content {
    opacity: 0;
    transform: translateY(100px);
    animation: slideUp 1s forwards;
  }
  
  .typewriter-text {
    font-size: 5rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
  }
  
  .scroll-down {
    margin-top: 2rem;
    font-size: 2rem;
    animation: bounce 2s infinite;
  }
  
  /* =================================================================
     ABOUT SECTION
     ================================================================= */
  
  #about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10rem 0;
  }
  
  .about-container {
    max-width: 1300px;
    margin: 4rem auto;
    display: flex;
    gap: 5rem;
    align-items: center;
    padding: 2rem;
  }
  
  .about-text {
    flex: 1;
  }
  
  .about-image img {
    width: 500px;
    height: auto;
    border-radius: 10px;
  }
  
  .about-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .about-container p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ccc;
  }
  
  .about-line {
    width: 100%;
    height: 2px;
    background: #fff;
    margin-bottom: 1rem;
  }
  
  /* =================================================================
     PROJECTS SECTION
     ================================================================= */
  
  .projects-container {
    max-width: 1300px;
    margin: 4rem auto;
    padding: 10rem;
  }
  
  .projects-container h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }
  
  .project-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .project-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
  }
  
  .project-item:hover {
    transform: scale(1.03);
  }
  
  .projects-line {
    width: 100%;
    height: 2px;
    background: #fff;
    margin-bottom: 1rem;
  }

  .leadership-item:visited {
    color: inherit;
  }

  .project-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
  }

  .project-title {
    margin: 0;
    flex: 1;
  }

  .project-date {
    margin: 0;
    font-style: italic;
    color: #fff;
  }

  .project-description {
    margin: 0;
    line-height: 1.6;
  }
  
  /* =================================================================
     EXPERIENCE SECTION
     ================================================================= */
  
  .experience-container {
    max-width: 1300px;
    margin: 4rem auto;
    padding: 10rem;
  }
  
  .experience-container h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }
  
  .experience-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .experience-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
  }
  
  .experience-item:hover {
    transform: scale(1.03);
  }
  
  .experience-line {
    width: 100%;
    height: 2px;
    background: #fff;
    margin-bottom: 1rem;
  }

  .experience-item:visited {
    color: inherit;
  }

  .experience-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
  }

  .experience-title {
    margin: 0;
    flex: 1;
  }

  .experience-date {
    margin: 0;
    font-style: italic;
    color: #fff;
  }

  .experience-description {
    margin: 0;
    line-height: 1.6;
  }
  
  /* =================================================================
     LEADERSHIP & CERTIFICATIONS SECTION
     ================================================================= */
  
  .leadership-container {
    max-width: 1300px;
    margin: 4rem auto;
    padding: 10rem;
  }
  
  .leadership-line {
    width: 100%;
    height: 2px;
    background: #fff;
    margin-bottom: 1rem;
  }
  
  .leadership-container h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }
  
  .leadership-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .leadership-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
    color: inherit;
    text-decoration: none;
  }

  .leadership-item:visited {
    color: inherit;
  }

  .leadership-item:hover {
    transform: scale(1.03);
  }

  .leadership-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
  }

  .leadership-title {
    margin: 0;
    flex: 1;
  }

  .leadership-date {
    margin: 0;
    font-style: italic;
    color: #fff;
  }

  .leadership-description {
    margin: 0;
    line-height: 1.6;
  }

  .fade-in {
    opacity: 1;
  }
  
  /* =================================================================
     SKILLS SECTION
     ================================================================= */
  
  .skills-container {
    max-width: 1300px;
    margin: 4rem auto;
    padding: 10rem;
  }
  
  .skills-line {
    width: 100%;
    height: 2px;
    background: #fff;
    margin-bottom: 1rem;
  }
  
  .skills-container h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }
  
  .skills-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    grid-template-areas: 
      "programming visualization"
      "tools business";
    align-items: stretch;
  }
  
  .skills-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .skills-category:nth-child(1) { grid-area: programming; }
  .skills-category:nth-child(2) { grid-area: visualization; }
  .skills-category:nth-child(3) { grid-area: tools; }
  .skills-category:nth-child(4) { grid-area: business; }

  .skills-category h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
  }
  
  .skill-item {
    margin-bottom: 1rem;
  }
  
  .skill-label {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
  }
  
  .skill-bar {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    height: 6px;
  }
  
  .skill-fill {
    background: linear-gradient(90deg, #667eea, #764ba2);
    height: 100%;
    width: 0%;
    transition: width 2s ease-in-out;
}

  .skills-container.animate .skill-fill {
    width: var(--skill-width); /* This will be set via JavaScript */
  }

  /* Staggered animation delays for each skill */
  .skill-item:nth-child(1) .skill-fill { transition-delay: 0.3s; }
  .skill-item:nth-child(2) .skill-fill { transition-delay: 0.4s; }
  .skill-item:nth-child(3) .skill-fill { transition-delay: 0.5s; }
  .skill-item:nth-child(4) .skill-fill { transition-delay: 0.6s; }
  .skill-item:nth-child(5) .skill-fill { transition-delay: 0.7s; }
  .skill-item:nth-child(6) .skill-fill { transition-delay: 0.8s; }
  .skill-item:nth-child(7) .skill-fill { transition-delay: 0.9s; }
  .skill-item:nth-child(8) .skill-fill { transition-delay: 1.0s; }
  
  @media (max-width: 768px) {
    .skills-categories {
      grid-template-columns: 1fr;
      grid-template-areas: 
        "programming"
        "visualization"
        "tools"
        "business";
    }
  }
  /* =================================================================
     CONTACT SECTION
     ================================================================= */
  
  .contact-title {
    text-align: center;
    margin-top: 100px;
    font-size: 2.5rem;
  }
  
  .contact-container {
    max-width: 650px;
    margin: 4rem auto;
    padding: 10rem;
  }
  
  .contact-line {
    width: 100%;
    height: 2px;
    background: #fff;
    margin-bottom: 1rem;
  }
  
  .contact-container h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }
  
  .contact-container p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ccc;
  }
  
  .contact-form {
    max-width: 100%;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
  }
  
  .contact-form label {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 0.50rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 4px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
  }
  
  .contact-form button {
    width: 100%;
    display: block;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 0.50rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-sizing: border-box;
    font-size: 1rem;
    font-family: inherit;
  }
  
  .contact-form button:hover {
    transform: scale(1.03);
    background: rgba(255, 255, 255, 0.4);
  }

  .email-error-message {
    display: none;
    color: #e74c3c;
    font-size: 0.9em;
    margin-top: -5px;
    padding: 5px;
    background-color: none;
    border: none;
    border-radius: 4px;
    font-weight: 500;
  }

  .email-error-message.show {
    display: block;
  }

  .email-input-error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
  }
  
  /* =================================================================
     FOOTER SECTION
     ================================================================= */
  
  .site-footer {
    text-align: center;
    padding: 5rem;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
  }
  
  .footer-content p {
    margin: 0;
    font-size: 1rem;
    color: #ccc;
  }
  
  .footer-socials {
    margin-top: 1rem;
  }
  
  .footer-socials a {
    margin: 0 1rem;
    color: #ccc;
    text-decoration: none;
    transition: transform 0.3s ease;
    display: inline-block;
  }
  
  .footer-socials a:hover {
    transform: scale(1.05);
  }
  
  /* =================================================================
     UTILITY COMPONENTS
     ================================================================= */
  
  .scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: none;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.3s ease;
  }
  
  .scroll-top-btn.show {
    opacity: 1;
  }
  
  .scroll-top-btn:hover {
    transform: scale(1.05);
  }

  /* =================================================================
   NOTIFICATION BAR STYLES
   ================================================================= */

  /* Notification container */
  .notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    width: 450px;
    transform: translateX(-40px);
    pointer-events: none;
  }

  .notification-container * {
    pointer-events: auto;
  }

  /* Notification bar */
  .notification-bar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: #fff;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  /* Notification visible state */
  .notification-bar.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Notification content */
  .notification-content {
    position: relative;
    z-index: 2;
  }

  /* Notification title */
  .notification-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
  }

  /* Notification message */
  .notification-message {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #e0e0e0;
  margin-bottom: 1rem;
  }

  /* Close button */
  .notification-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .notification-close:hover {
    opacity: 1;
  }

  /* Progress bar */
  .notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 0 12px 12px;
    width: 0%;
    transition: width 0.3s ease;
  }

  /* Success variant */
  .notification-bar.success {
    border-left: 4px solid linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  }