* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.page {
  width: 100%;      /* not width: 980px or similar */
  max-width: 100%;
}
body {
    background-color: #031428;
    color: #FFFFFF;
    overflow-x: hidden;
    max-width: 100%;
    font-family: "Fira Code", monospace;
}

a {
    text-decoration: none;
    color: #FFFFFF;
}

a:hover {
    text-decoration: underline;
}

.header-content {
    width: min(1200px, calc(100% - 72px));
    min-height: 42px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-family: "Inter", Arial, sans-serif;
}

.site-header {
    border-bottom: 1px solid #26384e;
}

.header-logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
}

.brand-mark {
    display: block;
    width: 30px;
    height: 28px;
    object-fit: contain;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    width: 38px;
    height: 34px;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: 1px solid #26384e;
    border-radius: 5px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #dce8fa;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(28px, 8vw, 130px);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.2vw, 30px);
}

.nav-link a,
.nav-link .active {
    color: #bdc9d9;
    font-size: 1rem;
    line-height: 1;
    transition: color 0.15s ease;
}

.nav-link a:hover {
    color: #ffffff;
}

.nav-link .active {
    position: relative;
    color: #e5edfa;
}

.nav-link .active::after {
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 1px;
    background: #858aff;
    content: "";
}

.nav-link .active {
    cursor: default;
}

.resume-button {
    min-width: 53px;
    padding: 6px 10px;
    border-radius: 3px;
    background: #6366ed;
    color: #fff;
    font-size: 0.85rem;
    line-height: 1;
    text-align: center;
    transition: background-color 0.15s ease;
}

.resume-button:hover {
    background: #777af7;
}

@media (min-width: 1400px) {
    .header-content {
        width: min(1200px, calc(100% - 96px));
    }
}

/* HERO SECTION */
.hero-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: min(1200px, calc(100% - 40px));
    margin: 60px auto 0;
    flex-wrap: wrap;
    color: #FFFFFF;
}

.hero-container {
    position: relative;
    width: min(600px, 100%);
    min-height: 380px;
    flex: 1 1 500px;
}

.hero-container-bag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1A1F2E;
    border: 1px solid #2A3040;
    color: #C5C9D6;
    font-size: 15px;
    font-weight: 500;
    border-radius: 999px;
    padding: 10px 20px;
    position: relative;
    left: 0;
    top: 0;
}

.hero-container-dote {
    width: 10px;
    height: 10px;
    background-color: #A78BFA;
    border-radius: 50%;
    margin-right: 10px;
}

.hero-text-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    position: relative;
    top: 0;
    left: 0;
    font-weight: bold;
    margin-top: 24px;
    line-height: 1.1;
}

.hero-text {
    margin-top: 18px;
    width: 100%;
    max-width: 620px;
    font-size: clamp(1rem, 2vw, 1.3rem);
    position: relative;
    top: 0;
    left: 0;
    font-weight: 500;
    line-height: 1.7;
}

.hero-button-view-work,
.hero-button-touch {
    position: relative;
    top: 0;
    left: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    margin-right: 16px;
}

.hero-button-view-work {
    background-color: #aaa4fc;
    width: 185px;
    height: 50px;
    border-radius: 8px;
    border: 2px solid #1F2937;
}

.hero-button-view-work a {
    font-size: 18px;
    font-weight: bold;
    color: #0B0F19;
}

.hero-button-view-work:hover {
    border-color: #c0c4fb;
    background-color: #8e95ff;
    transform: scale(0.98);
    transition: all 0.1s ease-in-out;
}

.hero-button-touch {
    background-color: transparent;
    width: 180px;
    height: 45px;
    border-radius: 8px;
    border: 2px solid #2A3040;
}

.hero-button-touch a {
    font-size: 18px;
    font-weight: bold;
    color: #E5E7EB;
}

.hero-button-touch:hover {
    border-color: #E5E7EB;
    transform: scale(0.98);
    transition: all 0.1s ease-in-out;
}

/* CODE EDITOR */
.code-editor {
    position: relative;
    width: min(420px, 100%);
    height: auto;
    border: 1px solid #1F2937;
    border-radius: 12px;
    background-color: #1A1F2E;
    flex: 1 1 380px;
}

.editor-header {
    height: 50px;
    display: flex;
    align-items: center;
    font-size: 20px;
    background-color: #031428;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    padding: 0 16px;
    gap: 12px;
}

