:root {
    --background: #000000;
    --primary-blue: #ffffff;
    --text-color: #ffffff;
    --text-muted: #999999;
    --border-color: #1a1a1a;
    --font-heading: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: "Inter", sans-serif;
    --gradient-start: #ffffff;
    --gradient-end: #888888;
    --accent-gradient: linear-gradient(135deg, #ffffff, #aaaaaa);
    --card-bg-performant: rgba(10, 10, 10, 0.95);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover-glow: 0 0 25px rgba(255, 255, 255, 0.1), 0 8px 30px rgba(0, 0, 0, 0.4);
    --blur: blur(1px);
    --transition-speed: 0.3s;

    --nav-bg: rgba(0, 0, 0, 0.85);
    --card-inner-bg: #080808;
    --dropdown-bg: rgba(20, 20, 20, 0.7);
    --overlay-bg: rgba(0, 0, 0, 0.92);
    --modal-overlay: rgba(0, 0, 0, 0.7);
    --btn-text: #000000;
    --modal-content-bg: #000000;
    --input-bg: rgba(10, 10, 10, 0.8);
    --hero-accent-color: rgba(255, 255, 255, 0.4);
    --hero-glow-color: rgba(255, 255, 255, 0.3);
    --page-noise-layer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.18' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.048'/%3E%3C/svg%3E");
    --page-backdrop:
        var(--page-noise-layer),
        radial-gradient(150% 120% at 50% 44%, rgba(0, 0, 0, 0) 44%, rgba(0, 0, 0, 0.18) 72%, rgba(0, 0, 0, 0.52) 100%),
        radial-gradient(74% 62% at 18% 14%, rgba(255, 255, 255, 0.009) 0%, rgba(255, 255, 255, 0.0036) 24%, rgba(255, 255, 255, 0.0012) 38%, transparent 60%),
        radial-gradient(66% 58% at 82% 20%, rgba(196, 196, 196, 0.006) 0%, rgba(196, 196, 196, 0.0022) 26%, rgba(196, 196, 196, 0.001) 40%, transparent 58%),
        radial-gradient(132% 92% at 10% 10%, rgba(30, 30, 30, 0.022), transparent 44%),
        radial-gradient(88% 62% at 84% 14%, rgba(20, 20, 20, 0.016), transparent 39%),
        radial-gradient(76% 58% at 52% 36%, rgba(42, 42, 42, 0.004), transparent 40%),
        linear-gradient(140deg, rgba(255, 255, 255, 0.0016) 0%, rgba(255, 255, 255, 0) 32%, rgba(40, 40, 40, 0.0024) 54%, rgba(255, 255, 255, 0) 74%, rgba(255, 255, 255, 0.0008) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 1200'%3E%3Cdefs%3E%3Cfilter id='blur'%3E%3CfeGaussianBlur stdDeviation='18'/%3E%3C/filter%3E%3C/defs%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round' filter='url(%23blur)'%3E%3Cpath d='M-120 220C148 84 338 338 610 286s338-220 590-198 352 150 590 86' stroke='%235f5f5f' stroke-opacity='.0232' stroke-width='8'/%3E%3Cpath d='M-80 526c228-104 404 8 646-26 286-40 390-238 650-184s334 170 492 138' stroke='%233a3a3a' stroke-opacity='.02' stroke-width='7'/%3E%3Cpath d='M-140 878c248-54 418 72 690 58 284-16 424-160 658-118s286 126 448 102' stroke='%237c7c7c' stroke-opacity='.0152' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(180deg, #020202 0%, #010101 40%, #000000 100%);
    --page-backdrop-size: 220px 220px, cover, cover, cover, cover, cover, cover, cover, 1700px auto, 100% 100%;
    --page-backdrop-position: left top, center center, 18% 14%, 82% 20%, center top, center top, center top, center top, center top, center top;
    --page-backdrop-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    --hero-video-glow: rgba(255, 255, 255, 0.14);
    --hero-video-soft-glow: rgba(255, 255, 255, 0.08);
    --hero-video-shadow: rgba(0, 0, 0, 0.24);
    --hero-video-overlay-start: rgba(0, 0, 0, 0.18);
    --hero-video-overlay-mid: rgba(0, 0, 0, 0.26);
    --hero-video-overlay-end: rgba(0, 0, 0, 0.38);
    --page-film-vignette: radial-gradient(162% 136% at 50% 46%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.08) 74%, rgba(0, 0, 0, 0.24) 100%);
    --page-film-clouds:
        radial-gradient(78% 60% at 12% 10%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.055) 26%, rgba(255, 255, 255, 0.016) 42%, transparent 64%),
        radial-gradient(72% 56% at 88% 14%, rgba(243, 229, 210, 0.12) 0%, rgba(243, 229, 210, 0.045) 28%, rgba(243, 229, 210, 0.015) 44%, transparent 64%),
        radial-gradient(92% 68% at 52% 114%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 24%, transparent 52%);
    --page-film-clouds-opacity: 0.64;
}



.timeline-content,
.skill-card,
.project-card,
.faq-question,
.submit-btn,
.tech-item,
.main-nav,
.project-card-image img,
.project-modal-arrow,
.flip-card {
    will-change: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 9999;
}

.skip-link:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    padding: 12px 20px;
    background: var(--background);
    color: var(--text-color);
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    font-size: 1rem;
    z-index: 9999;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    min-width: 0;
}

html {
    overflow-x: hidden;
    scroll-behavior: auto;
    font-size: 93.75%;
    scroll-padding-top: 5rem;
}

html.smooth-scroll {
    scroll-behavior: smooth;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.32);
}



* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}


[data-aos] {
    pointer-events: auto;
}

[data-aos].aos-animate {
    will-change: auto;
}

[data-aos][data-aos-easing="ease-out-cubic"] {
    transition-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
}

body {
    background-color: var(--background);
    background-image: var(--page-backdrop);
    background-size: var(--page-backdrop-size);
    background-position: var(--page-backdrop-position);
    background-repeat: var(--page-backdrop-repeat);
    background-attachment: scroll, scroll, scroll, scroll, scroll, scroll, scroll, scroll, scroll, scroll;
    color: var(--text-color);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    font-weight: 400;
    line-height: 1.7;
    position: relative;
    isolation: isolate;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

body::before {
    background: var(--page-film-vignette);
    mix-blend-mode: multiply;
}

body.modal-open {
    overflow: hidden;
}

body.modal-open .scroll-to-top {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(20px);
}

body.modal-open .mobile-menu-icon {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.preloader-active {
    overflow: hidden;
}

body:not(.project-case-page) .main-nav,
body:not(.project-case-page) .mobile-menu-icon,
body:not(.project-case-page) .scroll-progress {
    transition: opacity 0.34s ease, transform 0.34s ease;
}

body.preloader-active .main-nav,
body.preloader-active .mobile-menu-icon,
body.preloader-active .scroll-progress {
    opacity: 0;
    transform: translateY(0.65rem);
    pointer-events: none;
}

body.preloader-active main {
    visibility: hidden;
    pointer-events: none;
}

body.mobile-nav-open {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

h1,
h2,
h3,
.nav-links a,
.nav-dropdown button {
    font-family: var(--font-heading);
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: #fff0;
}

.highlight-keyword {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05em;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: #fff0;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 20%, var(--hero-video-glow), transparent 30%),
        radial-gradient(circle at 82% 18%, var(--hero-video-soft-glow), transparent 26%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), var(--hero-video-shadow));
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 76%, rgba(0, 0, 0, 0.92) 84%, rgba(0, 0, 0, 0.52) 93%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 76%, rgba(0, 0, 0, 0.92) 84%, rgba(0, 0, 0, 0.52) 93%, transparent 100%);
}

.hero-media::after {
    content: "";
    position: absolute;
    left: -4%;
    right: -4%;
    bottom: -3.5rem;
    height: 10.5rem;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(4, 4, 4, 0.34) 34%, rgba(3, 3, 3, 0.82) 72%, var(--background) 100%);
    filter: blur(20px);
    opacity: 0.92;
    pointer-events: none;
}

