/* Base Styles */
    :root {
        --background: 240 10% 3.9%;
        --foreground: 0 0% 98%;
        --card: 240 10% 3.9%;
        --card-foreground: 0 0% 98%;
        --popover: 240 10% 3.9%;
        --popover-foreground: 0 0% 98%;
        --primary: 217 91.2% 59.8%;
        --primary-foreground: 0 0% 98%;
        --secondary: 240 3.7% 15.9%;
        --secondary-foreground: 0 0% 98%;
        --muted: 240 3.7% 15.9%;
        --muted-foreground: 240 5% 64.9%;
        --accent: 240 3.7% 15.9%;
        --accent-foreground: 0 0% 98%;
        --destructive: 0 62.8% 30.6%;
        --destructive-foreground: 0 0% 98%;
        --border: 240 3.7% 15.9%;
        --input: 240 3.7% 15.9%;
        --ring: 240 4.9% 83.9%;
        --radius: 0.5rem;
      }
  
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        border-color: hsl(var(--border));
      }
  
      html {
        scroll-behavior: smooth;
      }
  
      body {
        background-color: hsl(var(--background));
        color: hsl(var(--foreground));
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
          Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
        line-height: 1.5;
        min-height: 100vh;
      }
  
      a {
        color: inherit;
        text-decoration: none;
      }
  
      img {
        max-width: 100%;
        height: auto;
      }
  
      /* Layout */
      .container {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 1rem;
        padding-right: 1rem;
      }
  
      @media (min-width: 640px) {
        .container {
          max-width: 640px;
          padding-left: 1.5rem;
          padding-right: 1.5rem;
        }
      }
  
      @media (min-width: 768px) {
        .container {
          max-width: 768px;
        }
      }
  
      @media (min-width: 1024px) {
        .container {
          max-width: 1024px;
          padding-left: 2rem;
          padding-right: 2rem;
        }
      }
  
      @media (min-width: 1280px) {
        .container {
          max-width: 1280px;
        }
      }
  
      .min-h-screen {
        min-height: 100vh;
      }
  
      .fixed {
        position: fixed;
      }
  
      .absolute {
        position: absolute;
      }
  
      .relative {
        position: relative;
      }
  
      .sticky {
        position: sticky;
      }
  
      .inset-0 {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
      }
  
      .top-0 {
        top: 0;
      }
  
      .left-0 {
        left: 0;
      }
  
      .right-0 {
        right: 0;
      }
  
      .bottom-0 {
        bottom: 0;
      }
  
      .top-4 {
        top: 1rem;
      }
  
      .right-4 {
        right: 1rem;
      }
  
      .right-6 {
        right: 1.5rem;
      }
  
      .bottom-4 {
        bottom: 1rem;
      }
  
      .left-4 {
        left: 1rem;
      }
  
      .bottom-10 {
        bottom: 2.5rem;
      }
  
      .left-1\/2 {
        left: 50%;
      }
  
      .top-1\/2 {
        top: 50%;
      }
  
      .top-24 {
        top: 6rem;
      }
  
      .z-40 {
        z-index: 40;
      }
  
      .z-50 {
        z-index: 50;
      }
  
      .z-\[100\] {
        z-index: 100;
      }
  
      .mx-auto {
        margin-left: auto;
        margin-right: auto;
      }
  
      .mx-2 {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
      }
  
      .mx-4 {
        margin-left: 1rem;
        margin-right: 1rem;
      }
  
      .my-2 {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
      }
  
      .mb-2 {
        margin-bottom: 0.5rem;
      }
  
      .mb-4 {
        margin-bottom: 1rem;
      }
  
      .mb-6 {
        margin-bottom: 1.5rem;
      }
  
      .mb-8 {
        margin-bottom: 2rem;
      }
  
      .mb-10 {
        margin-bottom: 2.5rem;
      }
  
      .mb-12 {
        margin-bottom: 3rem;
      }
  
      .mt-1 {
        margin-top: 0.25rem;
      }
  
      .mt-2 {
        margin-top: 0.5rem;
      }
  
      .mt-4 {
        margin-top: 1rem;
      }
  
      .mt-8 {
        margin-top: 2rem;
      }
  
      .mt-12 {
        margin-top: 3rem;
      }
  
      .mt-auto {
        margin-top: auto;
      }
  
      .ml-1 {
        margin-left: 0.25rem;
      }
  
      .ml-2 {
        margin-left: 0.5rem;
      }
  
      .ml-4 {
        margin-left: 1rem;
      }
  
      .mr-2 {
        margin-right: 0.5rem;
      }
  
      .mr-4 {
        margin-right: 1rem;
      }
  
      .flex {
        display: flex;
      }
  
      .grid {
        display: grid;
      }
  
      .hidden {
        display: none;
      }
  
      .h-3 {
        height: 0.75rem;
      }
  
      .h-4 {
        height: 1rem;
      }
  
      .h-5 {
        height: 1.25rem;
      }
  
      .h-6 {
        height: 1.5rem;
      }
  
      .h-8 {
        height: 2rem;
      }
  
      .h-16 {
        height: 4rem;
      }
  
      .h-48 {
        height: 12rem;
      }
  
      .h-64 {
        height: 16rem;
      }
  
      .h-\[500px\] {
        height: 500px;
      }
  
      .h-full {
        height: 100%;
      }
  
      .w-3 {
        width: 0.75rem;
      }
  
      .w-4 {
        width: 1rem;
      }
  
      .w-5 {
        width: 1.25rem;
      }
  
      .w-6 {
        width: 1.5rem;
      }
  
      .w-8 {
        width: 2rem;
      }
  
      .w-32 {
        width: 8rem;
      }
  
      .w-full {
        width: 100%;
      }
  
      .max-w-md {
        max-width: 28rem;
      }
  
      .max-w-lg {
        max-width: 32rem;
      }
  
      .max-w-xl {
        max-width: 36rem;
      }
  
      .max-w-2xl {
        max-width: 42rem;
      }
  
      .max-w-3xl {
        max-width: 48rem;
      }
  
      .max-h-\[90vh\] {
        max-height: 90vh;
      }
  
      .flex-1 {
        flex: 1 1 0%;
      }
  
      .flex-shrink-0 {
        flex-shrink: 0;
      }
  
      .transform {
        transform: translateX(-50%);
      }
  
      .translate-x-\[-50\%\] {
        transform: translateX(-50%);
      }
  
      .translate-y-\[-50\%\] {
        transform: translateY(-50%);
      }
  
      .grid-cols-1 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
      }
  
      @media (min-width: 640px) {
        .sm\:grid-cols-2 {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        
        .sm\:rounded-lg {
          border-radius: 0.5rem;
        }
        
        .sm\:h-80 {
          height: 20rem;
        }
      }
  
      @media (min-width: 768px) {
        .md\:grid-cols-2 {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        
        .md\:flex {
          display: flex;
        }
        
        .md\:hidden {
          display: none;
        }
      }
  
      @media (min-width: 1024px) {
        .lg\:grid-cols-2 {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        
        .lg\:grid-cols-3 {
          grid-template-columns: repeat(3, minmax(0, 1fr));
        }
        
        .lg\:col-span-1 {
          grid-column: span 1 / span 1;
        }
        
        .lg\:col-span-2 {
          grid-column: span 2 / span 2;
        }
        
        .lg\:block {
          display: block;
        }
        
        .lg\:flex {
          display: flex;
        }
      }
  
      .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: 0.5rem;
      }
  
      .gap-3 {
        gap: 0.75rem;
      }
  
      .gap-4 {
        gap: 1rem;
      }
  
      .gap-6 {
        gap: 1.5rem;
      }
  
      .gap-8 {
        gap: 2rem;
      }
  
      .gap-12 {
        gap: 3rem;
      }
  
      .space-x-2 > * + * {
        margin-left: 0.5rem;
      }
  
      .space-x-3 > * + * {
        margin-left: 0.75rem;
      }
  
      .space-x-4 > * + * {
        margin-left: 1rem;
      }
  
      .space-x-6 > * + * {
        margin-left: 1.5rem;
      }
  
      .space-x-8 > * + * {
        margin-left: 2rem;
      }
  
      .space-y-1 > * + * {
        margin-top: 0.25rem;
      }
  
      .space-y-2 > * + * {
        margin-top: 0.5rem;
      }
  
      .space-y-3 > * + * {
        margin-top: 0.75rem;
      }
  
      .space-y-4 > * + * {
        margin-top: 1rem;
      }
  
      .space-y-6 > * + * {
        margin-top: 1.5rem;
      }
  
      .space-y-8 > * + * {
        margin-top: 2rem;
      }
  
      .space-y-12 > * + * {
        margin-top: 3rem;
      }
  
      .overflow-hidden {
        overflow: hidden;
      }
  
      .overflow-y-auto {
        overflow-y: auto;
      }
  
      .rounded-md {
        border-radius: 0.375rem;
      }
  
      .rounded-lg {
        border-radius: 0.5rem;
      }
  
      .rounded-xl {
        border-radius: 0.75rem;
      }
  
      .rounded-2xl {
        border-radius: 1rem;
      }
  
      .rounded-full {
        border-radius: 9999px;
      }
  
      .rounded-sm {
        border-radius: 0.125rem;
      }
  
      .border {
        border-width: 1px;
      }
  
      .border-t {
        border-top-width: 1px;
      }
  
      .border-b {
        border-bottom-width: 1px;
      }
  
      .border-l {
        border-left-width: 1px;
      }
  
      .border-border {
        border-color: hsl(var(--border));
      }
  
      .border-primary\/50 {
        border-color: hsla(var(--primary), 0.5);
      }
  
      .bg-background {
        background-color: hsl(var(--background));
      }
  
      .bg-background\/80 {
        background-color: hsla(var(--background), 0.8);
      }
  
      .bg-background\/95 {
        background-color: hsla(var(--background), 0.95);
      }
  
      .bg-primary {
        background-color: hsl(var(--primary));
      }
  
      .bg-primary\/10 {
        background-color: hsla(var(--primary), 0.1);
      }
  
      .bg-primary\/20 {
        background-color: hsla(var(--primary), 0.2);
      }
  
      .bg-secondary {
        background-color: hsl(var(--secondary));
      }
  
      .bg-card {
        background-color: hsl(var(--card));
      }
  
      .bg-foreground\/20 {
        background-color: hsla(var(--foreground), 0.2);
      }
  
      .bg-gradient-to-r {
        background-image: linear-gradient(to right, var(--tw-gradient-stops));
      }
  
      .bg-gradient-to-t {
        background-image: linear-gradient(to top, var(--tw-gradient-stops));
      }
  
      .from-background {
        --tw-gradient-from: hsl(var(--background));
        --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, hsla(var(--background), 0));
      }
  
      .from-background\/80 {
        --tw-gradient-from: hsla(var(--background), 0.8);
        --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, hsla(var(--background), 0));
      }
  
      .from-blue-400 {
        --tw-gradient-from: #60a5fa;
        --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(96, 165, 250, 0));
      }
  
      .via-background\/40 {
        --tw-gradient-stops: var(--tw-gradient-from), hsla(var(--background), 0.4), var(--tw-gradient-to, hsla(var(--background), 0));
      }
  
      .via-transparent {
        --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to, rgba(0, 0, 0, 0));
      }
  
      .to-transparent {
        --tw-gradient-to: transparent;
      }
  
      .to-purple-600 {
        --tw-gradient-to: #9333ea;
      }
  
      .p-1 {
        padding: 0.25rem;
      }
  
      .p-3 {
        padding: 0.75rem;
      }
  
      .p-4 {
        padding: 1rem;
      }
  
      .p-6 {
        padding: 1.5rem;
      }
  
      .px-2 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
      }
  
      .px-3 {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
      }
  
      .px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
      }
  
      .py-1 {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
      }
  
      .py-2 {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
      }
  
      .py-4 {
        padding-top: 1rem;
        padding-bottom: 1rem;
      }
  
      .py-12 {
        padding-top: 3rem;
        padding-bottom: 3rem;
      }
  
      .py-20 {
        padding-top: 5rem;
        padding-bottom: 5rem;
      }
  
      .pt-2 {
        padding-top: 0.5rem;
      }
  
      .pt-4 {
        padding-top: 1rem;
      }
  
      .pt-16 {
        padding-top: 4rem;
      }
  
      .pb-20 {
        padding-bottom: 5rem;
      }
  
      .pl-6 {
        padding-left: 1.5rem;
      }
  
      .text-center {
        text-align: center;
      }
  
      .text-xs {
        font-size: 0.75rem;
        line-height: 1rem;
      }
  
      .text-sm {
        font-size: 0.875rem;
        line-height: 1.25rem;
      }
  
      .text-base {
        font-size: 1rem;
        line-height: 1.5rem;
      }
  
      .text-lg {
        font-size: 1.125rem;
        line-height: 1.75rem;
      }
  
      .text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
      }
  
      .text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
      }
  
      .text-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
      }
  
      .text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
      }
  
      @media (min-width: 768px) {
        .md\:text-3xl {
          font-size: 1.875rem;
          line-height: 2.25rem;
        }
        
        .md\:text-5xl {
          font-size: 3rem;
          line-height: 1;
        }
      }
  
      @media (min-width: 1024px) {
        .lg\:text-4xl {
          font-size: 2.25rem;
          line-height: 2.5rem;
        }
        
        .lg\:text-6xl {
          font-size: 3.75rem;
          line-height: 1;
        }
      }
  
      .font-medium {
        font-weight: 500;
      }
  
      .font-semibold {
        font-weight: 600;
      }
  
      .font-bold {
        font-weight: 700;
      }
  
      .leading-relaxed {
        line-height: 1.625;
      }
  
      .leading-none {
        line-height: 1;
      }
  
      .tracking-tight {
        letter-spacing: -0.025em;
      }
  
      .text-foreground {
        color: hsl(var(--foreground));
      }
  
      .text-foreground\/60 {
        color: hsla(var(--foreground), 0.6);
      }
  
      .text-foreground\/70 {
        color: hsla(var(--foreground), 0.7);
      }
  
      .text-foreground\/80 {
        color: hsla(var(--foreground), 0.8);
      }
  
      .text-primary {
        color: hsl(var(--primary));
      }
  
      .text-transparent {
        color: transparent;
      }
  
      .opacity-70 {
        opacity: 0.7;
      }
  
      .opacity-0 {
        opacity: 0;
      }
  
      .shadow-md {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
      }
  
      .shadow-lg {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
      }
  
      .blur-2xl {
        --tw-blur: blur(40px);
        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-blur-md {
        --tw-backdrop-blur: blur(12px);
        -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);
      }
  
      .backdrop-blur-sm {
        --tw-backdrop-blur: blur(4px);
        -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-all {
        transition-property: all;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 150ms;
      }
  
      .transition-colors {
        transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 150ms;
      }
  
      .transition-opacity {
        transition-property: opacity;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 150ms;
      }
  
      .transition-transform {
        transition-property: transform;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 150ms;
      }
  
      .duration-300 {
        transition-duration: 300ms;
      }
  
      .duration-500 {
        transition-duration: 500ms;
      }
  
      .resize-none {
        resize: none;
      }
  
      .aspect-square {
        aspect-ratio: 1 / 1;
      }
  
      .object-cover {
        -o-object-fit: cover;
           object-fit: cover;
      }
  
      /* Custom Components */
      .gradient-text {
        -webkit-background-clip: text;
                background-clip: text;
        color: transparent;
        background-image: linear-gradient(to right, #60a5fa, #9333ea);
      }
  
      .nav-link {
        position: relative;
      }
  
      .nav-link::after {
        content: '';
        position: absolute;
        background-color: hsl(var(--primary));
        height: 2px;
        width: 0;
        left: 0;
        bottom: -4px;
        border-radius: 9999px;
        transition-duration: 300ms;
      }
  
      .nav-link:hover::after {
        width: 100%;
      }
  
      .project-card {
        position: relative;
        overflow: hidden;
        border-radius: 0.5rem;
        border-width: 1px;
        border-color: hsl(var(--border));
        background-color: hsl(var(--card));
        padding: 1.5rem;
        transition-property: all;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 300ms;
        cursor: pointer;
      }
  
      .project-card:hover {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        box-shadow: 0 0 15px 0 hsla(var(--primary), 0.2);
      }
  
      .project-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(to right, hsla(var(--primary), 0.1), transparent);
        opacity: 0;
        transition-property: opacity;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 300ms;
      }
  
      .project-card:hover::before {
        opacity: 1;
      }
  
      .skill-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        border-radius: 0.375rem;
        border-width: 1px;
        border-color: hsl(var(--border));
        background-color: hsl(var(--secondary));
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        padding-top: 0.375rem;
        padding-bottom: 0.375rem;
        font-size: 0.875rem;
        line-height: 1.25rem;
        font-weight: 500;
        transition-property: all;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 300ms;
      }
  
      .skill-item:hover {
        border-color: hsla(var(--primary), 0.5);
        background-color: hsla(var(--secondary), 0.8);
      }
  
      .contact-input {
        border-radius: 0.375rem;
        border-width: 1px;
        border-color: hsl(var(--border));
        background-color: hsl(var(--secondary));
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        color: hsl(var(--foreground));
        transition-property: all;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 300ms;
      }
  
      .contact-input:focus {
        border-color: hsl(var(--primary));
        outline: none;
        box-shadow: 0 0 0 1px hsl(var(--primary));
      }
  
      /* Button Styles */
      .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 0.375rem;
        font-size: 0.875rem;
        line-height: 1.25rem;
        font-weight: 500;
        height: 2.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
        transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 150ms;
      }
  
      .btn-primary {
        background-color: hsl(var(--primary));
        color: hsl(var(--primary-foreground));
      }
  
      .btn-primary:hover {
        background-color: hsla(var(--primary), 0.9);
      }
  
      .btn-outline {
        border-width: 1px;
        border-color: hsl(var(--input));
        background-color: hsl(var(--background));
      }
  
      .btn-outline:hover {
        background-color: hsl(var(--accent));
        color: hsl(var(--accent-foreground));
      }
  
      .btn-ghost {
        background-color: transparent;
        font-size: 0.875rem;
        line-height: 1.25rem;
        height: 2.25rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        border-radius: 0.375rem;
      }
  
      .btn-ghost:hover {
        background-color: hsla(var(--accent), 0.8);
        color: hsl(var(--accent-foreground));
      }
  
      .btn-lg {
        height: 2.75rem;
        padding-left: 2rem;
        padding-right: 2rem;
        border-radius: 0.375rem;
      }
  
      .filter-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 9999px;
        font-size: 0.875rem;
        line-height: 1.25rem;
        font-weight: 500;
        height: 2.25rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        border-width: 1px;
        border-color: hsl(var(--input));
        background-color: hsl(var(--background));
        color: hsl(var(--foreground));
        transition-property: color, background-color, border-color;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 150ms;
      }
  
      .filter-btn:hover {
        background-color: hsl(var(--accent));
        color: hsl(var(--accent-foreground));
      }
  
      .filter-btn.active {
        background-color: hsl(var(--primary));
        color: hsl(var(--primary-foreground));
        border-color: hsl(var(--primary));
      }
  
      /* Animations */
      .animate-fade-in {
        opacity: 0;
        animation: fadeIn 0.6s ease-out forwards;
      }
  
      .animate-fade-in-delay-2 {
        opacity: 0;
        animation: fadeIn 0.6s ease-out 0.2s forwards;
      }
  
      .animate-fade-in-delay-3 {
        opacity: 0;
        animation: fadeIn 0.6s ease-out 0.3s forwards;
      }
  
      .animate-fade-in-delay-4 {
        opacity: 0;
        animation: fadeIn 0.6s ease-out 0.4s forwards;
      }
  
      .animate-fade-in-delay-5 {
        opacity: 0;
        animation: fadeIn 0.6s ease-out 0.5s forwards;
      }
  
      .animate-fade-in-delay-6 {
        opacity: 0;
        animation: fadeIn 0.6s ease-out 0.6s forwards;
      }
  
      .animate-fade-in-delay-7 {
        opacity: 0;
        animation: fadeIn 0.6s ease-out 0.7s forwards;
      }
  
      .animate-fade-in-delay-8 {
        opacity: 0;
        animation: fadeIn 0.6s ease-out 0.8s forwards;
      }
  
      .animate-fade-in-scale {
        opacity: 0;
        transform: scale(0.9);
        animation: fadeInScale 0.6s ease-out forwards;
      }
  
      .animate-bounce {
        animation: bounce 1.5s infinite;
      }
  
      .animate-scroll-indicator {
        animation: scrollIndicator 1.5s infinite;
      }
  
      @keyframes fadeIn {
        from {
          opacity: 0;
          transform: translateY(20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
  
      @keyframes fadeInScale {
        from {
          opacity: 0;
          transform: scale(0.9);
        }
        to {
          opacity: 1;
          transform: scale(1);
        }
      }
  
      @keyframes bounce {
        0%, 100% {
          transform: translateY(0);
        }
        50% {
          transform: translateY(10px);
        }
      }
  
      @keyframes scrollIndicator {
        0% { transform: translateY(0); opacity: 1; }
        50% { transform: translateY(5px); opacity: 0.5; }
        100% { transform: translateY(0); opacity: 1; }
      }
  
      /* Intersection Observer Animation */
      .animate-on-scroll {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease-out, transform 0.5s ease-out;
      }
  
      .animate-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
      }
  
      /* Responsive Adjustments */
      @media (max-width: 768px) {
        .hidden-mobile {
          display: none;
        }
      }
  
      @media (min-width: 768px) {
        .hidden-desktop {
          display: none;
        }
      }
  
      /* Project Modal Animations */
      .modal-enter {
        opacity: 0;
      }
  
      .modal-enter-active {
        opacity: 1;
        transition: opacity 300ms;
      }
  
      .modal-exit {
        opacity: 1;
      }
  
      .modal-exit-active {
        opacity: 0;
        transition: opacity 300ms;
      }
  
      /* Toast Animation */
      .toast-enter {
        transform: translateX(100%);
      }
  
      .toast-enter-active {
        transform: translateX(0);
        transition: transform 300ms;
      }
  
      .toast-exit {
        transform: translateX(0);
      }
  
      .toast-exit-active {
        transform: translateX(100%);
        transition: transform 300ms;
      }
  
      /* Scrollbar Styling */
      ::-webkit-scrollbar {
        width: 8px;
      }
  
      ::-webkit-scrollbar-track {
        background: hsla(var(--secondary), 0.5);
      }
  
      ::-webkit-scrollbar-thumb {
        background: hsla(var(--primary), 0.5);
        border-radius: 4px;
      }
  
      ::-webkit-scrollbar-thumb:hover {
        background: hsla(var(--primary), 0.7);
      }

      /* Centrar el modal */
      .modal-centered {
        position: fixed; /* Fija el modal en la ventana */
        top: 50%; /* Centra verticalmente */
        left: 50%; /* Centra horizontalmente */
        transform: translate(-50%, -50%); /* Ajusta el desplazamiento para centrar */
      }

      /* Fondo oscuro detrás del modal */
      #modal-overlay {
        position: fixed; /* Fija el overlay en la ventana */
        top: 0;
        left: 0;
        width: 100%; /* Cubre todo el ancho */
        height: 100%; /* Cubre toda la altura */
        background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
        z-index: 999; /* Debajo del modal pero encima de otros elementos */
      }

      /* Responsivo: Ajustar el modal en pantallas pequeñas */
      @media (max-width: 768px) {
        .modal-centered {
          width: 90%; /* Ajusta el ancho en pantallas pequeñas */
          max-width: none; /* Elimina el ancho máximo */
        }
      }

      #project-modal .modal-centered {
        width: auto;
        max-width: 90%;
        max-height: 90vh;
        z-index: 9999; /* Asegura que el modal esté por encima de otros elementos */
        overflow-y: auto; /* Habilita el scrollbar vertical */
      }

      #modal-content {
        overflow-y: auto; /* Asegura que el contenido tenga scrollbar si es necesario */
      }

      #project-modal .modal-centered {
        max-height: 90vh; /* Limita la altura máxima del modal */
        overflow-y: auto; /* Habilita el scroll vertical */
      }

   

      #loader {
        display: none;
        margin: 20px auto;
        border: 4px solid rgba(0, 0, 0, 0.1);
        border-top: 4px solid #3498db;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        animation: spin 1s linear infinite;
      }

      @keyframes spin {
        0% {
          transform: rotate(0deg);
        }
        100% {
          transform: rotate(360deg);
        }
      }



