* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

section {
    padding-top: 50px;
    padding-bottom: 50px;
}

:root {
    --gjs-t-color-primary: #00f0ff;
    --gjs-t-color-secondary: #ff2bf2;
    --gjs-t-color-accent: #39ff14;
    --gjs-t-color-success: #39ff14;
    --gjs-t-color-warning: #ffc107;
    --gjs-t-color-error: #ff3b3b;
    --bg-page: #0a0b10;
    --bg-elev: #10121a;
    --bg-soft: #0d0f16;
    --text-base: #e6f1ff;
    --text-dim: #9fb0c6;
    --border-soft: rgba(0, 240, 255, 0.2);
    --glow-cyan: 0 0 12px rgba(0, 240, 255, 0.35);
    --glow-pink: 0 0 12px rgba(255, 43, 242, 0.35);
    --glow-green: 0 0 12px rgba(57, 255, 20, 0.35);
}

html {
    scroll-behavior: smooth;
}

[data-theme="light"] {
    --bg-page: #f5f7fb;
    --bg-elev: #ffffff;
    --bg-soft: #eef3ff;
    --text-base: #0a0b10;
    --text-dim: #415167;
    --border-soft: rgba(0, 0, 0, 0.1);
    --glow-cyan: 0 0 0 rgba(0, 0, 0, 0);
    --glow-pink: 0 0 0 rgba(0, 0, 0, 0);
    --glow-green: 0 0 0 rgba(0, 0, 0, 0);
}

.gjs-t-body {
    background-color: var(--bg-page);
    color: var(--text-base);
    font-size: 16px;
    line-height: 1.6;
}

.gjs-t-h1 {
    color: var(--text-base);
    font-size: 48px;
    line-height: 1.15;
}

.gjs-t-h2 {
    color: var(--text-base);
    font-size: 34px;
    line-height: 1.2;
}

.gjs-t-button {
    background-color: var(--gjs-t-color-primary);
    color: #0a0b10;
    border-radius: 12px;
}

.gjs-t-link {
    color: var(--gjs-t-color-primary);
    text-decoration: none;
}

.gjs-t-border {
    border-radius: 16px;
    border-color: var(--border-soft);
}

*,
::before,
::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

html,
:host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    line-height: inherit;
}

hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
}

abbr:where([title]) {
    text-decoration: underline dotted;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

a {
    color: inherit;
    text-decoration: inherit;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp,
pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-feature-settings: normal;
    font-variation-settings: normal;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

button,
select {
    text-transform: none;
}

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none;
}

:-moz-focusring {
    outline: auto;
}

:-moz-ui-invalid {
    box-shadow: none;
}

progress {
    vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto;
}

[type='search'] {
    -webkit-appearance: textfield;

    outline-offset: -2px;
}

::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;

    font: inherit;
}

summary {
    display: list-item;
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
    margin: 0;
}

fieldset {
    margin: 0;
    padding: 0;
}

legend {
    padding: 0;
}

ol,
ul,
menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

dialog {
    padding: 0;
}

textarea {
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    opacity: 1;

    color: #9ca3af;
}

button,
[role="button"] {
    cursor: pointer;
}

:disabled {
    cursor: default;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    display: block;
    vertical-align: middle;
}

img,
video {
    max-width: 100%;
    height: auto;
}

[hidden] {
    display: none;
}