#background-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: scale(1.04);
    z-index: 0;
    object-fit: cover;
    filter: saturate(0.9) brightness(0.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#background-video.is-ready {
    opacity: 1;
}

body.background-video-disabled #background-video {
    display: none;
}





@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    #background-video {
        display: none;
    }
}

.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, var(--hero-video-overlay-start) 0%, var(--hero-video-overlay-mid) 42%, var(--hero-video-overlay-end) 100%);
}

main {
    position: relative;
    z-index: 2;
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    padding: 0.5rem 2rem;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out, background 0.3s ease;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 20px rgb(0 0 0 / 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}


.main-nav.nav-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.nav-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.nav-links a {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: #fff0;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.5rem;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-speed) ease-in-out;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: #fff0;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    padding: 0.5rem;
}

.nav-dropdown-toggle .arrow-icon {
    width: 12px;
    height: 12px;
    fill: var(--text-color);
    transition: transform 0.3s ease;
}

.nav-dropdown.active .nav-dropdown-toggle .arrow-icon {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    background:
        linear-gradient(180deg, rgba(18, 18, 20, 0.96), rgba(10, 10, 12, 0.98)),
        radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 48%);
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
    color: var(--text-color);
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 2000;
    text-align: center;
}

.nav-dropdown-menu li:hover {
    background-color: rgb(255 137 6 / 0.15);
}

.nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li {
    padding: 0;
    margin: 0;
}

.nav-dropdown-menu a {
    font-family: var(--font-heading);
    color: var(--text-color);
    cursor: pointer;
    padding: 9px 20px;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
    display: block;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: var(--accent-gradient);
    color: #050505;
    opacity: 1;
}




.nav-dropdown-menu a.active {
    opacity: 1;
    color: var(--primary-blue);
    font-weight: 700;
}

.mobile-theme-in-menu {
    display: none;
    position: static;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-toggle {
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.52);
    font-family: "DM Sans", var(--font-heading);
    font-weight: 500;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
    padding: 0.85rem 1.5rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
    border-radius: 0;
    position: relative;
    z-index: 10;
    transition: color 0.2s ease, padding-left 0.22s ease, background 0.2s ease;
}

.mobile-resume-section:last-child .mobile-toggle {
    border-bottom: none;
}

.mobile-toggle:hover {
    color: rgba(255, 255, 255, 0.95);
    padding-left: 1.85rem;
    background: rgba(255, 255, 255, 0.025);
}

.mobile-toggle .arrow-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.mobile-toggle.active .arrow-icon {
    transform: rotate(180deg);
}

.mobile-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    box-sizing: border-box;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid transparent;
    position: static;
    width: 100%;
    z-index: 10;
}

.mobile-language-selector.active .mobile-list {
    border-top-color: rgba(255, 255, 255, 0.06);
    padding: 0.25rem 0;
}

.mobile-list li a {
    display: block !important;
    font-family: "DM Sans", var(--font-heading) !important;
    font-weight: 400 !important;
    font-size: 1.15rem !important;
    letter-spacing: -0.01em !important;
    padding: 0.85rem 1.5rem !important;
    animation: none !important;
    opacity: 1 !important;
    color: rgba(255, 255, 255, 0.58) !important;
    text-decoration: none;
    transition: color 0.18s ease, background 0.18s ease !important;
}

.mobile-list li a:hover,
.mobile-list li a:active {
    color: rgba(255, 255, 255, 0.92) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    padding: calc(env(safe-area-inset-top, 0px) + 0.875rem) calc(3.75rem + 0.5rem) 0.875rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 2;
    background: rgba(11, 11, 13, 0.99);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: 100%;
    padding: 0.5rem 0;
}

.mobile-nav-links a {
    display: block;
    padding: 0.85rem 1.5rem;
    text-decoration: none;
    font-family: "DM Sans", var(--font-heading);
    font-weight: 500;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.52);
    border: none;
    background: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s ease, padding-left 0.22s ease, background 0.2s ease;
    position: relative;
}

.mobile-nav-links a::after {
    content: '→';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%) translateX(0.4rem);
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.22s ease;
}

.mobile-nav-links a:last-child {
    border-bottom: none;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:focus-visible {
    color: rgba(255, 255, 255, 0.95);
    padding-left: 1.85rem;
    background: rgba(255, 255, 255, 0.025);
    border-bottom-color: transparent;
    outline: none;
}

.mobile-nav-links a:hover::after,
.mobile-nav-links a:focus-visible::after {
    opacity: 0.45;
    transform: translateY(-50%) translateX(0);
}

.mobile-nav-footer {
    margin-top: auto;
    padding: 1.5rem 0 calc(env(safe-area-inset-bottom, 0px) + 1.5rem);
    display: flex;
    flex-direction: column;
    gap: 0;
    flex-shrink: 0;
}

.mobile-language-buttons {
    padding: 0 1.5rem 1rem;
}

.mobile-resume-section {
    width: 100%;
}

.mobile-menu-icon {
    display: none;
    cursor: pointer;
    z-index: 1002;
    position: fixed;
    top: calc(env(safe-area-inset-top, 0) + 0.75rem);
    right: calc(env(safe-area-inset-right, 0) + 0.75rem);
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(12, 12, 14, 0.94), rgba(6, 6, 8, 0.98));
    border: 1px solid var(--card-border);
    border-radius: 999px;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.28);
    appearance: none;
    color: var(--primary-blue);
    flex-direction: column;
    gap: 4px;
    line-height: 0;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.mobile-menu-icon .mobile-menu-bar {
    display: block;
    flex: 0 0 auto;
    width: 1.4rem;
    height: 2px;
    background-color: currentColor;
    margin: 0;
    border-radius: 999px;
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.mobile-menu-icon:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 3px;
}

.mobile-menu-icon.change {
    background: color-mix(in srgb, var(--nav-bg) 94%, transparent);
    border-color: color-mix(in srgb, var(--primary-blue) 24%, var(--card-border));
}

