* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Mono', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f4f5f7;
    color: #2f3542;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style-type: none;
}

section {
    padding: 80px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title h2 {
    color: #2f3542;
    font-size: 36px;
    border-bottom: 3px solid #ced6e0;
    display: inline-block;
    padding-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 0;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease-in-out;
    background-color: #ffffff;
    color: #2f3542;
    border: 2px solid #2f3542;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 5px 5px 0px #ced6e0;
}

.primary-btn {
    margin-top: 15px;
}

.primary-btn:hover {
    background-color: #2f3542;
    color: #ffffff;
    box-shadow: 5px 5px 0px #2f3542;
    transform: translate(-2px, -2px);
}

.secondary-btn {
    background-color: transparent;
    margin-top: 15px;
}

.secondary-btn:hover {
    background-color: #ced6e0;
    box-shadow: 5px 5px 0px #2f3542;
    transform: translate(-2px, -2px);
    color: #2f3542;
}

header {
    background-color: #ffffff;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #2f3542;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    color: #2f3542;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    transition: 0.2s;
    padding: 5px 10px;
    border: 2px solid transparent;
}

.nav-links a:hover {
    color: #2f3542;
    border: 2px solid #2f3542;
    background-color: #ced6e0;
}

.theme-toggle {
    display: flex;
    align-items: center;
    border: 2px solid #2f3542;
    border-radius: 0;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 3px 3px 0px #ced6e0;
}

.toggle-left {
    background-color: #ffffff;
    color: #2f3542;
    padding: 8px 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 2px solid #2f3542;
}

.toggle-right {
    background-color: #2f3542;
    color: #ffffff;
    padding: 8px 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home {
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 80vh;
    flex-wrap: wrap;
    gap: 40px;
    background-image: radial-gradient(#ced6e0 2px, transparent 2px);
    background-size: 25px 25px;
}

.home-text {
    max-width: 550px;
    background: #ffffff;
    padding: 40px;
    border: 2px solid #2f3542;
    box-shadow: 10px 10px 0px #ced6e0;
}

.home-text h1 {
    font-size: 45px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.home-text p {
    font-size: 16px;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #2f3542;
    background-color: #ffffff;
    color: #2f3542;
    width: 45px;
    height: 45px;
    font-size: 20px;
    border-radius: 0;
    transition: 0.3s;
    box-shadow: 4px 4px 0px #ced6e0;
}

.social-icons a:hover {
    background-color: #2f3542;
    color: #ffffff;
    box-shadow: 4px 4px 0px #2f3542;
    transform: translate(-2px, -2px);
}

.profile-img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border: 4px solid #2f3542;
    border-radius: 0;
    filter: grayscale(100%) contrast(120%);
    box-shadow: 12px 12px 0px #ced6e0;
    transition: all 0.4s;
}

.profile-img:hover {
    filter: grayscale(0%) contrast(100%);
    box-shadow: 12px 12px 0px #2f3542;
    transform: translate(-3px, -3px);
}

.about-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 60px;
    flex-wrap: wrap;
}

.about-image {
    width: 320px;
}

.about-image .profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    max-width: 500px;
    background: #ffffff;
    padding: 40px;
    border: 2px solid #2f3542;
    box-shadow: 8px 8px 0px #ced6e0;
}

/* Current Employment Badge */
.current-employment {
    display: flex;
    width: fit-content;
    align-items: center;
    background-color: #a7f3d0; /* Bright Active Mint Green */
    border: 2px solid #2f3542;
    padding: 10px 15px;
    margin-bottom: 25px; /* Spaces it securely above Read More btn */
    box-shadow: 4px 4px 0px #ced6e0; /* Default UI Silver-Grey Shadow */
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.current-employment:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #2f3542;
}

.current-employment:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #2f3542;
}

.employment-dot {
    width: 12px;
    height: 12px;
    background-color: #059669; /* Deep emerald contrast active dot */
    border: 2px solid #2f3542;
    border-radius: 50%;
    margin-right: 12px;
    animation: blink 2s infinite;
}