.body-wrapper {
    font-family: Inter;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.body-wrapper *::selection {
    background-color: rgb(6 182 212 / 0.2);
    color: var(--gjs-t-color-primary);
}

.body-wrapper::selection {
    background-color: rgb(6 182 212 / 0.2);
    color: var(--gjs-t-color-primary);
}

.parallax-background-root {
    position: fixed;
    inset: 0px;
    z-index: -10;
    overflow: hidden;
}

.background-layer-container {
    position: absolute;
    inset: 0px;
    pointer-events: none;
}

.gradient-wash-overlay {
    position: absolute;
    inset: 0px;
    background-image: radial-gradient(ellipse at top, rgba(0, 240, 255, 0.06), transparent 60%), radial-gradient(ellipse at bottom, rgba(255, 43, 242, 0.05), transparent 60%);
}

.parallax-layer-far {
    position: absolute;
    inset: 0px;
    opacity: 0.3;
    mix-blend-mode: screen;
}

.parallax-layer-mid {
    position: absolute;
    inset: 0px;
    opacity: 0.25;
    mix-blend-mode: screen;
    filter: blur(1px);
}

.parallax-layer-near {
    position: absolute;
    inset: 0px;
    opacity: 0.2;
    mix-blend-mode: screen;
}

.dark-vignette-overlay {
    position: absolute;
    inset: 0px;
    background-image: linear-gradient(to bottom, transparent, rgba(10, 11, 16, 0.35), rgba(10, 11, 16, 0));
}

.site-header {
    position: sticky;
    top: 0px;
    z-index: 40;
    backdrop-filter: blur(12px);
    border-bottom-width: 1px;
    border-color: var(--border-soft);
}

.header-inner {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-mark {
    display: inline-block;
    padding: 0.5rem;
    border-radius: 0.75rem;
    background-color: var(--bg-elev);
    border-width: 1px;
    border-color: var(--border-soft);
}

.brand-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.brand-name {
    font-family: Orbitron;
    font-size: 1.25rem;
    line-height: 1.75rem;
    letter-spacing: 0.05em;
    color: var(--gjs-t-color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.theme-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 0.5rem;
    border-width: 1px;
    border-color: var(--border-soft);
    background-color: var(--bg-elev);
    color: var(--text-dim);
}

.theme-toggle:hover {
    color: var(--text-base);
}

.theme-toggle:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 0px #fff, 0 0 0 calc(2px + 0px) rgb(59 130 246 / 0.5), 0 0 #0000;
}

.theme-icon-moon {
    width: 1rem;
    height: 1rem;
}

.theme-label {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 0.5rem;
    border-width: 1px;
    border-color: var(--border-soft);
    background-color: var(--bg-elev);
    color: var(--text-dim);
}

.mobile-menu-toggle:hover {
    color: var(--text-base);
}

.mobile-menu-toggle:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 0px #fff, 0 0 0 calc(2px + 0px) rgb(59 130 246 / 0.5), 0 0 #0000;
}

.menu-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.menu-label {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.mobile-menu-panel {
    display: block;
    position: relative;
    width: 100%;;
    border-top-width: 1px;
    border-color: var(--border-soft);
    backdrop-filter: blur(12px);
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, max-height 0.3s ease-out;
    overflow: hidden;
}

.mobile-menu-panel.hidden {
    max-height: 0;
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

.nav-list-mobile {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-link-mobile {
    display: block;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 0.375rem;
    color: var(--text-base);
}

.nav-link-mobile:hover {
    background-color: var(--bg-soft);
}

.nav-link-mobile:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 0px #fff, 0 0 0 calc(2px + 0px) rgb(59 130 246 / 0.5), 0 0 #0000;
}

.hero-section {
    position: relative;
}

.hero-container {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-heading {
    font-family: Orbitron;
    font-weight: 800;
    letter-spacing: 0.025em;
}

.hero-subheading {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: var(--text-dim);
    max-width: 42rem;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.primary-button:hover {
    transform: translate(0, -0.125rem) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1);
}

.primary-button-icon {
    width: 1rem;
    height: 1rem;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-radius: 0.75rem;
    border-width: 1px;
    border-color: var(--border-soft);
    background-color: var(--bg-elev);
    color: var(--gjs-t-color-secondary);
    font-weight: 600;
}

.secondary-button:hover {
    border-color: var(--gjs-t-color-secondary);
    color: rgb(255 255 255 / 1);
}

.secondary-button:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 0px #fff, 0 0 0 calc(2px + 0px) rgb(59 130 246 / 0.5), 0 0 #0000;
}

.secondary-button-icon {
    width: 1rem;
    height: 1rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top-width: 1px;
    border-color: var(--border-soft);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.stat-text {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--text-dim);
}

.hero-portrait-wrapper {
    display: flex;
    justify-content: center;
}

.portrait-gradient-ring {
    position: relative;
    padding: 0.25rem;
    border-radius: 9999px;
    background-image: linear-gradient(to top right, #00f0ff, #ff2bf2, rgb(255 43 242 / 0));
    box-shadow: 0 0 #0000, 0 0 #0000, 0 0 30px rgba(0, 240, 255, 0.35), 0 0 24px rgba(255, 43, 242, 0.25);
}

.portrait-image {
    width: 240px;
    height: 240px;
    border-radius: 9999px;
    object-fit: cover;
    border-width: 3px;
    border-color: var(--bg-page);
}

.badge-availability {
    position: absolute;
    bottom: -0.75rem;
    right: -0.75rem;
    background-color: var(--bg-elev);
    border-width: 1px;
    border-color: var(--border-soft);
    border-radius: 0.75rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-dot {
    display: inline-block;
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 9999px;
    background-color: var(--gjs-t-color-success);
}

.badge-text {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    color: var(--text-base);
}

.about-section {
    position: relative;
}

.about-container {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    border-top-width: 1px;
    border-color: var(--border-soft);
}

.about-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.about-heading {
    font-family: Orbitron;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.about-download-cv {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--gjs-t-color-primary);
    text-underline-offset: 4px;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.about-download-cv:hover {
    text-decoration-line: underline;
    color: rgb(255 255 255 / 1);
}

.cv-icon {
    width: 1rem;
    height: 1rem;
}

.about-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}

.about-text-column {
    grid-column: span 2 / span 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-paragraph {
    color: var(--text-dim);
}

.skill-badges {
    margin-top: 0.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 0.5rem;
    border-width: 1px;
    border-color: var(--border-soft);
    background-color: var(--bg-elev);
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--text-base);
}

.skill-icon {
    width: 1rem;
    height: 1rem;
}

.about-visual-column {
    grid-column: span 1 / span 1;
}

.about-card {
    position: relative;
    border-radius: 1rem;
    border-width: 1px;
    border-color: var(--border-soft);
    background-color: var(--bg-elev);
    padding: 1rem;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.about-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-card-title {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: var(--gjs-t-color-secondary);
    letter-spacing: 0.025em;
}

.about-card-icon {
    width: 1rem;
    height: 1rem;
}

.about-card-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--text-dim);
}

.about-card-image {
    margin-top: 1rem;
    width: 100%;
    height: 10rem;
    border-radius: 0.75rem;
    object-fit: cover;
    border-width: 1px;
    border-color: var(--border-soft);
}

.services-section {
    position: relative;
}

.services-container {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    border-top-width: 1px;
    border-color: var(--border-soft);
}

.services-heading {
    font-family: Orbitron;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.services-intro {
    margin-top: 0.5rem;
    color: var(--text-dim);
}

.services-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.service-card {
    border-radius: 1rem;
    border-width: 1px;
    border-color: var(--border-soft);
    background-color: var(--bg-elev);
    padding: 1.5rem;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.service-title {
    font-weight: 600;
    color: var(--text-base);
}

.service-description {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--text-dim);
}

.service-tags {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-tag {
    font-size: 0.75rem;
    line-height: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    border-radius: 0.25rem;
    background-color: var(--bg-soft);
    border-width: 1px;
    border-color: var(--border-soft);
}

.portfolio-section {
    position: relative;
}

.portfolio-container {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    border-top-width: 1px;
    border-color: var(--border-soft);
}

.portfolio-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.portfolio-heading {
    font-family: Orbitron;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.portfolio-filters {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-button {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.75rem;
    line-height: 1rem;
    border-radius: 0.5rem;
    border-width: 1px;
    border-color: var(--border-soft);
    background-color: var(--bg-elev);
    color: var(--gjs-t-color-accent);
}

.filter-button:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 0px #fff, 0 0 0 calc(2px + 0px) rgb(59 130 246 / 0.5), 0 0 #0000;
}

.portfolio-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.portfolio-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    border-width: 1px;
    border-color: var(--border-soft);
    background-color: var(--bg-elev);
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.portfolio-card:hover {
    box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000;
}

.portfolio-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    inset: 0px;
    background-image: linear-gradient(to top, rgba(10, 11, 16, 0.85), transparent, rgb(0 0 0 / 0));
    opacity: 0;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.portfolio-info {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding: 1rem;
    opacity: 0.9;
    color: white;
    
    -webkit-text-stroke: 0.05px black;
    text-shadow: 
        -0.5px -0.5px 0 #000,  /* Top-left shadow */
        0.5px -0.5px 0 #000,  /* Top-right shadow */
        -0.5px  0.5px 0 #000,  /* Bottom-left shadow */
        0.5px  0.5px 0 #000;  /* Bottom-right shadow */
}
    

.portfolio-title {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
}

.portfolio-tech {
    font-size: 0.75rem;
    line-height: 1rem;
    color: white;
}

.contact-section {
    position: relative;
}

.contact-container {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    border-top-width: 1px;
    border-color: var(--border-soft);
}

.contact-heading {
    font-family: Orbitron;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.contact-intro {
    margin-top: 0.5rem;
    color: var(--text-dim);
}

.contact-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
}

.contact-form {
    border-radius: 1rem;
    border-width: 1px;
    border-color: var(--border-soft);
    background-color: var(--bg-elev);
    padding: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-field {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.label-name {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: var(--text-base);
}

.input-name {
    width: 100%;
    border-radius: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: var(--bg-soft);
    border-width: 1px;
    border-color: var(--border-soft);
    color: var(--text-base);
}

.input-name::placeholder {
    color: var(--text-dim);
}

.input-name:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 0px #fff, 0 0 0 calc(2px + 0px) rgb(59 130 246 / 0.5), 0 0 #0000;
}

.label-email {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: var(--text-base);
}

.input-email {
    width: 100%;
    border-radius: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: var(--bg-soft);
    border-width: 1px;
    border-color: var(--border-soft);
    color: var(--text-base);
}

.input-email::placeholder {
    color: var(--text-dim);
}

.input-email:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 0px #fff, 0 0 0 calc(2px + 0px) rgb(59 130 246 / 0.5), 0 0 #0000;
}

.label-message {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: var(--text-base);
}

.textarea-message {
    width: 100%;
    border-radius: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: var(--bg-soft);
    border-width: 1px;
    border-color: var(--border-soft);
    color: var(--text-base);
}

.textarea-message::placeholder {
    color: var(--text-dim);
}

.textarea-message:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 0px #fff, 0 0 0 calc(2px + 0px) rgb(59 130 246 / 0.5), 0 0 #0000;
}

.form-consent-row {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-consent {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-custom {
    display: inline-flex;
    width: 1.25rem;
    height: 1.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    border-width: 1px;
    border-color: var(--border-soft);
    background-color: var(--bg-soft);
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.checkbox-icon {
    width: 0.75rem;
    height: 0.75rem;
}

.checkbox-text {
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--text-dim);
}

.form-actions {
    margin-top: 1.5rem;
}

.submit-button {
    width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.submit-button:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 0px #fff, 0 0 0 calc(2px + 0px) rgb(59 130 246 / 0.5), 0 0 #0000;
}

.contact-aside {
    border-radius: 1rem;
    border-width: 1px;
    border-color: var(--border-soft);
    background-color: var(--bg-elev);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-aside-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-aside-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.contact-aside-title {
    font-weight: 600;
}

.contact-link-email {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--gjs-t-color-primary);
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.contact-link-email:hover {
    color: rgb(255 255 255 / 1);
}

.email-icon {
    width: 1rem;
    height: 1rem;
}

.contact-link-linkedin {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--gjs-t-color-secondary);
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.contact-link-linkedin:hover {
    color: rgb(255 255 255 / 1);
}

.linkedin-icon {
    width: 1rem;
    height: 1rem;
}

.facebook-icon {
    width: 1rem;
    height: 1rem;
}

.contact-link-github {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--gjs-t-color-accent);
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.contact-link-github:hover {
    color: rgb(255 255 255 / 1);
}

.github-icon {
    width: 1rem;
    height: 1rem;
}

.contact-availability {
    padding-top: 1rem;
    border-top-width: 1px;
    border-color: var(--border-soft);
}

.availability-text {
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--text-dim);
}

.footer {
    margin-top: 3rem;
    border-top-width: 1px;
    border-color: var(--border-soft);
    backdrop-filter: blur(4px);
}

.footer-container {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand-mark {
    display: inline-block;
    padding: 0.5rem;
    border-radius: 0.75rem;
    background-color: var(--bg-soft);
    border-width: 1px;
    border-color: var(--border-soft);
}

.footer-brand-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-brand-name {
    font-family: Orbitron;
    font-size: 1.125rem;
    line-height: 1.75rem;
    letter-spacing: 0.05em;
    color: var(--gjs-t-color-primary);
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-social-link {
    padding: 0.5rem;
    border-radius: 0.5rem;
    border-width: 1px;
    border-color: var(--border-soft);
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.footer-social-link:hover {
    border-color: var(--gjs-t-color-primary);
}

.footer-social-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-copyright {
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--text-dim);
}

.cf-turnstile {
    text-align: center;
    margin-top: 30px;
    
}

#formMessage {
    text-align: center;
}

@media (max-width: 992px) {
    .hero-container {
        padding-top: 4rem;
        padding-bottom: 4rem;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 2.5rem;
    }

    .hero-portrait-wrapper {
        order: -9999;
    }

    .portrait-image {
        width: 300px;
        height: 300px;
    }

    .about-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .skill-badges {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .portfolio-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .form-row {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .portrait-image {
        width: 180px;
        height: 180px;
    }

    .skill-badges {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .portfolio-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}
