:root {
    --bg: #000000;
    --cyan: #00e5ff;
    --cyan-dim: rgba(0, 229, 255, 0.1);
    --text-dim: #8899a6;
    --text-white: #ffffff;
    --line-color: #334455;

    --green: #00ff88;
    --green-dark: #008855;
    --yellow: #ffcc00;
    --yellow-green: #aacc00;
    --purple: #cc00ff;
    --pink: #ff00cc;
    --orange: #ff6600;
    --orange-light: #ff9933;
    --blue: #0066ff;
    --indigo: #5c6cff;

    --font-mono: 'Share Tech Mono', monospace;
    --font-heading: 'Teko', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

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

body {
    background-color: var(--bg);
    color: var(--text-white);
    font-family: var(--font-mono);
    line-height: 1.5;
    overflow-x: hidden;
}

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

.outline-text {
    color: transparent;
    -webkit-text-stroke: 1px var(--cyan);
}

.text-cyan {
    color: var(--cyan) !important;
}

.text-green {
    color: var(--green) !important;
}

.text-yellow {
    color: var(--yellow) !important;
}

.text-purple {
    color: var(--purple) !important;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid var(--line-color);
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 100;
}

.logo {
    font-size: 24px;
    color: var(--text-white);
}

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

.nav-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    color: var(--text-dim);
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-white);
}

.nav-num {
    color: var(--cyan);
    font-size: 12px;
    margin-bottom: 2px;
}

.btn-available {
    border: 1px solid var(--line-color);
    padding: 8px 16px;
    font-size: 14px;
    color: var(--text-white);
    background: transparent;
    transition: all 0.3s;
    border-color: var(--cyan);
}

.btn-available:hover {
    border-color: var(--cyan);
    background-color: var(--cyan);
    color: var(--bg);
}

/* LAYOUT */
.container {
    width: min(1800px, 100%);
    margin: 0 auto;
    padding: 40px 30px;
}

.sheet {
    position: relative;
    padding: 50px;
    margin-bottom: 80px;
}

.sheet-line {
    position: absolute;
    background-color: var(--cyan);
}

.sheet-top,
.sheet-bottom {
    height: 1px;
    width: 100%;
    left: 0;
}

.sheet-left,
.sheet-right {
    width: 1px;
    height: 100%;
    top: 0;
}

.sheet-top {
    top: 0;
}

.sheet-bottom {
    bottom: 0;
}

.sheet-left {
    left: 0;
}

.sheet-right {
    right: 0;
}

.sheet-label-top,
.sheet-label-bottom {
    font-size: 13px;
}

@media (min-width: 1800px) {
    .container {
        width: min(2200px, 100%);
        padding: 50px 40px;
    }

    .navbar {
        padding: 24px 40px;
    }

    .nav-links {
        gap: 36px;
    }

    .title-box h1 {
        font-size: 120px;
        letter-spacing: 6px;
    }

    .role-box {
        padding: 20px 80px;
    }

    .hero-footer {
        margin-top: 160px;
    }

    .hero-actions {
        gap: 24px;
    }

    .hero-meta {
        padding: 16px 60px 16px 0;
        font-size: 15px;
    }

    .section-header {
        gap: 80px;
    }

    .section-title-box h3 {
        font-size: 72px;
    }

    .project-card {
        padding: 36px;
    }

    .process-card {
        padding: 48px;
    }

    .about-content,
    .contact-content {
        gap: 100px;
    }
}

.sheet-coords {
    flex-wrap: wrap;
    gap: 20px;
}

.btn {
    min-width: 180px;
}


/* HERO GRID BACKGROUND */
.hero-section {
    overflow: visible;
    position: relative;
    cursor: none; /* Hide default cursor if they want a custom one in hero */
}

.hero-grid-lines {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.3) 1px, transparent 1px),
        linear-gradient(rgba(0, 229, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.1) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    z-index: -1;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 50%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 50%);
}

/* Custom Cursor */
.ball {
    width: 12px;
    height: 12px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    background-color: var(--cyan);
    pointer-events: none;
    z-index: 100;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--cyan);
}