.mobile-menu-icon.change .bar1 {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-icon.change .bar2 {
    opacity: 0;
}

.mobile-menu-icon.change .bar3 {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    transition: background 0.38s ease;
    overflow: hidden;
}

.mobile-nav-overlay[aria-hidden="true"] {
    visibility: hidden;
    transition: background 0.38s ease, visibility 0s linear 0.44s;
}

.mobile-nav-overlay[aria-hidden="false"] {
    background: rgba(0, 0, 0, 0.52);
    pointer-events: auto;
    visibility: visible;
}

.mobile-nav-overlay-content {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    height: 100dvh;
    width: min(420px, 96vw);
    background: linear-gradient(160deg, rgba(13, 13, 15, 0.99), rgba(7, 7, 9, 0.995));
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    border-top: 3px solid var(--primary-blue);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    transform: translateX(110%);
    transition: transform 0.44s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -32px 0 80px rgba(0, 0, 0, 0.5);
}

.mobile-nav-overlay[aria-hidden="false"] .mobile-nav-overlay-content {
    transform: translateX(0);
}


.container {
    width: 90%;
    max-width: 72rem;
    margin: 0 auto;
    padding-top: 80px;
    padding-bottom: 100px;
    scroll-margin-top: 5rem;
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    padding: clamp(6rem, 11vh, 7.5rem) 2rem clamp(5rem, 12vh, 8rem);
    box-sizing: border-box;
}

body:not(.project-case-page) .hero {
    align-items: center;
    padding-top: clamp(5rem, 8.5vh, 6.2rem);
    padding-bottom: clamp(3.5rem, 8vh, 5.5rem);
}

body:not(.project-case-page) .hero-stage {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(3rem, 5.5vw, 5.5rem);
    width: min(72rem, 100%);
    position: relative;
}

.hero-portrait {
    flex: 0 0 clamp(14rem, 21vw, 19rem);
    aspect-ratio: 1 / 1;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 28px 56px rgba(0, 0, 0, 0.55),
        0 8px 20px rgba(0, 0, 0, 0.35);
    position: relative;
    transition: transform 0.82s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.62s ease;
}

.hero-portrait picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    user-select: none;
    -webkit-user-drag: none;
}


body:not(.project-case-page) .hero-copy {
    flex: 1 1 0;
    min-width: 0;
    max-width: 34rem;
    position: relative;
    text-align: left;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    overflow: visible;
    transition: opacity 0.62s ease;
}

body:not(.project-case-page) .hero-copy>* {
    transition: opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1), transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

body:not(.project-case-page) .hero-copy>:nth-child(1) {
    transition-delay: 0.12s;
}

body:not(.project-case-page) .hero-copy>:nth-child(2) {
    transition-delay: 0.2s;
}

body:not(.project-case-page) .hero-copy>:nth-child(3) {
    transition-delay: 0.28s;
}

body:not(.project-case-page) .hero-copy>:nth-child(4) {
    transition-delay: 0.36s;
}

body:not(.project-case-page) .hero-copy h1 {
    font-family: "Bebas Neue", var(--font-heading);
    border-right: 0;
    white-space: normal;
    overflow: visible;
    animation: none;
    font-size: clamp(3rem, 5.4vw, 4.9rem);
    line-height: 0.94;
    letter-spacing: 0.02em;
    text-wrap: balance;
}

body:not(.project-case-page) .hero-job-title {
    font-size: clamp(1.08rem, 1.6vw, 1.45rem);
    margin: 0.3rem 0 0;
    max-width: 30rem;
}

body:not(.project-case-page) .hero-description {
    font-size: clamp(1rem, 1.18vw, 1.12rem);
    line-height: 1.72;
    max-width: 33rem;
    margin: 0;
}

body:not(.project-case-page) .hero-cta-dropdown {
    margin-top: 0.55rem;
}












.hero>*:not(.hero-media) {
    position: relative;
    z-index: 1;
}

.hero-card {
    position: relative;
    max-width: 56rem;
    width: 100%;
    border-radius: 24px;
    padding: 2px;
    background: conic-gradient(from var(--card-angle, 0deg), transparent 25%, var(--hero-glow-color) 50%, transparent 75%);
    animation: rotate-border 6s linear infinite;
    transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.72s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;

    box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.6), 0 0 20px -4px var(--hero-glow-color);
}

.hero-card:hover {
    box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.6), 0 0 20px -4px var(--hero-glow-color);
}

@property --card-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotate-border {
    to {
        --card-angle: 360deg;
    }
}

.hero-card>*:not(.hero-card-accent) {
    position: relative;
    z-index: 1;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 22px;
    background: var(--card-inner-bg);
    z-index: 0;
}

.hero-card-accent {
    display: none;
}

.hero-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2.5rem 2.5rem 1.5rem;
}

.hero-image {
    width: 14rem;
    height: 14rem;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.08s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.hero-image picture,
.hero-image img {
    width: 100%;
    height: 100%;
    border-radius: 19px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.4, 0, .2, 1), filter 0.6s ease;
    filter: brightness(0.95);
}

.hero-card:hover .hero-image img {
    transform: none;
    filter: brightness(0.95);
}

.hero-text {
    width: 100%;
    max-width: 29.5rem;
    overflow: hidden;
    text-align: left;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-text>* {
    transition: opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1), transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-text>:nth-child(1) {
    transition-delay: 0.14s;
}

.hero-text>:nth-child(2) {
    transition-delay: 0.2s;
}

.hero-text>:nth-child(3) {
    transition-delay: 0.26s;
}

.hero-text>:nth-child(4) {
    transition-delay: 0.32s;
}

html.hero-reveal-pending body:not(.project-case-page) .hero-card {
    opacity: 0;
    transform: translate3d(0, 1.5rem, 0) scale(0.985);
}

html.hero-reveal-pending body:not(.project-case-page) .hero-image,
html.hero-reveal-pending body:not(.project-case-page) .hero-text>* {
    opacity: 0;
    transform: translate3d(0, 1rem, 0);
}

html.hero-reveal-pending body:not(.project-case-page) .hero-portrait {
    opacity: 0;
    transform: translate3d(1.5rem, 0, 0);
}

html.hero-reveal-pending body:not(.project-case-page) .hero-copy>* {
    opacity: 0;
    transform: translate3d(-1rem, 0.5rem, 0);
}

@media (max-width: 700px) {
    body:not(.project-case-page) .hero {
        min-height: auto;
        align-items: flex-start;
        padding: max(5.25rem, calc(env(safe-area-inset-top, 0) + 4.75rem)) 1rem clamp(2.8rem, 7vh, 3.6rem);
        overflow: clip;
    }

    body:not(.project-case-page) .hero-stage {
        flex-direction: column-reverse;
        align-items: flex-start;
        width: 100%;
        gap: clamp(1.2rem, 3vh, 2rem);
        margin: 0 auto;
    }

    .hero-portrait {
        flex: 0 0 auto;
        width: clamp(9rem, 50vw, 13rem);
        aspect-ratio: 1 / 1;
    }

    html.hero-reveal-pending body:not(.project-case-page) .hero-portrait {
        transform: translateY(-1rem) scale(0.96);
    }

    body:not(.project-case-page) .hero-copy {
        width: 100%;
        max-width: 100%;
        text-align: left;
        align-items: flex-start;
    }

    body:not(.project-case-page) .hero-copy h1 {
        font-size: clamp(2.35rem, 12vw, 3.35rem);
        line-height: 0.92;
        letter-spacing: 0.025em;
    }

    body:not(.project-case-page) .hero-job-title,
    body:not(.project-case-page) .hero-description {
        max-width: 100%;
    }

    body:not(.project-case-page) .hero-job-title {
        margin-top: 0.15rem;
        font-size: clamp(0.98rem, 4.6vw, 1.16rem);
        line-height: 1.35;
    }

    body:not(.project-case-page) .hero-description {
        font-size: clamp(0.88rem, 3.6vw, 0.97rem);
        line-height: 1.78;
        opacity: 0.82;
        max-width: 100%;
    }

    body:not(.project-case-page) .hero-cta-dropdown {
        margin-top: 0.35rem;
        align-self: flex-start;
    }

    body:not(.project-case-page) .hero-cta-dropdown .cta-dropdown-toggle {
        width: auto;
        max-width: 100%;
    }

    .hero-card-inner {
        flex-direction: column;
        text-align: center;
        gap: clamp(1rem, 2.4vh, 1.5rem);
        padding: clamp(1.4rem, 2.8vh, 2rem) clamp(1rem, 4.5vw, 1.5rem) clamp(1rem, 2.2vh, 1.15rem);
    }

    .hero-image {
        width: clamp(7.25rem, 29vw, 10rem);
        height: clamp(7.25rem, 29vw, 10rem);
    }

    .hero-text {
        align-items: center;
        text-align: center;
    }

    .hero .hero-text h1 {
        font-size: clamp(1.55rem, 8vw, 1.8rem);
        max-width: 100%;
        white-space: normal;
        overflow: visible;
        overflow-wrap: normal;
        word-break: keep-all;
        text-wrap: balance;
        line-height: 1.1;
        border-right: 0;
        animation: none;
    }

    .hero-job-title {
        font-size: clamp(1rem, 4vw, 1.08rem);
    }

    .hero-description {
        font-size: clamp(0.92rem, 3.5vw, 1rem);
        line-height: 1.58;
    }
}

.hero-text h1 {
    display: inline-block;
    border-right: 2px solid var(--primary-blue);
    max-width: 100%;
    font-size: 2.5rem;
    line-height: 1.05;
    white-space: nowrap;
    overflow: hidden;
    margin: 0;
    animation: typing 2s steps(18, end), blink-caret 0.75s step-end infinite;
}

.hero-text .hero-name-part {
    display: inline-block;
}

@media (max-width: 430px) {
    .hero .hero-text h1 {
        font-size: clamp(1.45rem, 8.5vw, 1.7rem);
    }

    .hero .hero-text .hero-name-part {
        display: block;
    }
}

@keyframes typing {
    from {
        max-width: 0;
    }

    to {
        max-width: 18ch;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: #fff0;
    }

    50% {
        border-color: var(--primary-blue);
    }
}

.hero-job-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 1.2rem 0;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
}

