*,
:before,
:after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb
}

:before,
:after {
    --tw-content: ""
}

html,
:host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent
}

body {
    margin: 0;
    line-height: inherit
}

hr {
    height: 0;
    color: inherit;
    border-top-width: 1px
}

abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit
}

a {
    color: inherit;
    text-decoration: inherit
}

b,
strong {
    font-weight: bolder
}

code,
kbd,
samp,
pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
    font-feature-settings: normal;
    font-variation-settings: normal;
    font-size: 1em
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
    margin: 0;
    padding: 0
}

button,
select {
    text-transform: none
}

button,
input:where([type=button]),
input:where([type=reset]),
input:where([type=submit]) {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none
}

:-moz-focusring {
    outline: auto
}

:-moz-ui-invalid {
    box-shadow: none
}

progress {
    vertical-align: baseline
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

summary {
    display: list-item
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
    margin: 0
}

fieldset {
    margin: 0;
    padding: 0
}

legend {
    padding: 0
}

ol,
ul,
menu {
    list-style: none;
    margin: 0;
    padding: 0
}

dialog {
    padding: 0
}

textarea {
    resize: vertical
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    opacity: 1;
    color: #9ca3af
}

input::placeholder,
textarea::placeholder {
    opacity: 1;
    color: #9ca3af
}

button,
[role=button] {
    cursor: pointer
}

:disabled {
    cursor: default
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    display: block;
    vertical-align: middle
}

img,
video {
    max-width: 100%;
    height: auto
}

[hidden] {
    display: none
}

:root {
    --background: 0 0% 100%;
    --foreground: 240 10% 3.9%;
    --muted: 240 4.8% 95.9%;
    --muted-foreground: 240 3.8% 46.1%;
    --popover: 0 0% 100%;
    --popover-foreground: 240 10% 3.9%;
    --card: 0 0% 100%;
    --card-foreground: 240 10% 3.9%;
    --border: 240 5.9% 90%;
    --input: 240 5.9% 90%;
    --primary: 240 5.9% 10%;
    --primary-foreground: 0 0% 98%;
    --secondary: 240 4.8% 95.9%;
    --secondary-foreground: 240 5.9% 10%;
    --accent: 240 4.8% 95.9%;
    --accent-foreground: 240 5.9% 10%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;
    --ring: 240 5% 64.9%;
    --radius: .5rem
}

.dark {
    --background: 240 10% 3.9%;
    --foreground: 0 0% 98%;
    --muted: 240 3.7% 15.9%;
    --muted-foreground: 240 5% 64.9%;
    --popover: 240 10% 3.9%;
    --popover-foreground: 0 0% 98%;
    --card: 0 0% 10%;
    --card-foreground: 0 0% 98%;
    --border: 240 3.7% 15.9%;
    --input: 240 3.7% 15.9%;
    --primary: 0 0% 98%;
    --primary-foreground: 240 5.9% 10%;
    --secondary: 240 3.7% 15.9%;
    --secondary-foreground: 0 0% 32%;
    --accent: 240 3.7% 15.9%;
    --accent-foreground: 0 0% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 85.7% 97.3%;
    --ring: 240 3.7% 15.9%
}

* {
    border-color: hsl(var(--border))
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground))
}

*,
:before,
:after {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / .5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
    --tw-contain-size: ;
    --tw-contain-layout: ;
    --tw-contain-paint: ;
    --tw-contain-style:
}

::backdrop {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / .5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
    --tw-contain-size: ;
    --tw-contain-layout: ;
    --tw-contain-paint: ;
    --tw-contain-style:
}

.absolute {
    position: absolute
}

.relative {
    position: relative
}

.-bottom-3 {
    bottom: -.75rem
}

.left-1\/2 {
    left: 50%
}

.right-4 {
    right: 1rem
}

.right-8 {
    right: 2rem
}

.top-1\/2 {
    top: 50%
}

.z-10 {
    z-index: 10
}

.row-auto {
    grid-row: auto
}

.mx-auto {
    margin-left: auto;
    margin-right: auto
}

.mb-0 {
    margin-bottom: 0
}

.mb-1 {
    margin-bottom: .25rem
}

.mb-2 {
    margin-bottom: .5rem
}

.mb-4 {
    margin-bottom: 1rem
}

.mb-6 {
    margin-bottom: 1.5rem
}

.mb-8 {
    margin-bottom: 2rem
}

.mb-\[2px\] {
    margin-bottom: 2px
}

.mr-2 {
    margin-right: .5rem
}

.mr-4 {
    margin-right: 1rem
}

.mt-0 {
    margin-top: 0
}

.mt-2 {
    margin-top: .5rem
}

.mt-4 {
    margin-top: 1rem
}

.inline-block {
    display: inline-block
}

.flex {
    display: flex
}

.inline-flex {
    display: inline-flex
}

.grid {
    display: grid
}

.hidden {
    display: none
}

.aspect-square {
    aspect-ratio: 1 / 1
}

.h-10 {
    height: 2.5rem
}

.h-11 {
    height: 2.75rem
}

.h-12 {
    height: 3rem
}

.h-16 {
    height: 4rem
}

.h-3 {
    height: .75rem
}

.h-4 {
    height: 1rem
}

.h-5 {
    height: 1.25rem
}

.h-8 {
    height: 2rem
}

.h-9 {
    height: 2.25rem
}

.h-\[302px\] {
    height: 302px
}

.h-auto {
    height: auto
}

.h-full {
    height: 100%
}

.max-h-0 {
    max-height: 0px
}

.w-10 {
    width: 2.5rem
}

.w-12 {
    width: 3rem
}

.w-16 {
    width: 4rem
}

.w-4 {
    width: 1rem
}

.w-44 {
    width: 11rem
}

