* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #050d1a;
    color: #e6f1ff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}
a {
    color: #3b82f6;
    text-decoration: none;
}

a:hover {
    color: #38bdf8;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    position: sticky;
    top: 0;
    background-color: #050d1a;
    z-index: 100;

}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.logo {
    font-weight: 600;
    font-size: 16px;
    color: #e6f1ff;
    background-color: rgba(59, 130, 246, 0.15);
    border: 1px solid #3b82f6;
    border-radius: 6px;
    padding: 4px 10px;
    transition: background-color 0.2s ease;
}

.logo:hover {
    background-color: rgba(59, 130, 246, 0.3);
}
#hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    position: relative;
}

#hero h1 {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 12px;
}

#hero .role {
    font-size: 24px;
    color: #3b82f6;
    font-weight: 500;
    margin-bottom: 20px;
}

#hero .tagline {
    font-size: 18px;
    color: #8892b0;
    max-width: 540px;
}
section {
    padding: 100px 0;
}

section h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #3b82f6;
}

section p {
    margin-bottom: 16px;
    color: #ccd6f6;
    font-size: 17px;
}
#projects {
    max-width: 1000px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 8px;
}

.project-card {
    background-color: #0a1628;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    display: block;
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.project-content p {
    font-size: 15px;
    color: #8892b0;
    margin-bottom: 16px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.project-tags span {
    font-size: 12px;
    padding: 4px 10px;
    border: 1px solid #3b82f6;
    color: #3b82f6;
    border-radius: 4px;
}

.project-content a {
    color: #38bdf8;
    font-weight: 500;
    font-size: 14px;
}
#contact p {
    margin-bottom: 24px;
}

.email-link {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid #3b82f6;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 24px;
}

.email-link:hover {
    background-color: #3b82f6;
    color: #050d1a;
}

.social-links a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #3b82f6;
    border-radius: 4px;
    color: #3b82f6;
    font-size: 14px;
    font-weight: 500;
}

.social-links a:hover {
    background-color: #3b82f6;
    color: #050d1a;
}
footer {
    text-align: center;
    padding: 32px;
    color: #8892b0;
    font-size: 13px;
}
@media (max-width: 768px) {
    nav {
        padding: 20px 24px;
    }

    section {
        padding: 60px 24px;
    }

    #hero {
        padding: 0 24px;
    }

    #hero h1 {
        font-size: 36px;
    }

    #hero .role {
        font-size: 18px;
    }

    #hero .tagline {
        font-size: 16px;
    }

    section h2 {
        font-size: 26px;
    }
}
nav a.active {
    color: #e6f1ff;
    font-weight: 600;
    border-bottom: 2px solid #38bdf8;
    padding-bottom: 4px;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #e6f1ff;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 768px) {
   
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: #0a1628;
        padding: 20px 24px;
        gap: 16px;
    }

    nav ul.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}
.hero-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.hero-blob-1 {
    width: 750px;
    height: 750px;
    background-color: #3b82f6;
    opacity: 0.45;
    top: -100px;
    left: -100px;
    animation: blobMove1 5s ease-in-out infinite;
}

.hero-blob-2 {
    width: 700px;
    height: 700px;
    background-color: #3b82f6;
    opacity: 0.35;
    bottom: -100px;
    right: -50px;
    animation: blobMove2 6s ease-in-out infinite;
}
@keyframes blobMove1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(70px, 50px) scale(1.15); }
}

@keyframes blobMove2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-60px, -40px) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-blob {
        animation: none;
    }
}
.terminal {
    background-color: #0a1628;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 480px;
    margin-top: 32px;
    overflow: hidden;
}

.terminal-header {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background-color: #050d1a;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot-red {
    background-color: #ff5f56;
}

.dot-yellow {
    background-color: #ffbd2e;
}

.dot-green {
    background-color: #27c93f;
}

.terminal-body {
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
    min-height: 220px;
    white-space: pre-wrap;
}

.terminal-line {
    margin: 0;
}
.page-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    grid-template-areas:
        "hero terminal"
        "about terminal"
        "projects terminal"
        "contact terminal";
    gap: 48px;
    padding: 0 48px;
}

#hero { grid-area: hero; }
#about { grid-area: about; }
#projects { grid-area: projects; }
#contact { grid-area: contact; }

.terminal-sidebar {
    grid-area: terminal;
    align-self: start;
    position: sticky;
    top: 100px;
}

@media (max-width: 1024px) {
    .page-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "hero"
            "terminal"
            "about"
            "projects"
            "contact";
        padding: 0 24px;
    }

    .terminal-sidebar {
        position: static;
    }
}