/* Premium Refined CSS Variables */
:root {
    --primary: #3b82f6;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --primary-glow: rgba(59, 130, 246, 0.15);
    --dark: #0f172a;
    --darker: #0a0f1c;
    --darkest: #05080f;
    --light: #f8fafc;
    --gray: #94a3b8;
    --gray-dark: #475569;
    --gray-light: #e2e8f0;
    --card-bg: rgba(15, 23, 42, 0.7);
    --card-border: rgba(148, 163, 184, 0.1);
    --card-highlight: rgba(59, 130, 246, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-soft: 0 4px 24px rgba(2, 8, 23, 0.4);
    --shadow-medium: 0 8px 32px rgba(2, 8, 23, 0.5);
    --shadow-strong: 0 12px 48px rgba(2, 8, 23, 0.6);
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(147, 197, 253, 0.06) 100%);
    --border-radius-sm: 6px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  
      .model-showcase {
        margin-top: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        perspective: 1200px;
        position: relative;
        isolation: isolate;
        padding: 18px;
        border-radius: var(--radius-xl);
        background:
          linear-gradient(140deg, rgba(15, 23, 42, 0.76) 0%, rgba(2, 6, 23, 0.58) 100%),
          var(--gradient-dark);
        box-shadow: var(--shadow-medium);
        border: 1px solid rgba(59, 130, 246, 0.18);
      }
  
      .model-showcase .hero-model,
      .model-showcase .hero-model-fallback {
        width: 100%;
        max-width: 360px;
        height: 360px;
        border-radius: var(--radius-lg);
        object-fit: contain;
        background: radial-gradient(circle at 50% 45%, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
        box-shadow: inset 0 0 32px rgba(2, 6, 23, 0.45);
      }
  
      .model-showcase .hero-model::part(default-progress-bar) {
        display: none;
      }
  
      .model-showcase .hero-model::part(ar-button) {
        position: absolute;
        bottom: 20px;
        right: 20px;
        border-radius: 999px;
        padding: 6px 12px;
        font-size: 0.75rem;
        background: rgba(15, 23, 42, 0.85);
        color: var(--light);
        border: 1px solid rgba(148, 163, 184, 0.35);
        box-shadow: 0 6px 16px rgba(2, 6, 23, 0.4);
      }
  
      .model-showcase .hero-model::part(ar-button):hover {
        background: rgba(37, 99, 235, 0.85);
        border-color: rgba(147, 197, 253, 0.45);
      }
  
      .model-section {
        padding-block: 80px;
        background:
          radial-gradient(circle at 12% 18%, rgba(59, 130, 246, 0.08) 0%, transparent 55%),
          radial-gradient(circle at 85% 82%, rgba(37, 99, 235, 0.06) 0%, transparent 60%),
          linear-gradient(135deg, rgba(2, 6, 23, 0.92) 0%, rgba(15, 23, 42, 0.92) 100%);
      }
  
      .model-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 48px;
        align-items: center;
      }
  
      .model-copy {
        display: flex;
        flex-direction: column;
        gap: 20px;
        color: var(--light);
      }
  
      .model-eyebrow {
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: rgba(147, 197, 253, 0.8);
      }
  
      .model-copy h2 {
        font-size: clamp(2rem, 3vw, 2.6rem);
        line-height: 1.3;
        background: linear-gradient(135deg, var(--light) 0%, var(--primary-light) 80%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
      }
  
      .model-copy p {
        color: rgba(203, 213, 225, 0.92);
        line-height: 1.8;
        font-size: 0.98rem;
        max-width: 520px;
      }
  
      .model-highlights {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 0;
        margin: 0;
      }
  
      .model-highlights li {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 12px 16px;
        border-radius: var(--radius-md);
        background: rgba(15, 23, 42, 0.55);
        border: 1px solid rgba(59, 130, 246, 0.16);
        color: rgba(203, 213, 225, 0.9);
        box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.12);
        transition: transform var(--transition-fast), border-color var(--transition-fast);
      }
  
      .model-highlights li i {
        color: var(--primary-light);
        font-size: 1.1rem;
      }
  
      .model-highlights li:hover {
        transform: translateY(-2px);
        border-color: rgba(147, 197, 253, 0.35);
      }
  
      @media (max-width: 768px) {
        .model-section {
          padding-block: 60px;
        }
  
        .model-showcase {
          margin-top: 20px;
        }
  
        .model-showcase .hero-model,
        .model-showcase .hero-model-fallback {
          max-width: 100%;
          height: 300px;
        }
      }
  
      /* Global Reset with Premium Typography */
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
      }
  
      /* Premium Body Styling */
      body {
        background: 
          radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
          radial-gradient(circle at 80% 20%, rgba(147, 197, 253, 0.1) 0%, transparent 50%),
          radial-gradient(circle at 40% 40%, rgba(30, 64, 175, 0.08) 0%, transparent 50%),
          linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
        color: var(--light);
        line-height: 1.6;
        font-size: 16px;
        overflow-x: hidden;
        min-height: 100vh;
        position: relative;
      }
  
      /* Premium Shimmer Effect */
      .shimmer {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: 
          linear-gradient(90deg, 
            rgba(15,23,42,0) 0%, 
            rgba(59,130,246,0.08) 25%, 
            rgba(147,197,253,0.12) 50%, 
            rgba(59,130,246,0.08) 75%, 
            rgba(15,23,42,0) 100%);
        background-size: 300% 100%;
        animation: shimmer 2.5s ease-in-out infinite;
        z-index: 9999;
        pointer-events: none;
        transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
      }
  
      @keyframes shimmer {
        0%, 100% { background-position: 200% 0; }
        50% { background-position: -200% 0; }
      }
  
      /* Premium Scrollbar */
      ::-webkit-scrollbar {
        width: 6px;
      }
      ::-webkit-scrollbar-track {
        background: var(--dark);
        border-radius: 3px;
      }
      ::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
        border-radius: 3px;
        border: 1px solid rgba(255, 255, 255, 0.05);
      }
      ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
      }
  
      /* Premium Section Styling - Original Sizes */
      .section {
        min-height: 100vh;
        padding: 60px 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
      }
  
      .section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
          radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.03) 0%, transparent 70%),
          radial-gradient(circle at 0% 50%, rgba(147, 197, 253, 0.02) 0%, transparent 70%);
        pointer-events: none;
      }
  
      .section h2 {
        font-size: 2em;
        margin-bottom: 30px;
        font-weight: 800;
        position: relative;
        letter-spacing: -0.02em;
        background: linear-gradient(135deg, var(--light) 0%, var(--primary-light) 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }
  
      .section h2 span {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }
  
      .section h2::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 50px;
        height: 3px;
        background: var(--gradient-primary);
        border-radius: 2px;
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
      }
  
      /* Premium Container - Original Size */
      .container {
        max-width: 1100px;
        margin: 0 auto;
        width: 100%;
        position: relative;
        z-index: 1;
      }
  
      /* --- Home Section Start --- */
      #home {
        min-height: 80vh;
        padding: 40px 30px;
        background: 
          radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
          radial-gradient(circle at 70% 80%, rgba(147, 197, 253, 0.06) 0%, transparent 50%),
          linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
        display: flex;
        align-items: center;
        position: relative;
      }
  
      #home::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
          url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        pointer-events: none;
      }
  
      #home .container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 50px;
        width: 100%;
        pointer-events: auto;
      }
  
      .home-content {
        flex: 1 1 0%;
        position: relative;
        min-width: 0;
      }
    #changer {
      display: inline-block;
      transition: opacity 0.5s ease, transform 0.5s ease;
    }
  
    .fade-out {
      opacity: 0;
      transform: scaleX(0);
    }
  
    .fade-in {
      opacity: 1;
      transform: scaleX(1);
    }
  
      .profile-circle {
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background: var(--gradient-dark);
        border: 3px solid transparent;
        background-clip: padding-box;
        overflow: hidden;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 
          0 0 60px rgba(59, 130, 246, 0.3),
          inset 0 0 60px rgba(59, 130, 246, 0.1);
        flex-shrink: 0;
        margin-top: 12px;
      }
  
      .profile-circle::before {
        content: '';
        position: absolute;
        inset: -3px;
        border-radius: 50%;
        background: var(--gradient-primary);
        z-index: -1;
        animation: rotate 10s linear infinite;
      }
  
      .profile-circle::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: 
          radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
          radial-gradient(circle at 70% 70%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
        pointer-events: none;
      }
  
      @keyframes rotate {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
      }
  
      .profile-circle:hover {
        transform: scale(1.05) rotate(2deg);
        box-shadow: 
          0 0 80px rgba(59, 130, 246, 0.5),
          inset 0 0 80px rgba(59, 130, 246, 0.2);
      }
  
      .profile-circle video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.1);
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 50%;
      }
  
      .profile-circle:hover video {
        transform: scale(1.15);
      }
  
      #home h1 {
        font-size: 2.5em;
        line-height: 1.2;
        font-weight: 900;
        margin-bottom: 20px;
        letter-spacing: -0.03em;
        background: linear-gradient(135deg, var(--light) 0%, var(--primary-light) 50%, var(--primary) 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
      }
  
      #home h1 span {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }
  
      #home p {
        font-size: 0.97em;
        color: var(--gray-light);
        margin-bottom: 25px;
        line-height: 1.7;
        font-weight: 400;
        width: 100%;
      }

      .home-content .hero-intro {
        font-family: "Manrope", "Inter", "Segoe UI", Tahoma, sans-serif;
        font-size: 1.02rem;
        line-height: 1.85;
        letter-spacing: 0.01em;
        color: #e8eef8;
        text-shadow: 0 1px 10px rgba(15, 23, 42, 0.22);
        margin-bottom: 28px;
        text-wrap: pretty;
      }
  
      .expertise-highlights {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 24px;
      }
  
      .highlight-item {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 10px 14px;
        background: linear-gradient(135deg, 
          rgba(15, 23, 42, 0.88) 0%, 
          rgba(30, 41, 59, 0.76) 100%);
        border: 1px solid rgba(59, 130, 246, 0.28);
        border-radius: 999px;
        color: var(--light);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        cursor: pointer;
        backdrop-filter: blur(12px) saturate(150%);
        box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, 0.08),
          0 6px 16px rgba(15, 23, 42, 0.25);
      }
  
      .highlight-item::before {
        content: '';
        position: absolute;
        inset: -1px;
        background: linear-gradient(120deg, rgba(59, 130, 246, 0.12) 0%, transparent 55%, rgba(96, 165, 250, 0.18) 100%);
        opacity: 0;
        transition: opacity var(--transition-base), transform var(--transition-base);
        transform: translateY(12%);
        border-radius: inherit;
      }
  
      .project-card-overlay {
        border-radius: var(--radius-lg);
      }
  
      .highlight-item:hover::before {
        left: 100%;
      }
  
      .highlight-item:hover {
        background: linear-gradient(135deg, 
          rgba(15, 23, 42, 0.9) 0%, 
          rgba(30, 41, 59, 0.8) 100%);
        transform: translateY(-1px);
        box-shadow: 
          0 8px 18px rgba(0, 0, 0, 0.25),
          0 5px 12px rgba(59, 130, 246, 0.2);
        border-color: rgba(59, 130, 246, 0.4);
      }
  
      .highlight-icon {
        position: relative;
        width: 28px;
        height: 28px;
        border-radius: 8px;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
      }
  
      .highlight-icon i {
        font-size: 0.82em;
        color: white;
        z-index: 2;
        position: relative;
      }
  
      .icon-glow {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        opacity: 0.3;
        animation: pulse 2s infinite;
      }
  
      @keyframes pulse {
        0%, 100% { transform: scale(1); opacity: 0.3; }
        50% { transform: scale(1.1); opacity: 0.5; }
      }
  
      .highlight-content {
        display: flex;
        flex-direction: column;
        gap: 3px;
      }
  
      .highlight-title {
        font-size: 0.86em;
        font-weight: 700;
        color: var(--light);
        margin: 0;
        line-height: 1.2;
      }
  
      .highlight-progress {
        width: 100%;
        height: 6px;
        background: rgba(59, 130, 246, 0.1);
        border-radius: 3px;
        overflow: hidden;
        position: relative;
      }
  
      .progress-fill {
        height: 100%;
        background: linear-gradient(90deg, var(--primary), var(--primary-light));
        border-radius: 3px;
        transition: width 1s ease;
        position: relative;
      }
  
      .progress-fill::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        animation: shimmer 2s infinite;
      }
  
      .highlight-subtitle {
        font-size: 0.74em;
        color: var(--gray-light);
        font-weight: 500;
        line-height: 1.2;
        opacity: 0.95;
      }
  
      .highlight-stats {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        min-width: 50px;
      }
  
      .stat-number {
        font-size: 1.1em;
        font-weight: 800;
        color: var(--primary-light);
        line-height: 1;
      }
  
      .stat-label {
        font-size: 0.7em;
        color: var(--gray);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }
  
      .skills-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 30px;
      }
  
      .skill-tag {
        background: var(--gradient-glass);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        color: var(--primary-light);
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.85em;
        font-weight: 600;
        border: 1px solid var(--glass-border);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
      }
  
      .skill-tag::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: 0.5s;
      }
  
      .skill-tag:hover::before {
        left: 100%;
      }
  
      .skill-tag:hover {
        background: rgba(59, 130, 246, 0.25);
        color: var(--light);
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
        border-color: rgba(59, 130, 246, 0.4);
      }
  
      .cta-buttons {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin-top: 2rem;
        pointer-events: auto;
      }
  
      .btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 14px 28px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.95em;
        text-decoration: none;
        transition: all 0.3s ease;
        cursor: pointer;
        position: relative;
        letter-spacing: 0.01em;
        min-width: 120px;
        justify-content: center;
        white-space: nowrap;
      }
  
      .btn-primary {
        background: var(--primary);
        color: var(--light);
        border: none;
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
      }
  
      .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
      }
  
      .btn-outline {
        background: transparent;
        border: 2px solid var(--primary);
        color: var(--primary);
      }
  
      .btn-outline:hover {
        background: var(--primary);
        color: var(--light);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
      }
      /* --- Home Section End --- */
  
      /* Premium Projects Section */
      #projects {
        background: 
          radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
          radial-gradient(circle at 80% 20%, rgba(147, 197, 253, 0.03) 0%, transparent 50%),
          linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
      }
  
      .projects-container {
        margin-top: 36px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 28px;
        align-items: stretch;
      }
  
      /* Premium Project Cards - Clean Design */
      .project-card {
        --grad: var(--primary), var(--primary-dark);
        padding: 26px;
        background:
          linear-gradient(135deg, 
            rgba(15, 23, 42, 0.9) 0%, 
            rgba(30, 41, 59, 0.8) 50%, 
            rgba(15, 23, 42, 0.9) 100%);
        border-radius: 16px;
        gap: 15px;
        display: grid;
        grid-template: 'title icon' 'content content' 'bar bar' / 1fr auto;
        font-family: system-ui, sans-serif;
        transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast);
        position: relative;
        overflow: hidden;
        opacity: 0;
        transform: translateY(36px) scale(0.98);
        color: var(--light);
        box-shadow: 0 20px 44px rgba(2, 6, 23, 0.46);
        border: 1px solid rgba(59, 130, 246, 0.18);
        backdrop-filter: blur(18px) saturate(175%);
        -webkit-backdrop-filter: blur(18px) saturate(175%);
        cursor: pointer;
        isolation: isolate;
      }
  
      .project-card.visible {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
  
      .project-card:hover {
        transform: translateY(-12px) scale(1.016);
        box-shadow: var(--shadow-medium);
        border-color: rgba(147, 197, 253, 0.42);
      }
  
      .project-card:active {
        transform: scale(0.98);
      }
  
      /* Subtle floating animation for cards */
      .project-card {
        animation: float 8s ease-in-out infinite;
      }
  
      .project-card:nth-child(2) {
        animation-delay: -2.5s;
      }
  
      .project-card:nth-child(3) {
        animation-delay: -5s;
      }
  
      @keyframes float {
        0%, 100% { transform: translateY(20px); }
        50% { transform: translateY(15px); }
      }
  
      .project-card::before {
        content: '';
        position: absolute;
        inset: -40% -28% auto;
        height: 76%;
        background: radial-gradient(circle at 20% 35%, rgba(59, 130, 246, 0.22) 0%, transparent 65%);
        filter: blur(22px);
        opacity: 0.75;
        transition: opacity var(--transition-base), transform var(--transition-base);
        border-radius: inherit;
      }
  
      .project-card:hover::before {
        opacity: 1;
        transform: translateY(-6px) scale(1.05);
      }
  
      /* Subtle border glow effect */
      .project-card::after {
        content: '';
        position: absolute;
        inset: 1px;
        border-radius: calc(var(--radius-xl) - 1px);
        background: linear-gradient(120deg, rgba(147, 197, 253, 0.18) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 85%);
        opacity: 0;
        transition: opacity var(--transition-base);
        pointer-events: none;
        mix-blend-mode: screen;
      }
  
      .project-card:hover::after {
        opacity: 1;
      }
  
      /* Inner glow effect */
      .project-card::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 20px;
        background: 
          radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
          radial-gradient(circle at 70% 80%, rgba(147, 197, 253, 0.08) 0%, transparent 50%),
          linear-gradient(135deg, 
            rgba(59, 130, 246, 0.05) 0%, 
            transparent 25%, 
            rgba(147, 197, 253, 0.03) 50%, 
            transparent 75%, 
            rgba(59, 130, 246, 0.05) 100%);
        opacity: 0;
        transition: opacity 0.5s ease;
        z-index: -1;
        transform: translateZ(-10px);
      }
  
      .project-card:hover::after {
        opacity: 1;
      }
  
      .project-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 
          0 16px 48px rgba(0, 0, 0, 0.4),
          0 8px 24px rgba(59, 130, 246, 0.2);
        background: 
          linear-gradient(135deg, 
            rgba(15, 23, 42, 0.95) 0%, 
            rgba(30, 41, 59, 0.9) 50%, 
            rgba(15, 23, 42, 0.95) 100%);
        border-color: rgba(59, 130, 246, 0.4);
        animation-play-state: paused;
      }
  
      /* Subtle inner glow effect */
      .project-card:hover::after {
        opacity: 1;
      }
  
      .project-card h3 {
        font-size: 1.1em;
        margin-bottom: 10px;
        color: var(--light);
        font-weight: 700;
        letter-spacing: -0.01em;
        position: relative;
        transition: all 0.3s ease;
      }
  
      .project-card:hover h3 {
        color: var(--primary-light);
      }
  
      .project-card h3::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--primary-light));
        transition: width 0.3s ease;
      }
  
      .project-card:hover h3::after {
        width: 100%;
      }
  
      .project-card p {
        font-size: 0.9em;
        color: rgba(203, 213, 225, 0.92);
        margin-bottom: 16px;
        flex-grow: 1;
        line-height: 1.72;
      }
  
      .project-card:hover p {
        color: var(--light);
      }
  
      .tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 15px;
      }
  
      .tag {
        background: rgba(59, 130, 246, 0.15);
        color: var(--primary-light);
        padding: 6px 12px;
        border-radius: 16px;
        font-size: 0.75em;
        font-weight: 600;
        border: 1px solid rgba(59, 130, 246, 0.25);
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
        cursor: pointer;
        position: relative;
      }
  
      .tag:hover {
        background: rgba(59, 130, 246, 0.25);
        color: var(--light);
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
        border-color: rgba(59, 130, 246, 0.4);
      }
  
      /* Tag Tooltip Modal */
      .tag-tooltip {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 3000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
      }
  
      .tag-tooltip.active {
        opacity: 1;
        visibility: visible;
      }
  
      .tag-tooltip-content {
        background: var(--dark);
        border-radius: 12px;
        padding: 20px;
        max-width: 300px;
        width: 90%;
        border: 1px solid rgba(59, 130, 246, 0.3);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        transform: translateY(20px);
        transition: all 0.3s ease;
        position: relative;
      }
  
      .tag-tooltip.active .tag-tooltip-content {
        transform: translateY(0);
      }
  
      .tag-tooltip-close {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(239, 68, 68, 0.1);
        color: var(--gray);
        cursor: pointer;
        transition: all 0.3s ease;
        border: 1px solid rgba(239, 68, 68, 0.2);
        font-size: 0.9em;
        z-index: 1000;
      }
  
      .tag-tooltip-close:hover {
        color: #ef4444;
        background: rgba(239, 68, 68, 0.2);
        transform: rotate(90deg);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
      }
  
      .tag-tooltip h4 {
        color: var(--primary-light);
        font-size: 1.1em;
        font-weight: 700;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 8px;
      }
  
      .tag-tooltip h4 i {
        font-size: 1.2em;
      }
  
      .tag-tooltip p {
        color: var(--gray-light);
        font-size: 0.9em;
        line-height: 1.5;
        margin-bottom: 12px;
      }
  
      .tag-tooltip .skill-level {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
      }
  
      .tag-tooltip .skill-level span {
        color: var(--gray);
        font-size: 0.8em;
        font-weight: 600;
      }
  
      .tag-tooltip .skill-bars {
        display: flex;
        gap: 4px;
        margin-bottom: 12px;
      }
  
      .skill-bar {
        width: 20px;
        height: 4px;
        border-radius: 2px;
        background: rgba(59, 130, 246, 0.2);
        transition: all 0.3s ease;
      }
  
      .skill-bar.active {
        background: var(--primary);
      }
  
      .tag-tooltip .usage {
        color: var(--gray);
        font-size: 0.8em;
        font-style: italic;
      }
  
      /* Skill Analysis Modal */
      .skill-analysis-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 3000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
      }
  
      .skill-analysis-modal.active {
        opacity: 1;
        visibility: visible;
      }
  
      .skill-analysis-content {
        background: linear-gradient(135deg, 
          rgba(15, 23, 42, 0.95) 0%, 
          rgba(30, 41, 59, 0.9) 50%, 
          rgba(15, 23, 42, 0.95) 100%);
        border-radius: 20px;
        padding: 20px;
        max-width: 800px;
        width: 90%;
        border: 1px solid rgba(59, 130, 246, 0.3);
        box-shadow: 
          0 25px 50px rgba(0, 0, 0, 0.5),
          0 0 30px rgba(59, 130, 246, 0.2);
        transform: translateY(20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
      }
  
      .skill-analysis-modal.active .skill-analysis-content {
        transform: translateY(0);
      }
  
      .skill-analysis-deep {
        position: absolute;
        top: 15px;
        right: 55px;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(59, 130, 246, 0.1);
        color: var(--primary-light);
        cursor: pointer;
        transition: all 0.3s ease;
        border: 1px solid rgba(59, 130, 246, 0.3);
        font-size: 0.9em;
        z-index: 1000;
      }

      .skill-analysis-deep:hover {
        background: rgba(59, 130, 246, 0.2);
        color: var(--primary);
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
      }

      .skill-analysis-close {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(239, 68, 68, 0.1);
        color: var(--gray);
        cursor: pointer;
        transition: all 0.3s ease;
        border: 1px solid rgba(239, 68, 68, 0.2);
        font-size: 1em;
        z-index: 1000;
      }
  
      .skill-analysis-close:hover {
        color: #ef4444;
        background: rgba(239, 68, 68, 0.2);
        transform: rotate(90deg);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
      }
  
      .skill-analysis-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(59, 130, 246, 0.2);
        position: relative;
      }
  
      .skill-analysis-header::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100px;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--primary-light));
        border-radius: 1px;
      }
  
      .skill-analysis-header h4 {
        color: var(--primary-light);
        font-size: 1.3em;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
      }
  
      .skill-analysis-header h4 i {
        font-size: 1.4em;
      }
  
      .skill-level-badge {
        padding: 8px 16px;
        border-radius: 25px;
        font-size: 0.75em;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      }
  
      .skill-level-badge::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: 0.5s;
      }
  
      .skill-level-badge:hover::before {
        left: 100%;
      }
  
      .skill-level-badge.master {
        background: linear-gradient(135deg, #10b981, #059669);
        color: white;
      }
  
      .skill-level-badge.very-good {
        background: linear-gradient(135deg, #3b82f6, #1d4ed8);
        color: white;
      }
  
      .skill-level-badge.good {
        background: linear-gradient(135deg, #8b5cf6, #7c3aed);
        color: white;
      }
  
      .skill-level-badge.intermediate {
        background: linear-gradient(135deg, #f59e0b, #d97706);
        color: white;
      }
  
      .skill-level-badge.below-average {
        background: linear-gradient(135deg, #ef4444, #dc2626);
        color: white;
      }
  
      .skill-level-badge.okay {
        background: linear-gradient(135deg, #6b7280, #4b5563);
        color: white;
      }
  
      .skill-analysis-body {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
      }
  
      .skill-details, .skill-visualization {
        background: rgba(59, 130, 246, 0.05);
        border-radius: 16px;
        padding: 15px;
        border: 1px solid rgba(59, 130, 246, 0.1);
        transition: all 0.3s ease;
      }
  
      .skill-details:hover, .skill-visualization:hover {
        background: rgba(59, 130, 246, 0.08);
        border-color: rgba(59, 130, 246, 0.2);
        transform: translateY(-2px);
      }
  
      .skill-details h5,     .skill-visualization h5 {
        color: var(--light);
        font-size: 1.1em;
        font-weight: 600;
        margin-bottom: 12px;
      }
  
      .skill-level-indicator {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 15px;
        padding: 12px;
        background: rgba(59, 130, 246, 0.08);
        border-radius: 12px;
        border: 1px solid rgba(59, 130, 246, 0.15);
      }
  
      .level-icon {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5em;
        color: white;
        background: var(--gradient-primary);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
      }
  
      .level-description {
        flex: 1;
      }
  
      .level-description h6 {
        color: var(--primary-light);
        font-size: 1em;
        font-weight: 700;
        margin-bottom: 4px;
      }
  
      .level-description p {
        color: var(--gray-light);
        font-size: 0.85em;
        line-height: 1.4;
        margin: 0;
      }
  
      .skill-details p {
        color: var(--gray-light);
        font-size: 0.9em;
        line-height: 1.6;
        margin-bottom: 15px;
      }
  
      .skill-metrics {
        display: flex;
        flex-direction: column;
        gap: 8px;
      }
  
      .metric {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 14px;
        background: rgba(59, 130, 246, 0.08);
        border-radius: 12px;
        border: 1px solid rgba(59, 130, 246, 0.15);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
      }
  
      .metric::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 3px;
        height: 100%;
        background: var(--primary);
        border-radius: 2px;
      }
  
      .metric:hover {
        background: rgba(59, 130, 246, 0.12);
        transform: translateX(5px);
        border-color: rgba(59, 130, 246, 0.25);
      }
  
      .metric-label {
        color: var(--gray);
        font-size: 0.85em;
        font-weight: 500;
      }
  
      .metric-value {
        color: var(--primary-light);
        font-size: 0.85em;
        font-weight: 600;
      }
  
  
  
      .chart-label {
        color: var(--gray);
        font-size: 0.8em;
        text-align: center;
        font-weight: 500;
      }
  
      .skill-progress {
        display: flex;
        flex-direction: column;
        gap: 12px;
      }
  
      .progress-item {
        display: flex;
        flex-direction: column;
        gap: 6px;
      }
  
      .progress-item span {
        color: var(--gray-light);
        font-size: 0.9em;
        font-weight: 600;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
  
      .progress-item .progress-percentage {
        color: var(--primary-light);
        font-size: 0.8em;
        font-weight: 700;
      }
  
      .progress-bar {
        width: 100%;
        height: 8px;
        background: rgba(59, 130, 246, 0.1);
        border-radius: 4px;
        overflow: hidden;
        position: relative;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
      }
  
      .progress-fill {
        height: 100%;
        background: linear-gradient(90deg, var(--primary), var(--primary-light));
        border-radius: 4px;
        transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
      }
  
      .progress-fill::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        animation: progressShimmer 2.5s infinite;
      }
  
      @keyframes progressShimmer {
        0% { transform: translateX(-100%); }
        100% { transform: translateX(100%); }
      }
  
  
  
      /* Circular Progress Styles */
      .skill-circles {
        display: flex;
        justify-content: space-around;
        gap: 15px;
        margin-top: 20px;
      }
  
      .circle-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
      }
  
      .circle-progress {
        position: relative;
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: conic-gradient(var(--primary) 0deg, var(--primary) 0deg, rgba(59, 130, 246, 0.1) 0deg);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
      }
  
      .circle-progress::before {
        content: '';
        position: absolute;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: var(--dark);
        z-index: 1;
      }
  
      .circle-content {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
      }
  
      .circle-content i {
        font-size: 1.2em;
        color: var(--primary-light);
      }
  
      .circle-percentage {
        font-size: 0.8em;
        font-weight: 700;
        color: var(--light);
      }
  
      .circle-label {
        font-size: 0.75em;
        color: var(--gray-light);
        font-weight: 600;
        text-align: center;
      }
  
      .circle-progress:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
      }
  
      @media (max-width: 768px) {
        .skill-analysis-modal {
          padding: 10px;
        }
        
        .skill-analysis-content {
          padding: 15px;
          max-width: 100%;
          margin: 0;
          border-radius: 12px;
        }
        
        .skill-analysis-body {
          grid-template-columns: 1fr;
          gap: 15px;
        }
  
        .skill-analysis-header h4 {
          font-size: 1em;
          gap: 8px;
        }
  
        .skill-analysis-header h4 i {
          font-size: 1.2em;
        }
  
        .skill-level-indicator {
          flex-direction: column;
          gap: 8px;
          text-align: center;
          padding: 12px;
        }
  
        .level-icon {
          width: 35px;
          height: 35px;
          font-size: 1.1em;
        }
  
        .level-description h6 {
          font-size: 0.9em;
        }
  
        .level-description p {
          font-size: 0.8em;
          line-height: 1.4;
        }
  
        .skill-circles {
          flex-direction: row;
          gap: 10px;
          justify-content: space-around;
          flex-wrap: wrap;
        }
  
        .circle-item {
          width: auto;
          min-width: 80px;
        }
  
        .circle-progress {
          width: 65px;
          height: 65px;
        }
  
        .circle-progress::before {
          width: 45px;
          height: 45px;
        }
  
        .circle-content i {
          font-size: 1em;
        }
  
        .circle-percentage {
          font-size: 0.75em;
        }
  
        .circle-label {
          font-size: 0.7em;
        }
  
        .skill-details h5, .skill-visualization h5 {
          font-size: 0.95em;
          margin-bottom: 8px;
        }
  
        .skill-details p {
          font-size: 0.8em;
          margin-bottom: 10px;
          line-height: 1.5;
        }
  
        .skill-metrics {
          gap: 6px;
        }
  
        .metric {
          padding: 8px 10px;
        }
  
        .metric-label, .metric-value {
          font-size: 0.75em;
        }
      }
  
      @media (max-width: 480px) {
        .skill-analysis-modal {
          padding: 5px;
        }
        
        .skill-analysis-content {
          padding: 12px;
          max-width: 100%;
          margin: 0;
          border-radius: 8px;
        }
  
        .skill-analysis-header {
          margin-bottom: 8px;
          padding-bottom: 8px;
        }
  
        .skill-analysis-header h4 {
          font-size: 0.9em;
          gap: 6px;
        }
  
        .skill-analysis-header h4 i {
          font-size: 1.1em;
        }
  
        .skill-level-indicator {
          padding: 8px;
          margin-bottom: 8px;
          gap: 6px;
        }
  
        .level-icon {
          width: 30px;
          height: 30px;
          font-size: 1em;
        }
  
        .level-description h6 {
          font-size: 0.8em;
        }
  
        .level-description p {
          font-size: 0.75em;
          line-height: 1.3;
        }
  
        .skill-circles {
          gap: 8px;
          justify-content: center;
        }
  
        .circle-item {
          min-width: 70px;
        }
  
        .circle-progress {
          width: 55px;
          height: 55px;
        }
  
        .circle-progress::before {
          width: 40px;
          height: 40px;
        }
  
        .circle-content i {
          font-size: 0.9em;
        }
  
        .circle-percentage {
          font-size: 0.7em;
        }
  
        .circle-label {
          font-size: 0.65em;
        }
  
        .skill-details h5, .skill-visualization h5 {
          font-size: 0.9em;
          margin-bottom: 6px;
        }
  
        .skill-details p {
          font-size: 0.75em;
          margin-bottom: 8px;
          line-height: 1.4;
        }
  
        .skill-metrics {
          gap: 4px;
        }
  
        .metric {
          padding: 6px 8px;
        }
  
        .metric-label, .metric-value {
          font-size: 0.7em;
        }
      }
  
      @media (max-width: 360px) {
        .skill-analysis-content {
          padding: 10px;
        }
  
        .skill-analysis-header h4 {
          font-size: 0.85em;
        }
  
        .skill-circles {
          flex-direction: column;
          gap: 12px;
          align-items: center;
        }
  
        .circle-item {
          width: 100%;
          max-width: 80px;
        }
  
        .circle-progress {
          width: 60px;
          height: 60px;
        }
  
        .circle-progress::before {
          width: 45px;
          height: 45px;
        }
      }
  
      .project-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: auto;
      }
  
      .project-actions .date {
        color: var(--gray);
        font-size: 0.85em;
        font-weight: 500;
      }
  
      .project-buttons {
        display: flex;
        gap: 12px;
      }
  
      .expand-btn, .repo-btn {
        padding: 6px 12px;
        border-radius: 10px;
        font-size: 0.75em;
        font-weight: 600;
        border: none;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        position: relative;
        overflow: hidden;
        letter-spacing: 0.01em;
      }
  
      .expand-btn::before, .repo-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
        border-radius: 10px;
      }
  
      .expand-btn:hover::before, .repo-btn:hover::before {
        left: 100%;
      }
  
      .expand-btn {
        background: var(--primary);
        color: white;
        border: 1px solid var(--primary);
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
      }
  
      .expand-btn:hover {
        background: var(--primary-dark);
        color: white;
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
      }
  
      .repo-btn {
        background: rgba(59, 130, 246, 0.1);
        color: var(--primary-light);
        border: 1px solid rgba(59, 130, 246, 0.2);
        box-shadow: 0 2px 6px rgba(59, 130, 246, 0.1);
      }
  
      .repo-btn:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
      }
  
      /* Premium Contact Modal - Simplified */
      .contact-modal, .modal-overlay, .email-dialog {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
      }
  
      .contact-modal.active, .modal-overlay.active, .email-dialog.active {
        opacity: 1;
        visibility: visible;
      }
  
      /* Email Dialog Styling */
      .email-dialog-content {
        background: linear-gradient(145deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.92) 100%);
        border-radius: 14px;
        width: 90%;
        max-width: 390px;
        padding: 20px 20px 18px;
        border: 1px solid rgba(96, 165, 250, 0.32);
        box-shadow:
          0 20px 40px rgba(2, 6, 23, 0.4),
          0 0 0 1px rgba(59, 130, 246, 0.18) inset;
        transform: translateY(14px) scale(0.98);
        transition: all 0.3s ease;
        position: relative;
        box-sizing: border-box;
      }

      .email-dialog.active .email-dialog-content {
        transform: translateY(0) scale(1);
      }
  
      /* Ensure email dialog is visible when active */
      .email-dialog.active {
        opacity: 1 !important;
        visibility: visible !important;
      }
  
      .email-dialog-close {
        position: absolute;
        width: 32px;
        height: 32px;
        top: 15px;
        right: 15px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(239, 68, 68, 0.1);
        color: var(--gray);
        cursor: pointer;
        transition: all 0.3s ease;
        border: 1px solid rgba(239, 68, 68, 0.2);
        font-size: 1em;
        z-index: 1000;
      }
  
      .email-dialog-close:hover {
        color: #ef4444;
        background: rgba(239, 68, 68, 0.2);
        transform: rotate(90deg);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
      }
  
      .email-dialog h3 {
        font-size: 1.38em;
        margin-bottom: 14px;
        font-weight: 700;
        text-align: center;
        color: var(--light);
        letter-spacing: 0.02em;
      }
  
      .email-dialog h3 span {
        color: var(--primary);
      }
  
      .email-form {
        display: flex;
        flex-direction: column;
        gap: 11px;
      }

      .email-form input,
      .email-form textarea {
        padding: 10px 12px;
        border: 1px solid rgba(96, 165, 250, 0.24);
        border-radius: 10px;
        background: linear-gradient(145deg, rgba(30, 41, 59, 0.62) 0%, rgba(15, 23, 42, 0.52) 100%);
        color: var(--light);
        font-size: 0.9em;
        transition: all 0.3s ease;
      }

      .email-form input:focus,
      .email-form textarea:focus {
        outline: none;
        border-color: rgba(147, 197, 253, 0.52);
        background: linear-gradient(145deg, rgba(30, 58, 138, 0.34) 0%, rgba(30, 41, 59, 0.74) 100%);
        box-shadow: 0 8px 18px rgba(30, 64, 175, 0.2);
      }
  
      .email-form input::placeholder,
      .email-form textarea::placeholder {
        color: var(--gray);
      }
  
      .email-form .btn {
        align-self: flex-start;
        margin-top: 10px;
        padding: 9px 14px;
        border-radius: 10px;
        border: 1px solid rgba(96, 165, 250, 0.55);
        background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(37, 99, 235, 0.95) 100%);
        color: #f8fbff;
        font-size: 0.86em;
        font-weight: 700;
        line-height: 1;
        letter-spacing: 0.02em;
        box-shadow:
          0 8px 18px rgba(30, 64, 175, 0.28),
          0 0 0 1px rgba(191, 219, 254, 0.16) inset;
        transition: all 0.25s ease;
      }

      .email-form .btn:hover,
      .email-form .btn:focus {
        background: linear-gradient(135deg, rgba(30, 64, 175, 1) 0%, rgba(59, 130, 246, 1) 100%);
        border-color: rgba(191, 219, 254, 0.82);
        transform: translateY(-1px);
        box-shadow:
          0 10px 22px rgba(30, 64, 175, 0.34),
          0 0 0 2px rgba(147, 197, 253, 0.2) inset;
      }

      .email-form .btn i {
        font-size: 0.92em;
        margin-right: 6px;
      }

      .email-form .btn:hover i,
      .email-form .btn:focus i {
        transform: translateX(1px);
      }
  
      .contact-modal.active, .modal-overlay.active {
        opacity: 1;
        visibility: visible;
      }
  
      .contact-modal-content, .modal {
        background: var(--dark);
        border-radius: 0;
        width: 90%;
        max-width: 500px;
        padding: 30px;
        border: 1px solid rgba(59, 130, 246, 0.2);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        transform: translateY(20px);
        transition: all 0.3s ease;
        position: relative;
        box-sizing: border-box;
      }
  
      .modal {
        max-width: 700px;
        max-height: 90vh;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 20px;
        margin-right: -20px;
      }

      .contact-modal-content {
        max-width: 390px;
        padding: 20px 20px 18px;
        border-radius: 14px;
        background: linear-gradient(145deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.92) 100%);
        border: 1px solid rgba(96, 165, 250, 0.32);
        box-shadow:
          0 20px 40px rgba(2, 6, 23, 0.4),
          0 0 0 1px rgba(59, 130, 246, 0.18) inset;
        transform: translateY(14px) scale(0.98);
      }

      .contact-modal.active .contact-modal-content, 
      .modal-overlay.active .modal {
        transform: translateY(0);
      }

      .contact-modal.active .contact-modal-content {
        transform: translateY(0) scale(1);
      }
  
      .contact-modal-close, .modal-close {
        position: absolute;
        width: 32px;
        height: 32px;
        top: 15px;
        right: 15px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(239, 68, 68, 0.1);
        color: var(--gray);
        cursor: pointer;
        transition: all 0.3s ease;
        border: 1px solid rgba(239, 68, 68, 0.2);
        font-size: 1em;
        z-index: 1000;
      }
  
      .contact-modal-close:hover, .modal-close:hover {
        color: #ef4444;
        background: rgba(239, 68, 68, 0.2);
        transform: rotate(90deg);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
      }
  
      .contact-modal h3 {
        font-size: 1.38em;
        margin-bottom: 14px;
        font-weight: 700;
        text-align: center;
        color: var(--light);
        letter-spacing: 0.02em;
      }
  
      .contact-modal h3 span {
        color: var(--primary);
      }
  
      .contact-links {
        display: flex;
        flex-direction: column;
        gap: 9px;
        margin-bottom: 8px;
      }

      .contact-link {
        display: flex;
        align-items: center;
        gap: 10px;
        color: rgba(226, 232, 240, 0.9);
        font-size: 0.9em;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        padding: 9px 11px;
        border-radius: 10px;
        background: linear-gradient(145deg, rgba(30, 41, 59, 0.62) 0%, rgba(15, 23, 42, 0.52) 100%);
        border: 1px solid rgba(96, 165, 250, 0.2);
      }

      .contact-link:hover {
        background: linear-gradient(145deg, rgba(30, 58, 138, 0.45) 0%, rgba(30, 41, 59, 0.75) 100%);
        color: var(--light);
        transform: translateX(3px);
        border-color: rgba(147, 197, 253, 0.52);
        box-shadow: 0 8px 18px rgba(30, 64, 175, 0.22);
      }

      .contact-link i {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--primary);
        color: var(--light);
        font-size: 0.82em;
        transition: all 0.3s ease;
      }
  
      .contact-link:hover i {
        transform: scale(1.1);
        background: var(--primary-dark);
      }
  
      .social-links {
        display: flex;
        justify-content: center;
        gap: 12px;
      }
  
      .social-link {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(59, 130, 246, 0.1);
        color: var(--gray);
        font-size: 1.1em;
        transition: all 0.3s ease;
        text-decoration: none;
        border: 1px solid rgba(59, 130, 246, 0.2);
      }
  
      .social-link:hover {
        background: var(--primary);
        color: var(--light);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
      }
  
      /* Contact Form Styling */
      .contact-form {
        margin-top: 25px;
        display: flex;
        flex-direction: column;
        gap: 15px;
      }
  
      .form-group {
        display: flex;
        flex-direction: column;
      }
  
      .contact-form input,
      .contact-form textarea {
        padding: 12px 15px;
        border: 1px solid rgba(59, 130, 246, 0.2);
        border-radius: 8px;
        background: rgba(59, 130, 246, 0.05);
        color: var(--light);
        font-size: 0.95em;
        transition: all 0.3s ease;
      }
  
      .contact-form input:focus,
      .contact-form textarea:focus {
        outline: none;
        border-color: var(--primary);
        background: rgba(59, 130, 246, 0.1);
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
      }
  
      .contact-form input::placeholder,
      .contact-form textarea::placeholder {
        color: var(--gray);
      }
  
      .contact-form .btn {
        align-self: flex-start;
        margin-top: 10px;
      }
  
      /* Premium Modal Content - Original Sizes */
      .modal-header {
        margin-bottom: 20px;
      }
  
      .modal-header h3 {
        font-size: 1.5em;
        color: var(--light);
        margin-bottom: 5px;
        font-weight: 800;
      }
  
      .modal-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        width: 100%;
        box-sizing: border-box;
        padding-right: 15px;
      }
  
      .modal-description {
        grid-column: 1 / -1;
      }
  
      .modal-description p {
        color: var(--gray);
        margin-bottom: 15px;
        line-height: 1.6;
        font-size: 1em;
      }
  
      .modal-tech, .modal-features {
        background: var(--gradient-glass);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 15px;
        border-radius: 8px;
        border: 1px solid var(--glass-border);
        transition: all 0.4s ease;
        width: 100%;
        box-sizing: border-box;
      }
  
      .modal-tech:hover, .modal-features:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
        border-color: var(--primary);
      }
  
      .modal-tech h4, .modal-features h4 {
        color: var(--light);
        margin-bottom: 10px;
        font-size: 1.1em;
        font-weight: 700;
      }
  
      .modal-tech ul, .modal-features ul {
        list-style-type: none;
      }
  
      .modal-tech li, .modal-features li {
        color: var(--gray);
        margin-bottom: 4px;
        font-size: 0.9em;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.3s ease;
        padding: 4px 0;
      }
  
      .modal-tech li:hover, .modal-features li:hover {
        color: var(--light);
        transform: translateX(8px);
      }
  
      .modal-tech li::before, .modal-features li::before {
        content: '◆';
        color: var(--primary);
        font-size: 0.8em;
      }
  
      /* Premium Footer - Original Size */
      footer {
        text-align: center;
        padding: 20px;
        background: var(--gradient-dark);
        border-top: 1px solid var(--glass-border);
        position: relative;
      }
  
      footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: var(--gradient-primary);
        opacity: 0.3;
      }
  
      footer p {
        color: var(--gray);
        font-size: 0.85em;
        font-weight: 500;
        transition: color 0.3s ease;
      }
  
      footer:hover p {
        color: var(--light);
      }
  
      /* Premium Responsive Design - Original Sizes */
      @media (max-width: 992px) {
        #home .container {
          flex-direction: column;
          text-align: center;
          gap: 50px;
          align-items: center; /* Restore original mobile alignment */
        }
        .home-content {
          order: 2;
          margin-top: 40px;
        }
        .profile-circle {
          order: 1;
          width: 220px;
          height: 220px;
          margin-top: 0; /* Remove top margin on mobile */
        }
        .skills-list, .cta-buttons {
          justify-content: center;
        }
        
        .cta-buttons {
          gap: 12px;
        }
        
        .btn {
          min-width: 110px;
          padding: 12px 22px;
          font-size: 0.9em;
        }
      }
  
      @media (max-width: 768px) {
          .section {
            padding: 50px 15px;
          }
  
          .section h2 {
            font-size: 1.8em;
          }
  
        #home h1 {
          font-size: 2em;
        }

        .home-content .hero-intro {
          font-size: 0.92rem;
          line-height: 1.75;
          margin-bottom: 20px;
        }
  
                .expertise-highlights {
          gap: 10px;
        }

        .highlight-item {
          padding: 8px 11px;
          gap: 8px;
        }

        .highlight-icon {
          width: 24px;
          height: 24px;
        }

        .highlight-icon i {
          font-size: 0.72em;
        }

        .highlight-title {
          font-size: 0.78em;
        }

        .highlight-subtitle {
          font-size: 0.67em;
        }
  
        .stat-number {
          font-size: 1em;
        }
  
        .stat-label {
          font-size: 0.65em;
        }
  
          .cta-buttons {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            max-width: 320px;
            margin: 0 auto;
          }
          
          .btn {
            min-width: unset;
            padding: 12px 18px;
            font-size: 0.85em;
          }
  
          .modal-content {
            grid-template-columns: 1fr;
          }
  
          .project-buttons {
            flex-direction: column;
          }
        }
  
      @media (max-width: 480px) {
        #home {
          min-height: 70vh;
          padding: 30px 15px;
        }
  
        #home h1 {
          font-size: 1.8em;
        }
  
        .btn, .expand-btn, .repo-btn {
          padding: 10px 18px;
          font-size: 0.9em;
        }
        
        .cta-buttons {
          gap: 8px;
          max-width: 280px;
        }
        
        .cta-buttons .btn {
          padding: 10px 16px;
          font-size: 0.8em;
          min-width: unset;
        }
  
        .profile-circle {
          width: 180px;
          height: 180px;
        }
      }
  
      /* Premium Loading Animation */
      @keyframes fadeInUp {
        from {
          opacity: 0;
          transform: translateY(30px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
  
      .fade-in-up {
        animation: fadeInUp 0.8s ease-out forwards;
      }
  
      /* Premium Hover Effects */
      .hover-lift {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      }
  
      .hover-lift:hover {
        transform: translateY(-5px);
      }
  
      /* Premium Pagination Controls */
      .pagination-controls {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        margin-top: 40px;
        padding: 20px 0;
      }
  
      .pagination-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.2) 100%);
        border: 2px solid rgba(59, 130, 246, 0.3);
        color: var(--primary-light);
        font-size: 1em;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      }
  
      .pagination-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.6s ease;
      }
  
      .pagination-btn:hover::before {
        left: 100%;
      }
  
      .pagination-btn:hover {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(59, 130, 246, 0.4) 100%);
        border-color: var(--primary-light);
        color: var(--light);
        transform: translateY(-3px) scale(1.1);
        box-shadow:
          0 8px 25px rgba(59, 130, 246, 0.4),
          0 4px 15px rgba(0, 0, 0, 0.3);
      }
  
      .pagination-btn:hover i {
        animation: arrow-bounce 0.6s ease infinite;
      }
  
      .pagination-btn:active {
        transform: translateY(-1px) scale(1.05);
        box-shadow:
          0 4px 15px rgba(59, 130, 246, 0.3),
          0 2px 8px rgba(0, 0, 0, 0.2);
      }
  
      .pagination-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
        background: rgba(59, 130, 246, 0.05);
        border-color: rgba(59, 130, 246, 0.1);
        color: var(--gray);
        transform: none;
        box-shadow: none;
      }
  
      .pagination-btn:disabled:hover {
        background: rgba(59, 130, 246, 0.05);
        border-color: rgba(59, 130, 246, 0.1);
        color: var(--gray);
        transform: none;
        box-shadow: none;
      }
  
      .pagination-btn:disabled i {
        animation: none;
      }
  
      @keyframes arrow-bounce {
        0%, 20%, 50%, 80%, 100% {
          transform: translateX(0);
        }
        40% {
          transform: translateX(-3px);
        }
        60% {
          transform: translateX(3px);
        }
      }
  
      .pagination-btn.prev-btn:hover i {
        animation: arrow-bounce-left 0.6s ease infinite;
      }
  
      .pagination-btn.next-btn:hover i {
        animation: arrow-bounce-right 0.6s ease infinite;
      }
  
      @keyframes arrow-bounce-left {
        0%, 20%, 50%, 80%, 100% {
          transform: translateX(0);
        }
        40% {
          transform: translateX(3px);
        }
        60% {
          transform: translateX(-3px);
        }
      }
  
      @keyframes arrow-bounce-right {
        0%, 20%, 50%, 80%, 100% {
          transform: translateX(0);
        }
        40% {
          transform: translateX(-3px);
        }
        60% {
          transform: translateX(3px);
        }
      }
  
      /* Pagination on mobile */
      @media (max-width: 768px) {
        .pagination-controls {
          gap: 10px;
          margin-top: 30px;
          padding: 15px 0;
        }
  
        .pagination-btn {
          width: 35px;
          height: 35px;
          font-size: 0.9em;
        }
      }
  
      @media (max-width: 480px) {
        .pagination-controls {
          gap: 8px;
          margin-top: 25px;
          padding: 12px 0;
        }
  
        .pagination-btn {
          width: 32px;
          height: 32px;
          font-size: 0.85em;
        }
      }
  
      .project-title {
        grid-area: title;
        font-size: 1.1em;
        font-weight: 700;
        color: var(--light);
        margin: 0;
      }
      .project-icon {
        grid-area: icon;
        font-size: 1.5rem;
        color: var(--primary-light);
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .project-content {
        grid-area: content;
      }
      .project-desc {
        color: var(--gray-light);
        margin-bottom: 10px;
        line-height: 1.6;
      }
      .demo-btn {
        background: var(--gradient-glow);
      }
  
      /* --- BUTTON RIPPLE EFFECT --- */
      .btn, .expand-btn, .repo-btn {
        position: relative;
        overflow: hidden;
      }
      .ripple {
        position: absolute;
        border-radius: 50%;
        transform: scale(0);
        animation: ripple-animate 0.6s linear;
        background: rgba(59,130,246,0.25);
        pointer-events: none;
        z-index: 2;
      }
      @keyframes ripple-animate {
        to {
          transform: scale(2.5);
          opacity: 0;
        }
      }
  
      /* --- ADVANCED PROJECT CARD ANIMATIONS --- */
      .project-card {
        opacity: 0;
        transform: translateY(60px) scale(0.95) rotate(3deg);
        transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s, border-color 0.4s, background 0.7s;
        background-size: 200% 200%;
        background-position: 0 0;
      }
      .project-card.visible {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
      }
      .project-card .project-icon {
        transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
      }
      .project-card:hover .project-icon {
        animation: icon-bounce 0.7s cubic-bezier(0.4,0,0.2,1);
      }
      @keyframes icon-bounce {
        0% { transform: scale(1) translateY(0); }
        30% { transform: scale(1.2) translateY(-10px); }
        60% { transform: scale(0.95) translateY(2px); }
        100% { transform: scale(1) translateY(0); }
      }
      .project-card:hover {
        transform: translateY(-12px) scale(1.04) rotate(-2deg);
        box-shadow: 0 24px 70px rgba(59,130,246,0.28), 0 10px 40px rgba(0,0,0,0.38);
        border-color: var(--primary-light);
        background-position: 100% 0;
      }
      /* Light sweep shimmer on hover */
      .project-card::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(120deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0.08) 100%);
        opacity: 0;
        pointer-events: none;
        transform: skewX(-20deg) translateX(-120%);
        transition: opacity 0.4s, transform 1.1s cubic-bezier(0.4,0,0.2,1);
        z-index: 2;
      }
      .project-card:hover::after {
        opacity: 1;
        transform: skewX(-20deg) translateX(120%);
        transition: opacity 0.4s, transform 1.1s cubic-bezier(0.4,0,0.2,1);
      }
      /* Animate card background gradient on hover */
      .project-card {
        background: linear-gradient(135deg, rgba(15,23,42,0.9) 0%, rgba(30,41,59,0.8) 50%, rgba(59,130,246,0.12) 100%);
        transition: background 0.7s cubic-bezier(0.4,0,0.2,1);
      }
      .project-card:hover {
        background: linear-gradient(135deg, rgba(59,130,246,0.18) 0%, rgba(30,41,59,0.9) 60%, rgba(15,23,42,0.95) 100%);
      }
      /* Micro-interactions for tags and buttons */
      .project-card .tag {
        transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
      }
      .project-card .repo-btn, .project-card .expand-btn, .project-card .demo-btn {
        transition: transform 0.3s, box-shadow 0.3s;
      }
      .project-card:hover .repo-btn, .project-card:hover .expand-btn, .project-card:hover .demo-btn {
        transform: scale(1.07) translateY(-1px);
        box-shadow: 0 4px 16px rgba(59,130,246,0.18);
      }
  
      /* --- CTA BUTTON ANIMATIONS (Polished) --- */
      .cta-buttons .btn {
        position: relative;
        overflow: hidden;
        display: inline-flex;
        align-items: center;
        gap: 0.55em;
        border-radius: 999px; /* pill shape */
        pointer-events: auto;
        padding: 0.55em 1.35em;
      font-size: 1em;
      font-weight: 600;
      border: 1.5px solid transparent;
      min-width: 0;
      min-height: 0;
      box-shadow:
          0 2px 8px rgba(59,130,246,0.10),
          0 0 0 1.5px rgba(59,130,246,0.10) inset;
        background: none;
        transition:
          background 0.35s cubic-bezier(0.4,0,0.2,1),
          color 0.25s cubic-bezier(0.4,0,0.2,1),
          box-shadow 0.35s cubic-bezier(0.4,0,0.2,1),
          border-color 0.3s cubic-bezier(0.4,0,0.2,1),
          transform 0.22s cubic-bezier(0.4,0,0.2,1);
        will-change: transform, box-shadow, background, border-color;
      }
      .cta-buttons .btn .btn-icon {
        display: inline-flex;
        align-items: center;
        font-size: 1.1em;
        margin-right: 0.3em;
        transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
        will-change: transform;
      }
      .cta-buttons .btn .btn-icon:last-child {
        margin-right: 0;
        margin-left: 0.3em;
      }
      .cta-buttons .btn:focus {
        outline: none;
        box-shadow:
          0 0 0 3px rgba(59,130,246,0.18),
          0 2px 8px rgba(59,130,246,0.15),
          0 0 0 2.5px var(--primary) inset;
        border-color: var(--primary-light);
        transform: scale(1.045);
      }
      .cta-buttons .btn:hover, .cta-buttons .btn:active {
        transform: scale(1.055) translateY(-1.5px);
        box-shadow:
          0 8px 24px rgba(59,130,246,0.18),
          0 0 0 2.5px var(--primary-light) inset;
      }
      .cta-buttons .btn-primary {
        background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
        color: var(--light);
        border: 1.5px solid var(--primary);
        box-shadow:
          0 2px 12px 0 rgba(59,130,246,0.13),
          0 0 0 1.5px rgba(59,130,246,0.13) inset;
      }
      .cta-buttons .btn-primary:hover, .cta-buttons .btn-primary:focus {
        background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary) 100%);
        color: var(--light);
        border-color: var(--primary-light);
        box-shadow:
          0 8px 28px 0 rgba(59,130,246,0.18),
          0 0 0 2.5px var(--primary-light) inset;
      }
      .cta-buttons .btn-outline {
        background: rgba(255,255,255,0.07);
        color: var(--primary);
        border: 1.5px solid var(--primary);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow:
          0 2px 8px rgba(59,130,246,0.08),
          0 0 0 1.5px rgba(59,130,246,0.10) inset;
      }
      .cta-buttons .btn-outline:hover, .cta-buttons .btn-outline:focus {
        background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary) 100%);
        color: var(--light);
        border-color: var(--primary-light);
        box-shadow:
          0 8px 24px rgba(59,130,246,0.18),
          0 0 0 2.5px var(--primary-light) inset;
      }
      /* Gradient sweep on hover */
      .cta-buttons .btn::after {
        content: '';
        position: absolute;
        left: -60%;
        top: 0;
        width: 220%;
        height: 100%;
        background: linear-gradient(120deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0.08) 100%);
        opacity: 0;
        pointer-events: none;
        transform: skewX(-20deg) translateX(-120%);
        transition: opacity 0.4s, transform 1.1s cubic-bezier(0.4,0,0.2,1);
        z-index: 2;
        border-radius: 999px;
      }
      .cta-buttons .btn:hover::after, .cta-buttons .btn:focus::after {
        opacity: 1;
        transform: skewX(-20deg) translateX(120%);
      }
      .cta-buttons .btn:hover .btn-icon, .cta-buttons .btn:focus .btn-icon {
        animation: btn-icon-bounce 0.7s cubic-bezier(0.4,0,0.2,1);
      }
      @keyframes btn-icon-bounce {
        0% { transform: scale(1) translateY(0); }
        30% { transform: scale(1.25) translateY(-7px) rotate(-10deg); }
        60% { transform: scale(0.95) translateY(2px) rotate(6deg); }
        100% { transform: scale(1) translateY(0) rotate(0); }
      }