.w-5 {
    width: 1.25rem
}

.w-8 {
    width: 2rem
}

.w-80 {
    width: 20rem
}

.w-full {
    width: 100%
}

.max-w-\[420px\] {
    max-width: 420px
}

.max-w-\[600px\] {
    max-width: 600px
}

.max-w-\[80rem\] {
    max-width: 80rem
}

.flex-1 {
    flex: 1 1 0%
}

.shrink-0 {
    flex-shrink: 0
}

.-translate-x-1\/2 {
    --tw-translate-x: -50%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
}

.-translate-y-1\/2 {
    --tw-translate-y: -50%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
}

.translate-y-full {
    --tw-translate-y: 100%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
}

.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
}

@keyframes wave {
    0% {
        transform: rotate(0)
    }

    5% {
        transform: rotate(14deg)
    }

    10% {
        transform: rotate(-8deg)
    }

    15% {
        transform: rotate(14deg)
    }

    20% {
        transform: rotate(-4deg)
    }

    25% {
        transform: rotate(10deg)
    }

    30% {
        transform: rotate(0)
    }

    to {
        transform: rotate(0)
    }
}

.animate-wave {
    animation: wave 5s ease-in-out infinite
}

.cursor-pointer {
    cursor: pointer
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr))
}

.flex-col {
    flex-direction: column
}

.flex-wrap {
    flex-wrap: wrap
}

.items-center {
    align-items: center
}

.justify-center {
    justify-content: center
}

.justify-between {
    justify-content: space-between
}

.gap-2 {
    gap: .5rem
}

.gap-4 {
    gap: 1rem
}

.gap-8 {
    gap: 2rem
}

.space-y-0>:not([hidden])~:not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0px * var(--tw-space-y-reverse))
}

.space-y-1>:not([hidden])~:not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(.25rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(.25rem * var(--tw-space-y-reverse))
}

.space-y-1\.5>:not([hidden])~:not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(.375rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(.375rem * var(--tw-space-y-reverse))
}

.self-start {
    align-self: flex-start
}

.overflow-hidden {
    overflow: hidden
}

.whitespace-nowrap {
    white-space: nowrap
}

.rounded {
    border-radius: .25rem
}

.rounded-full {
    border-radius: 9999px
}

.rounded-lg {
    border-radius: var(--radius)
}

.rounded-md {
    border-radius: calc(var(--radius) - 2px)
}

.rounded-sm {
    border-radius: calc(var(--radius) - 4px)
}

.border {
    border-width: 1px
}

.border-border {
    border-color: hsl(var(--border))
}

.border-input {
    border-color: hsl(var(--input))
}

.bg-background {
    background-color: hsl(var(--background))
}

.bg-card {
    background-color: hsl(var(--card))
}

.bg-destructive {
    background-color: hsl(var(--destructive))
}

.bg-muted {
    background-color: hsl(var(--muted))
}

.bg-primary {
    background-color: hsl(var(--primary))
}

.bg-secondary {
    background-color: hsl(var(--secondary))
}

.bg-transparent {
    background-color: transparent
}

.bg-zinc-900 {
    --tw-bg-opacity: 1;
    background-color: rgb(24 24 27 / var(--tw-bg-opacity))
}

.bg-zinc-950 {
    --tw-bg-opacity: 1;
    background-color: rgb(9 9 11 / var(--tw-bg-opacity))
}

.p-1 {
    padding: .25rem
}

.p-2 {
    padding: .5rem
}

.p-3 {
    padding: .75rem
}

.p-4 {
    padding: 1rem
}

.p-6 {
    padding: 1.5rem
}

.p-8 {
    padding: 2rem
}

.px-2 {
    padding-left: .5rem;
    padding-right: .5rem
}

.px-3 {
    padding-left: .75rem;
    padding-right: .75rem
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem
}

.py-1 {
    padding-top: .25rem;
    padding-bottom: .25rem
}

.py-1\.5 {
    padding-top: .375rem;
    padding-bottom: .375rem
}

.py-2 {
    padding-top: .5rem;
    padding-bottom: .5rem
}

.py-3 {
    padding-top: .75rem;
    padding-bottom: .75rem
}

.pb-0 {
    padding-bottom: 0
}

.pb-2 {
    padding-bottom: .5rem
}

.pb-4 {
    padding-bottom: 1rem
}

.pt-0 {
    padding-top: 0
}

.pt-4 {
    padding-top: 1rem
}

.pt-8 {
    padding-top: 2rem
}

.text-center {
    text-align: center
}

.font-caveat {
    font-family: Caveat, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji"
}

.font-inter {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji"
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem
}

.text-5xl {
    font-size: 3rem;
    line-height: 1
}

.text-\[24px\] {
    font-size: 24px
}

.text-\[28px\] {
    font-size: 28px
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem
}

.text-sm {
    font-size: .875rem;
    line-height: 1.25rem
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem
}

.text-xs {
    font-size: .75rem;
    line-height: 1rem
}

.font-bold {
    font-weight: 700
}

.font-extrabold {
    font-weight: 800
}

.font-extralight {
    font-weight: 200
}

.font-light {
    font-weight: 300
}

.font-medium {
    font-weight: 500
}

.font-semibold {
    font-weight: 600
}

.font-thin {
    font-weight: 100
}

.uppercase {
    text-transform: uppercase
}

.leading-none {
    line-height: 1
}

.tracking-tight {
    letter-spacing: -.025em
}

.tracking-wider {
    letter-spacing: .05em
}

.text-card-foreground {
    color: hsl(var(--card-foreground))
}

.text-destructive-foreground {
    color: hsl(var(--destructive-foreground))
}

