@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes fadeSlideUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(-10px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeSlideDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(10px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

@keyframes scrollWheel {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0.3;
    }

    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

:root {
    --button-padding-y: 0.65rem;
    --button-padding-x: 1.5rem;
    --button-border-radius: 20px;
    --button-font-weight: 600;
    --button-gap: 0.5rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

p {
    margin: 0 0 1rem 0;
}

h6 {
    margin: 0;
    font-weight: 600;
    line-height: 1.2;
}

*:after {
    box-sizing: border-box;
}

a:hover {
    opacity: 0.7;
}

.about-content {
    text-align: center;
}

.about-description {
    max-width: 600px;
    margin-right: auto;
    margin-bottom: 3rem;
    margin-left: auto;
    font-size: 1.2rem;
    line-height: 1.6;
}

.about-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.about-skills {
    margin-bottom: 3rem;
}

.about-skills h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.arrow-up {
    position: relative;
    width: 24px;
    height: 24px;
    border: none;
    opacity: 0.6;
    animation: scrollPulse 2s infinite ease-in-out;
}

.arrow-up::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--button-gap);
    min-width: 180px;
    width: auto;
    padding: var(--button-padding-y) var(--button-padding-x);
    font-weight: var(--button-font-weight);
    text-decoration: none;
    border-radius: var(--button-border-radius);
    line-height: 1.2;
    transition: all 0.3s ease;
}

.btn-primary {
    border: 2px solid #000000;
    background: #000000;
    color: #ffffff;
}

.btn-primary:hover {
    background: white;
    color: #000000;
}

.btn-secondary {
    border: 2px solid rgba(0, 0, 0, 0.08);
    background: white;
    color: #000000;
}

.contact-ctas {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

@media (max-width: 600px) {
    .contact-ctas {
        width: 100%;
    }

    .contact-ctas .btn {
        width: 100%;
        min-width: 0;
        text-align: center;
    }

    .contact-info {
        width: 100%;
    }

    .light-theme .contact-content {
        padding: 32px 24px;
        border-radius: 20px;
    }
}

.category-badge {
    display: inline-block;
    padding: 2px 8px;
    margin-right: 5px;
    margin-bottom: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.7rem;
    border-radius: 10px;
}

.category-filter {
    margin: 30px 0;
    text-align: center;
}

.col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding: 0 0.5rem;
}

.contact-actions {
    margin-bottom: 3rem;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 580px;
    text-align: center;
}

.light-theme .contact-content {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(4px);
}

.contact-description {
    max-width: 500px;
    margin-right: auto;
    margin-bottom: 2rem;
    margin-left: auto;
    font-size: 1.2rem;
    line-height: 1.6;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.1rem;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(17, 24, 39, 0.55);
}

.dark-theme .contact-label {
    color: rgba(255, 255, 255, 0.6);
}

.contact-link {
    font-size: 1.15rem;
    font-weight: 600;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover,
.contact-link:focus {
    color: inherit;
    text-decoration: underline;
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.contact-social a {
    position: relative;
    font-weight: 500;
}

.contact-social a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.contact-social a:hover::after {
    width: 100%;
}

.contact-tagline {
    margin-bottom: 2rem;
    color: #666;
    font-size: 1.2rem;
    text-align: center;
}

.container {
    max-width: 1200px;
    padding: 0 1rem;
    margin: 0 auto;
}

.custom-checkbox {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.2rem 0.7rem;
    border: 1px solid #dcdcdc;
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
}

.custom-checkbox input[type="checkbox"] {
    display: none;
}

.custom-checkbox input[type="checkbox"]:checked+span {
    padding: 0.2rem 0.7rem;
    background: #111;
    color: #fff;
    border-radius: 3px;
}

.custom-checkbox input[type="checkbox"]:checked+span {
    background: #111;
    color: #fff;
}

.custom-checkbox span {
    padding: 0.2rem 0.7rem;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
}

.custom-multiselect {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.custom-select {
    width: 100%;
    padding: 0.45rem 0.7rem;
    border: 1px solid #e0e0e0;
    background: rgba(255, 255, 255, 0.7);
    color: #222;
    font-size: 0.95rem;
    font-weight: 500;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0.5rem;
}


.dark-theme {
    background: #000000;
    color: #ffffff;
}

.dark-theme .nav-brand .logo {
    filter: invert(1);
}

.dark-theme .section-nav-btn:hover {
    color: #ffffff;
}

.dark-theme .skills-list li {
    background: rgba(255, 255, 255, 0.1);
}

.dark-theme .sound-toggle {
    filter: invert(1);
}

.dark-theme button:focus {
    outline-color: #ffffff;
}

.desktop-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.email-link {
    color: #007bff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #0056b3;
}

.fade-in {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: all 0.6s ease !important;
}

.fade-in.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.fade-out {
    opacity: 0 !important;
    transition: opacity 1s ease-out !important;
}

.filter-btn,
.filter-btn.all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--button-gap);
    padding: var(--button-padding-y) var(--button-padding-x);
    border: 1px solid #ffffff;
    margin: 5px;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    font-weight: var(--button-font-weight);
    border-radius: var(--button-border-radius);
    cursor: pointer;
    text-decoration: none;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: #ffffff;
    color: #000000;
}

.fixed-footer {
    position: fixed;
    z-index: 1000;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 20px 40px;
    background-color: transparent;
    color: #000000;
    transition: color 0.3s ease;
    pointer-events: none;
}

.fixed-footer.footer-dark {
    color: #ffffff;
}

.fixed-footer.footer-light {
    color: #000000;
}

/* Fixed Header */
.fixed-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    padding: 20px 40px;
    background-color: transparent;
    color: #000000;
    transition: color 0.3s ease;
    pointer-events: none;
}

.fixed-header.header-dark {
    color: #ffffff;
}

.fixed-header.header-light {
    color: #000000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    pointer-events: auto;
}

.footer-nav-link,
.footer-social-link {
    color: inherit;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    transform-origin: center;
    animation: fadeSlideDown 0.5s ease-out;
}

.footer-nav-link.active,
.footer-social-link.active {
    opacity: 1;
    font-weight: 500;
}

.footer-nav-link:hover,
.footer-social-link:hover {
    opacity: 1;
    animation: fadeSlideUp 0.5s ease-out;
}

.footer-social-link.is-disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: not-allowed;
}

.mobile-social-link.is-disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

.footer-navigation,
.footer-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 300px;
}

.footer-navigation {
    justify-content: end;
}

.footer-scroll {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.form-group {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
    min-width: 0;
}


.project-form-card input[type="text"]:focus,
.project-form-card input[type="email"]:focus,
.project-form-card select:focus,
.project-form-card textarea:focus {
    outline: none;
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-title {
    margin-block: 8px 0;
}

/* Custom radio styles */
.custom-radio {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    border: 1px solid #dcdcdc;
    background: #ffffff;
    cursor: pointer;
    user-select: none;
    margin-right: 0.5rem;
}

.custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.custom-radio span {
    font-size: 0.95rem;
    color: #111;
    padding: 0.2rem 0.7rem;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
}


.custom-radio input[type="radio"]:checked+span,
.custom-radio input[type="radio"]:checked~span {
    color: #fff;
}

/* We rely on the label's checked state using :has when supported, fallback JS will toggle classes */
.custom-radio:has(input[type="radio"]:checked) {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* Custom checkbox already has some rules but improve visuals */
.custom-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    background: #ffffff;
    cursor: pointer;
    user-select: none;
    margin-right: 0.5rem;
}

.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.custom-checkbox span {
    font-size: 0.95rem;
    color: #111;
}

.custom-checkbox:has(input[type="checkbox"]:checked) {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* Submit button feedback styles */
.project-form-card button[type="submit"] {
    background: #111;
    color: #fff;
    border: 2px solid #111;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s ease, transform 0.12s ease;
}

.project-form-card button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: default;
}

.form-status-message {
    display: inline-block;
    margin-left: 0.6rem;
    font-weight: 600;
}

.form-row {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    margin: 2px 0;
    background: currentColor;
    transition: all 0.3s ease;
}

.header-badge {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    gap: 6px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-badges {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    pointer-events: auto;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-logo {
    color: inherit;
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}

.header-logo:hover {
    opacity: 0.7;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.hero-content {
    margin-bottom: 3rem;
}

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

.hero-subtitle {
    margin: 0;
    font-size: 1.4rem;
    opacity: 0.8;
}

.hero-tagline {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.8;
}

.hero-title {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 1.2em;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.hero-title-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-height: 1.3em;
}

.hero-title-slide {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    transform: translateY(0);
    opacity: 1;
}

.hero-title-slide.slide-in {
    transform: translateY(30px) !important;
    opacity: 0 !important;
}

.hero-title-slide.slide-out {
    transform: translateY(-30px) !important;
    opacity: 0 !important;
}

.hidden {
    display: none;
}

ol {
    padding: 0;
    margin: 0;
    list-style: none;
}

.light-theme {
    background: #ffffff;
    color: #353535;
}

.floating-dotlottie {
    position: fixed;
    z-index: 1000;
    right: 24px;
    bottom: 32px;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.floating-dotlottie dotlottie-wc {
    display: block;
}

.floating-dotlottie.show {
    opacity: 0.85;
}

@media (max-width: 768px) {
    .floating-dotlottie {
        right: 12px;
        bottom: 20px;
    }

    .floating-dotlottie dotlottie-wc {
        width: 120px !important;
        height: 120px !important;
    }
}

.main-content {
    position: relative;
}

.main-nav {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.main-nav.scrolled {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.margin-top-20 {
    margin-top: 20px;
}

.mb-12 {
    margin-bottom: 12px;
}

.mb-15 {
    margin-bottom: 15px;
}

.meta-item {
    text-align: start;
}

.meta-item {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}

.meta-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.7;
}

.meta-label {
    color: #888;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.meta-value {
    display: block;
    font-size: 1rem;
    font-weight: 500;
}

.meta-value {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.mobile-close {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    background: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu-toggle {
    position: fixed;
    z-index: 1001;
    top: 0rem;
    right: 0rem;
    display: none;
    flex-direction: column;
    width: 28px;
    height: 21px;
    padding: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu-toggle.toggle-dark {
    color: #ffffff;
}

.mobile-menu-toggle.toggle-light {
    color: #000000;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.mobile-nav-link {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.mobile-nav-link.active {
    color: #fff;
    font-weight: 600;
}

.mobile-nav-section {
    margin-bottom: 30px;
}

.mobile-nav-section h4 {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mobile-nav-section-socials {
    margin-bottom: 20px;
}

.mobile-nav-section-socials h4 {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mobile-nav-socials {
    display: flex;
    gap: 15px;
}

.mobile-overlay {
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    z-index: 1002;
    top: 0;
    right: -320px;
    overflow-y: auto;
    width: 320px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    transition: right 0.3s ease;
}

.mobile-sidebar-content {
    padding: 20px;
}

.mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-sidebar-header h3 {
    margin: 0;
    color: white;
    font-size: 1.2rem;
}

.mobile-sidebar.active {
    right: 0;
}

.mobile-social-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mt-20 {
    margin-top: 20px;
}

.mt-5 {
    margin-top: 5px;
}

.nav-brand .logo {
    width: 36px;
    height: auto;
    transition: filter 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    position: relative;
    padding: 0.5rem 0;
    font-weight: 500;
}

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

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.nav-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.no-projects-message {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    padding: 40px;
    color: #ccc;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    background: #fff;
    color: #000;
    font-family: "Karla", "Helvetica Neue", "Helvetica", sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.45;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-overflow-scrolling: touch;
}

.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;
}

body.loading {
    overflow: hidden;
}

.offset-lg-2 {
    margin-left: 16.666667%;
}

.overflow-auto {
    overflow: auto;
}

.overlay-container {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.project-badge {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    gap: 6px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.project-badge:hover {
    opacity: 1;
    background: #3b82f6;
    color: #fff;
}

.project-badges {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: hidden;
    width: 100%;
    min-width: 280px;
    max-width: 360px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(17, 25, 40, 0.55);
    color: #f9fafb;
    text-align: left;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

.project-card:not(.project-card--mobile) {
    aspect-ratio: 4 / 3;
}

.project-card.animate-in {
    animation: fadeInUp 0.6s ease forwards !important;
}

.project-card:hover,
.project-card:focus-visible {
    transform: translateY(-8px);
    background: rgba(24, 36, 52, 0.85);
    border-color: rgba(148, 163, 184, 0.6);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.45);
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-card:hover .project-overlay,
.project-card:focus-visible .project-overlay {
    opacity: 1;
}

.project-card:focus-visible {
    outline: 2px solid rgba(59, 130, 246, 0.4);
    outline-offset: 4px;
}

.project-card--mobile {
    max-width: none;
    aspect-ratio: auto;
    overflow: visible;
}

.project-card--mobile .project-overlay {
    display: none;
}

.project-card--mobile .project-image-container {
    height: auto;
    aspect-ratio: 4 / 3;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 20px 24px;
}

.project-details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.project-details-header .project-title {
    margin: 0;
    color: #ffffff;
}

.project-card--mobile .project-year {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-summary {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.5;
}

.project-card--mobile .project-technologies {
    justify-content: flex-start;
}

.project-card-cta {
    margin-top: 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.6);
}

.project-category {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.project-content {
    padding: 1.5rem;
}

.project-content {
    flex: 1;
    margin-bottom: 30px;
}

.project-content p {
    margin-bottom: 25px;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

.project-count {
    margin-top: 20px;
    color: #ccc;
    font-size: 14px;
    text-align: center;
}

.project-cta-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: var(--button-gap);
    padding: var(--button-padding-y) var(--button-padding-x);
    font-size: 14px;
    font-weight: var(--button-font-weight);
    text-align: center;
    text-decoration: none;
    border-radius: var(--button-border-radius);
    line-height: 1.2;
    transition: all 0.3s ease;
}

.project-cta-btn i {
    font-size: 18px;
}

.project-cta-text {
    display: inline-flex;
    align-items: center;
}

.project-cta-btn.primary {
    background: #333;
    color: white;
}

.project-cta-btn.primary:hover {
    background: #555;
    transform: translateY(-1px);
}

.project-cta-btn.secondary {
    border: 2px solid #333;
    background: transparent;
    color: #333;
}

.project-cta-btn.secondary:hover {
    background: #333;
    color: white;
    transform: translateY(-1px);
}

.project-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-cta-section {
    padding-top: 20px;
    border-top: 1px solid #ddd;
    margin-top: 25px;
}

.project-description {
    margin: 0 0 16px 0;
    color: rgba(241, 245, 249, 0.85);
    font-size: 0.95rem;
    line-height: 1.55;
}

.project-featured-image {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-position: center;
}

.project-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

#project-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#project-form select {
    box-sizing: border-box;
    width: 100%;
    padding: 0.45rem 0.7rem;
    border: 1px solid #e0e0e0;
    margin-bottom: 0.1rem;
    background: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    border-radius: 0.5rem;
}

#project-form textarea {
    min-height: 2.2rem;
    resize: vertical;
}



/* Form modal styles */
.form-modal {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
}

.form-modal[aria-hidden="false"] {
    display: flex;
}

.form-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
}

.form-modal-container {
    position: relative;
    z-index: 2001;
    width: 100%;
    max-width: 860px;
    margin: 24px;
    background: #fff;
    overflow-y: auto;
}

/* animation */
.form-modal-overlay {
    opacity: 0;
    transition: opacity 240ms ease-in-out;
}

.form-modal .form-modal-container {
    transform: translateY(8px) scale(0.98);
    opacity: 0;
    transition: transform 240ms cubic-bezier(.2, .9, .3, 1), opacity 240ms ease-in-out;
}

.form-modal.show .form-modal-overlay {
    opacity: 1;
}

.form-modal.show .form-modal-container {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.form-modal-close {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 2010;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #000;
    cursor: pointer;
}

.form-modal-body {
    padding: 20px 40px;
}


/* Improve form layout when inside modal */
.form-modal .project-form-card {
    margin: 0;
    background: transparent;
    border: none;
    padding: 0;
}

.form-modal .form-row {
    display: flex;
    gap: 12px;
}

.form-modal .form-row input[type="text"],
.form-modal .form-row input[type="email"],
.form-modal select,
.form-modal textarea {
    width: 100%;
    padding: 0.4rem 1.4rem;
    border: 1px solid #e6e6e6;
    font-size: 0.95rem;
    background: #ffffff;
    color: #111;
    border-radius: 3px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-modal input::placeholder {
    color: #111;
    font-size: 14px;
}

.form-modal textarea {
    min-height: 140px;
    resize: vertical;
}

.form-modal button[type="submit"] {
    margin-top: 1.2rem;
    padding: 12px 20px;
    border-radius: 8px;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    cursor: pointer;
}

.form-modal .radio-group input[type="radio"],
.form-modal .form-row input[type="checkbox"] {
    margin-right: 8px;
}

.project-form-submit {
    width: 100%;
    padding: 0.6rem 1.2rem;
    border: none;
    margin-top: 0.2rem;
    background: #111;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 0.7rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.project-form-submit:hover {
    background: #222;
}

.project-header {
    margin-bottom: 12px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.project-image-container {
    overflow: hidden;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.project-images-gallery {
    margin-top: 20px;
}

.project-images-swiper {
    overflow: hidden;
    width: 100%;
    height: 250px;
    border-radius: 8px;
}

.project-images-swiper .swiper-button-prev,
.project-images-swiper .swiper-button-next {
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

.project-images-swiper .swiper-button-prev::after,
.project-images-swiper .swiper-button-next::after {
    font-size: 14px;
}

.project-images-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.project-images-swiper .swiper-pagination-bullet-active {
    background: white;
}

.project-images-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-images-swiper .swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info h3 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 24px;
    font-weight: 700;
}

.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--button-gap);
    padding: var(--button-padding-y) var(--button-padding-x);
    border: 1px solid transparent;
    font-size: 0.85rem;
    font-weight: var(--button-font-weight);
    text-decoration: none;
    border-radius: var(--button-border-radius);
    line-height: 1.2;
    transition: all 0.3s ease;
}

.project-link.primary-link {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.project-link.primary-link:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.project-link.secondary-link {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.project-link.secondary-link:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.project-links {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.project-meta {
    color: #888;
    font-size: 0.8rem;
}

.project-meta-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 25px;
}

.project-modal {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-modal-body {
    display: flex;
    height: 100%;
}

.project-modal-close {
    position: absolute;
    z-index: 10;
    top: 15px;
    right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border: none;
    color: rgba(0, 0, 0, 0.8);
    font-size: 32px;
    cursor: pointer;
}

.project-modal-content {
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: 90%;
    max-width: 1000px;
    height: 80vh;
    max-height: 700px;
    background: #fff;
    color: #000;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.project-modal-left {
    display: flex;
    flex: 0 0 40%;
    flex-direction: column;
    padding: 30px;
    background: #f8f9fa;
    gap: 25px;
}

.project-modal-overlay {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.project-modal-right {
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow-y: auto;
    padding: 30px;
}

.project-modal.active {
    display: flex;
    opacity: 1;
}

.project-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    background: rgba(0, 0, 0, 0.95);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-overlay .project-description {
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
}

.project-overlay-content {
    width: 100%;
    color: white;
}

.project-tech-label {
    color: #fff;
    font-size: 0.85rem;
    font-weight: bold;
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 10px;
    align-items: center;
}

.project-technologies .tech-badge {
    padding: 2px 8px;
    background: rgba(148, 163, 184, 0.25);
    color: #f8fafc;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 999px;
}

.project-overlay .project-technologies .tech-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.project-technologies-section h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.project-title {
    margin: 0 0 0.75rem 0;
    color: #f8fafc;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.project-year {
    margin: 0 0 12px 0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.75);
}

.projects-carousel-container {
    position: relative;
    width: 100%;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.projects-navigation {
    position: absolute;
    z-index: 10;
    top: 50%;
    right: 0;
    left: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.projects-navigation .swiper-button-next {
    right: -60px;
}

.projects-navigation .swiper-button-prev,
.projects-navigation .swiper-button-next {
    position: absolute;
    top: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    color: rgba(0, 0, 0, 0.8);
    transform: none;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.projects-navigation .swiper-button-prev {
    left: -60px;
}

.projects-navigation .swiper-button-prev:after,
.projects-navigation .swiper-button-next:after {
    font-size: 18px;
    font-weight: bold;
}

.projects-navigation .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.projects-pagination {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 10px;
    gap: 8px;
}

.projects-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.projects-pagination .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.projects-pagination .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.projects-swiper {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: none;
    margin-top: 20px;
    margin-bottom: 10px;
}

.projects-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: auto;
}

.projects-swiper .swiper-wrapper {
    align-items: stretch;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5rem;
}

.scroll-indicator {
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
}

.scroll-mouse {
    position: relative;
    width: 24px;
    height: 40px;
    border: 2px solid currentColor;
    border-radius: 12px;
    opacity: 0.6;
    animation: scrollPulse 2s infinite ease-in-out;
}

.scroll-progress {
    width: 0;
    height: 100%;
    background: #000000;
    transition: width 0.1s ease;
}

.scroll-wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: currentColor;
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite ease-in-out;
}

.section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    scroll-snap-align: start;
}

.section-content {
    position: relative;
    z-index: 10;
    z-index: 100;
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    padding: 40px;
    text-align: center;
}

.section-content h1 {
    margin-bottom: 1.5rem;
}

.section-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--button-gap);
    padding: var(--button-padding-y) var(--button-padding-x);
    border: 2px solid currentColor;
    background: transparent;
    color: inherit;
    font-size: 1.1rem;
    font-weight: var(--button-font-weight);
    border-radius: var(--button-border-radius);
    line-height: 1.2;
    transition: all 0.3s ease;
    cursor: pointer;
}

.section-nav-btn:hover {
    background: currentColor;
    color: #000000;
}

.section-title {
    margin-bottom: 2rem;
    font-family: "Montserrat", sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
}

.separator {
    margin: 0 4px;
    font-size: 14px;
    opacity: 0.4;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.skills-list li {
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 0.9rem;
    font-weight: 500;
}

.sound-toggle {
    width: 24px;
    height: 24px;
    background-image: url("../images/icon-sound.png");
    background-size: cover;
    transition: opacity 0.3s ease;
}

.sound-toggle.muted {
    opacity: 0.5;
    background-image: url("../images/icon-sound-light.png");
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 2s infinite;
}

.status-dot.unavailable {
    background: #ef4444;
}

.tech-badge {
    display: inline-block;
    padding: 2px 6px;
    margin-right: 4px;
    margin-bottom: 4px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 0.75rem;
    border-radius: 8px;
}

.tech-icon {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-icon i {
    font-size: 24px;
}

.tech-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    z-index: 100;
    bottom: -35px;
    left: 50%;
    padding: 6px 10px;
    background: #333;
    color: white;
    font-size: 12px;
    white-space: nowrap;
    transform: translateX(-50%);
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tech-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.tech-icon:hover::after {
    opacity: 1;
}

.tech-icons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-tag {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    border-radius: 15px;
}

.project-modal-content .tech-tag {
    background: rgba(17, 24, 39, 0.08);
    color: #111827;
}

.text-gray {
    color: #ccc;
}

.text-muted {
    color: #888;
}

.three-container {
    position: absolute;
    z-index: 500;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

.toast-notification {
    position: fixed;
    z-index: 10000;
    top: 73px;
    right: 20px;
    max-width: 320px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-notification .toast-close {
    position: absolute;
    top: 8px;
    right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.toast-notification .toast-close:hover {
    color: white;
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.traveling-sphere-container {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.traveling-sphere-container {
    position: fixed;
    z-index: 5;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    transition: opacity 1s ease-out;
}

.traveling-sphere-container.fade-out {
    opacity: 0;
}

.traveling-sphere-container.hidden {
    display: none;
}

.underline {
    padding: 0.625rem 0;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-size: 0 2px;
    background-repeat: no-repeat;
    transition: background-size 0.3s;
}

.underline:hover {
    background-size: 100% 2px;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

button:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

.work-content {
    max-width: 80vw;
    padding: 20px;
}

.work-section .section-title {
    margin-bottom: 2rem;
    color: #ffffff;
    text-align: center;
}

#about p {
    text-align: start;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 992px) {
    .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .offset-lg-2 {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .main-nav {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .section-content {
        padding: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .section-nav-btn {
        width: 100%;
        max-width: 200px;
    }

    .about-meta,
    .contact-social {
        flex-direction: column;
        gap: 1rem;
    }

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


    .project-filters {
        flex-wrap: wrap;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }
}

@media (max-width: 768px) {
    .projects-navigation .swiper-button-next {
        right: -30px;
    }

    .projects-navigation .swiper-button-prev {
        left: -30px;
    }

    .projects-navigation .swiper-button-next,
    .projects-navigation .swiper-button-prev {
        width: 36px;
        height: 36px;
    }

    .projects-navigation .swiper-button-next:after,
    .projects-navigation .swiper-button-prev:after {
        font-size: 14px;
    }

    .project-card {
        width: 100%;
        min-width: unset;
        max-width: unset;
        margin: 0 auto;
    }

    .projects-swiper {
        overflow: visible;
    }

    .projects-pagination {
        margin-top: 15px;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .projects-navigation .swiper-button-next {
        right: -20px;
    }

    .projects-navigation .swiper-button-prev {
        left: -20px;
    }

    .projects-navigation .swiper-button-next,
    .projects-navigation .swiper-button-prev {
        width: 32px;
        height: 32px;
    }

    .projects-navigation .swiper-button-next:after,
    .projects-navigation .swiper-button-prev:after {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .fixed-header {
        padding: 15px 20px;
    }

    .header-badges {
        display: none;
    }

    .location-badge {
        display: none;
    }

    .fixed-footer {
        padding: 15px 20px;
    }

    .footer-content {
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 52px;
        height: 52px;
        padding: 12px;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.menu-open {
        right: 2rem;
        transform: none;
    }

    .mobile-menu-toggle.toggle-light {
        color: #000000;
    }

    .mobile-menu-toggle.toggle-dark {
        color: #ffffff;
    }

    .mobile-badges {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 10px;
    }

    .mobile-badge {
        display: flex;
        align-items: center;
        padding: 8px 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.05);
        color: #ffffff;
        font-size: 0.85rem;
        font-weight: 500;
        gap: 8px;
        border-radius: 20px;
    }

    .mobile-badge.project-badge {
        border: 1px solid #3b82f6;
        background: transparent;
        color: #3b82f6;
    }

    .time-separator {
        opacity: 0.5;
    }

    .desktop-footer-content {
        display: none;
    }

    .footer-socials,
    .footer-navigation {
        font-size: 12px;
    }

    .scroll-mouse {
        width: 20px;
        height: 32px;
    }

    .category-filter {
        overflow-x: auto;
        padding: 0 20px;
        margin: 20px 0;
        text-align: left;
        white-space: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .category-filter::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        display: inline-flex;
        flex-shrink: 0;
        min-width: auto;
        margin: 0 8px 0 0;
        white-space: nowrap;
    }

    .project-image-container {
        position: relative;
    }

    .project-overlay {
        position: static;
        padding: 15px 0;
        margin-top: 10px;
        background: transparent;
        opacity: 1;
        transform: none;
    }

    .project-overlay-content {
        padding: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(0, 0, 0, 0.8);
        border-radius: 8px;
        backdrop-filter: blur(10px);
    }

    .project-title {
        margin-bottom: 8px;
        font-size: 1.1rem;
    }

    .project-description {
        margin-bottom: 10px;
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .project-technologies {
        margin-bottom: 8px;
    }

    .tech-badge {
        padding: 2px 6px;
        margin: 2px 4px 2px 0;
        font-size: 0.75rem;
    }

    .project-links {
        gap: 8px;
    }

    .project-link {
        padding: var(--button-padding-y) var(--button-padding-x);
        font-size: 0.85rem;
    }

    .project-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }

    .project-badges {
        position: absolute;
        z-index: 2;
        top: 10px;
        left: 10px;
    }

    .contact-ctas {
        margin-top: 30px;
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: center;
    }

    .btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .project-modal-content {
        overflow-y: visible;
        width: 95%;
        height: auto;
        max-height: 90vh;
    }

    .project-modal-body {
        flex-direction: column;
    }

    .project-modal-left {
        flex: none;
        padding: 20px;
    }

    .project-modal-right {
        flex: none;
        overflow-y: visible;
        padding: 20px;
    }

    .project-featured-image {
        height: 150px;
    }

    .project-images-swiper {
        height: 200px;
    }

    .project-cta-buttons {
        flex-direction: column;
    }

    .project-cta-btn {
        justify-content: center;
    }

    .toast-notification {
        top: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
    }
}

.fixed-header.header-dark .header-badge {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.fixed-header.header-light .header-badge {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.05);
    color: #000000;
}