h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.8rem;
}

h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
    max-width: 47rem;
    margin: 0 auto;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow var(--transition-speed), border-color var(--transition-speed);
}

.video-thumbnail:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.video-thumbnail picture,
.video-thumbnail img {
    width: 100%;
    display: block;
    height: auto;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(180deg, rgba(14, 16, 22, 0.88), rgba(6, 7, 10, 0.94));
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.play-button::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 26px;
    border-color: #fff0 #fff0 #fff0 var(--primary-blue);
    margin-left: 5px;
}


.video-thumbnail:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1003;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.82);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal[aria-hidden="true"] {
    visibility: hidden;
}

.modal[aria-hidden="false"] {
    visibility: visible;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal.is-covered {
    pointer-events: none;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 56rem;
    transition: transform 0.3s ease;
    transform: scale(0.95);
}

.modal.active .modal-content {
    transform: scale(1);
}

.video-responsive-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.close-button {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 31px;
    font-weight: 700;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 20;
}

#diagram-modal .modal-content,
#image-modal .modal-content {
    max-width: 70rem;
}

#diagram-modal img,
#image-modal img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    max-height: 90vh;
    object-fit: contain;
}

#image-modal,
#diagram-modal {
    z-index: 1004;
}

.timeline-wrapper {
    position: relative;
    max-width: 44rem;
    margin: 0 auto;
}

.timeline-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 3px;
    background: var(--accent-gradient);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 50px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 8px;
    width: 15px;
    height: 15px;
    background: var(--accent-gradient);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.15);
    animation: pulse-dot 3s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.15);
    }

    50% {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 255, 255, 0.2);
    }
}

@keyframes hero-glow {
    0% {
        box-shadow: 0 0 30px 8px rgba(255, 255, 255, 0.15), 0 0 60px 15px rgba(255, 255, 255, 0.05);
    }

    100% {
        box-shadow: 0 0 40px 12px rgba(255, 255, 255, 0.2), 0 0 80px 20px rgba(255, 255, 255, 0.08);
    }
}

.timeline-content {
    background: var(--card-bg-performant);
    border-radius: 12px;
    padding: 2rem;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), border-color var(--transition-speed);
    box-shadow: 0 4px 20px rgb(0 0 0 / 0.2);
    text-align: left;
    overflow-wrap: break-word;
    word-wrap: break-word;
    border: 1px solid var(--card-border);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-glow);
    border-color: rgba(255, 255, 255, 0.12);
}

.timeline-content h3 {
    margin-bottom: 4px;
}

.timeline-location {
    font-style: italic;
    font-size: 0.9em;
    opacity: 0.8;
    margin: 0 0 15px 0;
}

.timeline-content .degree,
.timeline-content .position {
    font-style: normal;
    font-weight: 700;
    display: block;
    margin-top: 0;
    margin-bottom: 15px;
}

.timeline-note {
    font-style: italic;
    color: #aaa;
    font-size: 0.9em;
    margin: 4px 0 8px;
}

.timeline-content .date {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
    display: block;
}

.timeline-content ul {
    padding-left: 20px;
    margin: 0;
}

.timeline-content ul li {
    opacity: 0.9;
    line-height: 1.6;
}

.timeline-content ul li:not(:last-child) {
    margin-bottom: 10px;
}

.timeline-content-with-doc {
    position: relative;
    padding-bottom: 6rem;
}

.experience-dropdown-container {
    position: absolute;
    right: 2rem;
    bottom: 1.25rem;
    display: inline-block;
}

.experience-dropdown-container .cta-dropdown-menu {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    margin-bottom: 5px;
    width: max-content;
    min-width: 160px;
    background: linear-gradient(145deg, rgb(30 30 30 / 0.98), rgb(45 45 45 / 0.98));
    border: 1px solid rgb(255 255 255 / 0.15);
    box-shadow: 0 8px 30px rgb(0 0 0 / 0.5);
    border-radius: 8px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.experience-dropdown-container.active .cta-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.experience-dropdown-container .cta-dropdown-menu a {
    font-family: var(--font-heading);
    color: var(--text-color);
    text-decoration: none;
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    text-align: left;
}

.experience-dropdown-container .cta-dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    opacity: 1;
}

.experience-dropdown-container.active .cta-dropdown-menu::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgb(45 45 45 / 0.98) transparent transparent transparent;
}





.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.skill-card {
    width: 26rem;
    max-width: 100%;
    background: var(--card-bg-performant);
    border-radius: 12px;
    padding: 2rem;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), border-color var(--transition-speed);
    box-shadow: 0 4px 20px rgb(0 0 0 / 0.2);
    border: 1px solid var(--card-border);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-glow);
    border-color: rgba(255, 255, 255, 0.15);
}

.skill-card h3 {
    margin-top: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.skill-card p {
    margin-bottom: 0;
}

.github-stats-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.github-card {
    width: 100%;
    max-width: 500px;
    padding: 2rem;
}

.github-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.github-header svg {
    color: var(--text-color);
    flex-shrink: 0;
}

.github-header h3 {
    margin: 0;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.github-live-badge {
    color: #22c55e;
    font-size: 0.6rem;
    animation: pulse-badge 2s infinite;
}

.github-live-badge.is-cached {
    color: #f59e0b;
}

.github-live-badge.is-unavailable {
    color: #ef4444;
}

@keyframes pulse-badge {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.github-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    justify-content: center;
}

.stat-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.stat-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
    opacity: 1;
}

.stat-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-plus {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
    text-align: center;
}

.github-languages {
    margin-bottom: 1.5rem;
}

.language-bar {
    display: flex;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
}

.language-segment {
    height: 100%;
    transition: width 0.3s ease;
}

.language-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.language-labels.is-muted {
    opacity: 0.8;
}

.lang-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 0.35rem;
    vertical-align: middle;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: color 0.2s ease, gap 0.2s ease;
}

