body {
    margin: 0;
    padding: 0;
    background-color: #0A1B2A;
    font-family: 'Press Start 2P', monospace;
    color: #F5F5F5;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Neomorphic elements */
.neomorphic {
    border-radius: 10px;
    background: #1D3557;
    box-shadow: 5px 5px 10px #0a1525, 
                -5px -5px 10px #304f89;
}

.neomorphic-inset {
    border-radius: 10px;
    background: #1D3557;
    box-shadow: inset 5px 5px 10px #0a1525, 
                inset -5px -5px 10px #304f89;
}

/* Header and Nav */
header {
    display: flex;
    justify-content: center;
    padding: 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(10, 27, 42, 0.9);
}

nav {
    display: flex;
    justify-content: space-between;
    width: 80%;
    max-width: 800px;
}

.nav-btn {
    padding: 10px 15px;
    /* margin: 0 5px; */
    font-size: 12px;
    cursor: pointer;
    background: #1D3557;
    color: #F5F5F5;
    border: none;
    font-family: 'Press Start 2P', monospace;
    text-transform: uppercase;
    transition: all 0.2s ease;
}


.nav-btn:hover {
    box-shadow: inset 3px 3px 6px #0a1525, 
               inset -3px -3px 6px #304f89;
    background: #E63946;
}

.nav-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.nav-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.pixel-art {
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    width: 100%;
    max-width: 600px;
    margin-bottom: 30px;
}

.name-title {
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.name {
    font-size: 1.7rem;
    margin-bottom: 10px;
    color: #E63946;
    text-shadow: 4px 4px 0px #0A1B2A;
}

.title {
    font-size: 1.1rem;
    color: #A8DADC;
}

/* Star field background */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: #FFF;
}

/* Sections */
section {
    min-height: 40vh;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 1.8rem;
    color: #A8DADC;
    margin-bottom: 40px;
    text-shadow: 3px 3px 0px #0A1B2A;
}

/* About Section */
.about {
    background-color: #1D3557;
}

.about-card {
    width: 90%;
    max-width: 800px;
    padding: 30px;
    margin-bottom: 30px;
}

.skill-bar {
    width: 100%;
    height: 20px;
    margin: 10px 0;
    background-color: #0A1B2A;
}

.skill-level {
    height: 100%;
    background-color: #E63946;
}

/* Projects Section */
.projects {
    background-color: #0A1B2A;
}

.project-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 90%;
    max-width: 1200px;
}

.project-card {
    width: 300px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-img {
    width: 100%;
    height: 180px;
    background-color: #457B9D;
    margin-bottom: 20px;
}

.project-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #E63946;
}

.project-desc {
    font-size: 0.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.view-btn {
    padding: 10px 15px;
    background-color: #E63946;
    color: #F5F5F5;
    border: none;
    font-family: 'Press Start 2P', monospace;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-btn:hover {
    box-shadow: inset 3px 3px 6px #9e2831, 
               inset -3px -3px 6px #ff4a5b;
}


/* Contact Section */
.contact {
    background-color: #0A1B2A;
    padding-bottom: 80px;
    min-height: 30vh;
}

.contact-form {
    width: 90%;
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.form-input, .form-textarea {
    width: 90%;
    padding: 15px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8rem;
    color: #F5F5F5;
    border: none;
    margin-bottom: 10px;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    padding: 15px 30px;
    background-color: #E63946;
    color: #F5F5F5;
    border: none;
    font-family: 'Press Start 2P', monospace;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.2s ease;
}

.submit-btn:hover {
    box-shadow: inset 3px 3px 6px #9e2831, 
               inset -3px -3px 6px #ff4a5b;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A8DADC;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    scale: 2;
}

.social-link:hover {
    color: #E63946;
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    /* font-size: 0.7rem; */
    background-color: #0A1B2A;
    color: #457B9D;
}
footer p {
    font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-btn {
        font-size: 0.6rem;
        padding: 6px 10px;
    }

    .nav-bar {
        gap: 6px;
    }

    .name {
        font-size: 1rem;
    }

    .title {
        font-size: 0.9rem;
    }

    .project-cards {
        flex-direction: column;
        align-items: center;
    }

    .skills-container {
        gap: 20px;
    }

    .skill-item {
        width: 120px;
        height: 120px;
    }

    .about-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    .section-title {
        font-size: 1.6rem;
    }
    footer p {
        font-size: 0.5rem;
    }
}


  /* Takeoff animation */
  /* #jet {
    animation: takeoff 3s cubic-bezier(0.65, 0, 0.35, 1) forwards;
    transform-origin: center;
    animation-delay: 2s;
  }
   */
 
@keyframes takeoff {
    0%   { transform: translate(0, 0) scale(1); opacity: 1; }
    70%  { transform: translate(150px, -150px) scale(0.85);opacity: 1; }
    100% { transform: translate(400px, -150px) scale(0.3); opacity: 0; }
  }
  
  /* Exhaust trail animation */
  @keyframes fadeTrail {
    0%   { transform: translate(0, 0); opacity: 1;}
    100% { transform: translate(-50px, 20px); opacity: 0;}
  }
  
  /* Final pulse + fade */
  @keyframes pulseGlow {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.15); }
    20%, 40% { transform: scale(1); }
    100%     { opacity: 0; }
  }
  
  /* Idle pulsing glow */
  @keyframes idlePulse {
    0%   { transform: scale(1); opacity: 1; }
    50%  { transform: scale(1.2); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
  }
  
  /* Apply styles */
  #jet, #exhaust, .engine-glow {
    transform-origin: center;
  }
  
  .engine-glow.idle {
    animation: idlePulse 1.2s ease-in-out infinite;
  }
  @keyframes idleSmoke {
    0%   { opacity: 0.6; transform: translate(0, 0) scale(1); }
    50%  { opacity: 0.3; transform: translate(-2px, 2px) scale(1.05); }
    100% { opacity: 0.6; transform: translate(0, 0) scale(1); }
  }
  
  #exhaust .idle-smoke {
    animation: idleSmoke 2.5s ease-in-out infinite;
    transform-origin: center;
  }
  