.sheet-label-top {
    position: absolute;
    top: -12px;
    left: 40px;
    background: var(--bg);
    padding: 0 15px;
    color: var(--cyan);
    font-size: 14px;
    z-index: 1;

}

.sheet-label-bottom {
    position: absolute;
    bottom: -12px;
    right: 40px;
    background: var(--bg);
    padding: 0 15px;
    color: var(--cyan);
    font-size: 14px;
    z-index: 1;

}

.sheet-coords {
    display: flex;
    gap: 40px;
    color: var(--text-dim);
    font-size: 12px;
    margin-top: -70px;
    margin-bottom: 40px;
    padding-left: 40px;
}

/* BLUEPRINT BOX */
.blueprint-box {
    position: relative;
    display: inline-block;
    padding: 20px 40px;
}

.dim-line {
    position: absolute;
    background-color: var(--line-color);
}

.top-dim,
.bottom-dim {
    height: 1px;
    width: calc(100% + 40px);
    left: -20px;
}

.left-dim,
.right-dim {
    width: 1px;
    height: calc(100% + 40px);
    top: -20px;
}

.top-dim {
    top: 0;
}

.bottom-dim {
    bottom: 0;
}

.left-dim {
    left: 0;
}

.right-dim {
    right: 0;
}

.top-dim::before,
.top-dim::after,
.bottom-dim::before,
.bottom-dim::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 10px;
    background: var(--line-color);
    top: -4px;
}

.top-dim::before,
.bottom-dim::before {
    left: 0;
}

.top-dim::after,
.bottom-dim::after {
    right: 0;
}

.left-dim::before,
.left-dim::after,
.right-dim::before,
.right-dim::after {
    content: '';
    position: absolute;
    height: 1px;
    width: 10px;
    background: var(--line-color);
    left: -4px;
}

.left-dim::before,
.right-dim::before {
    top: 0;
}

.left-dim::after,
.right-dim::after {
    bottom: 0;
}

.corner-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: var(--cyan);
    border-radius: 50%;
    z-index: 2;
}

.corner-dot.tl {
    top: -2px;
    left: -2px;
}

.corner-dot.tr {
    top: -2px;
    right: -2px;
}

.corner-dot.bl {
    bottom: -2px;
    left: -2px;
}

.corner-dot.br {
    bottom: -2px;
    right: -2px;
}

.dim-text {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg);
    padding: 0 10px;
    color: var(--cyan);
    font-size: 14px;
    white-space: nowrap;
}

/* HERO SECTION */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 100px 0px 0px 0px;
}

.title-box h1 {
    font-size: 100px;
    line-height: 1.1;
    letter-spacing: 5px;
    margin: 0;
}

.role-box {
    margin-top: 40px;
    padding: 15px 60px;
}

.role-box h2 {
    font-size: 24px;
    letter-spacing: 3px;
    font-weight: normal;
}

.hero-footer {
    display: flex;
    width: 100%;
    margin-top: 140px;
    align-items: end;
    justify-content: flex-end;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.btn-cyan {
    background-color: var(--cyan);
    color: var(--bg);
}

.btn-cyan:hover {
    background-color: var(--text-white);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--cyan);
    color: var(--cyan);
}

.btn-outline:hover {
    background-color: var(--cyan);
    color: var(--bg);
}

.figma-icon {
    width: 16px;
    height: 16px;
}

.hero-meta {
    border: 1px solid var(--line-color);
    padding: 10px 50px 10px 0px;
    font-size: 14px;
    text-align: right;
}

.meta-headers {
    color: var(--text-dim);
    display: grid;
    grid-template-columns: 80px 80px 80px;
    margin-bottom: 5px;
}

.meta-values {
    display: grid;
    grid-template-columns: 80px 80px 80px;
    color: var(--text-white);
}

.status-open {
    color: var(--green);
}