.employment-role {
    font-size: 14px;
    color: #2f3542;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
}

.skills-wrapper {
    max-width: 650px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 50px;
    border: 2px solid #2f3542;
    box-shadow: 10px 10px 0px #ced6e0;
}

.skill-item {
    margin-bottom: 30px;
}

.skill-item p {
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 18px;
}

.progress-bar {
    width: 100%;
    background-color: #f4f5f7;
    height: 25px;
    border: 2px solid #2f3542;
}

.progress {
    height: 100%;
    background-color: #ced6e0;
    border-right: 2px solid #2f3542;
}

.progress-html {
    width: 90%;
}

.progress-css {
    width: 80%;
}

.progress-js {
    width: 40%;
}

.progress-react {
    width: 20%;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.card,
.project-card {
    background-color: #ffffff;
    padding: 30px;
    width: 320px;
    border: 2px solid #2f3542;
    text-align: left;
    transition: all 0.3s;
    box-shadow: 8px 8px 0px #ced6e0;
    display: flex;
    flex-direction: column;
}

.card .btn,
.project-card .btn {
    margin-top: auto !important;
}

.card:hover,
.project-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px #2f3542;
}

.card h3,
.project-card h3 {
    color: #2f3542;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 20px;
    border-bottom: 2px dashed #ced6e0;
    padding-bottom: 12px;
}

.card p,
.project-card p {
    margin-bottom: 25px;
    font-size: 15px;
}



.contact-form {
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
    background-color: #ffffff;
    padding: 50px;
    border: 2px solid #2f3542;
    box-shadow: 10px 10px 0px #ced6e0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #2f3542;
    background-color: #f4f5f7;
    color: #2f3542;
    font-size: 16px;
    font-family: 'Space Mono', monospace;
    transition: all 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background-color: #ffffff;
    box-shadow: 5px 5px 0px #ced6e0;
    transform: translate(-1px, -1px);
}

.contact-form textarea {
    resize: none;
    height: 150px;
}

footer {
    background-color: #ffffff;
    text-align: center;
    padding: 50px 20px;
    margin-top: 70px;
    border-top: 4px solid #2f3542;
    background-image: linear-gradient(0deg, #f4f5f7 50%, #ffffff 50%);
    background-size: 100% 10px;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-btn {
    background-color: #ffffff;
    color: #2f3542;
    border: 2px solid #2f3542;
    border-radius: 0;
    box-shadow: 5px 5px 0px #ced6e0;
}

.footer-btn:hover {
    background-color: #2f3542;
    color: #ffffff;
    box-shadow: 5px 5px 0px #2f3542;
}

footer p {
    background: #ffffff;
    display: inline-block;
    padding: 5px 15px;
    border: 2px solid #2f3542;
}

/* --- Hamburger Menu Defaults --- */
.menu-checkbox,
.menu-icon {
    display: none;
}

@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
    }

    .logo {
        order: 1;
    }

    /* Display Hamburger Button */
    .menu-icon {
        display: block;
        order: 3;
        font-size: 24px;
        cursor: pointer;
        padding: 8px 12px;
        border: 2px solid #2f3542;
        background: #ffffff;
        box-shadow: 4px 4px 0px #ced6e0;
        transition: 0.2s;
    }

    .menu-icon:active {
        transform: translate(2px, 2px);
        box-shadow: 2px 2px 0px #ced6e0;
    }

    .theme-toggle {
        order: 2;
        margin-left: auto;
        margin-right: 15px;
    }

    /* Hide Navigation horizontally */
    nav {
        width: 100%;
        display: none;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 2px dashed #ced6e0;
        order: 10;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    /* Show nav when checkbox checked */
    .menu-checkbox:checked~nav {
        display: block;
    }

    .home {
        text-align: center;
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .about-container {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .home-text h1 {
        font-size: 32px;
    }

    .profile-img {
        width: 250px;
        height: 250px;
    }

    .section-title h2 {
        font-size: 26px;
    }
}