.dote-red,
.dote-yellow,
.dote-green {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dote-red {
    background-color: #FF5F56;
}

.dote-yellow {
    background-color: #FFBD2E;
}

.dote-green {
    background-color: #27C93F;
}

.editor-title {
    font-size: 18px;
    align-self: center;
    color: #535b7d;
    margin-left: 18px;
}

.code {
    white-space: pre-line;
    display: block;
    padding: 20px;
    font-size: 13px;
    font-family: "Fira Code", monospace;
    line-height: 1.7;
    margin: 0;
}

.line1 {
    color: #C9D1D9;
}

.code-purple {
    color: #C586C0;
}

.code-green {
    color: #27C93F;
}

.line2 {
    color: #C9D1D9;
    padding-left: 20px;
}

.line3 {
    color: #C9D1D9;
    padding-left: 35px;
    align-self: start;
}

.code-pink {
    color: rgb(255, 54, 87);
}

.code-blue {
    color: rgb(108, 108, 252);
}

.code-editor:hover {
   transform: translateY(-10px);
   transition: all 0.3s ease-in;
   box-shadow: 0 20px 40px rgba(48, 48, 48, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
   border-top: 1px solid rgba(255, 255, 255, 0.6);
}

/* Tech strap strip */
.tech-strap {
    display: flex;
    align-items: center;
    position: relative;
    top: 0;
    width: 100%;
    background-color: #0D1220;
    border-bottom: 1px solid #1F2937;
    border-top: 1px solid #1F2937;
    padding: 20px 0;
    margin-top: 70px;
}

.tech-strap-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    flex-wrap: wrap;
}

.tech-strap-title {
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF;
    text-transform: uppercase;
}

.tech-strap-pills {
    position: relative;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    width: auto;
    flex-wrap: wrap;
}

.tech-strap-pill {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 8px 18px;
    border: 1px solid #2A3040;
    font-family: "Fira Code", monospace;
    font-weight: 500;
    background-color: #10141F;
    border-radius: 999px;
    color: #C9D1D9;
}
/* Selected Work */
.selected-work {
    position: relative;
    top: 0;
    background-color: #031428;
    width: min(1200px, calc(100% - 40px));
    height: auto;
    margin: 80px auto 0;
}

.selected-work-title {
    position: relative;
    top: 0;
    left: 0;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.selected-work-text {
    position: relative;
    top: 0;
    left: 0;
    font-size: 20px;
    color: #ffffff;
}

.selected-work-projects-link {
    position: relative;
    top: 0;
    left: 0;
    font-size: 20px;
    margin: 18px 0 26px;
    text-align: right;
}

.selected-work-projects-link a {
    color: #ffffff;
    text-decoration: none;
}

.selected-work-projects-link a:hover {
    color: #22315a;
}

/* Selected Work Project Card */
.selected-work-project-card-1,
.selected-work-project-card-2,
.selected-work-project-card-3 {
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    height: 320px;
    width: 100%;
    border: 1px solid #2A3040;
    overflow: hidden;
    margin-top: 20px;
}

.selected-work-project-card-1 {
    background-image: url(https://lh3.googleusercontent.com/aida-public/AB6AXuBRPNE6yyXEZkpyS-1dYCMerYwyOLWnxnltYLQlCam9Sjdclh8-UPMtaIQthsJn8Y2o0ghjL9ZpshsTrzVA7pOEOWaJ3KPiePISW13y7gGpKwwiuaeknF8uUb9mZiTea3ERIh-Y414otU8uGY3wyXGpdO4iIJzVDdpOHxUng9vjiKSIsCBI1i7nAa4Blh9QPS7o_Q5E6UBibNx8CO5QMW324KQy4maWWtZrJ3bzR5zcMVJqNT66e5Th);
}

.selected-work-project-card-2 {
    background-image: url(https://lh3.googleusercontent.com/aida-public/AB6AXuCIVxCMtaSFWZOysL9uBB5isE_0VFQWfTv4SquY9rZ8wKnLLIS5ew3eGD3sKZZUSx9eK9zkwHcbtKN52lb-sq7ZsbXgGcbKWaPHX7eamu1a0Ukbl6FeppttS1UapWF2qKT7yxGo7k_y1spto_QANA6dhHcrzOe8Dtn1FL3c4FELrDMe9g1peUxlWA-_USTHR0tqTG6DiVi_WtnhJbaKq1vFFXEXxFkgDd2xJeIanxHrHXt5CId-6CO1);
}

.selected-work-project-card-3 {
    background-image: url(https://lh3.googleusercontent.com/aida-public/AB6AXuDFg8zcLpd-53wvMHahKcx7h5Mk-W71RrZTUs3UuaRWMT5CdTa_4lb6NKuFDYHZuQQ9nESW_vPizrwF6wMAhS2KVL6YQ9Bluh06YhSYTwdf72Q6VbMTlcM2rtVke6SXhYAYL6GQIhxCmBb5wTSNsraT8NK8bkzRZGFnRReyQmUDHXo2XT98RQUfyUHFeBicfO68Fihug71f7Jf1lOwwtY-4rH9bdogWXr_AkQ3sO9aqs9IlWRUj_gR6);
}

.selected-work-project-card-1:hover,
.selected-work-project-card-2:hover,
.selected-work-project-card-3:hover {
    transform: scale(1.01);
    transition: all 0.1s ease-in-out;
}

.selected-work-project-card-text-1,
.selected-work-project-card-text-2,
.selected-work-project-card-text-3 {
    position: relative;
    top: 0;
    color: #ffffff;
    width: 100%;
    background: linear-gradient(to top, rgba(11,15,25,0.9), rgba(11,15,25,0.15));
    padding: 20px 20px 18px;
}

.selected-work-project-card-text-1 h2,
.selected-work-project-card-text-2 h2,
.selected-work-project-card-text-3 h2 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    color: #ffffff;
    margin-bottom: 8px;
}

.selected-work-project-card-text-1 p,
.selected-work-project-card-text-2 p,
.selected-work-project-card-text-3 p {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.6;
}

/* Footer */
.footer {
    position: relative;
    top: 0;
    width: 100%;
    height: auto;
    background-color: #021225;
    border-top: 2px solid #1F2937;
    margin-top: 80px;
    padding: 36px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-title {
    position: relative;
    left: 0;
    top: 0;
    font-size: 20px;
    font-weight: bold;
    color: #E5E7EB;
}

.footer-text {
    position: relative;
    width: auto;
    left: 0;
    font-size: 15px;
    color: #6B7280;
    margin-top: 8px;
}

.footer-text span {
    font-size: 20px;
    color: #6B7280;
}

.footer-link {
    position: relative;
    left: 0;
    top: 0;
    font-size: 20px;
    width: auto;
    height: auto;
    color: #E5E7EB;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-link a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 20px;
    margin-right: 0;
}

.link-seprated-dot {
    text-decoration: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #4B5563;
}

@media (max-width: 760px) {
    .header-content {
        justify-content: space-between;
        width: calc(100% - 40px);
        min-height: 60px;
        flex-wrap: wrap;
        padding: 10px 0;
        gap: 10px 16px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        flex: 1 0 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 8px 0 6px;
    }

    .nav-menu.collapse:not(.show) {
        display: none;
    }

    .nav-menu.collapsing {
        display: flex;
        height: 0;
        overflow: hidden;
        transition: height 0.35s ease;
    }

    .nav-link {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 18px 24px;
    }

    .nav-link .active::after {
        bottom: -5px;
    }

    .resume-button {
        align-self: flex-start;
        padding: 8px 12px;
        font-size: 0.95rem;
    }

    .hero-content {
        margin-top: 32px;
        gap: 24px;
    }

    .hero-container {
        min-height: 0;
        flex-basis: 100%;
    }

    .code-editor {
        flex-basis: 100%;
    }

    .editor-content {
        max-width: 100%;
        overflow-x: auto;
    }

    .code {
        min-width: max-content;
    }

    .hero-button-view-work,
    .hero-button-touch {
        width: 100%;
        margin-right: 0;
    }

    .tech-strap-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .tech-strap-pills {
        justify-content: flex-start;
        width: 100%;
        gap: 10px;
    }

    .selected-work-projects-link {
        text-align: left;
    }

    .selected-work-project-card-1,
    .selected-work-project-card-2,
    .selected-work-project-card-3 {
        min-height: 260px;
        height: auto;
    }

    .selected-work-project-card-text-1 p,
    .selected-work-project-card-text-2 p,
    .selected-work-project-card-text-3 p {
        font-size: 16px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-link {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        height: auto;
        justify-content: flex-start;
        gap: 14px;
    }

    .footer-link a {
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .header-content {
        width: calc(100% - 32px);
    }

    .hero-content,
    .tech-strap-content,
    .selected-work,
    .footer-content {
        width: calc(100% - 32px);
    }

    .hero-container-bag {
        font-size: 13px;
        padding: 8px 12px;
    }

    .editor-header {
        padding: 0 12px;
        gap: 8px;
    }

    .editor-title {
        margin-left: 8px;
        font-size: 16px;
    }

    .code {
        padding: 16px;
        font-size: 11px;
    }

    .tech-strap-pill {
        font-size: 13px;
        padding: 7px 12px;
    }

    .selected-work-text,
    .selected-work-projects-link {
        font-size: 16px;
    }

    .selected-work-project-card-1,
    .selected-work-project-card-2,
    .selected-work-project-card-3 {
        min-height: 240px;
    }

    .selected-work-project-card-text-1,
    .selected-work-project-card-text-2,
    .selected-work-project-card-text-3 {
        padding: 16px;
    }

    .footer-link {
        gap: 10px;
    }

    .footer-link a {
        font-size: 16px;
    }
}