/* SECTION HEADERS */
.section-header {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.section-title-box h3 {
    font-size: 60px;
    line-height: 1;
    margin: 0;
    letter-spacing: 2px;
}

.header-desc {
    color: var(--text-dim);
    max-width: 300px;
    font-size: 14px;
}

/* PROJECTS SECTION */
.projects-list {
    display: flex;
    flex-direction: column;
}

.project-card {
    display: grid;
    grid-template-columns: 60px 2fr 1.2fr 60px;
    gap: 20px;
    align-items: center;
    padding: 30px;
    border: 1px solid var(--cyan);
    background: var(--bg);
    margin-bottom: 4px;
    transition: background 0.3s;
    position: relative;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
}

.project-card:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.92));
}

.projects-list .project-card:nth-of-type(1):hover {
    background: linear-gradient(90deg, rgba(231, 104, 0, 0.555), rgba(0, 0, 0, 0.95));
    border-color: transparent;
}

.projects-list .project-card:nth-of-type(2):hover {
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.45), rgba(0, 0, 0, 0.95));
    border-color: transparent;  
}

.projects-list .project-card:nth-of-type(3):hover {
    background: linear-gradient(90deg, rgba(92, 108, 255, 0.45), rgba(0, 0, 0, 0.95));
    border-color: transparent;
}

.projects-list .project-card:nth-of-type(4):hover {
    background: linear-gradient(90deg, rgba(255, 0, 204, 0.45), rgba(0, 0, 0, 0.95));
    border-color: transparent;
}

.projects-list .project-card:nth-of-type(5):hover {
    background: linear-gradient(90deg, rgba(255, 204, 0, 0.45), rgba(0, 0, 0, 0.95));
    border-color: transparent;
}
.project-card:hover .proj-num,
.project-card:hover .proj-tags,
.project-card:hover .proj-title,
.project-card:hover .proj-desc {
    color: #ffffff;
}

.accent-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

/* ABOUT SECTION STYLES */
.about-grid {
    display: grid;
    grid-template-columns: 420px minmax(420px, 1fr);
    gap: 60px;
    align-items: start;
    max-width: 1140px;
    margin: 0 auto;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.radar-svg {
    width: 340px;
    height: 340px;
    display: block;
    margin: 10px 0 0 0;
}

.radar-svg .ring {
    stroke: var(--cyan);
    stroke-width: 1;
    opacity: 0.95
}

.radar-svg .center {
    fill: var(--cyan);
}

.radar-svg .lbl-rect {
    fill: none;
    stroke: var(--cyan);
    stroke-width: 1
}

.radar-svg .lbl-text {
    fill: var(--cyan);
    font-size: 12px
}

.radar-svg .center-text {
    fill: var(--bg);
    font-size: 11px;
    font-weight: 700
}

.about-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-dim);
}

.about-table td {
    padding: 12px 8px;
    border-bottom: 1px dashed var(--line-color);
}

.about-table td:first-child {
    color: var(--text-dim);
    width: 36%;
    text-transform: uppercase;
    font-size: 12px;
    padding-left: 8px;
}

.about-table td:last-child {
    color: var(--text-white);
    text-align: right;
    padding-right: 12px;
}

/* About Layout */
.about-main-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    border: 1px solid var(--cyan);
    margin-top: 40px;
}

