/* ===== GLOBAL ===== */
body {
      color: black;
      font-family: 'Poppins', sans-serif;  /* instead of Inter */
    }
  
  a {
    text-decoration: none;
    color: white;
  }
  
  a:hover {
    color: white;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 0rem;    
    min-height:100%;
  }
  
  /* ===== SECTIONS ===== */
  section {
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5em;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  section:nth-of-type(odd) {
    background-color: #f9f9f9;
  }
  
  section:nth-of-type(even) {
    background-color: #ffffff;
  }
  
  section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    position: relative;
  }
  
  section h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background-color: #ff6f61;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
  }
  
  /* ===== HERO ===== */
#hero-section {
  height: 100dvh;          
  height: 100svh;         
  height: 100vh;          
  position: relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  gap:1.5rem;
  overflow:hidden;  
  background-color: #ffffff;        
}

  #hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  #particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
  }
  
  #typewriter-hero {
    font-size: 3rem;       
    font-weight: 300;      
    color: #111111;          
  }
  
  #typewriter-hero::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 1.1em;
    background-color: #ff6f61;
    margin-left: 4px;
    animation: blink 0.7s infinite;
    vertical-align: -0.15em;
  }
  
  @keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
  }
  
  .hero-btn {
    display: inline-block;
    margin-top: 0rem;
    padding: 0.8rem 2rem;
    border: 2px solid #ff6f61;
    border-radius: 4px;
    font-size: 1rem;
    color: #ff6f61;
    background: transparent;
    cursor: pointer;
    transition: transform 0.3s ease; /* smooth scaling only */
  }
  
  .hero-btn:hover {
    transform: scale(1.1); /* just scale, no color fill */
    color: white;
  }
  
  /* ===== ABOUT ===== */
  #about-section {
    position: relative;
    padding-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  #about-section .nav-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(31, 42, 68, 0.95);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    z-index: 10;
    padding: 0.8rem 0;
  }
  
  #about-section .nav-inner {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
  }
  
  #about-section .left a {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.3px;
  }
  
  #about-section .left a:hover {
    color: #ff6f61;
  }
  
  #about-section .right a {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
  }
  
  #about-section .right a:hover {
    color: #ff6f61;
  }
  
  #about-section .about-content h2 {
    margin-top: 5rem;
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
  }
  
  #about-section .about-content h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background-color: #ff6f61;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
  }
  
  #about-section .headshot {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  #about-section .headshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  
  #about-section .headshot:hover {
    box-shadow: 0 0 30px rgba(255, 111, 97, 0.5);
  }
  
  #about-section .headshot:hover img {
    transform: scale(1.1);
  }
  
  #about-section .bio {
    max-width: 700px;
    padding: 0 2rem;
    margin-bottom: 2rem;
  }
  
  #about-section .bio p {
    font-size: 1.1rem;
    font-weight: 300;
    color: #333;
    line-height: 1.6;
  }
  
  #about-section .social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .social-links .social-icon {
    width: 48px;
    height: 48px;
    color: #000;
    transition: color 0.3s, transform 0.3s;
    cursor: pointer;
  }
  
  .social-links .social-icon:hover {
    color: #ff6f61;
    transform: scale(1.2);
  }
  
  /* ===== SKILLS ===== */
  #skills-section {
    gap: 1.5rem;
  }
  
  #skills-section h2 {
    margin-bottom: 1rem;
    font-size: 2.75rem;
    font-weight: 700;
  }
  
  #skills-section .skills-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
  }
  
  #skills-section .skills-container .skill-icon {
    width: 60px;
    height: 60px;
    color: #000000;
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: default;
  }
  
  #skills-section .skills-container .skill-icon:hover {
    color: #ff6f61;
    transform: scale(1.2);
  }
  
  /* ===== PROJECTS ===== */
  #projects-section {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
  
  #projects-section h2 {
    margin-bottom: 2rem;
    font-size: 2.75rem;
    font-weight: 700;
  }
  
  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    width: 90%;
    max-width: 1000px;
  }
  
  .project-card {
    background-color: #1f2a44;
    border-radius: 15px;
    padding: 1.5rem;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(255, 111, 97, 0.4);
  }
  
  .project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .project-header .icon {
    font-size: 1.5rem;
    color: #00ffcc;
  }
  
  .project-header .icons-right a {
    color: white;
    margin-left: 0.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .project-header .icons-right a:hover {
    color: #ff6f61;
  }
  
  .project-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
  }
  
  .project-card p {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 1rem;
    line-height: 1.4;
  }
  
  .project-card .tech {
    font-size: 0.85rem;
    color: #ff6f61;
    font-weight: bold;
  }
  
  /* ===== CONTACT ===== */
  #leave-message-section {
    justify-content: center;
    gap: 1.5rem;
  }
  
  #leave-message-section h2 {
    margin-bottom: 1rem;
    font-size: 2.75rem;
    font-weight: 700;
  }
  
  #leave-message-section p {
    font-size: 1.25rem;
    color: #555;
    max-width: 600px;
    line-height: 1.6;
  }
  
  .contact-link {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    background-color: #1f2a44;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .contact-link:hover {
    background-color: #ff8b80;
  }
  
  /* ===== FOOTER ===== */
  footer {
    display: flex;
    justify-content: center;
    padding: 1rem;
  }
  
  /* ===== ANIMATIONS ===== */
  .fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 2s ease-out, transform 2s ease-out;
    will-change: opacity, transform;
  }
  
  .fade-in-section.is-visible {
    opacity: 1;
    transform: none;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #555;
    margin-top: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
  }
  
  /* ===== MOBILE ===== */
  @media (max-width: 768px) {

    .nav-inner .left {
      display: none;
    }

    #about-section {
      padding-top: 3.5rem;
    }
  
    #about-section .nav-inner {
      flex-direction: column;
      gap: 0.5rem;
    }
  
    #about-section .right a {
      margin-left: 0.8rem;
      font-size: 0.85rem;
    }
  
    #about-section .about-content h2 {
      font-size: 2rem;
    }

    #about-section .bio p {
      color: #000 !important;
    }
  
    #about-section .headshot {
      width: 220px;
      height: 220px;
    }
  
    #about-section .bio p {
      font-size: 1rem;
    }
  
    section h2 {
      font-size: 2rem;
    }
  
    #particleCanvas {
      display: block;
    }
  
    #typewriter-hero {
      font-weight: 700;
    }
  
    .hero-content {
      padding: 0 1rem;
    }
    .hero-content h2 {
      font-size: 2rem; 
    }
    .hero-btn {
      font-size: 1rem;
      padding: 0.9rem 2rem;
    }

    .hero-section {
      height: 85vh;
    }
  }

    