.text-emerald-600 {
    --tw-text-opacity: 1;
    color: rgb(5 150 105 / var(--tw-text-opacity))
}

.text-indigo-600 {
    --tw-text-opacity: 1;
    color: rgb(79 70 229 / var(--tw-text-opacity))
}

.text-muted-foreground {
    color: hsl(var(--muted-foreground))
}

.text-primary {
    color: hsl(var(--primary))
}

.text-primary-foreground {
    color: hsl(var(--primary-foreground))
}

.text-secondary-foreground {
    color: hsl(var(--secondary-foreground))
}

.text-white {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity))
}

.text-zinc-200 {
    --tw-text-opacity: 1;
    color: rgb(228 228 231 / var(--tw-text-opacity))
}

.text-zinc-300 {
    --tw-text-opacity: 1;
    color: rgb(212 212 216 / var(--tw-text-opacity))
}

.text-zinc-500 {
    --tw-text-opacity: 1;
    color: rgb(113 113 122 / var(--tw-text-opacity))
}

.underline {
    text-decoration-line: underline
}

.underline-offset-4 {
    text-underline-offset: 4px
}

.opacity-0 {
    opacity: 0
}

.shadow-sm {
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}

.outline {
    outline-style: solid
}

.ring-offset-background {
    --tw-ring-offset-color: hsl(var(--background))
}

.blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)
}

.filter {
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)
}

.backdrop-filter {
    -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
    backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)
}

.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s
}

.duration-200 {
    transition-duration: .2s
}

.duration-300 {
    transition-duration: .3s
}

.duration-500 {
    transition-duration: .5s
}

.ease-in-out {
    transition-timing-function: cubic-bezier(.4, 0, .2, 1)
}

@keyframes enter {
    0% {
        opacity: var(--tw-enter-opacity, 1);
        transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))
    }
}

@keyframes exit {
    to {
        opacity: var(--tw-exit-opacity, 1);
        transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))
    }
}

.fade-in {
    --tw-enter-opacity: 0
}

.duration-200 {
    animation-duration: .2s
}

.duration-300 {
    animation-duration: .3s
}

.duration-500 {
    animation-duration: .5s
}

.ease-in-out {
    animation-timing-function: cubic-bezier(.4, 0, .2, 1)
}

.\@container {
    container-type: inline-size
}

.hover\:-rotate-3:hover {
    --tw-rotate: -3deg;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
}

.hover\:overflow-visible:hover {
    overflow: visible
}

.hover\:bg-accent:hover {
    background-color: hsl(var(--accent))
}

.hover\:bg-border:hover {
    background-color: hsl(var(--border))
}

.hover\:bg-destructive\/90:hover {
    background-color: hsl(var(--destructive) / .9)
}

.hover\:bg-primary\/90:hover {
    background-color: hsl(var(--primary) / .9)
}

.hover\:bg-secondary\/80:hover {
    background-color: hsl(var(--secondary) / .8)
}

.hover\:bg-white:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity))
}

.hover\:bg-zinc-800:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(39 39 42 / var(--tw-bg-opacity))
}

.hover\:text-accent-foreground:hover {
    color: hsl(var(--accent-foreground))
}

.hover\:text-black:hover {
    --tw-text-opacity: 1;
    color: rgb(0 0 0 / var(--tw-text-opacity))
}

.hover\:text-blue-500:hover {
    --tw-text-opacity: 1;
    color: rgb(59 130 246 / var(--tw-text-opacity))
}

.hover\:underline:hover {
    text-decoration-line: underline
}

.focus-visible\:outline-none:focus-visible {
    outline: 2px solid transparent;
    outline-offset: 2px
}

.focus-visible\:ring-2:focus-visible {
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)
}

.focus-visible\:ring-ring:focus-visible {
    --tw-ring-color: hsl(var(--ring))
}

.focus-visible\:ring-offset-2:focus-visible {
    --tw-ring-offset-width: 2px
}

.disabled\:pointer-events-none:disabled {
    pointer-events: none
}

.disabled\:opacity-50:disabled {
    opacity: .5
}

.group:hover .group-hover\:max-h-48 {
    max-height: 12rem
}

.group:hover .group-hover\:rotate-1 {
    --tw-rotate: 1deg;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
}

.group:hover .group-hover\:bg-zinc-900 {
    --tw-bg-opacity: 1;
    background-color: rgb(24 24 27 / var(--tw-bg-opacity))
}

.group:hover .group-hover\:text-white {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity))
}

.group:hover .group-hover\:opacity-100 {
    opacity: 1
}

.data-\[state\=active\]\:bg-background[data-state=active] {
    background-color: hsl(var(--background))
}

.data-\[state\=active\]\:text-foreground[data-state=active] {
    color: hsl(var(--foreground))
}

.data-\[state\=active\]\:shadow-sm[data-state=active] {
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}

@container (min-width: 45rem) {
    .\@\[45rem\]\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@container (min-width: 60rem) {
    .\@\[60rem\]\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

@media (min-width: 640px) {
    .sm\:h-16 {
        height: 4rem
    }

    .sm\:w-16 {
        width: 4rem
    }

    .sm\:w-\[140px\] {
        width: 140px
    }

    .sm\:gap-6 {
        gap: 1.5rem
    }

    .sm\:p-4 {
        padding: 1rem
    }

    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem
    }
}

.\[\&\>\[aria-selected\=true\]\>\.tab-icon\]\:text-white>[aria-selected=true]>.tab-icon {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity))
}

.\[\&\>\[aria-selected\=true\]\]\:bg-indigo-600>[aria-selected=true] {
    --tw-bg-opacity: 1;
    background-color: rgb(79 70 229 / var(--tw-bg-opacity))
}