.about-left {
    padding: 40px 30px;
    border-right: 1px solid var(--cyan);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-right {
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
}

.entity-box {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
}

.entity-line {
    font-family: var(--font-mono);
    color: var(--cyan);
    font-size: 12px;
    letter-spacing: 1px;
}

.entity-divider {
    height: 1px;
    background-color: var(--line-color);
    width: 80%;
    margin: 15px auto 0 auto;
}

.about-intro {
    color: var(--text-dim);
    font-size: 13px;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Table visual styling to match image */
.about-table tr {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.about-table td {
    padding: 12px 8px;
}

.about-table td:first-child {
    text-transform: uppercase;
    font-size: 12px;
    color: var(--text-dim);
    padding-left: 8px;
}

.about-table td:last-child {
    text-align: right;
    padding-right: 12px;
}

.about-table tr+tr td {
    border-top: 1px solid rgba(0, 229, 255, 0.08);
}

/* Specific color tweaks for table values */
.about-table td.text-cyan {
    color: var(--cyan);
}

.about-table td.text-green {
    color: var(--green);
}

/* Right column typography adjustments */
.about-right .about-title {
    font-size: 44px;
    margin-top: 6px;
}

.about-desc {
    font-size: 14px;
    color: var(--text-dim);
}

/* Timeline styles to match image */
.exp-timeline {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 24px;
}

.exp-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.exp-year {
    width: 100px;
    color: var(--cyan);
    font-weight: 700;
    font-size: 14px;
}

.exp-info h5 {
    margin: 0 0 6px 0;
    font-size: 16px;
    color: var(--text-white);
}

.exp-info p {
    margin: 0;
    color: var(--text-dim);
    font-size: 13px;
}

@media (max-width: 1000px) {
    .about-main-box {
        grid-template-columns: 1fr;
    }

    .radar-svg {
        width: 260px;
        height: 260px;
    }

    .about-left {
        border-right: none;
        border-bottom: 1px solid var(--cyan);
    }

    .about-right {
        padding: 30px;
    }
}

.about-right .about-title {
    font-size: 40px;
    line-height: 1.05;
    margin-bottom: 20px;
}

.about-desc {
    color: var(--text-dim);
    margin-bottom: 14px;
}

.exp-timeline {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
}

.exp-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.exp-year {
    width: 120px;
    font-weight: bold;
}

.exp-info h5 {
    margin-bottom: 6px;
    font-size: 16px;
}

.exp-info p {
    color: var(--text-dim);
    font-size: 14px;
    margin: 0;
}

@media (max-width: 1000px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .radar-advanced {
        width: 260px;
        height: 260px;
    }
}

.orange {
    background-color: var(--orange);
}

.green {
    background-color: var(--green);
}

.purple {
    background-color: var(--purple);
}

.pink {
    background-color: var(--pink);
}

.orange-light {
    background-color: var(--orange-light);
}

.proj-num {
    font-size: 40px;
    color: var(--text-dim);
}

.proj-tags {
    color: var(--cyan);
    font-size: 12px;
    margin-bottom: 10px;
}

.proj-title {
    font-size: 24px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.proj-desc {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.6;
}

.proj-meta {
    font-size: 14px;
    border-left: 1px solid var(--line-color);
    padding-left: 30px;
}

.pm-row {
    display: flex;
    margin-bottom: 5px;
}

.pm-label {
    color: var(--text-dim);
    width: 60px;
}

.pm-val {
    color: var(--text-white);
}

.proj-link {
    width: 50px;
    height: 50px;
    border: 1px solid var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--cyan);
    transition: all 0.3s;
}

.proj-link:hover {
    background: var(--cyan);
    color: var(--bg);
    border-color: var(--cyan);
    transform: none;
    box-shadow: none;
}

/* PROCESS SECTION */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: var(--cyan);
    border: 1px solid var(--cyan);
}

.process-card {
    background-color: var(--bg);
    padding: 40px;
}

/* Hover effect for process cards - bright left, dark right */
.process-card {
    transition: background 0.35s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.process-card:hover {
    background: linear-gradient(
        360deg,
        rgba(12, 80, 80, 0.76),
        rgba(0, 0, 0, 1)
    );

    transform: translateY(-6px);

    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.6);

    color: #ffffff;
}

.process-card:hover .pc-num,
.process-card:hover .pc-title {
    color: #000000;
}

.process-card:hover .pc-node,
.process-card:hover .pc-desc {
    color: #ffffff;
}

.pc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.pc-num {
    font-size: 60px;
    line-height: 1;
}

.pc-node {
    font-size: 12px;
    color: var(--text-dim);
}

.pc-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.pc-desc {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.6;
}

/* SKILLS SECTION */
.skills-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.skills-title {
    margin-bottom: 40px;
}

.skills-title h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.skills-title p {
    color: var(--text-dim);
    font-size: 14px;
}

.progress-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
}

.progress-item {
    display: grid;
    grid-template-columns: 120px 1fr 50px;
    align-items: center;
    gap: 20px;
}

.pi-label {
    font-size: 14px;
}

.pi-bar-track {
    height: 10px;
    background-color: var(--line-color);
    width: 100%;
    border: 1px solid var(--line-color);
}

.pi-bar-fill {
    height: 100%;
}

.fill-blue {
    background-color: var(--blue);
}

.fill-cyan {
    background-color: var(--cyan);
}

.fill-green {
    background-color: var(--green);
}

.fill-yellow {
    background-color: var(--yellow);
}

.fill-yellow-green {
    background-color: var(--yellow-green);
}

.fill-green-dark {
    background-color: var(--green-dark);
}

.pi-val {
    color: var(--text-dim);
    font-size: 14px;
    text-align: right;
}

.skills-tags {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tag-row {
    display: flex;
    gap: 15px;
}

.st-tag {
    border: 1px solid;
    padding: 8px 16px;
    font-size: 12px;
    text-transform: uppercase;
}

.st-cyan {
    border-color: var(--cyan);
    color: var(--cyan);
}

.st-green {
    border-color: var(--green);
    color: var(--green);
}

.st-yellow {
    border-color: var(--yellow);
    color: var(--yellow);
}

.st-purple {
    border-color: var(--purple);
    color: var(--purple);
}

/* CONTACT SECTION */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.mb-large {
    margin-bottom: 60px;
}

.contact-desc {
    color: var(--text-dim);
    font-size: 16px;
    margin-bottom: 20px;
    max-width: 400px;
}

.social-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 1px solid var(--cyan);
    transition: background 0.3s;
}

.social-btn:hover {
    background: var(--cyan-dim);
}

.sb-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.sb-num {
    font-size: 20px;
}

.sb-name {
    font-size: 18px;
}

.sb-arrow {
    color: var(--cyan);
    font-size: 24px;
}

/* Hover Effects */
.btn-contact .icon-mail {
    display: none;
}

.btn-contact:hover .icon-plus {
    display: none;
}

.btn-contact:hover .icon-mail {
    display: inline;
}

.st-tag {
    transition: all 0.3s ease;
    cursor: default;
}

.st-cyan:hover {
    background-color: var(--cyan);
    color: var(--bg);
}

.st-green:hover {
    background-color: var(--green);
    color: var(--bg);
}

.st-yellow:hover {
    background-color: var(--yellow);
    color: var(--bg);
}

.st-purple:hover {
    background-color: var(--purple);
    color: var(--bg);
}

.hover-img-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100px;
    object-fit: cover;
    pointer-events: none;
    opacity: 0;
    z-index: 9999;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--cyan);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .container {
        padding: 36px 24px;
    }

    .sheet {
        padding: 40px;
    }

    .navbar {
        padding: 18px 24px;
    }

    .nav-links {
        gap: 20px;
    }

    .hero-content {
        padding-top: 80px;
    }

    .title-box h1 {
        font-size: 72px;
    }

    .role-box {
        padding: 15px 40px;
    }

    .hero-footer {
        margin-top: 100px;
    }

    .hero-meta {
        padding: 10px 30px 10px 0;
    }

    .section-header {
        gap: 40px;
        margin-bottom: 60px;
    }
}

