     * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #000;
      color: #fff;
      overflow-x: hidden;
    }

    /* Advanced Animated Background */
    .bg-animation {
      position: fixed;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      z-index: -1;
      background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
      overflow: hidden;
    }

    .stars {
      position: absolute;
      width: 100%;
      height: 100%;
      background: transparent;
    }

    .star {
      position: absolute;
      width: 2px;
      height: 2px;
      background: white;
      border-radius: 50%;
      animation: twinkle 3s infinite;
    }

    @keyframes twinkle {
      0%, 100% { opacity: 0.3; }
      50% { opacity: 1; }
    }

    .particles {
      position: absolute;
      width: 100%;
      height: 100%;
    }

    .particle {
      position: absolute;
      width: 4px;
      height: 4px;
      background: #00ffc8;
      border-radius: 50%;
      animation: float-particle 15s infinite;
      opacity: 0.6;
      box-shadow: 0 0 10px #00ffc8;
    }

    @keyframes float-particle {
      0% {
        transform: translateY(100vh) translateX(0);
      }
      100% {
        transform: translateY(-100vh) translateX(100px);
      }
    }

    /* Navigation */
    nav {
      position: fixed;
      top: 0;
      width: 100%;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(20px);
      padding: 1rem 2rem;
      z-index: 1000;
      border-bottom: 1px solid rgba(0, 255, 200, 0.2);
    }

    nav ul {
      list-style: none;
      display: flex;
      justify-content: center;
      gap: 2rem;
      flex-wrap: wrap;
    }

    nav a {
      color: #fff;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.95rem;
      letter-spacing: 1px;
      transition: all 0.3s;
      padding: 0.5rem 1rem;
      border-radius: 8px;
      position: relative;
    }

    nav a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, #00ffc8, #6366f1);
      transition: width 0.3s;
    }

    nav a:hover::after {
      width: 80%;
    }

    nav a:hover {
      color: #00ffc8;
    }

    /* Hero Section */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 2rem;
      margin-top: 60px;
      position: relative;
    }

    .hero-content {
      max-width: 900px;
      z-index: 10;
    }

    .profile-container {
      position: relative;
      margin-bottom: 2rem;
      display: inline-block;
      margin-top: 3.5rem;
    }

    .profile-pic {
      width: 220px;
      height: 220px;
      border-radius: 50%;
      border: 5px solid transparent;
      background: linear-gradient(45deg, #00ffc8, #6366f1, #ff006e) border-box;
      box-shadow: 0 0 50px rgba(0, 255, 200, 0.4),
                  0 0 100px rgba(99, 102, 241, 0.3);
      animation: profile-float 4s ease-in-out infinite;
      object-fit: cover;
      position: relative;
    }

    .profile-container::before {
      content: '';
      position: absolute;
      inset: -10px;
      border-radius: 50%;
      background: linear-gradient(45deg, #00ffc8, #6366f1, #ff006e);
      filter: blur(20px);
      opacity: 0.6;
      animation: rotate 4s linear infinite;
    }

    @keyframes profile-float {
      0%, 100% { transform: translateY(0px) scale(1); }
      50% { transform: translateY(-20px) scale(1.05); }
    }

    @keyframes rotate {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    .hero h1 {
      font-size: 4rem;
      margin: 1.5rem 0;
      background: linear-gradient(135deg, #00ffc8 0%, #6366f1 50%, #ff006e 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: gradient-shift 3s ease infinite;
      background-size: 200% 200%;
      font-weight: 800;
      letter-spacing: 2px;
      text-shadow: 0 0 30px rgba(0, 255, 200, 0.5);
    }

    @keyframes gradient-shift {
      0%, 100% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
    }

    .hero .subtitle {
      font-size: 1.5rem;
      color: #00ffc8;
      margin-bottom: 1rem;
      font-weight: 300;
      letter-spacing: 3px;
    }

    .hero p {
      font-size: 1.2rem;
      color: #bbb;
      line-height: 1.8;
      margin-bottom: 2rem;
    }

    .cta-buttons {
      display: flex;
      gap: 1.5rem;
      justify-content: center;
      margin-top: 2rem;
    }

    .cta-btn {
      padding: 1rem 2.5rem;
      border-radius: 50px;
      text-decoration: none;
      font-weight: 600;
      letter-spacing: 1px;
      transition: all 0.3s;
      position: relative;
      overflow: hidden;
    }

    .cta-primary {
      background: linear-gradient(135deg, #00ffc8, #6366f1);
      color: #000;
      box-shadow: 0 0 30px rgba(0, 255, 200, 0.5);
    }

    .cta-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 40px rgba(0, 255, 200, 0.7);
    }

    .cta-secondary {
      border: 2px solid #00ffc8;
      color: #00ffc8;
    }

    .cta-secondary:hover {
      background: rgba(0, 255, 200, 0.1);
      transform: translateY(-3px);
    }

    /* Section Styles */
    section {
      padding: 6rem 2rem;
      max-width: 1400px;
      margin: 0 auto;
      position: relative;
    }

    .section-title {
      font-size: 3rem;
      text-align: center;
      margin-bottom: 4rem;
      position: relative;
      background: linear-gradient(135deg, #00ffc8, #6366f1);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-weight: 700;
      letter-spacing: 2px;
    }

    .section-title::before {
      content: '';
      position: absolute;
      top: -20px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 4px;
      background: linear-gradient(90deg, transparent, #00ffc8, transparent);
      border-radius: 10px;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -20px;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 4px;
      background: linear-gradient(90deg, transparent, #6366f1, transparent);
      border-radius: 10px;
    }


    /* Section Styles */
    section {
      padding: 6rem 2rem;
      max-width: 1400px;
      margin: 0 auto;
      position: relative;
    }

    .section-title {
      font-size: 3rem;
      text-align: center;
      margin-bottom: 4rem;
      position: relative;
      background: linear-gradient(135deg, #00ffc8, #6366f1);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-weight: 700;
      letter-spacing: 2px;
    }

    .section-title::before {
      content: '';
      position: absolute;
      top: -20px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 4px;
      background: linear-gradient(45deg, transparent, #00ffc8, transparent);
      border-radius: 10px;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -20px;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 4px;
      background: linear-gradient(90deg, transparent, #6366f1, transparent);
      border-radius: 10px;
    }

    /* Skills Section */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2.5rem;
      margin-top: 3rem;
    }

    .skill-card {
      background: linear-gradient(135deg, rgba(0, 255, 200, 0.05), rgba(99, 102, 241, 0.05));
      padding: 3rem 2rem;
      border-radius: 20px;
      text-align: center;
      border: 2px solid rgba(0, 255, 200, 0.2);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      backdrop-filter: blur(10px);
      position: relative;
      overflow: hidden;
    }

    .skill-card::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(0, 255, 200, 0.1), transparent);
      opacity: 0;
      transition: opacity 0.4s;
    }

    .skill-card:hover::before {
      opacity: 1;
      animation: ripple 1.5s infinite;
    }

    @keyframes ripple {
      0% { transform: scale(0); opacity: 1; }
      100% { transform: scale(1); opacity: 0; }
    }

    .skill-card:hover {
      transform: translateY(-15px) scale(1.05);
      border-color: #00ffc8;
      box-shadow: 0 20px 60px rgba(0, 255, 200, 0.3),
                  0 0 40px rgba(99, 102, 241, 0.2);
    }

    .skill-icon {
      font-size: 4rem;
      margin-bottom: 1.5rem;
      filter: drop-shadow(0 0 10px rgba(0, 255, 200, 0.5));
    }

    .skill-card h3 {
      font-size: 1.8rem;
      color: #00ffc8;
      margin-bottom: 1rem;
      font-weight: 700;
    }

    .skill-card p {
      color: #aaa;
      font-size: 1rem;
      line-height: 1.6;
    }

    /* Projects Section */


    .project-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none; /* prevent blocking clicks */
}

.project-link {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #00ffc8, #6366f1);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(0, 255, 200, 0.3);
    position: relative; /* bring above ::after */
    z-index: 10;
}

   .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 3rem;
      margin-top: 3rem;
    }
 
    .project-card {
      background: linear-gradient(135deg, rgba(0, 255, 200, 0.03), rgba(99, 102, 241, 0.03));
      border-radius: 25px;
      padding: 0;
      border: 2px solid rgba(0, 255, 200, 0.2);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(10px);
    }
 /*
    .project-card::after {
      content: '';
      position: absolute;
      top: -50%;
      right: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent);
      opacity: 0;
      transition: opacity 0.4s;
    }

    .project-card:hover::after {
      opacity: 1;
    }*/

    .project-card:hover {
      transform: translateY(-15px) rotate(2deg);
      border-color: #6366f1;
      box-shadow: 0 25px 70px rgba(99, 102, 241, 0.4),
                  0 0 50px rgba(0, 255, 200, 0.2);
    }

    .project-header {
      background: linear-gradient(135deg, #00ffc8, #6366f1);
      padding: 1.5rem;
      position: relative;
    }

    .project-number {
      position: absolute;
      top: 1rem;
      right: 1rem;
      font-size: 3rem;
      font-weight: 800;
      color: rgba(0, 0, 0, 0.2);
    }

    .project-content {
      padding: 2rem;
    }

    .project-card h3 {
      color: #000;
      margin-bottom: 0.5rem;
      font-size: 1.8rem;
      font-weight: 700;
    }

    .project-content p {
      color: #ccc;
      line-height: 1.8;
      margin-bottom: 1.5rem;
      font-size: 1.05rem;
    }

   /* .project-link {
      display: inline-block;
      padding: 0.8rem 2rem;
      background: linear-gradient(135deg, #00ffc8, #6366f1);
      color: #000;
      text-decoration: none;
      border-radius: 50px;
      transition: all 0.3s;
      font-weight: 600;
      letter-spacing: 1px;
      box-shadow: 0 5px 20px rgba(0, 255, 200, 0.3);
    }

    .project-link:hover {
      transform: scale(1.05);
      box-shadow: 0 8px 30px rgba(0, 255, 200, 0.5);
    } 

    /* Education Timeline */
    .timeline {
      position: relative;
      max-width: 900px;
      margin: 3rem auto;
      padding: 2rem;
    }

    .timeline::before {
      content: '';
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      top: 0;
      bottom: 0;
      width: 4px;
      background: linear-gradient(180deg, #00ffc8, #6366f1, #ff006e);
      border-radius: 10px;
    }

    .timeline-item {
      position: relative;
      margin-bottom: 4rem;
      width: calc(50% - 40px);
    }

    .timeline-item:nth-child(odd) {
      left: 0;
      text-align: right;
    }

    .timeline-item:nth-child(even) {
      left: calc(50% + 40px);
    }

    .timeline-item::before {
      content: '';
      position: absolute;
      top: 20px;
      width: 25px;
      height: 25px;
      border-radius: 50%;
      background: linear-gradient(135deg, #00ffc8, #6366f1);
      box-shadow: 0 0 30px rgba(0, 255, 200, 0.8);
      z-index: 10;
      animation: pulse 2s infinite;
    }

    .timeline-item:nth-child(odd)::before {
      right: -52px;
    }

    .timeline-item:nth-child(even)::before {
      left: -52px;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(0, 255, 200, 0.8); }
      50% { transform: scale(1.2); box-shadow: 0 0 50px rgba(0, 255, 200, 1); }
    }

    .timeline-content {
      background: linear-gradient(135deg, rgba(0, 255, 200, 0.05), rgba(99, 102, 241, 0.05));
      padding: 2rem;
      border-radius: 20px;
      border: 2px solid rgba(0, 255, 200, 0.3);
      backdrop-filter: blur(10px);
      transition: all 0.3s;
    }

    .timeline-content:hover {
      transform: scale(1.05);
      border-color: #00ffc8;
      box-shadow: 0 15px 50px rgba(0, 255, 200, 0.3);
    }

    .timeline-content h3 {
      color: #00ffc8;
      margin-bottom: 0.8rem;
      font-size: 1.3rem;
      font-weight: 600;
      
    }

    .timeline-content h4 {
      color: #6366f1;
      margin-bottom: 0.8rem;
      font-size: 1.1rem;
      font-weight: 600;
    }

    .timeline-content .date {
      color: #888;
      font-size: 1rem;
      display: block;
      margin-bottom: 1rem;
      font-weight: 500;
    }

    .timeline-content p {
      color: #bbb;
      line-height: 1.6;
    }

    /* Achievements */
    .achievements-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 3rem;
      margin-top: 3rem;
    }

    .achievement-card {
      background: linear-gradient(135deg, rgba(0, 255, 200, 0.05), rgba(99, 102, 241, 0.05));
      padding: 3rem;
      border-radius: 25px;
      border: 2px solid rgba(0, 255, 200, 0.2);
      transition: all 0.4s;
      position: relative;
      overflow: hidden;
      text-align: center;
    }

    .achievement-card::before {
      content: '🏆';
      position: absolute;
      top: -30px;
      right: -30px;
      font-size: 8rem;
      opacity: 0.1;
      transform: rotate(-15deg);
    }

    .achievement-card:hover {
      transform: translateY(-15px);
      border-color: #00ffc8;
      box-shadow: 0 20px 60px rgba(0, 255, 200, 0.3);
    }

    .achievement-card h3 {
      color: #00ffc8;
      margin-bottom: 1rem;
      font-size: 1.8rem;
      font-weight: 700;
    }

    .achievement-card p {
      color: #aaa;
      line-height: 1.8;
      margin-bottom: 1.5rem;
    }

    /* Contact Section */
    .contact-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2.5rem;
      margin-top: 3rem;
    }

    .contact-card {
      background: linear-gradient(135deg, rgba(0, 255, 200, 0.05), rgba(99, 102, 241, 0.05));
      padding: 3rem 2rem;
      border-radius: 20px;
      text-align: center;
      border: 2px solid rgba(0, 255, 200, 0.2);
      transition: all 0.4s;
      position: relative;
      overflow: hidden;
    }

    .contact-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(0, 255, 200, 0.1), transparent);
      transition: 0.5s;
    }

    .contact-card:hover::before {
      left: 100%;
    }

    .contact-card:hover {
      transform: translateY(-15px);
      border-color: #00ffc8;
      box-shadow: 0 20px 60px rgba(0, 255, 200, 0.3);
    }

    .contact-icon {
      font-size: 3.5rem;
      margin-bottom: 1.5rem;
      filter: drop-shadow(0 0 15px rgba(0, 255, 200, 0.5));
    }

    .contact-card h3 {
      color: #00ffc8;
      margin-bottom: 1rem;
      font-size: 1.5rem;
      font-weight: 700;
    }

    .contact-card a {
      color: #aaa;
      text-decoration: none;
      transition: color 0.3s;
      font-size: 1.05rem;
    }

    .contact-card a:hover {
      color: #6366f1;
    }

    /* Footer */
    footer {
      text-align: center;
      padding: 3rem;
      background: rgba(0, 0, 0, 0.8);
      border-top: 2px solid rgba(0, 255, 200, 0.2);
      margin-top: 6rem;
      position: relative;
    }

    footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: linear-gradient(90deg, transparent, #00ffc8, #6366f1, transparent);
    }

    footer p {
      color: #888;
      font-size: 1.1rem;
      letter-spacing: 1px;
    }

    /* Scroll animations */
    .fade-in {
      opacity: 0;
      transform: translateY(50px);
      animation: fadeInUp 0.8s forwards;
    }

    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Responsive */
    @media (max-width: 768px) {
      .hero h1 {
        font-size: 2.5rem;
      }

      .hero .subtitle {
        font-size: 1.2rem;
      }

      .section-title {
        font-size: 2rem;
      }

      nav ul {
        gap: 1rem;
      }

      .cta-buttons {
        flex-direction: column;
      }

      .timeline::before {
        left: 20px;
      }

      .timeline-item {
        width: calc(100% - 60px);
        left: 60px !important;
        text-align: left !important;
      }

      .timeline-item::before {
        left: -47px !important;
      }

      .profile-pic {
        width: 180px;
        height: 180px;
      }
    }