@font-face {
    font-family: Caveat;
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url(/_astro/caveat-cyrillic-ext-400-normal.DCwGx3A7.woff2) format("woff2"), url(/_astro/caveat-cyrillic-ext-400-normal.BBhkZp71.woff) format("woff");
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F
}

@font-face {
    font-family: Caveat;
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url(/_astro/caveat-cyrillic-400-normal.CbkcHSWp.woff2) format("woff2"), url(/_astro/caveat-cyrillic-400-normal.DHQzmBXI.woff) format("woff");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116
}

@font-face {
    font-family: Caveat;
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url(/_astro/caveat-latin-ext-400-normal.1jP0CKZR.woff2) format("woff2"), url(/_astro/caveat-latin-ext-400-normal.DkDwBC7A.woff) format("woff");
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF
}

@font-face {
    font-family: Caveat;
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url(/_astro/caveat-latin-400-normal.C_QVhfDC.woff2) format("woff2"), url(/_astro/caveat-latin-400-normal.iYm6rx00.woff) format("woff");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

@property --x {
    syntax: "<length>";
    inherits: false;
    initial-value: 0;
}

@property --r2 {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

.rotating-effect[data-astro-cid-qbswqnho] {
    animation: rotating-angle -.64s linear 3s infinite, rotating-x -.64s linear 3s infinite;
    padding: 1px;
    background: conic-gradient(from calc(var(--r2) - 80deg) at var(--x) 15px, transparent 0, #ffffff 20%, transparent 25%), #555;
    border-radius: 16px;
    box-shadow: 0 0 20px #ffffff1a;
    transition: all .2s ease;
    transform: translateZ(0)
}

.rotating-effect[data-astro-cid-qbswqnho]:hover {
    box-shadow: 0 0 20px #ffffff40;
    background: conic-gradient(from calc(var(--r2) - 80deg) at var(--x) 15px, transparent 0, #ffffff 20%, transparent 25%), #acacac
}

.inner-rotating-effect[data-astro-cid-qbswqnho] {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .2px;
    background: #000;
    border-radius: 16px
}

@keyframes rotating-angle {
    0% {
        --r2: 0deg
    }

    32.82275711% {
        --r2: 0deg
    }

    50% {
        --r2: 180deg
    }

    82.82275711% {
        --r2: 180deg
    }

    to {
        --r2: 360deg
    }
}

@keyframes rotating-x {
    0% {
        --x: 20px
    }

    32.82275711% {
        --x: 206px
    }

    50% {
        --x: 206px
    }

    82.82275711% {
        --x: 20px
    }

    to {
        --x: 20px
    }
}

.card[data-astro-cid-3ckzntzs] {
    background: #80808033;
    padding: 2px;
    position: relative;
    overflow: hidden
}

.card[data-astro-cid-3ckzntzs]:hover>.inner-card[data-astro-cid-3ckzntzs] {
    background: #1a1a1a99;
    -webkit-backdrop-filter: blur(80px);
    backdrop-filter: blur(80px)
}

.inner-card[data-astro-cid-3ckzntzs] {
    transition: background .3s ease-in-out
}

.blob[data-astro-cid-3ckzntzs] {
    filter: blur(40px);
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: #ffffff80
}

.fakeblob[data-astro-cid-3ckzntzs] {
    display: hidden;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%
}

@keyframes fade-in {
    0% {
        opacity: 1
    }

    to {
        opacity: 1
    }
}

#benchmark,
#cold-start {
    opacity: 0
}

/* Modern Project Cards Slider System */
.projects-slider-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 4rem 4rem 4rem; /* Add horizontal padding for navigation arrows */
}

.projects-slider {
  overflow: hidden;
  border-radius: 16px;
}

.projects-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  /* Width will be set dynamically by JavaScript based on number of cards */
  gap: 2rem; /* Add gap between cards */
}

.project-card {
  flex: 0 0 calc(33.333% - 1.333rem); /* Each card takes 33.333% of viewport (3 cards visible) */
  max-width: 400px; /* Limit card width to original size */
  min-width: 350px; /* Minimum width for cards */
  background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
  border-radius: 12px;
  margin: 0;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 1px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 8px 16px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Image area - make it more prominent */
.project-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 0;
  position: relative;
  background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

/* Content area - new layout structure */
.project-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: inherit;
}

/* Header with different positioning */
.project-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}

.project-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  order: 1;
}

.project-year {
  background: rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  align-self: flex-start;
  order: 2;
}

/* Description with better spacing */
.project-description {
  color: #d1d5db;
  line-height: 1.6;
  font-size: 0.9rem;
  margin: 0;
}

/* Tags in a cleaner horizontal layout */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.project-tags .tag {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  border: 1px solid rgba(34, 197, 94, 0.2);
  transition: all 0.2s ease;
}

.project-tags .tag:hover {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.3);
}

/* Actions area - side by side layout */
.project-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-actions a {
  pointer-events: auto !important;
  z-index: 20;
}

/* Buttons with clean, minimal design */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  flex: 1;
  justify-content: center;
  cursor: pointer;
}

.btn-primary {
  background: #6366f1;
  color: white;
  border-color: #6366f1;
}

.btn-primary:hover {
  background: #4f46e5;
  border-color: #4f46e5;
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #d1d5db;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateY(-1px);
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* Enhanced Navigation Buttons - Fancy but Subtle */

/* Override existing slider navigation */
.slider-nav {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.85), rgba(139, 92, 246, 0.8)) !important;
  border: 2px solid rgba(99, 102, 241, 0.4) !important;
  border-radius: 50% !important;
  width: 60px !important;
  height: 60px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: 30 !important;
  backdrop-filter: blur(15px) !important;
  pointer-events: auto !important;
  box-shadow: 
    0 8px 32px rgba(99, 102, 241, 0.25),
    0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Animated border glow effect */