.github-link:hover {
    color: var(--primary-hover);
    gap: 0.75rem;
}

.github-link svg {
    transition: transform 0.2s ease;
}

.github-link:hover svg {
    transform: translateX(4px);
}

@media (max-width: 480px) {
    .github-card {
        padding: 1.5rem;
    }

    .github-stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .language-labels {
        gap: 0.5rem;
        font-size: 0.75rem;
    }
}

.faq-accordion {
    max-width: 47rem;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 18px 10px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
    transition: transform var(--transition-speed) ease, background-color 0.2s ease;
    border-radius: 8px;
    gap: 1rem;
    white-space: normal;
    overflow-wrap: anywhere;
}

.faq-question>.lang {
    flex: 1 1 auto;
    min-width: 0;
}

.faq-question:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.02);
}

.faq-question.active {
    border-left: 3px solid var(--primary-blue);
    padding-left: 12px;
}

.faq-question i {
    font-style: normal;
    font-weight: 700;
}

.faq-icon {
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.faq-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-blue);
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer[aria-hidden="true"] {
    visibility: hidden;
}

.faq-answer[aria-hidden="false"] {
    visibility: visible;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    margin: 0;
    line-height: 1.7;
    color: var(--text-color);
}

.faq-card-shell {
    width: 100%;
    max-width: 65rem;
    margin: 0 auto;
    padding: 2.5rem;
}

.faq-accordion-wide {
    max-width: 100%;
}

.faq-video-link {
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: underline;
}

.contact-form-card {
    margin: 0 auto;
    width: 100%;
    max-width: 32rem;
    padding: 2.5rem 2rem;
}

.contact-section {
    text-align: center;
    padding-top: 40px;
}

.contact-section h3 {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    justify-items: center;
    padding: 0 1rem;
}

.flip-card {
    background: var(--card-bg-performant);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), border-color var(--transition-speed);
    border: 1px solid var(--card-border);
    width: 100%;
    max-width: 280px;
}

.flip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-glow);
    border-color: rgba(255, 255, 255, 0.15);
}




.flip-card-front,
.flip-card-back {
    background: transparent;
    padding: 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.flip-card-front {
    padding: 2.25rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.flip-card-back {
    min-height: 5rem;
    font-size: 1rem;
    line-height: 1.6;
    padding: 1.75rem 2rem;
}

.flip-card-back a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.8rem;
    white-space: normal;
    word-break: break-all;
    overflow-wrap: break-word;
    display: block;
    transition: transform 0.2s ease;
}

.flip-card-back a:hover {
    transform: scale(1.05);
}

.flip-card-front svg {
    width: 40px;
    height: 40px;
    fill: var(--primary-blue);
    margin-bottom: 1rem;
}

.flip-card-front .linkedin-logo {
    width: 45px;
    height: 45px;
}

.flip-card-front h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin: 0;
}

.contact-form-section {
    padding-top: 80px;
}

#contact-form {
    max-width: 28rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.form-group input,
.form-group textarea {
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1), 0 0 15px rgba(255, 255, 255, 0.08);
}


.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--accent-gradient);
    border: none;
    color: var(--btn-text);
    text-decoration: none;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 180px;
    text-align: center;
}

button:hover,
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgb(0 0 0 / 0.3);
    text-decoration: none;
}

.submit-btn:disabled {
    background: var(--accent-gradient);
    border-color: #666;
    color: var(--btn-text);
    cursor: not-allowed;
}

.submit-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--btn-text);
}



#form-status {
    text-align: center;
    margin-top: 1rem;
    font-weight: 700;
    min-height: 1.6em;
}

#form-status .success {
    color: #22c55e;
}

#form-status .error {
    color: #ef4444;
}

.hero-cta-dropdown {
    position: relative;
    margin-top: 2rem;
    display: inline-block;
}

.hero-cta-dropdown .cta-dropdown-toggle {
    background: linear-gradient(rgb(12 12 12 / 0.94), rgb(6 6 6 / 0.96)) padding-box, var(--accent-gradient) border-box;
    border: 2px solid #fff0;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), background-color var(--transition-speed), border-color var(--transition-speed);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.hero-cta-dropdown .cta-dropdown-toggle>span {
    flex: 1 1 auto;
    text-align: center;
}

.hero-cta-dropdown .cta-dropdown-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgb(255 255 255 / 0.2), 0 0 20px rgb(200 200 200 / 0.15);
}

.hero-cta-dropdown .cta-dropdown-toggle .arrow-icon {
    width: 16px;
    height: 16px;
    fill: #fff;
    transition: transform 0.3s ease;
}

.hero-cta-dropdown.active .cta-dropdown-toggle .arrow-icon {
    transform: rotate(180deg);
}

.hero-cta-dropdown .cta-dropdown-menu {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    width: max-content;
    min-width: 100%;
    background: linear-gradient(145deg, rgb(30 30 30 / 0.95), rgb(45 45 45 / 0.95));
    border: 1px solid rgb(255 255 255 / 0.1);
    box-shadow: 0 8px 30px rgb(0 0 0 / 0.5);
    border-radius: 8px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform-origin: bottom center;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    transform: translateX(-50%) translateY(10px);
}

.hero-cta-dropdown.active .cta-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.hero-cta-dropdown .cta-dropdown-menu a {
    font-family: var(--font-heading);
    color: var(--text-color);
    text-decoration: none;
    display: block;
    padding: 9px 20px;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
    white-space: nowrap;
    text-align: center;
}

.hero-cta-dropdown .cta-dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    opacity: 1;
}




.main-footer {
    text-align: center;
    padding: 3rem 2rem 2rem;
    border-top: 1px solid var(--card-border);
    margin-top: 4rem;
    padding-top: 0;
}

.tech-stack-section {
    margin-bottom: 2rem;
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.tech-stack-card {
    max-width: 600px;
    width: 100%;
    padding: 2rem;
    text-align: center;
    background: var(--card-bg-performant);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgb(0 0 0 / 0.2);
    border: 1px solid var(--card-border);
    overflow: hidden;
}

.tech-stack-card:hover {
    box-shadow: var(--card-hover-glow);
    border-color: rgba(255, 255, 255, 0.15);
}

.tech-stack-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.tech-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;

    -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.tech-scroll-wrapper {
    display: flex;
    width: max-content;
    animation: scroll-horizontal 8s linear infinite;
}

.tech-scroll-track {
    display: flex;
    gap: 4rem;
    padding-right: 4rem;
    flex-shrink: 0;
}

@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: transform var(--transition-speed);
    min-width: 80px;
}

.tech-item svg {
    width: 36px;
    height: 36px;
    transition: filter var(--transition-speed);

    filter: grayscale(100%) brightness(200%) contrast(100%);
}

.tech-item:hover {
    transform: translateY(-3px);
}

.tech-item:hover svg {
    filter: grayscale(100%) brightness(250%) contrast(120%);
}

.tech-item span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.9;
    white-space: nowrap;
}

