
    :root {
      --primary: linear-gradient(135deg, #ffafcc 0%, #ffc8dd 100%);
      --secondary: linear-gradient(135deg, #f093fb 0%, #ff6b9d 100%);
      --accent: linear-gradient(135deg, #ffc8dd 0%, #ffafcc 100%);
      --text-primary: #2d3748;
      --text-secondary: #4a5568;
      --text-light: #718096;
      --bg-primary: #ffffff;
      --bg-secondary: #fff0f6;
      --bg-glass: rgba(255, 240, 246, 0.3);
      --shadow-soft: 0 10px 25px rgba(255, 175, 204, 0.2);
      --shadow-glow: 0 0 20px rgba(255, 175, 204, 0.4);
      --border-radius: 20px;
      --font-primary: 'Inter', sans-serif;
      --font-heading: 'Playfair Display', serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-primary);
      background: linear-gradient(135deg, #ffafcc 0%, #ffc8dd 50%, #bde0fe 100%);
      background-attachment: fixed;
      color: var(--text-primary);
      line-height: 1.6;
      scroll-behavior: smooth;
      overflow-x: hidden;
    }

    /* Floating particles background */
    .particles {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: -1;
    }

    .particle {
      position: absolute;
      background: rgba(255, 175, 204, 0.2);
      border-radius: 50%;
      animation: float 6s ease-in-out infinite;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0px) rotate(0deg); }
      50% { transform: translateY(-20px) rotate(180deg); }
    }

    /* Header */
    header {
      position: fixed;
      top: 0;
      width: 100%;
      backdrop-filter: blur(20px);
      background: rgba(255, 255, 255, 0.1);
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
      z-index: 1000;
      transition: all 0.3s ease;
    }

    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .logo {
      font-family: var(--font-heading);
      font-size: 1.8rem;
      font-weight: 600;
      color: white;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

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

    .nav-links a {
      color: white;
      text-decoration: none;
      font-weight: 500;
      transition: all 0.3s ease;
      position: relative;
    }

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

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

    .menu-toggle {
      display: none;
      background: none;
      border: none;
      color: white;
      font-size: 1.5rem;
      cursor: pointer;
    }

    /* Contact Bar */
    .contact-bar {
      background: rgba(0, 0, 0, 0.1);
      backdrop-filter: blur(10px);
      padding: 0.8rem 0;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 2rem;
      flex-wrap: wrap;
    }

    .contact-link {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: white;
      text-decoration: none;
      transition: all 0.3s ease;
      padding: 0.5rem 1rem;
      border-radius: 25px;
      backdrop-filter: blur(10px);
      background: rgba(255, 255, 255, 0.1);
    }

    .contact-link:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: translateY(-2px);
    }

    /* Main Content */
    main {
      margin-top: 140px;
    }

    section {
      padding: 4rem 2rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    /* Hero Section */
    .hero {
      min-height: 80vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      position: relative;
    }

    .hero-content {
      background: var(--bg-glass);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: var(--border-radius);
      padding: 3rem;
      box-shadow: var(--shadow-soft);
      max-width: 800px;
      animation: fadeInUp 1s ease;
    }

    .profile-image {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      margin: 0 auto 2rem;
      background: var(--primary);
      padding: 4px;
      position: relative;
      overflow: hidden;
    }

    .profile-image img {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
    }

    .hero h1 {
      font-family: var(--font-heading);
      font-size: 3rem;
      font-weight: 600;
      margin-bottom: 1rem;
      background: linear-gradient(135deg, #ff6b9d, #c44569);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero .subtitle {
      font-size: 1.2rem;
      color: var(--text-secondary);
      margin-bottom: 2rem;
    }

    .hero .description {
      font-size: 1rem;
      line-height: 1.8;
      color: var(--text-light);
      margin-bottom: 2rem;
    }

    /* Resume Download Button */
    .resume-download {
      display: inline-flex;
      align-items: center;
      gap: 0.8rem;
      background: var(--secondary);
      color: white;
      text-decoration: none;
      padding: 1rem 2rem;
      border-radius: 30px;
      font-weight: 600;
      font-size: 1.1rem;
      transition: all 0.3s ease;
      box-shadow: var(--shadow-soft);
      margin-top: 1rem;
    }

    .resume-download:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-glow);
      background: linear-gradient(135deg, #ff6b9d 0%, #f093fb 100%);
    }

    .resume-download i {
      font-size: 1.2rem;
      animation: bounce 2s infinite;
    }

    @keyframes bounce {
      0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
      40% { transform: translateY(-3px); }
      60% { transform: translateY(-2px); }
    }

    /* Glass Cards */
    .glass-card {
      background: var(--bg-glass);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: var(--border-radius);
      padding: 2rem;
      box-shadow: var(--shadow-soft);
      transition: all 0.3s ease;
      margin-bottom: 2rem;
    }

    .glass-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }


    .field-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
    animation: fieldShake 0.3s ease-in-out;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.error-message::before {
    content: '⚠';
    font-size: 0.75rem;
}

@keyframes fieldShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.confetti-piece {
    position: fixed;
    width: 8px;
    height: 8px;
    top: -10px;
    z-index: 9999;
    pointer-events: none;
    animation: confettiFall linear infinite;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

#analytics-dashboard {
    position: fixed;
    top: 50%;
    right: -280px;
    transform: translateY(-50%);
    z-index: 1001;
    transition: right 0.3s ease;
}

#analytics-dashboard.analytics-hidden {
    display: none;
}