.slider-nav::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, #6366f1, #8b5cf6, #06b6d4, #10b981);
  background-size: 400% 400%;
  border-radius: 50%;
  z-index: -1;
  animation: borderGlow 3s ease infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slider-nav:hover::before {
  opacity: 1;
}

.slider-nav:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(99, 102, 241, 0.9)) !important;
  border-color: rgba(139, 92, 246, 0.6) !important;
  transform: translateY(-50%) scale(1.1) !important;
  box-shadow: 
    0 12px 48px rgba(99, 102, 241, 0.35),
    0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

.slider-prev {
  left: -10px !important;
}

.slider-next {
  right: -10px !important;
}

.slider-nav svg {
  color: white !important;
  transition: all 0.3s ease !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
}

.slider-nav:hover svg {
  color: #f8fafc !important;
  transform: scale(1.1) !important;
}

/* Enhanced dots indicator */
.slider-dots {
  display: flex !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-top: 2.5rem !important;
}

.dot {
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  background: rgba(148, 163, 184, 0.4) !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  border: 2px solid transparent !important;
  position: relative !important;
}

.dot::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: linear-gradient(45deg, #6366f1, #8b5cf6);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.dot:hover {
  background: rgba(148, 163, 184, 0.6) !important;
  transform: scale(1.3) !important;
}

.dot:hover::before {
  opacity: 0.3;
}

.dot.active {
  background: #6366f1 !important;
  border-color: rgba(99, 102, 241, 0.4) !important;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4) !important;
  transform: scale(1.2) !important;
}

.dot.active::before {
  opacity: 0.6;
}

/* Keyframe animations */
@keyframes borderGlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Responsive navigation adjustments */
@media (max-width: 1200px) {
  .slider-nav {
    width: 52px !important;
    height: 52px !important;
  }
  
  .slider-prev {
    left: -5px !important;
  }
  
  .slider-next {
    right: -5px !important;
  }
}

@media (max-width: 768px) {
  .slider-nav {
    width: 48px !important;
    height: 48px !important;
  }
  
  .slider-prev {
    left: 5px !important;
  }
  
  .slider-next {
    right: 5px !important;
  }
  
  .dot {
    width: 12px !important;
    height: 12px !important;
  }
}

/* Animation for slider and cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.projects-slider-container {
  animation: fadeInUp 0.8s ease forwards;
}

.slider-nav {
  animation: slideIn 0.6s ease forwards;
}

.slider-prev {
  animation-delay: 0.2s;
}

.slider-next {
  animation-delay: 0.3s;
}

.slider-dots {
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.4s;
}

/* Subtle glow effect */
.project-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(45deg, transparent, rgba(99, 102, 241, 0.1), transparent);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover::after {
  opacity: 1;
}

/* Custom 3-column grid layout for tools tabs */
.tools-tab-content .grid {
  display: grid !important;
  grid-template-columns: 1fr !important; /* 1 column on mobile */
  gap: 1.5rem !important;
}

@media (min-width: 640px) {
  .tools-tab-content .grid {
    grid-template-columns: repeat(2, 1fr) !important; /* 2 columns on small screens */
  }
}

@media (min-width: 1024px) {
  .tools-tab-content .grid {
    grid-template-columns: repeat(3, 1fr) !important; /* 3 columns on large screens */
  }
}