.footer-legal {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.footer-legal p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

@media screen and (min-width: 990px) {
    html {

        font-size: calc(12.96px + 3.24 * ((100vw - 990px) / (1728 - 990)));
    }
}

@media screen and (min-width: 2520px) {
    html {
        font-size: 17px;
    }
}

@media (max-width: 691px) {
    section {
        padding: 4rem 1rem;
    }
}

@media screen and (min-width: 432px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media screen and (min-width: 692px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
        gap: 2rem;
    }
}

@media screen and (max-width: 921px) {
    body:not(.project-case-page) .hero {
        align-items: center;
        padding-top: clamp(4.6rem, 8vh, 5.6rem);
    }

    body:not(.project-case-page) .hero-stage {
        gap: clamp(2rem, 3.5vw, 3.5rem);
    }

    .hero-portrait {
        flex: 0 0 clamp(13rem, 30vw, 17rem);
    }

    body:not(.project-case-page) .hero-copy {
        max-width: min(28rem, 48vw);
    }

    .main-nav {
        display: none;
    }

    .video-overlay {
        background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.12) 42%, var(--hero-video-overlay-end) 100%);
    }

    .hero-media {
        background:
            radial-gradient(circle at 20% 12%, var(--hero-video-glow), transparent 35%),
            radial-gradient(circle at 80% 12%, var(--hero-video-soft-glow), transparent 30%),
            linear-gradient(180deg, transparent 0%, var(--hero-video-shadow) 100%);
    }

    #background-video {
        transform: scale(1.15) translateY(-3%);
        transform-origin: center top;
    }

    body::before {
        opacity: 0.35;
    }

    .mobile-menu-icon {
        display: inline-flex;
    }

    .mobile-theme-in-menu {
        display: flex;
    }

    .hero {
        min-height: 100svh;
        align-items: flex-start;
        padding: clamp(4.2rem, 7.5vh, 5.15rem) 1rem clamp(3.4rem, 7vh, 4.8rem);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-text {
        text-align: left;
    }

    .mobile-language-buttons {
        display: flex;
        gap: 0.5rem;
        justify-content: flex-start;
    }

    .mobile-language-buttons .language-item {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: rgba(255, 255, 255, 0.6);
        font-family: "DM Sans", var(--font-heading);
        font-weight: 600;
        font-size: 0.72rem;
        letter-spacing: 0.06em;
        padding: 0.3rem 0.65rem;
        border-radius: 4px;
        cursor: pointer;
        transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

    .mobile-language-buttons .language-item:hover {
        background: rgba(255, 255, 255, 0.12);
        color: rgba(255, 255, 255, 0.9);
    }

    .mobile-language-buttons .language-item.active {
        background: var(--primary-blue);
        border-color: var(--primary-blue);
        color: #000;
        font-weight: 700;
    }

    .timeline-wrapper::before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 30px;
        margin-bottom: 30px;
    }

    .timeline-item::before {
        left: 4px;
        width: 13px;
        height: 13px;
    }

    .timeline-content {
        padding: 1.5rem 1rem;
    }

    .timeline-content-with-doc {
        padding-bottom: 6rem;
    }

    .experience-doc-link {
        right: 1rem;
    }

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

    @media (min-width: 450px) {
        .contact-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
}

@media screen and (max-width: 700px) {
    body:not(.project-case-page) .hero-copy {
        max-width: 100%;
        width: 100%;
    }
}

@media screen and (min-width: 701px) and (max-width: 921px) and (max-height: 820px) {
    body:not(.project-case-page) .hero-stage {
        gap: clamp(1.8rem, 3vw, 3rem);
    }

    .hero-portrait {
        flex: 0 0 clamp(12rem, 26vw, 16rem);
    }

    body:not(.project-case-page) .hero-copy {
        max-width: min(30rem, 50vw);
    }

    .hero {
        padding-top: max(4rem, calc(env(safe-area-inset-top, 0) + 3.5rem));
        padding-bottom: clamp(2.2rem, 5vh, 3.25rem);
    }

    .hero-card {
        max-width: 100%;
    }

    .hero-card-inner {
        gap: clamp(0.9rem, 2vh, 1.35rem);
        padding: clamp(1.2rem, 2.4vh, 1.7rem) clamp(1rem, 4vw, 1.35rem) clamp(1rem, 2vh, 1.2rem);
    }

    .hero-image {
        width: clamp(6.8rem, 23vw, 8.6rem);
        height: clamp(6.8rem, 23vw, 8.6rem);
    }

    .hero .hero-text h1 {
        font-size: clamp(1.35rem, 5.6vw, 1.65rem);
    }

    .hero-job-title {
        font-size: clamp(0.96rem, 3.5vw, 1.02rem);
    }

    .hero-description {
        font-size: clamp(0.88rem, 3vw, 0.96rem);
        line-height: 1.5;
    }

    .hero-cta-dropdown {
        width: 100%;
    }

    .cta-dropdown-toggle {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 700px) {
    body:not(.project-case-page) .hero-stage {
        width: min(100%, 22rem);
        align-items: center;
        margin-inline: auto;
    }

    body:not(.project-case-page) .hero-copy {
        width: 100%;
        text-align: left;
        align-items: flex-start;
    }

    body:not(.project-case-page) .hero-job-title,
    body:not(.project-case-page) .hero-description {
        width: 100%;
    }

    body:not(.project-case-page) .hero-cta-dropdown {
        align-self: flex-start;
        width: auto;
    }

    body:not(.project-case-page) .hero-cta-dropdown .cta-dropdown-toggle {
        width: auto;
        min-height: unset;
        justify-content: center;
        padding: 0.75rem 1.5rem;
        border-radius: 0.95rem;
        font-size: 0.98rem;
        line-height: 1.3;
    }

    body:not(.project-case-page) .hero-cta-dropdown .cta-dropdown-toggle>span {
        text-align: center;
        padding-inline: 0.25rem;
    }
}

@media screen and (max-width: 768px) {
    .tech-icons {
        gap: 1.5rem;
    }

    .tech-item svg {
        width: 28px;
        height: 28px;
    }

    .tech-item span {
        font-size: 0.75rem;
    }
}

@media (max-width: 700px) {
    .contact-form-card {
        padding: 1.75rem 1rem;
    }
}

@media (max-width: 480px) {
    .tech-icons {
        gap: 1.5rem;
    }

    .tech-item {
        min-width: 70px;
    }

    .tech-item svg {
        width: 28px;
        height: 28px;
    }

    .tech-item span {
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 342px) {
    h1 {
        font-size: 1.6rem;
    }
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 58rem;
    }

    .projects-grid .project-card:nth-child(4) {
        grid-column: auto;
    }
}

.project-card {
    background: var(--card-bg-performant);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), border-color var(--transition-speed);
    min-height: 450px;
    border: 1px solid var(--card-border);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-glow);
    border-color: rgba(255, 255, 255, 0.15);
}

.project-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(.4, 0, .2, 1), filter 0.5s ease;
}

.project-card:hover .project-card-image img {
    transform: scale(1.03);
    filter: brightness(1.05);
}

.project-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.project-card-content h3 {
    margin-top: 0;
    font-size: 1.1rem;
}

.project-card-content p {
    opacity: 0.9;
    flex-grow: 1;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.project-card-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.project-card .submit-btn {
    font-size: 0.85rem;
    padding: 0.5rem 0.9rem;
    min-width: 0;
}

.submit-btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.submit-btn.submit-btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    text-decoration: none;
    padding: calc(0.65rem - 2px) calc(1rem - 2px);
}

.submit-btn.submit-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}