#analytics-dashboard.analytics-visible {
    display: block;
    right: 0;
}


.analytics-toggle {
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.analytics-content {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px 0 0 12px;
    padding: 1.5rem;
    width: 280px;
}

.analytics-content h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.analytics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.analytics-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.analytics-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
}

.analytics-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

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

    .skill-category {
      background: var(--bg-glass);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: var(--border-radius);
      padding: 2rem;
      transition: all 0.3s ease;
    }

    .skill-category:hover {
      transform: translateY(-5px);
    }

    .skill-category h3 {
      font-family: var(--font-heading);
      font-size: 1.5rem;
      margin-bottom: 1.5rem;
      color: var(--text-primary);
    }

    .skill-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
      padding: 0.5rem 0;
    }

    .skill-bar {
      background: rgba(255, 255, 255, 0.2);
      height: 6px;
      border-radius: 3px;
      overflow: hidden;
      flex: 1;
      margin-left: 1rem;
    }

    .skill-fill {
      height: 100%;
      background: var(--accent);
      border-radius: 3px;
      transition: width 1.5s ease;
      position: relative;
    }

    .skill-fill::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
      animation: shimmer 2s infinite;
    }

    @keyframes shimmer {
      0% { transform: translateX(-100%); }
      100% { transform: translateX(100%); }
    }

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

    .project-card {
      background: var(--bg-glass);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: var(--border-radius);
      overflow: hidden;
      transition: all 0.3s ease;
      position: relative;
    }

    .project-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    }

    .project-image {
      height: 200px;
      background: var(--primary);
      position: relative;
      overflow: hidden;
    }

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

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

    .project-content {
      padding: 2rem;
    }

    .project-title {
      font-family: var(--font-heading);
      font-size: 1.5rem;
      margin-bottom: 1rem;
      color: var(--text-primary);
    }

    .project-description {
      color: var(--text-light);
      line-height: 1.6;
      margin-bottom: 1.5rem;
    }

    .project-link {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      color: white;
      text-decoration: none;
      background: var(--primary);
      padding: 0.75rem 1.5rem;
      border-radius: 25px;
      transition: all 0.3s ease;
      font-weight: 500;
    }

    .project-link:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-glow);
    }
    .theme-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Dark theme variables */
[data-theme="dark"] {
    --primary: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%);
    --secondary: linear-gradient(135deg, #1e1b4b 0%, #3730a3 100%);
    --accent: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
    --text-primary: #f8fafc;
    --text-secondary: #e2e8f0;
    --text-light: #cbd5e1;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-glass: rgba(30, 41, 59, 0.3);
    --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.4);
}

[data-theme="dark"] body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
}

[data-theme="dark"] .particle {
    background: rgba(124, 58, 237, 0.3) !important;
}