/* Ensure tools tab containers have proper max width */
.tools-tab-content {
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* Responsive adjustments */

/* Tab Animation Styles */
.tools-tab-content, .background-tab-content {
  opacity: 0;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  transform: translateY(10px);
}

.tools-tab-content.active, .background-tab-content.active {
  opacity: 1;
  transform: translateY(0);
}

/* Fade in animation for tab content */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.tab-fade-in {
  animation: fadeIn 0.3s ease-in-out forwards;
}

.tab-fade-out {
  animation: fadeOut 0.2s ease-in-out forwards;
}

/* Ensure tab contents start hidden */
.tools-tab-content:not(.active), .background-tab-content:not(.active) {
  display: none !important;
  opacity: 0;
  transform: translateY(10px);
}

.tools-tab-content.active, .background-tab-content.active {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
}

/* Tab Content Centering */
.background-tab-content {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.background-tab-content .timeline-container {
  width: 100% !important;
  max-width: 1000px !important;
}

/* Enhanced Section Header Visibility */
.section-header-enhanced {
    position: relative;
    z-index: 10;
    margin-bottom: 2rem;
}

.section-header-enhanced .section-icon {
    width: 48px !important;
    height: 48px !important;
    stroke-width: 2.5 !important;
    color: #6366f1 !important;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.3));
}

.section-header-enhanced h2 {
    font-weight: 700 !important;
    font-size: 2rem !important;
    background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 60%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    margin-bottom: 0 !important;
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
    display: block !important;
}

.section-header-enhanced h3 {
    display: none !important;
}

.section-header-enhanced h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 3px;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

/* Git Graph Timeline Styles for Career and Education */
.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.timeline-item {
  position: relative;
  padding: 1rem 0 1rem 4rem;
  margin-bottom: 0;
  border-left: 4px solid rgba(99, 102, 241, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  max-width: 800px;
  align-self: center;
  min-height: 100px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 1.5rem;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 50%;
  border: 4px solid rgba(20, 20, 20, 1);
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.3);
}

.timeline-item:hover::before {
  transform: scale(1.2);
  box-shadow: 0 0 0 8px rgba(99, 102, 241, 0.1);
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
}

.timeline-item:hover {
  border-left-color: rgba(99, 102, 241, 0.8);
}

/* Compact Timeline Content */
.timeline-content {
  background: linear-gradient(145deg, rgba(42, 42, 42, 0.8), rgba(30, 30, 30, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  overflow: visible;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 80px;
  justify-content: space-between;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(99, 102, 241, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.timeline-item:hover .timeline-content {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.timeline-item:hover .timeline-content::before {
  opacity: 1;
}

/* Compact Layout */
.timeline-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}

.timeline-icon {
  width: 40px;
  height: 40px;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
  background: rgba(99, 102, 241, 0.2);
  color: #8b5cf6;
  transform: scale(1.05);
}

.timeline-info {
  flex: 1;
  min-width: 0;
}

.timeline-company {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.timeline-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #d1d5db;
  line-height: 1.4;
  margin-bottom: 0;
}

.timeline-period {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  padding: 0.375rem 0.75rem;
  border-radius: 12px;
  display: inline-block;
  border: 1px solid rgba(99, 102, 241, 0.2);
  flex-shrink: 0;
}

/* Hover Details Indicator */
.timeline-details-indicator {
  position: relative;
  width: 24px;
  height: 24px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0.7;
  flex-shrink: 0;
  margin-left: 1rem;
}

.timeline-details-indicator::before {
  content: '⋯';
  color: #6366f1;
  font-size: 0.875rem;
  font-weight: 600;
}

.timeline-item:hover .timeline-details-indicator {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  opacity: 1;
  transform: scale(1.1);
}

/* Hover Details Overlay - Always on the right */
.timeline-details {
  position: absolute;
  top: -10px;
  left: 105%;
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.95), rgba(20, 20, 20, 0.98));
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 400px;
  max-height: 300px;
  overflow-y: auto;
}

.timeline-item:hover .timeline-details {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.timeline-description {
  font-size: 0.875rem;
  color: #e5e7eb;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}

.timeline-responsibilities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-responsibilities li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.875rem;
  color: #d1d5db;
  line-height: 1.6;
  transition: all 0.2s ease;
}

.timeline-responsibilities li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: all 0.2s ease;
}

.timeline-responsibilities li:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.timeline-responsibilities li:hover::before {
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  transform: translateY(-50%) scale(1.3);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

/* Arrow pointing to content */
.timeline-details::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: -8px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid rgba(99, 102, 241, 0.3);
}

/* Left Column: Company/School + Time */
.timeline-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-company-section {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.timeline-icon {
  width: 40px;
  height: 40px;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
  background: rgba(99, 102, 241, 0.2);
  color: #8b5cf6;
  transform: scale(1.05);
}

.timeline-company-info {
  flex: 1;
}

.timeline-company {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.timeline-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #d1d5db;
  line-height: 1.4;
}

.timeline-period {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  padding: 0.375rem 0.75rem;
  border-radius: 12px;
  display: inline-block;
  border: 1px solid rgba(99, 102, 241, 0.2);
  align-self: flex-start;
}

/* Right Column: Description + Bullet Points */
.timeline-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-description {
  font-size: 0.875rem;
  color: #e5e7eb;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.timeline-responsibilities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-responsibilities li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.875rem;
  color: #d1d5db;
  line-height: 1.6;
  transition: all 0.2s ease;
}

.timeline-responsibilities li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: all 0.2s ease;
}

.timeline-responsibilities li:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.timeline-responsibilities li:hover::before {
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  transform: translateY(-50%) scale(1.3);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

/* Connecting lines between timeline items */
.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: -2px;
  top: 2rem;
  width: 2px;
  height: calc(100% + 0.25rem);
  background: linear-gradient(to bottom, rgba(99, 102, 241, 0.4), rgba(99, 102, 241, 0.2));
  z-index: 1;
}

/* Enhanced animation for timeline items */
.timeline-item {
  opacity: 0;
  animation: slideInTimeline 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInTimeline {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive adjustments */
/* Responsive Design */
@media (max-width: 768px) {
  .timeline-container {
    padding: 1rem 0;
  }
  
  .timeline-item {
    padding-left: 3rem;
    margin-bottom: 0.5rem;
  }
  
  .timeline-content {
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    min-height: auto;
    justify-content: flex-start;
  }
  
  .timeline-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
  }
  
  .timeline-icon {
    width: 32px;
    height: 32px;
  }
  
  .timeline-company {
    font-size: 0.875rem;
  }
  
  .timeline-title {
    font-size: 0.75rem;
  }
  
  .timeline-period {
    font-size:  0.6875rem;
       padding: 0.25rem 0.5rem;
  }
  
  .timeline-details-indicator {
    position: static;
    transform: none;
    align-self: flex-start;
    margin-top: 0.5rem;
    margin-left: 0;
  }
  
  .timeline-details {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
    margin-top: 0.5rem;
    transform: translateY(-10px);
  }
  
  .timeline-item:hover .timeline-details {
    transform: translateY(0);
  }
  
  .timeline-details::before {
    top: -8px;
    left: 2rem;
    border-top: 8px solid rgba(99, 102, 241, 0.3);
    border-bottom: none;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
  }
  
  .timeline-description {
    font-size: 0.8125rem;
  }
  
  .timeline-responsibilities li {
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  .timeline-item {
    padding-left: 2.5rem;
    margin-bottom: 0.5rem;
  }
  
  .timeline-item::before {
    left: -6px;
    width: 10px;
    height: 10px;
  }
  
  .timeline-content {
    padding: 1rem;
    gap: 0.75rem;
  }
  
  .timeline-icon {
    width: 28px;
    height: 28px;
  }
  
  .timeline-company {
    font-size: 0.8125rem;
  }
  
  .timeline-title {
    font-size: 0.6875rem;
  }
  
  .timeline-period {
    font-size: 0.625rem;
    padding: 0.25rem 0.5rem;
  }
  
  .timeline-details {
    left: -0.5rem;
    right: -0.5rem;
    padding: 1rem;
  }
}

/* Ensure timeline container allows for hover details */
.timeline-container {
  overflow-x: visible;
  position: relative;
}

/* Make sure parent containers don't clip the hover details */
.background-tab-content {
  overflow-x: visible !important;
}

/* Easter Egg for About Me Section */
.easter-egg-container {
  position: relative;
}

.easter-egg-image {
  transition: all 0.5s ease;
  position: relative;
}

.normal-text {
  display: block;
  transition: opacity 0.3s ease;
}

.easter-egg-reveal {
  display: none;
  color: #fbbf24;
  font-weight: 600;
  animation: bounce 0.8s ease-in-out infinite alternate;
}

.easter-egg-container:hover .easter-egg-image {
  content: url('../screenshots/RFP.png');
}

.easter-egg-container:hover ~ div .normal-text {
  display: none;
}

.easter-egg-container:hover ~ div .easter-egg-reveal {
  display: block;
}

@keyframes bounce {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

/* Easter Egg #2 for Coming Soon Project */
.easter-egg-2-container {
  position: relative;
}

.easter-egg-2-image {
  transition: all 0.5s ease;
  position: relative;
}

.easter-egg-2-container:hover .easter-egg-2-image {
  content: url('../screenshots/ABS.png');
}

.normal-text-2 {
  display: block;
  transition: opacity 0.3s ease;
}

.easter-egg-2-reveal {
  display: none;
  color: #10b981;
  font-weight: 600;
  animation: bounce 0.8s ease-in-out infinite alternate;
}

.easter-egg-2-container:hover .normal-text-2 {
  display: none;
}

.easter-egg-2-container:hover .easter-egg-2-reveal {
  display: block;
}

/* Projects Modal Styles */
.projects-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.projects-modal-content {
  background: #111111;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 32px;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideIn 0.3s ease;
}

.projects-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #333;
}

.projects-modal-close {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.projects-modal-close:hover {
  color: #fff;
  background: #333;
}

.projects-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.project-card-modal {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: fit-content;
}

.project-card-modal:hover {
  transform: translateY(-4px);
  border-color: #555;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.project-card-modal .project-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.project-card-modal .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card-modal:hover .project-image img {
  transform: scale(1.05);
}

.project-card-modal .project-content {
  padding: 20px;
}

.project-card-modal .project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.project-card-modal .project-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.project-card-modal .project-year {
  background: #333;
  color: #999;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.875rem;
}

.project-card-modal .project-description {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.project-card-modal .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.project-card-modal .tag {
  background: #2563eb;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

.project-card-modal .project-actions {
  display: flex;
  gap: 8px;
}

.project-card-modal .btn {
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  cursor: pointer;
}

.project-card-modal .btn-primary {
  background: #2563eb;
  color: #fff;
  border: 1px solid #2563eb;
}

.project-card-modal .btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.project-card-modal .btn-secondary {
  background: transparent;
  color: #ccc;
  border: 1px solid #444;
}

.project-card-modal .btn-secondary:hover {
  background: #333;
  color: #fff;
  border-color: #555;
}

.project-card-modal .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.project-card-modal .btn:disabled:hover {
  background: transparent;
  color: #ccc;
  border-color: #444;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { 
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
  .projects-modal-content {
    width: 95%;
    padding: 20px;
    margin: 20px;
  }
  
  .projects-modal-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .project-card-modal .project-actions {
    flex-direction: column;
  }
  
  .project-card-modal .btn {
    text-align: center;
    justify-content: center;
  }
}

/* Enhanced Responsive Design for Projects Slider */
@media (max-width: 1400px) {
  .projects-slider-container {
    padding: 2rem 3rem 4rem 3rem;
  }
  
  .project-card {
    flex: 0 0 calc(50% - 1rem); /* 2 cards on large tablets */
    min-width: 320px;
    max-width: 450px;
  }
}

@media (max-width: 1024px) {
  .projects-slider-container {
    padding: 2rem 2rem 3rem 2rem;
  }
  
  .project-card {
    flex: 0 0 calc(50% - 1rem); /* 2 cards on tablets */
    min-width: 300px;
    max-width: 400px;
  }
  
  .projects-track {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .projects-slider-container {
    padding: 1rem 0.5rem 2.5rem 0.5rem;
    width: 100%;
    overflow: hidden;
  }
  
  .project-card {
    flex: 0 0 calc(100vw - 2rem); /* Full viewport width minus padding */
    min-width: unset;
    max-width: calc(100vw - 2rem);
    width: calc(100vw - 2rem);
    margin: 0;
  }
  
  .projects-track {
    gap: 1rem;
    width: calc(var(--total-cards, 6) * (100vw - 1rem));
  }
  
  .project-image {
    height: 180px;
  }
  
  .project-content {
    padding: 1rem;
  }
  
  .project-title {
    font-size: 1.1rem;
  }
  
  .project-description {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .project-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .btn {
    padding: 12px 16px;
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .projects-slider-container {
    padding: 0.5rem 0.25rem 2rem 0.25rem;
  }
  
  .project-card {
    flex: 0 0 calc(100vw - 1rem);
    min-width: unset;
    max-width: calc(100vw - 1rem);
    width: calc(100vw - 1rem);
    border-radius: 8px;
  }
  
  .projects-track {
    gap: 0.75rem;
  }
  
  .project-image {
    height: 160px;
  }
  
  .project-content {
    padding: 0.75rem;
  }
  
  .project-title {
    font-size: 1rem;
  }
  
  .project-description {
    font-size: 0.8rem;
  }
  
  .project-tags {
    gap: 6px;
  }
  
  .project-tags .tag {
    padding: 4px 8px;
    font-size: 0.7rem;
  }
  
  .btn {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
}

/* Mobile touch optimization for project slider */
@media (max-width: 768px) {
  .projects-slider-container {
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
  }
  
  .projects-track {
    touch-action: pan-x;
  }
  
  .project-card {
    touch-action: manipulation;
  }
  
  /* Hide navigation arrows on mobile - use swipe instead */
  .slider-nav {
    display: none !important;
  }
  
  /* Make dots more touch-friendly on mobile */
  .dot {
    width: 16px !important;
    height: 16px !important;
    margin: 0 8px !important;
    touch-action: manipulation;
  }
  
  .slider-dots {
    padding: 1rem 0;
    margin-top: 1.5rem !important;
  }
}

/* Better touch targets for smaller screens */
@media (max-width: 480px) {
  .dot {
    width: 18px !important;
    height: 18px !important;
    margin: 0 10px !important;
  }
  
  .tools-tab-btn {
    touch-action: manipulation;
    min-height: 44px; /* iOS recommended touch target size */
  }
  
  .btn {
    min-height: 44px;
    touch-action: manipulation;
  }
}

/* Ensure proper spacing for mobile viewport */
@media (max-width: 768px) {
  /* Add top margin to prevent content from touching screen edges */
  .section-header-enhanced {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
  }
  
  /* Better spacing for section content */
  .projects-slider-container,
  .tools-tabs-container {
    margin-top: 0.5rem;
  }
  
  /* Prevent horizontal scroll */
  body,
  html {
    overflow-x: hidden;
  }
}

/* Fix for very small screens */
@media (max-width: 360px) {
  .projects-slider-container {
    padding: 0.25rem 0.125rem 1.5rem 0.125rem;
  }
  
  .project-card {
    flex: 0 0 calc(100vw - 0.5rem);
    min-width: unset;
    max-width: calc(100vw - 0.5rem);
    width: calc(100vw - 0.5rem);
  }
  
  .projects-track {
    gap: 0.5rem;
  }
  
  .tools-tab-content {
    padding: 0 0.125rem !important;
  }
  
  .tools-tab-content .rounded-lg {
    padding: 0.5rem !important;
  }
}

/* Improve slider dots visibility on all devices */
.slider-dots {
  position: relative;
  z-index: 10;
}

.dot {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.dot:focus {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

/* Ensure consistent card spacing across all screen sizes */
.project-card {
  scroll-snap-align: center;
}

.projects-track {
  scroll-snap-type: x mandatory;
}

/* Additional mobile optimization for better UX */
@media (max-width: 768px) {
  /* Make tab buttons display in 2 rows on mobile */
  .tools-tabs-container .inline-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }
  
  /* Tab buttons - 2 per row */
  .tools-tab-btn {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 120px;
    max-width: calc(50% - 0.25rem);
    padding: 0.75rem 0.5rem !important;
    font-size: 0.75rem !important;
    height: auto !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    touch-action: manipulation;
    margin: 0;
  }
  
  .tools-tab-btn svg {
    width: 14px;
    height: 14px;
    margin-right: 0.25rem;
  }
  
  /* Better visual hierarchy for mobile */
  .section-header-enhanced {
    text-align: center;
    padding: 0 1rem;
  }
  
  /* Prevent layout shift on mobile */
  .projects-slider-container,
  .tools-tabs-container {
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Improve readability on mobile */
  .project-description {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    word-wrap: break-word;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .project-card,
  .tools-tab-content .rounded-lg {
    border: 2px solid rgba(255, 255, 255, 0.3);
  }
  
  .btn {
    border-width: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .projects-track {
    transition: none;
  }
  
  .project-card,
  .btn,
  .tools-tab-btn {
    transition: none;
  }
  
  .project-card:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  .slider-nav,
  .slider-dots,
  .tools-tabs-container .inline-flex {
    display: none;
  }
  
  .projects-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    transform: none !important;
  }
  
  .project-card {
    flex: none;
    page-break-inside: avoid;
  }
}

/* Fix slider overflow issues on mobile */
@media (max-width: 768px) {
  .projects-slider {
    width: 100%;
    overflow: hidden;
  }
  
  .projects-slider-container {
    max-width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .projects-track {
    align-items: stretch;
    width: auto; /* Let JavaScript handle this */
  }
  
  /* Ensure cards don't overflow */
  .project-card {
    box-sizing: border-box;
    flex-shrink: 0;
  }
  
  /* Make sure images don't cause overflow */
  .project-image,
  .project-image img {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Ensure content doesn't overflow */
  .project-content {
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
  }
  
  .project-description {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }
}

/* Additional overflow protection */
body {
  overflow-x: hidden;
}

.projects-slider-container {
  position: relative;
  overflow: hidden;
}

/* Ensure smooth scrolling behavior */
@media (max-width: 768px) {
  .projects-track {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
}

/* Very small screens - stack buttons vertically if needed */
@media (max-width: 480px) {
  .tools-tabs-container .inline-flex {
    padding: 0.5rem;
    gap: 0.375rem;
  }
  
  .tools-tab-btn {
    flex: 1 1 calc(50% - 0.1875rem);
    min-width: 100px;
    max-width: calc(50% - 0.1875rem);
    padding: 0.625rem 0.375rem !important;
    font-size: 0.6875rem !important;
    min-height: 44px;
  }
  
  .tools-tab-btn svg {
    width: 12px;
    height: 12px;
    margin-right: 0.125rem;
  }
}

/* Extra small screens - ensure buttons don't get too cramped */
@media (max-width: 360px) {
  .tools-tabs-container .inline-flex {
    padding: 0.375rem;
    gap: 0.25rem;
  }
  
  .tools-tab-btn {
    padding: 0.5rem 0.25rem !important;
    font-size: 0.625rem !important;
  }
}