/* Featured Project Section */
.featured-project-container {
    margin-bottom: 1.5rem;
    max-width: 54.5rem;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.featured-project {
    display: flex;
    flex-direction: column;
    background: var(--card-bg-performant);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.featured-project:hover {
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.36);
}

.featured-project-image {
    width: 100%;
    position: relative;
    overflow: hidden;
    aspect-ratio: var(--featured-project-aspect-ratio, 16/5);
    background: var(--card-bg-performant);
}

.featured-project-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.26));
    pointer-events: none;
}

.featured-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
}

.featured-project:hover .featured-project-image img {
    transform: scale(1.02);
}

.featured-project-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 2.15rem;
    height: 2.15rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.56);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    transform: translateY(-50%);
}

.featured-project-arrow.prev {
    left: -2.9rem;
}

.featured-project-arrow.next {
    right: -2.9rem;
}

.featured-project-arrow:hover,
.featured-project-arrow:focus-visible {
    transform: translateY(calc(-50% - 1px));
    background: rgba(0, 0, 0, 0.72);
    border-color: rgba(255, 255, 255, 0.28);
    outline: none;
}

.featured-project-arrow svg {
    width: 17px;
    height: 17px;
    pointer-events: none;
}

.featured-project-arrow path {
    fill: currentColor;
}

.featured-project-content {
    padding: 1.05rem 1.3rem 1.1rem;
    display: flex;
    flex-direction: column;
    background: transparent;
}

.featured-project-content h3 {
    font-size: 1.23rem;
    margin-bottom: 0.45rem;
    line-height: 1.2;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: var(--primary-blue);
}

.featured-project-content p {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 1.05rem;
    opacity: 0.85;
    color: var(--text-color);
}

.featured-project-content .submit-btn {
    padding: 0.76rem 1.22rem;
    font-size: 0.92rem;
}

.project-thumbnails {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
    max-width: 54.5rem;
    margin: 0 auto;
}

@media (max-width: 599px) {
    .project-thumbnails .project-thumbnail:last-child:nth-child(3) {
        grid-column: 1 / -1;
        max-width: calc(50% - 0.35rem);
        justify-self: center;
    }
}

@media (min-width: 600px) {
    .project-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }
}

.project-thumbnail {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 16/9;
    position: relative;
    background: var(--card-bg-performant);
    padding: 0;
    width: 100%;
    appearance: none;
    text-align: left;
    color: inherit;
}

.project-thumbnail:hover,
.project-thumbnail:focus-visible {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-glow);
    outline: none;
}

.project-thumbnail.active {
    border-color: var(--primary-blue);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
}

.project-thumbnail:hover img,
.project-thumbnail:focus-visible img,
.project-thumbnail.active img {
    opacity: 1;
    filter: brightness(1.1);
}

.project-thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 55%);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.thumbnail-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 7px 4px;
    font-size: 0.67rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    z-index: 2;
    transform: translateY(0);
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: none;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}



@media (max-width: 560px) {
    .featured-project-image {
        aspect-ratio: var(--featured-project-mobile-aspect-ratio, 16/9);
    }

    .featured-project-content {
        padding: 1rem 1.1rem 1rem;
    }

    .featured-project-content h3 {
        font-size: 1.2rem;
    }

    .featured-project-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .featured-project-arrow {
        display: none;
    }
}

@media (min-width: 700px) and (max-height: 820px) {
    #projekte h2 {
        margin-bottom: 1.15rem;
    }

    .featured-project-container {
        max-width: 46.8rem;
        margin-bottom: 0.9rem;
    }

    .featured-project-image {
        aspect-ratio: 16/4.8;
    }

    .featured-project-arrow {
        width: 1.95rem;
        height: 1.95rem;
    }

    .featured-project-arrow.prev {
        left: -2.5rem;
    }

    .featured-project-arrow.next {
        right: -2.5rem;
    }

    .featured-project-arrow svg {
        width: 15px;
        height: 15px;
    }

    .featured-project-content {
        padding: 0.86rem 1.04rem 0.94rem;
    }

    .featured-project-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.32rem;
    }

    .featured-project-content p {
        font-size: 0.84rem;
        line-height: 1.42;
        margin-bottom: 0.8rem;
    }

    .featured-project-content .submit-btn {
        padding: 0.68rem 1.02rem;
        font-size: 0.84rem;
    }

    .project-thumbnails {
        max-width: 46.8rem;
        gap: 0.56rem;
    }

    .project-thumbnail {
        aspect-ratio: 16/8;
    }

    .thumbnail-title {
        font-size: 0.62rem;
        padding: 6px 4px;
    }
}

    @media (prefers-reduced-motion: reduce) {
    .featured-project,
    .featured-project-image img,
    .hero-card,
    .hero-stage,
    .hero-image,
    .hero-portrait,
    .hero-text>*,
    .hero-copy>*,
    .featured-project-arrow,
    .project-thumbnail,
    .project-thumbnail img {
        transition: none;
    }

    html.hero-reveal-pending body:not(.project-case-page) .hero-card,
    html.hero-reveal-pending body:not(.project-case-page) .hero-portrait,
    html.hero-reveal-pending body:not(.project-case-page) .hero-image,
    html.hero-reveal-pending body:not(.project-case-page) .hero-text>*,
    html.hero-reveal-pending body:not(.project-case-page) .hero-copy>* {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

.faq-answer .visa-guide-container {
    padding: 15px 5px;
    text-align: left;
}

.faq-answer .guide-intro {
    margin-bottom: 2.5rem;
}

.faq-answer .guide-title {
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.faq-answer .guide-intro p {
    padding: 0;
    font-size: 1.05em;
    opacity: 0.9;
}

.faq-answer .visa-options-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-answer .visa-option-card {
    background: linear-gradient(var(--background), var(--background)) padding-box, var(--accent-gradient) border-box;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 1.5rem;
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-answer .visa-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.faq-answer .visa-option-card h5 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.2em;
    font-family: var(--font-heading);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: #fff0;
}

.faq-answer .card-step {
    margin-bottom: 1.5rem;
}

.faq-answer .card-step:last-child {
    margin-bottom: 0;
}

.faq-answer .card-step strong {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 1em;
    color: var(--text-color);
    opacity: 0.95;
}

.faq-answer .card-step p {
    margin: 0;
    padding: 0;
    opacity: 0.8;
    font-size: 0.95em;
}

.faq-answer .timeline-info {
    font-style: italic;
    opacity: 0.7 !important;
    font-size: 0.9em !important;
}

.faq-answer .timeline-emphasis {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25em !important;
    font-weight: 700;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-color);
    opacity: 1;
}

.faq-answer .guide-section {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.faq-answer .guide-section-title {
    font-size: 1.2em;
    margin-top: 0;
    margin-bottom: 1rem;
}

.faq-answer .zero-risk-box {
    background-color: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--primary-blue);
    padding: 1rem 1.5rem;
    margin: 0;
    border-radius: 0 4px 4px 0;
}

.faq-answer .zero-risk-box p {
    margin: 0;
    padding: 0;
    font-style: italic;
}

.faq-answer .responsibility-text {
    padding: 0;
    margin-top: 1rem;
    opacity: 0.9;
}

.faq-answer .guide-download-box {
    text-align: center;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.faq-answer .source-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-answer .source-list li {
    margin-bottom: 0.5rem;
}

.faq-answer .source-list a {
    color: var(--primary-blue);
    text-decoration: underline;
    opacity: 0.9;
    font-size: 0.9em;
}

.faq-answer .source-list a:hover {
    opacity: 1;
}

@media (min-width: 768px) {
    .faq-answer .visa-options-wrapper {
        flex-direction: row;
    }
}

.modal-content h3,
.modal-content h4 {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: var(--text-color);
}

.modal-content p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.7;
}

.project-modal .modal-content {
    max-width: 50rem;
    background: var(--background);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.project-modal .close-button {
    top: 10px;
    right: 15px;
    font-size: 24px;
    position: absolute;
}

.project-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-modal-image-wrapper {
    background: #111;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 40vh;
}

.project-modal-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}

.project-modal-slide.active {
    opacity: 1;
    visibility: visible;
}

.project-modal-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}

.project-modal-slide:focus-visible {
    outline-offset: -4px;
}

.project-modal-description {
    position: relative;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-modal-description-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-modal-description-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-modal-description h4 {
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
}

.project-modal-description p {
    opacity: 0.9;
    margin: 0;
    flex-grow: 1;
}

.project-modal-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}

.project-modal-arrow {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 50%;
    padding: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-modal-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-blue);
    transform: scale(1.1);
}