[data-theme="dark"] .interactive-particle {
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.5) !important;
}

    /* Experience Section */
    .timeline {
      position: relative;
      margin-top: 2rem;
    }

    .timeline::before {
      content: '';
      position: absolute;
      left: 30px;
      top: 0;
      height: 100%;
      width: 2px;
      background: var(--primary);
    }

    .timeline-item {
      position: relative;
      padding-left: 80px;
      margin-bottom: 3rem;
    }

    .timeline-marker {
      position: absolute;
      left: 20px;
      top: 0;
      width: 20px;
      height: 20px;
      background: var(--primary);
      border-radius: 50%;
      border: 4px solid white;
    }

    .timeline-content {
      background: var(--bg-glass);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: var(--border-radius);
      padding: 2rem;
      transition: all 0.3s ease;
    }

    .timeline-content:hover {
      transform: translateX(10px);
    }

    /* Contact Form */
    .contact-form {
      max-width: 600px;
      margin: 2rem auto 0;
    }

    .form-group {
      margin-bottom: 2rem;
    }

    .form-group label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: 500;
      color: var(--text-primary);
    }

    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 1rem;
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 12px;
      background: var(--bg-glass);
      backdrop-filter: blur(10px);
      color: var(--text-primary);
      font-family: var(--font-primary);
      transition: all 0.3s ease;
    }

    .form-group input:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: rgba(255, 175, 204, 0.7);
      box-shadow: 0 0 0 3px rgba(255, 175, 204, 0.2);
    }

    .submit-btn {
      background: var(--primary);
      color: white;
      border: none;
      padding: 1rem 2rem;
      border-radius: 25px;
      font-size: 1.1rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
      width: 100%;
    }

    .submit-btn:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-glow);
    }

    /* Section Headers */
    .section-header {
      text-align: center;
      margin-bottom: 3rem;
    }

    .section-title {
      font-family: var(--font-heading);
      font-size: 2.5rem;
      font-weight: 600;
      margin-bottom: 1rem;
      background: linear-gradient(135deg, #ff6b9d, #c44569);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .section-subtitle {
      font-size: 1.1rem;
      color: var(--text-light);
    }
    @keyframes trailFade {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.2);
    }
}

.interactive-particle {
    box-shadow: 0 0 10px rgba(255, 175, 204, 0.5);
    transition: all 0.1s ease !important;
}

.trail-particle {
    box-shadow: 0 0 8px rgba(255, 107, 157, 0.6);
}

    /* Animations */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

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

    /* Mobile Responsive */
    @media (max-width: 768px) {
      .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
      }

      .nav-links.active {
        left: 0;
      }

      .nav-links li {
        margin: 1rem 0;
      }

      .menu-toggle {
        display: block;
      }

      nav {
        padding: 1rem;
      }
      .contact-bar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.8rem 1rem !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .contact-bar::-webkit-scrollbar {
    display: none;
  }

  .contact-link {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    font-size: 0.8rem !important;
    padding: 0.4rem 0.8rem !important;
    min-width: fit-content !important;
    max-width: none !important;
    width: auto !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    margin: 0 !important;
  }
  
  .contact-link i {
    font-size: 0.9rem;
    margin-right: 0.3rem;
  }

      main {
        margin-top: 20px;
      }

      .hero h1 {
        font-size: 2.5rem;
      }

      .hero-content {
        padding: 2rem;
        margin: 1rem;
      }

      section {
        padding: 3rem 1rem;
      }

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

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

      .timeline::before {
        left: 15px;
      }

      .timeline-item {
        padding-left: 50px;
      }

      .timeline-marker {
        left: 5px;
      }

      .section-title {
        font-size: 2rem;
      }

      .resume-download {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
      }
    }

    @media (max-width: 480px) {
      .hero h1 {
        font-size: 2rem;
      }

.contact-bar {
    padding: 0.6rem 0.5rem !important;
    gap: 0.3rem !important;
  }

  .contact-link {
    font-size: 0.75rem !important;
    padding: 0.3rem 0.6rem !important;
    gap: 0.3rem !important;
  }
  
  .contact-link i {
    font-size: 0.8rem !important;
  }

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

      .project-card {
        margin: 0.5rem;
      }

      .resume-download {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
      }
    }
  