* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Fira Code', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #030a03;
    color: #22c55e;
}

#matrix,
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.12;
}


/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(3, 10, 3, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #22c55e;
    text-shadow: 0 0 6px rgba(46, 213, 115, 0.4);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a,
.nav-item {
    color: #2ed573;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.85;
    transition: opacity 0.3s;
}

.nav-links a:hover,
.nav-links a.active,
.nav-item:hover,
.nav-item.active {
    opacity: 1;
    color: #ffffff;
    text-shadow: 0 0 8px #2ed573;
    border-bottom: 1px solid #ffffff;
}


/*Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px 40px 20px;
}

.hero-section h1 {
    font-size: 3.5rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #2ed573;
    text-shadow: 0 0 8px rgba(46, 213, 115, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #2ed573;
}

.description {
    color: #78c278;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 40px;
}

.button-group {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn {
    border: 1px solid #2ed573;
    padding: 12px 24px;
    color: #2ed573;
    text-decoration: none;
    font-size: 0.9rem;
    background: rgba(46, 213, 115, 0.04);
    transition: all 0.3s;
}

.btn:hover {
    background: #2ed573;
    color: #030a03;
    box-shadow: 0 0 12px rgba(46, 213, 115, 0.5);
}

.scroll-down {
    font-size: 0.75rem;
    letter-spacing: 2px;
    opacity: 0.7;
    color: #2ed573;
}


/* Status Report Section  */
.status-section {
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title,
.main-title {
    font-size: 2.2rem;
    margin-bottom: 35px;
    text-shadow: 0 0 8px rgba(46, 213, 115, 0.3);
    color: #22c55e;
    text-align: center;
}

.main-container,
.main-container-box {
    max-width: 950px;
    margin: 90px auto;
    padding: 40px;
}

.main-container-box,
.terminal-card,
.inner-content-card {
    background: rgba(7, 13, 24, 0.45);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(22, 66, 26, 0.8);
    border-radius: 6px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
}

.terminal-card,
.main-container-box,
.inner-content-card,
.field,
.value,
.terminal-link,
.comment,
.desc {
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.main-container-box {
    padding: 70px 40px 40px 40px;
}

.terminal-card {
    width: 100%;
    max-width: 950px;
    padding: 40px;
}

.terminal-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #2ed573;
}

.bio,
.desc,
.comment {
    color: #c0c0c0;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 30px;
    text-align: center;
}

.log-block {
    margin-bottom: 25px;
}

.log-block h4 {
    color: #00ff66;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.log-block p,
.log-block li {
    color: whitesmoke;
    font-size: 0.85rem;
    line-height: 1.5;
}

.log-block ul {
    padding-left: 15px;
}

.log-block ul li {
    position: relative;
    margin-bottom: 6px;
}

.item-title {
    font-weight: 700;
    color: #6cde9a !important;
}

.item-sub {
    font-size: 0.75rem !important;
    color: #5f655f !important;
    margin-bottom: 8px;
}

.footer-notes p {
    margin-top: 10px;
    color: #6cde9a;
}


/* Skill Matrix Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    margin-top: 20px;
}

.skill-card-inner {
    border: 1px solid #16421a;
    background: rgba(13, 19, 34, 0.4);
    padding: 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.skill-card-inner:hover {
    border-color: #2ed573;
    background: rgba(13, 19, 34, 0.7);
    box-shadow: 0 0 10px rgba(46, 213, 115, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.card-header i {
    font-size: 1.2rem;
    color: #2ed573;
}

.card-header h3 {
    font-size: 1.05rem;
    color: #2ed573;
    margin-bottom: 0;
}

.card-desc {
    color: #a0aec0;
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.skill-list {
    list-style: none;
    padding-left: 0;
}

.skill-list li {
    color: #e2e8f0;
    font-size: 0.8rem;
    margin-bottom: 4px;
    position: relative;
    padding-left: 12px;
}

.skill-list li::before {
    content: "•";
    color: #2ed573;
    position: absolute;
    left: 0;
}

.footer-note {
    text-align: center;
    color: #858786;
    font-size: 0.85rem;
    margin-top: 70px;
}


/*  Accomplishment Log Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1100px;
    margin: 20px auto;
}

.project-card {
    border: 1.5px solid rgba(22, 66, 26, 0.8);
    background: rgba(7, 13, 24, 0.45);
    backdrop-filter: blur(8px);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: #2ed573;
    box-shadow: 0 0 25px rgba(46, 213, 115, 0.25);
}

.project-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 1.5px solid rgba(22, 66, 26, 0.8);
}

.project-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.1) blur(1px);
    opacity: 0.7;
    transition: all 0.5s ease-in-out;
}

.project-card:hover .project-img-container img {
    filter: brightness(1) contrast(1) blur(0);
    opacity: 1;
    transform: scale(1.05);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.1rem;
    color: #2ed573;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(46, 213, 115, 0.3);
}

.project-content p {
    color: #a0aec0;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 0.75rem;
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.4);
    background: rgba(46, 213, 115, 0.05);
    padding: 4px 10px;
    border-radius: 3px;
    font-family: 'Fira Code', monospace;
    transition: all 0.2s ease;
}

.tag:hover {
    background: #2ed573;
    color: #030a03;
}

.terminal-footer-note {
    text-align: center;
    align-items: center;
    margin: 40px 0 60px 0;
}

.terminal-footer-note p {
    color: #8a99ad;
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}


/*  Secure Channel Section  */
.terminal-section {
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.inner-content-card {
    padding: 30px;
    margin-top: 25px;
}

.field {
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.6;
}

.field:last-child {
    margin-bottom: 0;
}

.label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    color: #22c55e;
}

.field,
.value,
.terminal-link,
pre,
code {
    word-break: break-all;
    overflow-wrap: break-word;
}

.value,
.sub-text,
.net-user {
    color: #c9d1d9;
}

.net-name {
    color: #22c55e;
}

.terminal-link {
    color: #c9d1d9;
    text-decoration: none;
    position: relative;
    transition: 0.2s;
}

.terminal-link:hover {
    color: #22c55e;
    border-bottom: 1px solid #22c55e;
}

.terminal-link:hover .net-name,
.terminal-link:hover .net-user,
.terminal-link:hover .sub-text {
    color: #22c55e;
}

.network-list {
    list-style: none;
    padding-left: 0;
}

.network-list li {
    margin-bottom: 6px;
}

.terminal-link::after {
    content: "";
    opacity: 0;
    margin-left: 10px;
    font-size: 13px;
    color: #22c55e;
    transition: opacity 0.2s;
}

.terminal-link:hover::after {
    content: "> connect";
    opacity: 1;
}

.pgp-wrapper {
    position: relative;
    border: 1px solid rgba(0, 255, 102, 0.3);
    padding: 15px;
    background-color: rgba(26, 28, 33, 0.546);
    margin-top: 10px;
}

.pgp-wrapper pre {
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
    color: #8b949e;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(14, 213, 94, 0.15);
    border: 1px solid #22c55e;
    color: #22c55e;
    padding: 3px 10px;
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    cursor: pointer;
    transition: 0.2s;
}

.copy-btn:hover {
    background: #2ed573;
    color: #0d1117;
}

.quote {
    margin-top: 25px;
    font-size: 13px;
    text-align: center;
    color: #8b949e;
}


/* Footer Section*/
footer {
    text-align: center;
    padding: 20px 0;
}

.footer-author {
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #787a79;
}

.footer-status {
    font-size: 0.85rem;
    color: #787a79;
    letter-spacing: 0.5px;
}


/* Media Queries */
@media (max-width: 1100px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 15px;
    }
}

@media (max-width: 900px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }

    .section-title,
    .main-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 10px 15px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        font-size: 1rem;
    }

    .nav-links {
        gap: 8px;
    }

    .nav-links a,
    .nav-item {
        font-size: 0.75rem;
    }

    .main-container,
    .main-container-box {
        padding: 25px 15px;
        margin: 40px auto;
        width: 100%;
    }


    .terminal-card,
    .main-container-box,
    .inner-content-card {
        padding: 20px 15px;
        box-sizing: border-box;
    }

    .hero-section {
        padding-top: 100px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .terminal-link::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
        gap: 8px;
        padding: 10px;
    }

    .nav-links {
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-section {
        padding-top: 130px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .button-group {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .terminal-card {
        padding: 15px 10px;
    }
}