.project-modal-arrow svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.project-modal-arrow path {
    fill: var(--primary-blue);
}

.project-modal-counter {
    font-family: var(--font-heading);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.modal-lang-switcher {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 15;
}

.modal-lang-switcher button.modal-language-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 4px 8px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, color 0.2s ease;
    opacity: 0.7;
}

.modal-lang-switcher button.modal-language-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-blue);
    opacity: 1;
}

.modal-lang-switcher button.modal-language-item.active {
    background: var(--primary-blue);
    color: var(--background);
    border-color: var(--primary-blue);
    opacity: 1;
}

.project-report-dropdown {
    position: relative;
    display: inline-block;
}

.project-report-dropdown .cta-dropdown-menu {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    margin-bottom: 10px;
    width: max-content;
    min-width: 160px;
    background: linear-gradient(145deg, rgb(30 30 30 / 0.98), rgb(45 45 45 / 0.98));
    border: 1px solid rgb(255 255 255 / 0.15);
    box-shadow: 0 8px 30px rgb(0 0 0 / 0.5);
    border-radius: 8px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.project-report-dropdown.active .cta-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.project-report-dropdown .cta-dropdown-menu a {
    font-family: var(--font-heading);
    color: var(--text-color);
    text-decoration: none;
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    text-align: left;
}

.project-report-dropdown .cta-dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    opacity: 1;
}





.project-report-dropdown.active .cta-dropdown-menu::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgb(45 45 45 / 0.98) transparent transparent transparent;
}

.project-report-dropdown.active .arrow-icon {
    transform: rotate(180deg) !important;
}

.dropdown-inline-arrow {
    width: 12px;
    height: 12px;
    margin-left: 5px;
    fill: currentColor;
    transition: transform 0.3s;
}

.download-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.project-card-buttons .hero-cta-dropdown,
.project-card-buttons .project-report-dropdown {
    margin-top: 0;
    display: inline-flex;
}

.project-card-buttons .cta-dropdown-toggle {
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
    border-radius: 8px;
    gap: 0.5rem;
    cursor: pointer;
}

.experience-dropdown-container {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    margin-top: 0;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--accent-gradient);
    z-index: 9999;
    transition: none;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.18);
}

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.14);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 22px rgba(255, 255, 255, 0.22), 0 0 30px rgba(255, 255, 255, 0.06);
}

.scroll-to-top svg {
    width: 22px;
    height: 22px;
    fill: #000;
}


.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08), transparent);
    margin: 0 auto;
    max-width: 72rem;
}

body:not(.project-case-page) .hero+.section-divider {
    display: none;
}

body:not(.project-case-page) .hero + .section-divider + .container {
    position: relative;
    z-index: 3;
    margin-top: -3.75rem;
    padding-top: calc(80px + 3.75rem);
}

body:not(.project-case-page) .hero + .section-divider + .container::before {
    content: "";
    position: absolute;
    left: -2rem;
    right: -2rem;
    top: -5.5rem;
    height: 8rem;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.82) 38%, rgba(0, 0, 0, 0.4) 72%, transparent 100%);
    filter: blur(30px);
    pointer-events: none;
    z-index: -1;
}

.nav-links a.active {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
        var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-panel {
    width: min(420px, calc(100vw - 48px));
    padding: 0;
}

.preloader-copy {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.preloader-label {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.preloader-percent {
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
}

.preloader-track {
    position: relative;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.03);
}

.preloader-bar {
    position: relative;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 1) 42%, rgba(255, 255, 255, 0.82));
    box-shadow:
        0 0 24px rgba(255, 255, 255, 0.25),
        0 0 8px rgba(255, 255, 255, 0.28);
    transition: width 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.preloader-bar::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 72px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.85));
    opacity: 0.75;
}


















.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, opacity 0.3s ease;
    opacity: 0;
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, opacity 0.3s ease;
    opacity: 0;
    mix-blend-mode: difference;
}

.cursor-dot.visible,
.cursor-ring.visible {
    opacity: 1;
}

.cursor-ring.hovering {
    width: 52px;
    height: 52px;
    border-color: rgba(255, 255, 255, 0.6);
}

@media (hover: none) and (pointer: coarse) {

    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }
}

*:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 3px;
    border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 3px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    padding: 14px 22px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: #fff;
    background: linear-gradient(180deg, rgba(16, 16, 18, 0.96), rgba(8, 8, 10, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transform: translateX(120%);
    animation: toast-in 0.4s cubic-bezier(.4, 0, .2, 1) forwards;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.toast-success::before {
    content: "✓";
    font-size: 1.1rem;
    color: #22c55e;
}

.toast.toast-error::before {
    content: "✕";
    font-size: 1.1rem;
    color: #ef4444;
}

.toast.toast-out {
    animation: toast-out 0.3s ease forwards;
}

@keyframes toast-in {
    to {
        transform: translateX(0);
    }
}

@keyframes toast-out {
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .preloader {
        display: none;
    }

    .cursor-dot,
    .cursor-ring {
        display: none;
    }

    .hero-card {
        animation: none;
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
    }

    html {
        scroll-behavior: auto;
    }
}

section[id] {
    scroll-margin-top: 70px;
}

@media print {

    .preloader,
    .cursor-dot,
    .cursor-ring,
    .pixel-snow-bg,
    .hero-media,
    .video-overlay,
    #background-video,
    .scroll-progress,
    .scroll-to-top,
    .main-nav,
    .mobile-menu-icon,
    .mobile-nav-overlay,
    .section-divider,
    .toast-container {
        display: none !important;
    }

    body::before,
    body::after {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 12pt;
    }

    h1,
    h2,
    h3,
    h4,
    .hero-job-title,
    .nav-links a,
    .nav-dropdown-toggle {
        background: none !important;
        -webkit-background-clip: unset !important;
        background-clip: unset !important;
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
    }

    .hero-card,
    .timeline-content,
    .skill-card,
    .flip-card,
    .project-card {
        background: #fff !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        break-inside: avoid;
    }

    .hero-card::before {
        background: #fff !important;
    }

    .hero-card {
        padding: 0;
        animation: none;
    }

    a {
        color: #000 !important;
        text-decoration: underline;
    }

    a.submit-btn {
        text-decoration: none !important;
    }

    .hero-image {
        border: 1px solid #ccc;
    }
}
