/* Base styles */
:root {
    --purple-400: #a78bfa;
    --purple-500: #8b5cf6;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    color: white;
    background-color: black;
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Canvas backgrounds */
  #space-background,
  #cosmic-nebula {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
  }
  
  .tech-stack {
    padding: 3rem 0;
    position: relative;
    z-index: 2;
  }
  
  .section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #fff;
  }
  
  .gradient-text {
    background: linear-gradient(90deg, #8B5CF6 0%, #EC4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  .section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    font-size: 1rem;
  }
  
  .compact-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .skill-category {
    background: rgba(30, 30, 60, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
  }
  
  .category-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #fff;
  }
  
  .category-icon {
    font-size: 1.2rem;
    margin-right: 0.8rem;
    color: #8B5CF6;
  }
  
  .skill-category h3 {
    font-size: 1.1rem;
    margin: 0;
  }

  .projects {
    padding: 4rem 0;
    position: relative;
    z-index: 2;
  }
  
  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .project-card {
    background: rgba(30, 30, 60, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.4);
  }
  
  .project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
  }
  
  .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .project-card:hover .project-image img {
    transform: scale(1.05);
  }
  
  .tech-tags {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1rem;
  }
  
  .tech-tags span {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    backdrop-filter: blur(5px);
  }
  
  .project-content {
    padding: 1.5rem;
  }
  
  .project-content h3 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
  }
  
  .project-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  
  .project-features {
    list-style-type: none;
    padding: 0;
    margin: 1rem 0;
  }
  
  .project-features li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
  }
  
  .project-features li:before {
    content: "•";
    color: #8B5CF6;
    position: absolute;
    left: 0;
  }
  
  .project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .demo-link, .code-link {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .demo-link {
    background: #8B5CF6;
    color: white;
  }
  
  .demo-link:hover {
    background: #7C4DFF;
  }
  
  .code-link {
    background: transparent;
    color: #8B5CF6;
    border: 1px solid #8B5CF6;
  }
  
  .code-link:hover {
    background: rgba(139, 92, 246, 0.1);
  }
  .download-cv-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
  }
  /* Media queries */
  @media (max-width: 480px) {
    .download-cv-btn {
      font-size: 0.8rem;
      padding: 0.5rem 1rem;
    }
    
    .hero-content {
      text-align: center;
    }
    
    .download-cv-container {
      margin: 1.5rem 0;
    }
  }
  
  @media (min-width: 481px) and (max-width: 767px) {
    .download-cv-container {
      margin: 1.8rem 0;
    }
    
    .hero-content {
      text-align: center;
    }
  }
  
  @media (min-width: 768px) {
    h1 {
      font-size: 3rem;
    }
    
    nav {
      display: flex;
    }
    
    .hero .container {
      flex-direction: row;
      align-items: center;
    }
    
    .hero-content {
      width: 50%;
      margin-bottom: 0;
      margin-right: 2rem;
    }
    
    .download-cv-container {
      justify-content: flex-start;
      margin: 2rem 0 0 0;
    }
    
    .tech-orbit {
      width: 50%;
    }
    
    .tech-row {
      grid-template-columns: repeat(8, 1fr);
    }
    
    .project-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  /* .download-cv-btn {
    margin-top: 512px;
    top: 200px;
    margin-left: -1009px;
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #06299f, #120e18);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }
  
  .download-cv-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  }
  
  .download-cv-btn i {
    margin-right: 8px;
  } */
  
  .view-more {
    text-align: center;
    margin-top: 3rem;
  }
  
  .view-more-btn {
    background: transparent;
    color: #8B5CF6;
    border: 1px solid #8B5CF6;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .view-more-btn:hover {
    background: rgba(139, 92, 246, 0.1);
  }
  
  .view-more-btn i {
    margin-left: 0.5rem;
  }
  
  .skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
  }
  
  .skill-pill {
    background: rgba(139, 92, 246, 0.15);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.2s ease;
  }
  
  .skill-pill:hover {
    background: rgba(139, 92, 246, 0.3);
    transform: scale(1.05);
  }
  
   .tech-orbit {
      position: relative;
      width: 500px;
      height: 500px;
      margin: 20px auto;
      border-radius: 50%;
      overflow: hidden;
    }
    
    .tech-icon {
      position: absolute;
      transform: translate(-50%, -50%);
      z-index: 2;
      transition: all 0.3s ease;
    }
    
    .tech-icon:hover {
      transform: translate(-50%, -50%) scale(1.2);
    }
    
    .tech-badge {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: #2a2a40;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 0 15px rgba(80, 200, 255, 0.5);
      border: 2px solid rgba(100, 220, 255, 0.3);
      overflow: hidden;
    }
    
    .tech-text {
      font-family: 'Arial', sans-serif;
      font-weight: bold;
      font-size: 22px;
      color: #61dafb;
    }
    
    .tech-logo {
      width: 40px;
      height: 40px;
      object-fit: contain;
    }
    
    .orbit-grid {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      animation: rotate 60s linear infinite;
    }
    
    @keyframes rotate {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }
    
    /* Pulsing effect for badges */
    @keyframes pulse {
      0% { box-shadow: 0 0 10px rgba(80, 200, 255, 0.4); }
      50% { box-shadow: 0 0 20px rgba(80, 200, 255, 0.7); }
      100% { box-shadow: 0 0 10px rgba(80, 200, 255, 0.4); }
    }
    
    .tech-badge {
      animation: pulse 3s infinite;
    }

  #cosmic-nebula {
    opacity: 0.4;
  }
  
  /* Background effects */
  .bg-effects {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
  }
  
  .purple-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background-color: rgba(139, 92, 246, 0.2);
    filter: blur(100px);
  }
  
  /* Header */
  header {
    position: relative;
    z-index: 10;
    padding: 1rem 0;
  }
  
  header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 1.25rem;
    font-weight: bold;
  }
  
  nav {
    display: none;
  }
  
  .social-icons {
    display: flex;
    gap: 1rem;
  }
  
  .social-icons a {
    font-size: 1.25rem;
    transition: color 0.3s;
  }
  
  .social-icons a:hover {
    color: var(--purple-400);
  }
  
  /* Navigation links */
  .nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 1rem;
    transition: color 0.3s;
  }
  
  .nav-link:hover {
    color: white;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: var(--purple-500);
    transition: width 0.3s;
  }
  
  .nav-link:hover::after {
    width: 100%;
  }
  
  /* Hero section */
  .hero {
    position: relative;
    z-index: 10;
    padding: 5rem 0;
  }
  
  .hero .container {
    display: flex;
    flex-direction: column;
  }
  
  .hero-content {
    margin-bottom: 2.5rem;
  }
  
  .back-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--blue-400);
    margin-bottom: 1.5rem;
  }
  
  .back-link i {
    margin-right: 0.5rem;
  }
  
  h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }
  
  .hero p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
  }
  
  .text-purple {
    color: var(--purple-400);
    font-weight: 600;
  }
  
  .text-blue {
    color: var(--blue-500);
  }
  
  .text-light-blue {
    color: var(--blue-400);
  }
  
  /* Tech orbit */
  .tech-orbit {
    position: relative;
    width: 100%;
    height: 400px;
  }
  
  .tech-icon {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 10;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.3));
    animation: float 6s ease-in-out infinite;
  }
  
  .tech-icon:nth-child(2n) {
    animation-delay: 1s;
  }
  
  .tech-icon:nth-child(3n) {
    animation-delay: 2s;
  }
  
  .tech-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(55, 65, 81, 0.5);
    transition: all 0.3s;
    transform: scale(1);
  }
  
  .tech-badge:hover {
    transform: scale(1.1);
    background-color: rgba(55, 65, 81, 0.8);
    animation: pulse 1.5s infinite;
  }
  
  .tech-text {
    font-size: 1.25rem;
    font-weight: bold;
  }
  
  .tech-logo {
    padding: 0.5rem;
    border-radius: 0.5rem;
    background-color: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(55, 65, 81, 0.5);
  }
  
  .orbit-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  
  /* Tech stack section */
  .tech-stack {
    position: relative;
    z-index: 10;
    padding: 5rem 0;
    text-align: center;
  }
  
  .tech-stack h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
  }
  
  .subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-bottom: 3rem;
  }
  
  .tech-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .tech-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    justify-items: center;
  }
  
  /* Projects section */
  .projects {
    position: relative;
    z-index: 10;
    padding: 5rem 0;
  }
  
  .section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 4rem;
    text-align: center;
    color: var(--purple-400);
  }
  
  .project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .project-card {
    background-color: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 0.5rem;
    padding: 1.25rem;
    border: 1px solid rgba(31, 41, 55, 1);
    transition: all 0.3s;
  }
  
  .project-card:hover {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
  }
  
  .project-image {
    position: relative;
    height: 240px;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 0.5rem;
  }
  
  .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
  }
  
  .project-card:hover .project-image img {
    transform: scale(1.05);
  }
  
  .project-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }
  
  .project-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
  }
  
  /* Footer */
  footer {
    position: relative;
    z-index: 10;
    padding: 3rem 0;
    margin-top: 5rem;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-column h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
  }
  
  .footer-column ul {
    list-style: none;
  }
  
  .footer-column li {
    margin-bottom: 0.5rem;
  }
  
  .footer-column a {
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    transition: color 0.3s;
  }
  
  .footer-column a:hover {
    color: white;
  }
  
  .footer-column a i {
    margin-right: 0.5rem;
    width: 16px;
  }
  
  .footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(31, 41, 55, 1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
  }
  
  /* Animations */
  @keyframes float {
    0% {
      transform: translate(-50%, -50%);
    }
    50% {
      transform: translate(-50%, -60%);
    }
    100% {
      transform: translate(-50%, -50%);
    }
  }
  
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
    }
    70% {
      box-shadow: 0 0 0 10px rgba(139, 92, 246, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(139, 92, 246, 0);
    }
  }
  
  /* Media queries */
  @media (min-width: 768px) {
    h1 {
      font-size: 3rem;
    }
    
    nav {
      display: flex;
    }
    
    .hero .container {
      flex-direction: row;
      align-items: center;
    }
    
    .hero-content {
      width: 50%;
      margin-bottom: 0;
      margin-right: 2rem;
    }
    
    .tech-orbit {
      width: 50%;
    }
    
    .tech-row {
      grid-template-columns: repeat(8, 1fr);
    }
    
    .project-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }