@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-primary: #f6fbff;
    --page-bg-image:
        radial-gradient(ellipse 80% 60% at 50% 45%, rgba(255, 255, 255, 0.7) 0%, transparent 70%),
        linear-gradient(180deg, #fbfdff 0%, #eef7fd 100%);
    --bg-secondary: #e0d6ca;
    --bg-elevated: #d4c9bc;
    --bg-card: #dccfbf;
    --text-primary: #3a322c;
    --text-secondary: #5c524a;
    --text-muted: #7a6f65;
    --border-subtle: #c9bcae;
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 10px;
    --cursor-brown-circle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='9' fill='%233a322c'/%3E%3C/svg%3E") 11 11, auto;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 0 23px;
    height: 100%;
    background-color: var(--bg-primary);
    background-image: var(--page-bg-image);
    color: var(--text-primary);
    background-size: cover; 
    background-attachment: fixed;
    overflow-x: hidden;
    box-sizing: border-box;
    min-height: 100vh;
}

* {
    box-sizing: border-box;
}

/* Ensure proper viewport handling */
html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    background-image: var(--page-bg-image);
    background-attachment: fixed;
    cursor: var(--cursor-brown-circle);
}

* {
    scrollbar-width: auto;
    scrollbar-color: #3a322c #d4c9bc;
}

*::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

*::-webkit-scrollbar-track {
    background: #d4c9bc;
}

*::-webkit-scrollbar-thumb {
    background: #3a322c;
    border-radius: 8px;
    border: 2px solid #d4c9bc;
}

*::-webkit-scrollbar-thumb:hover {
    background: #2a241f;
}

*::-webkit-scrollbar-corner {
    background: #d4c9bc;
}

/* Large screen optimizations */
@media screen and (min-width: 1920px) {
    body {
        padding: 0 35px;
    }
    
    .projects-container {
        max-width: 1600px;
    }
    
    .about-container,
    .experience-container {
        max-width: 1600px;
    }
    
    #subjectContainer {
        max-width: 1600px;
        margin: 50px auto 0 auto;
    }
}

/* Medium-large screen optimizations */
@media screen and (min-width: 1440px) and (max-width: 1919px) {
    .projects-container {
        max-width: 1400px;
    }
    
    .about-container,
    .experience-container {
        max-width: 1400px;
    }
}

/* Small screen padding adjustments */
@media screen and (max-width: 480px) {
    body {
        padding: 0 13px;
    }
}

h2 {
    color: var(--text-primary);
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 0;
    min-height: 64px;
    margin-top: 0;
    margin-bottom: 16px;
    color: var(--text-primary);
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
}

.nav-links li {
    margin: 0 26px;
    display: flex;
    align-items: center;
}

.nav-logo-item {
    margin: 0 44px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    position: relative;
    font-size: 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.5;
}

.nav-logo-item a::after {
    display: none;
}

.nav-logo {
    height: 48px;
    width: auto;
    display: block;
    margin: 0;
}
.nav-links a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background-color: #004289;
    transition: width 0.3s ease-in-out;
    position: absolute;
    bottom: -3px;
    left: 0;
}

.nav-links a:hover::after {
    width: 100%;
}
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1000;
    padding: 10px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-primary);
    border-radius: var(--radius-xs);
    transition: all 0.3s ease;
}

/* ---------------------------------------------------------------Introdution and Subject CSS-------------------------------------------------------------- */

#subjectContainer {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: nowrap;
    position: relative;
    z-index: 1;
    padding: 75px 0 50px 0;
    width: 100%;
    max-width: 100%;
    margin-top: 50px;
}

#subjectContainer::before,
#subjectContainer::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, 
        rgba(0, 123, 255, 0.3) 0%, 
        rgba(0, 123, 255, 0.2) 30%, 
        rgba(0, 123, 255, 0.1) 60%, 
        rgba(0, 123, 255, 0) 80%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(60px);
    animation: pulse 4s ease-in-out infinite;
}

#subjectContainer::before {
    left: 25%;
    animation-delay: 0s;
}

#subjectContainer::after {
    left: 75%;
    animation-delay: 2s;
}

#subjectContainer .glow-center {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, 
        rgba(0, 123, 255, 0.3) 0%, 
        rgba(0, 123, 255, 0.2) 30%, 
        rgba(0, 123, 255, 0.1) 60%, 
        rgba(0, 123, 255, 0) 80%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(60px);
    animation: pulse 4s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.9;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
}

.subjectBlock {
    height: 500px;
    width: calc((100% - 40px) / 3);
    margin: 25px 0;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-xl);
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-primary);
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 2;
}

.subjectBlock h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.subjectBlock p {
    font-size: 1em;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.subjectBlock button {
    padding: 10px 20px;
    font-size: 1em;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subjectBlock button:hover {
    background-color: #0056b3;
}

.subjectBlock:hover {
    transform: translateY(-5px);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

.subjectBlock img {
    max-width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.animation-image {
    width: 40%;
    height: auto;
    max-width: 350px;
    border-radius: var(--radius-xl);
    object-fit: contain;
}

.introText {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    min-height: 450px;
    padding: 80px 10px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
    box-sizing: border-box;
    color: var(--text-primary);
}

.introText h2 {
    margin: 0 auto;
    color: var(--text-primary);
    font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 0.06em;
    word-spacing: 0.12em;
    font-size: clamp(1.75rem, 5vw + 1rem, 4.5rem);
    line-height: 1.15;
    max-width: 100%;
}

.introText p {
    margin-top: 0;
}

.intro-description {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(0.7rem, 1.2vw + 0.35rem, 0.95rem);
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1.6;
    color: var(--text-secondary);
    text-transform: uppercase;
    max-width: min(90%, 42rem);
    margin: 0;
}

/* UX GIF showcase — portfolio grid layout */
.ux-showcase {
    width: 100%;
    max-width: none;
    margin: 0 auto 64px;
    padding: 0 clamp(16px, 4vw, 52px);
    box-sizing: border-box;
}

.ux-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 38px;
}

.ux-gif-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.ux-gif-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transform-origin: center center;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
    .ux-gif-card-link:hover {
        transform: scale(0.96);
    }
}

.ux-gif-card-link .ux-gif-card {
    height: 100%;
}

.ux-gif-wireframe {
    aspect-ratio: 16 / 10;
    width: 100%;
    border-radius: var(--radius-xl);
    border: 1px dashed var(--text-muted);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
}

.ux-gif-wireframe--cool.ux-gif-wireframe--has-media .ux-gif-media--frame {
    object-fit: contain;
    transform: scale(1.08);
    transform-origin: center center;
}

.ux-gif-wireframe--warm {
    background: linear-gradient(145deg, #ece2df 0%, #ebe4dc 45%, #f0e8e4 100%);
}

.ux-gif-wireframe--tutord {
    background:
        radial-gradient(
            ellipse 120% 115% at 50% 50%,
            var(--bg-primary) 0%,
            #e8e0ef 42%,
            #c4a8e4 72%,
            #8053d7 100%
        );
}

.ux-gif-wireframe--has-media {
    border-style: solid;
    border-color: var(--border-subtle);
    background: var(--bg-primary);
}

.ux-gif-wireframe--tutord.ux-gif-wireframe--has-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9% 10%;
    box-sizing: border-box;
    background:
        radial-gradient(
            ellipse 120% 115% at 50% 50%,
            var(--bg-primary) 0%,
            #e8e0ef 42%,
            #c4a8e4 72%,
            #8053d7 100%
        );
}

.ux-gif-wireframe--tutord .ux-gif-media-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 6px;
}

.ux-gif-wireframe--tutord .ux-gif-media--video {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    pointer-events: none;
    display: block;
    transform: translateZ(0);
    backface-visibility: hidden;
    filter: contrast(1.06) saturate(1.04);
}

.ux-gif-wireframe--stpaul.ux-gif-wireframe--has-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background:
        radial-gradient(
            ellipse 120% 115% at 50% 50%,
            var(--bg-primary) 0%,
            #e4d4c4 42%,
            #b08968 72%,
            #3a322c 100%
        );
}

.ia-tree {
    --ia-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ia-l1: 10.75rem;
    --ia-line: var(--text-muted);
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 7% 5% 6%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.ia-tree__node {
    box-sizing: border-box;
    flex: 0 0 auto;
    border-radius: var(--radius-md);
}

.ia-tree__node--root {
    width: var(--ia-l1);
    max-width: 86%;
    padding: 0.55em 0.7em;
    background: var(--text-primary);
    color: var(--bg-primary);
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.58rem, 1.15vw, 0.78rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.25;
    text-align: center;
    box-shadow: 0 6px 16px rgba(58, 50, 44, 0.12);
    opacity: 0;
    transform: translateY(10px) scale(0.94);
    transition: opacity 0.45s var(--ia-ease), transform 0.45s var(--ia-ease);
}

.ia-tree__node--l2,
.ia-tree__node--l3 {
    background: #fffaf5;
    border: 1.5px solid var(--text-primary);
    opacity: 0;
    transform: translateY(8px) scale(0.9);
    transition: opacity 0.4s var(--ia-ease), transform 0.4s var(--ia-ease);
}

.ia-tree__node--l2 {
    width: calc(var(--ia-l1) / 2);
    max-width: 92%;
    height: clamp(14px, 2.1vw, 22px);
}

.ia-tree__node--l3 {
    width: calc(var(--ia-l1) / 4);
    max-width: 88%;
    height: clamp(10px, 1.55vw, 16px);
}

.ia-tree__line {
    display: block;
    flex: 0 0 auto;
    background: var(--ia-line);
    opacity: 0;
}

.ia-tree__line--v {
    width: 1.5px;
    transform: scaleY(0);
    transform-origin: top center;
    transition: opacity 0.35s var(--ia-ease), transform 0.45s var(--ia-ease);
}

.ia-tree__line--h {
    height: 1.5px;
    transform: scaleX(0);
    transform-origin: center;
    transition: opacity 0.35s var(--ia-ease), transform 0.5s var(--ia-ease);
}

.ia-tree__line--trunk-1 {
    height: clamp(14px, 2.2vw, 22px);
}

.ia-tree__line--drop-2 {
    height: clamp(12px, 1.9vw, 18px);
}

.ia-tree__line--bar-2 {
    width: 75%;
    margin: 0 auto;
}

.ia-tree__line--trunk-3 {
    height: clamp(11px, 1.7vw, 16px);
}

.ia-tree__line--drop-3 {
    height: clamp(10px, 1.5vw, 14px);
}

.ia-tree__line--bar-3 {
    width: 50%;
    margin: 0 auto;
}

.ia-tree.is-l1 .ia-tree__node--root {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.ia-tree.is-l2 .ia-tree__line--trunk-1,
.ia-tree.is-l2 .ia-tree__line--drop-2,
.ia-tree.is-l2 .ia-tree__line--bar-2 {
    opacity: 1;
    transform: scale(1);
}

.ia-tree.is-l2 .ia-tree__node--l2 {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.ia-tree.is-l3 .ia-tree__line--trunk-3,
.ia-tree.is-l3 .ia-tree__line--drop-3,
.ia-tree.is-l3 .ia-tree__line--bar-3 {
    opacity: 1;
    transform: scale(1);
}

.ia-tree.is-l3 .ia-tree__node--l3 {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.ia-tree.is-out .ia-tree__node,
.ia-tree.is-out .ia-tree__line {
    opacity: 0;
    transition-duration: 0.45s;
}

.ia-tree__tier {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.ia-tree__tier--3 {
    width: 100%;
}

.ia-tree__cols {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.ia-tree__branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.ia-tree__cols--2 > .ia-tree__branch {
    flex: 1 1 0;
}

.ia-tree__cols--3 {
    gap: 0;
}

.ia-tree__cols--3 > .ia-tree__branch {
    flex: 1 1 0;
}

.ux-gif-wireframe--doge {
    background:
        radial-gradient(
            ellipse 120% 115% at 50% 50%,
            var(--bg-primary) 0%,
            #f5e8b0 42%,
            #e6d08a 72%,
            #c4a24a 100%
        );
}

.ux-gif-wireframe--doge.ux-gif-wireframe--has-media {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    box-sizing: border-box;
    background:
        radial-gradient(
            ellipse 120% 115% at 50% 50%,
            var(--bg-primary) 0%,
            #f5e8b0 42%,
            #e6d08a 72%,
            #c4a24a 100%
        );
}

.ux-gif-wireframe--doge .ux-gif-media-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.ux-gif-wireframe--doge .ux-gif-media--video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
    pointer-events: none;
    display: block;
    transform: translateZ(0);
    backface-visibility: hidden;
    filter: contrast(1.06) saturate(1.04);
}

.ux-gif-media--video {
    pointer-events: none;
}

.ux-gif-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ux-gif-media--frame {
    transition: opacity 0.65s ease;
    pointer-events: none;
}

.ux-gif-media--frame-a {
    opacity: 1;
}

.ux-gif-media--frame-b {
    opacity: 0;
}

/* Auto-loop GIF frames */
.ux-gif-card--hover-gif .ux-gif-media--frame-a {
    animation: ux-gif-frame-a 4.5s ease-in-out infinite;
}

.ux-gif-card--hover-gif .ux-gif-media--frame-b {
    animation: ux-gif-frame-b 4.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .ux-gif-card-link {
        transition: none;
    }

    .ux-gif-card-link:hover {
        transform: none;
    }

    .ux-gif-card--hover-gif .ux-gif-media--frame-a,
    .ux-gif-card--hover-gif .ux-gif-media--frame-b {
        animation: none;
    }

    .ux-gif-card--hover-gif .ux-gif-media--frame-b {
        opacity: 0;
    }

    .ia-tree .ia-tree__node,
    .ia-tree .ia-tree__line {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@keyframes ux-gif-frame-a {
    0%, 42% { opacity: 1; }
    50%, 92% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes ux-gif-frame-b {
    0%, 42% { opacity: 0; }
    50%, 92% { opacity: 1; }
    100% { opacity: 0; }
}

.ux-gif-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.ux-gif-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.ux-gif-heading {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 0.7vw + 0.35rem, 1.05rem);
    font-weight: 500;
    line-height: 1.35;
    color: var(--text-primary);
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.ux-gif-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    align-items: center;
    flex: 0 1 auto;
}

.ux-gif-tags span {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 4px 7px;
    border: 2px solid #525252;
    border-radius: var(--radius-sm);
    line-height: 1;
    white-space: nowrap;
}

.ux-gif-description {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.78rem, 0.5vw + 0.35rem, 0.85rem);
    font-weight: 400;
    line-height: 1.45;
    color: var(--text-muted);
    text-align: left;
    margin: 0;
    max-width: 100%;
}

@media screen and (max-width: 768px) {
    .ux-showcase-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .ux-showcase {
        margin-bottom: 56px;
        padding: 0 12px;
    }

    .ux-gif-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ux-gif-tags {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 1150px) {
    .animation-image {
        display: none;
    }
}

/* ---------------------------------------------------------------Contact Icons--------------------------------------------------------------- */

#contactContainer {
    height: 350px;
    width: 75%;
    margin: 25px;
    background-color: rgb(235, 235, 235);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    align-items: center; 
    border-color: var(--border-subtle);
    border: 2px solid var(--border-subtle);
    color: var(--text-primary);
}

.contactBlock {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.contactBlock h2 {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.contactBlock p {
    text-align: center;
    color: var(--text-primary);
}

#textFields {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 10px;
    gap: 10px;
    margin-bottom: 20px;
}

.contactBlock button {
    padding: 10px 20px;
    width: 25%;
    margin-bottom: 20px;
    font-size: 1em;
    background-color: lightgreen;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#textFields input, 
#textFields textarea {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #333;
    border: 1px solid #ccc;
    border-radius: var(--radius-sm);
    padding: 10px;
    width: 500px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#textFields input:focus, 
#textFields textarea:focus {
    border-color: rgba(64, 5, 0, 0.659);
    box-shadow: 0 0 5px rgba(64, 5, 0, 0.659);
    outline: none;
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background-color: var(--bg-elevated);
    color: var(--text-primary);
    border: 2px solid var(--border-subtle);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
}

.filter-btn:hover {
    background-color: var(--bg-card);
    color: var(--text-primary);
}

.filter-btn.active {
    background-color: var(--bg-card);
    color: var(--text-primary);
}

/* Portfolio project cards (projects page) */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 24px 0 64px;
    width: 100%;
    box-sizing: border-box;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(58, 52, 44, 0.12);
}

.portfolio-card__visual {
    position: relative;
    min-height: 200px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.portfolio-card__visual--amazon {
    background: linear-gradient(160deg, #3a322c 0%, #4a403a 55%, #5c524a 100%);
}

.portfolio-card__visual--stpaul {
    background: linear-gradient(160deg, #4a5560 0%, #5c524a 50%, #6e6258 100%);
}

.portfolio-card__visual--tutord {
    background: linear-gradient(160deg, #5c4f5a 0%, #6e6258 45%, #8a7a72 100%);
}

.portfolio-card__visual--doge {
    background: linear-gradient(160deg, #6e6258 0%, #7a6f65 50%, #a89488 100%);
}

.portfolio-card__badge {
    position: absolute;
    top: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    padding: 7px 10px;
    border-radius: 6px;
    z-index: 2;
}

.portfolio-card__badge--type {
    left: 14px;
    color: var(--bg-primary);
    border: 1px solid rgba(235, 228, 220, 0.45);
    background: rgba(58, 52, 44, 0.35);
}

.portfolio-card__badge--featured {
    right: 14px;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 1px solid var(--bg-primary);
}

.portfolio-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 28px 12px 12px;
}

.portfolio-card__media img {
    max-width: 72%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.portfolio-card__visual--tutord .portfolio-card__media img {
    max-width: 88%;
    max-height: 140px;
}

.portfolio-card__body {
    padding: 20px 22px 22px;
    background: var(--bg-elevated);
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.portfolio-card__meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin: 0 0 10px;
    line-height: 1.4;
}

.portfolio-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 12px;
    line-height: 1.3;
}

.portfolio-card__description {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portfolio-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.portfolio-card__tags span {
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: capitalize;
    color: var(--text-secondary);
    padding: 6px 10px;
    border: 2px solid var(--text-primary);
    border-radius: 6px;
    background: var(--bg-secondary);
    line-height: 1;
}

.portfolio-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    margin-top: auto;
}

.portfolio-card__role {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.portfolio-card__cta {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.portfolio-card__cta:hover {
    color: var(--text-secondary);
}

@media screen and (min-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 48px;
    }

    .portfolio-card__visual {
        min-height: 180px;
    }

    body {
        padding: 0 15px;
    }
    
    .subjectBlock {
        width: 100%;
        margin: 15px 0;
    }
    
    #subjectContainer {
        flex-wrap: wrap;
        gap: 15px;
    }

    .filter-container {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px;
    margin-top: 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.project-block {
    background-color: var(--bg-elevated);
    border-radius: var(--radius-xl);
    border: 2px solid var(--border-subtle);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 400px;
    height: 500px;
    margin: 0 auto;
}

.project-block h3 {
    color: var(--text-secondary);
    margin-bottom: 15px;
    text-align: center;
}

.project-block img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.project-block p {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.project-tags span {
    background-color: rgba(90, 78, 68, 0.12);
    color: var(--text-primary);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
}

.project-block button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.project-block button:hover {
    background-color: #0056b3;
}

@media screen and (max-width: 1200px) {
    .subjectBlock {
        width: calc((100% - 40px) / 3);
        padding: 15px;
    }
}

@media screen and (max-width: 768px) {
    .projects-container {
        grid-template-columns: 1fr;
    }
}

.ellipse-placeholder {
    width: 350px;
    height: 350px;
    background-color: var(--bg-elevated);
    border-radius: 50%;
    border: 2px solid white;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.2em;
}

.ellipse-placeholder::after {
    content: "Image Coming Soon";
    opacity: 0.7;
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-header {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 2.5em;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-align: center;
    position: relative;
}

.about-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #7b68ee);
    border-radius: 2px;
}

.about-content-wrapper {
    display: flex;
    gap: 40px;
}

.about-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.about-image {
    width: 45%;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-xl);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    max-height: 220px;
}

.about-image:first-child {
    align-self: flex-start;
}

.about-image:last-child {
    align-self: flex-end;
    margin-left: -30%;
}

.about-content {
    flex: 1;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    color: var(--text-primary);
    margin-bottom: 40px;
    font-size: 2.5em;
    font-weight: 600;
    letter-spacing: -0.02em;
    position: relative;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #7b68ee);
    border-radius: 2px;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 15px;
    font-weight: 400;
    text-align: justify;
    hyphens: auto;
    word-wrap: break-word;
    max-width: 100%;
}

.about-content p:first-of-type {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-content p:last-of-type {
    margin-bottom: 0;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-secondary);
    font-style: normal;
}

.experience-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
}

.experience-container h2 {
    color: var(--text-secondary);
    margin-bottom: 90px;
    font-size: 2em;
    text-align: center;
    margin-top: 60px;
}

/* Experience Accordion Styles */
.experience-accordion {
    max-width: 1000px;
    margin: 0 auto;
}

.experience-accordion-item {
    border: none;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: transparent;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    background-color: transparent;
}

.experience-title {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: flex-start;
}

.experience-title h3 {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
    min-width: 60px;
}

.experience-title h4 {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1.1em;
    min-width: 200px;
}

.experience-title span {
    color: #888;
    font-size: 14px;
    margin-left: auto;
    margin-right: 50px;
}

.accordion-toggle {
    color: var(--text-secondary);
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.experience-header.active .accordion-toggle {
    transform: rotate(45deg);
}

.experience-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: transparent;
}

.experience-content.active {
    max-height: 200px;
    padding: 20px 30px;
}

.experience-content p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.6;
}

.experience-content .date {
    color: #888;
    font-size: 0.9em;
}

@media screen and (max-width: 768px) {
    .about-container {
        flex-direction: column;
        padding: 20px;
    }

    .experience-item {
        flex-direction: column;
        gap: 20px;
    }

    .experience-title {
        text-align: left;
    }

    .experience-details {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid white;
        padding-top: 20px;
    }
}

/* Mobile Navigation Styles */
@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: var(--bg-elevated);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        padding: 80px 0;
        z-index: 999;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    }

    .nav-links:not(.active) {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
        transition: none;
    }

    .nav-links:not(.active) li:not(.nav-logo-item) {
        display: none;
    }

    .nav-links:not(.active) .nav-logo-item {
        margin: 0;
        opacity: 1;
        transform: none;
    }

    .nav-links.active {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        background-color: var(--bg-elevated);
        padding: 80px 0;
        z-index: 999;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    }

    .nav-links li {
        margin: 25px 0;
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
        display: flex;
        justify-content: center;
    }

    .nav-links a {
        font-size: 1rem;
        color: var(--text-secondary);
        text-decoration: none;
        display: block;
        padding: 10px;
    }

    .nav-links.active .nav-logo-item .nav-logo {
        height: 70px;
    }

    .nav-container {
        justify-content: center;
        position: relative;
        min-height: 64px;
        padding: 8px 0;
    }

    /* Add delay for each menu item */
    .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links li:nth-child(5) { transition-delay: 0.5s; }

    /* Subject Blocks Mobile Layout */
    #subjectContainer {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .subjectBlock {
        width: 90%;
        margin: 20px 0;
        height: auto;
        min-height: 500px;
    }

    .about-container {
        flex-direction: column;
        padding: 20px;
    }

    .about-content-wrapper {
        flex-direction: column;
    }

    .about-header {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .about-images {
        width: 50%;
        align-items: center;
    }

    .about-image {
        width: 70%;
        height: auto;
        margin-bottom: 15px;
        max-height: 200px;
    }

    .about-image:first-child {
        align-self: flex-start;
    }

    .about-image:last-child {
        align-self: flex-end;
        margin-left: -25%;
    }

    .about-content {
        padding: 20px 0;
        max-width: 100%;
    }

    .about-content h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .about-content p {
        font-size: 12px;
        line-height: 1.7;
        text-align: left;
    }

    .about-content p:first-of-type {
        font-size: 16px;
    }

    .about-content p:last-of-type {
        font-size: 14px;
    }

    .experience-item {
        flex-direction: column;
        gap: 20px;
    }

    .experience-title {
        text-align: left;
    }

    .experience-details {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid white;
        padding-top: 20px;
    }

    .projects-container {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .project-block {
        width: 90%;
        margin: 20px auto;
    }

    .filter-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}

@media screen and (max-width: 768px) {
    .introText {
        padding: 40px 24px;
        min-height: 280px;
    }
}

@media screen and (max-width: 480px) {
    .nav-container h1 {
        font-size: 1.5em;
        margin-left: 15px;
    }

    .introText h2 {
        font-size: clamp(1.5rem, 8vw + 0.25rem, 2.25rem);
    }

    .intro-description {
        font-size: clamp(0.65rem, 2.5vw + 0.2rem, 0.8rem);
        letter-spacing: 0.1em;
    }

    .introText {
        padding: 30px 16px;
        min-height: 220px;
    }

    .subjectBlock h3 {
        font-size: 1.3em;
    }

    .subjectBlock p {
        font-size: 0.9em;
    }

    .about-content {
        padding: 15px 0;
    }

    .about-content h2 {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .about-content h2::after {
        width: 40px;
        height: 2px;
    }

    .about-content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .about-content p:first-of-type {
        font-size: 15px;
    }

    .about-content p:last-of-type {
        font-size: 13px;
    }
}

/* Social Footer Styles */
.social-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 30px 0;
    margin-top: 50px;
}

.social-icon {
    color: var(--text-primary);
    font-size: 2.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.placeholder-image {
    width: 100%;
    height: 200px;
    background-color: var(--bg-elevated);
    border: 2px solid #909090;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 20px 0;
}

.placeholder-image::before {
    content: "✕";
    font-size: 80px;
    color: var(--text-muted);
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

.placeholder-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, var(--bg-primary) 40%, var(--bg-primary) 60%, transparent 60%);
    opacity: 0.1;
}

@media screen and (max-width: 768px) {
    .social-footer {
        gap: 20px;
    }
    
    .social-icon {
        font-size: 2rem;
    }
}

/* UX Design Project Images - Reduced Size */
.projects-container .project-block img[src*="uxImages"] {
    width: 80%;
    height: 150px;
    object-fit: contain;
    border-radius: 10px;
    margin: 20px auto 15px auto;
    display: block;
}

.project-block img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-elevated) 100%);
    padding: 20px;
}

.login-card {
    background: rgba(22, 22, 22, 0.95);
    border-radius: var(--radius-xl);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.login-header h2 {
    color: var(--text-secondary);
    font-size: 2em;
    margin-bottom: 10px;
    font-weight: 600;
}

.login-header p {
    color: #888;
    font-size: 1em;
    margin: 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--text-secondary);
    font-size: 0.9em;
    font-weight: 500;
}

.form-group input {
    padding: 15px;
    border: 2px solid var(--border-subtle);
    border-radius: 10px;
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group input::placeholder {
    color: #666;
}

.form-group input:disabled {
    background-color: var(--bg-elevated);
    color: #666;
    cursor: not-allowed;
}

.login-button {
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

.login-button:active {
    transform: translateY(0);
}

.login-button:disabled {
    background: linear-gradient(135deg, #666 0%, #444 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.login-button:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Security indicator styles */
.security-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.8em;
    color: #888;
}

.security-indicator.secure {
    color: #4CAF50;
}

.security-indicator.warning {
    color: #FF9800;
}

.security-indicator.danger {
    color: #f44336;
}

/* Rate limiting indicator */
.rate-limit-indicator {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid #FF9800;
    border-radius: 8px;
    padding: 10px;
    margin-top: 15px;
    font-size: 0.9em;
    color: #FF9800;
    text-align: center;
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.login-footer p {
    color: #666;
    font-size: 0.9em;
    margin: 0;
}

/* Mobile Responsive */
@media screen and (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .login-header h2 {
        font-size: 1.8em;
    }
    
    .form-group input {
        padding: 12px;
    }
    
    .login-button {
        padding: 12px;
    }
}

/* Large screen navigation adjustments */
@media screen and (min-width: 1440px) {
    .nav-container {
        max-width: 1600px;
        margin: 0 auto;
    }
}

.about-image {
    width: 60%;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-xl);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    max-height: 300px;
}

.about-image:hover {
    transform: scale(1.02);
}

.moving-banner {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    left: 50%;
    right: 0;
    position: relative;
    transform: translateX(-50%);
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    white-space: nowrap;
    background: rgba(90, 78, 68, 0.15);
    color: var(--text-primary);
    font-family: 'BBH Bartle', 'Montserrat', 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    padding: 1.2em 0;
    height: 4.5em;
    z-index: 1000;
}
.moving-banner-inner {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
    animation: banner-loop 12s linear infinite;
    font-family: 'Orbitron', 'BBH Bartle', 'Montserrat', 'Inter', sans-serif !important;
    font-weight: 700;
}

@keyframes banner-loop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Custom dark brown circle cursor */
a,
button,
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea,
label,
.hamburger,
.filter-btn,
.portfolio-card__cta,
.portfolio-card,
.nav-links a,
.social-icon,
.login-button,
.subjectBlock button,
.project-block button,
.project-block,
.filter-container button,
[role="button"],
[onclick] {
    cursor: var(--cursor-brown-circle);
}

input:disabled,
.login-button:disabled,
.form-group input:disabled {
    cursor: not-allowed;
}

/* Expanding “View Project” cursor on project cards */
.project-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
    box-sizing: border-box;
    width: auto;
    min-width: 28px;
    height: 28px;
    padding: 8px;
    border-radius: 999px;
    background: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    transform: translate(-14px, -50%);
    transform-origin: left center;
    transition: opacity 0.16s ease;
}

.project-cursor.is-active {
    opacity: 1;
}

.project-cursor__text {
    display: grid;
    grid-template-columns: 0fr;
    min-width: 0;
    overflow: hidden;
    transition: grid-template-columns 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-cursor.is-active .project-cursor__text {
    grid-template-columns: 1fr;
}

.project-cursor__label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 12px;
    letter-spacing: 0;
    color: var(--bg-primary);
    text-align: center;
    white-space: nowrap;
}

.project-cursor__char {
    display: inline-block;
    opacity: 0;
    transform: translateX(-8px);
    transition:
        opacity 0.22s ease calc(var(--i) * 18ms),
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i) * 18ms);
}

.project-cursor.is-active .project-cursor__char {
    opacity: 1;
    transform: translateX(0);
}

html.has-project-cursor-js .ux-gif-card-link,
html.has-project-cursor-js .ux-gif-card-link *,
html.has-project-cursor-js .ux-gif-card,
html.has-project-cursor-js .ux-gif-card *,
html.has-project-cursor-js .portfolio-card,
html.has-project-cursor-js .portfolio-card * {
    cursor: none;
}

@media (hover: none), (pointer: coarse) {
    .project-cursor {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-cursor,
    .project-cursor__text,
    .project-cursor__char {
        transition: none;
    }
}