@media (max-width: 1024px) {
    .navbar {
        flex-wrap: wrap;
        align-items: center;
        row-gap: 14px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .btn-available {
        width: 100%;
        text-align: center;
    }

    .sheet {
        padding: 36px;
    }

    .sheet-label-top {
        left: 20px;
    }

    .sheet-label-bottom {
        right: 20px;
    }

    .hero-content {
        padding-top: 60px;
    }

    .title-box h1 {
        font-size: 56px;
        letter-spacing: 3px;
    }

    .role-box {
        width: 100%;
        padding: 18px 30px;
    }

    .hero-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .hero-actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .btn {
        width: auto;
    }

    .hero-meta {
        width: 100%;
        text-align: left;
        padding: 16px 24px;
    }

    .meta-headers,
    .meta-values {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .header-desc {
        max-width: 100%;
    }

    .projects-list .project-card {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .proj-num {
        display: none;
    }

    .proj-meta {
        border-left: none;
        padding-left: 0;
        margin-top: 20px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-right {
        margin-top: 0;
    }

    .sheet-coords {
        margin-top: 24px;
        padding-left: 20px;
    }
}

@media (max-width: 768px) {
    .navbar {
        justify-content: center;
        padding: 16px 20px;
    }

    .logo {
        font-size: 20px;
    }

    .nav-links a {
        font-size: 13px;
        gap: 4px;
    }

    .btn-available {
        padding: 10px 16px;
    }

    .container {
        padding: 28px 18px;
    }

    .sheet {
        padding: 30px;
    }

    .title-box h1 {
        font-size: 42px;
    }

    .role-box h2 {
        font-size: 20px;
    }

    .hero-footer {
        gap: 24px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-meta {
        padding: 16px 20px;
    }

    .section-title-box h3 {
        font-size: 44px;
    }

    .header-desc {
        font-size: 13px;
    }

    .project-card {
        gap: 16px;
    }

    .proj-tags,
    .proj-desc,
    .proj-meta,
    .proj-link {
        font-size: 13px;
    }

    .project-card {
        padding: 22px;
    }

    .process-card {
        padding: 24px;
    }

    .skills-content {
        gap: 40px;
    }

    .progress-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pi-bar-track {
        width: 100%;
    }

    .skills-tags {
        gap: 12px;
    }

    .tag-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .about-hero-text {
        font-size: 32px;
    }

    .about-desc,
    .contact-desc {
        font-size: 15px;
        max-width: 100%;
    }

    .radar-container {
        width: 160px;
        height: 160px;
    }

    .rc1 {
        width: 64px;
        height: 64px;
    }

    .rc2 {
        width: 112px;
        height: 112px;
    }

    .rc3 {
        width: 160px;
        height: 160px;
    }

    .radar-scan {
        width: 80px;
        height: 80px;
        left: 80px;
    }

    .exp-item {
        flex-direction: column;
        gap: 12px;
    }

    .exp-item::before {
        display: none;
    }

    .exp-year {
        width: 100%;
        text-align: left;
    }

    .social-btn {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
    }

    .sb-left {
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 14px 16px;
    }

    .nav-links {
        gap: 12px;
    }

    .btn-available {
        font-size: 13px;
        padding: 10px 14px;
    }

    .title-box h1 {
        font-size: 32px;
    }

    .role-box {
        padding: 14px 20px;
    }

    .sheet {
        padding: 24px;
    }

    .hero-footer {
        margin-top: 40px;
    }

    .meta-headers,
    .meta-values {
        grid-template-columns: 1fr 1fr 1fr;
        font-size: 12px;
    }

    .section-title-box h3 {
        font-size: 36px;
    }

    .header-desc {
        max-width: 100%;
    }

    .project-card {
        padding: 20px;
    }

    .proj-title {
        font-size: 20px;
    }

    .proj-meta {
        padding-left: 0;
    }

    .proj-link {
        width: 44px;
        height: 44px;
    }

    .about-hero-text {
        font-size: 28px;
    }

    .about-table td {
        font-size: 13px;
    }

    .contact-desc {
        font-size: 14px;
    }

    .social-btn {
        gap: 16px;
    }
}

/* ==========================================================================
   LENIS SMOOTH SCROLLING & ANIMATION UTILITIES
   ========================================================================== */
html.lenis, html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}
.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Text Reveal Utilities */
.reveal-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    position: relative;
    /* Added padding to prevent text cutoff on bottom/top */
    padding-bottom: 5px;
    margin-bottom: -5px;
}

.reveal-item {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    will-change: transform, opacity;
}

/* General Layout helpers for scrolling */
.sheet {
    will-change: transform, opacity;
}
.project-card {
    will-change: transform, opacity;
}
.process-card {
    will-change: transform, opacity;
}

/* 3D Flip Effect for Section Titles */
.flip-container {
    perspective: 1000px;
    display: inline-block;
}

.flip-inner {
    position: relative;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.section-title-box:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.flip-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-back img {
    max-width: 120px; /* Adjust size based on title height */
    max-height: 100%;
    object-fit: contain;
}