


/* Premium Magnetic Cursor Effect */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: all 0.15s ease;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.cursor-follower {
  position: fixed;
  width: 30px;
  height: 30px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.cursor-follower.expand {
  width: 80px;
  height: 80px;
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
  border-width: 3px;
}

.cursor.active {
  transform: scale(1.5);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.cursor.hidden {
  opacity: 0;
  transform: scale(0);
}

.cursor-follower.hidden {
  opacity: 0;
  transform: scale(0);
}

/* Enhanced Magnetic elements */
.magnetic {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: visible;
}

.magnetic::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: inherit;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.magnetic:hover::before {
  opacity: 1;
}

.magnetic:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

/* Special magnetic effect for logo */
.logo.magnetic:hover {
  transform: scale(1.08) rotate(3deg);
}

/* Hide cursor on mobile devices */
@media (max-width: 768px) {
  body {
    cursor: auto;
  }
  .cursor,
  .cursor-follower {
    display: none !important;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, #111111, #0d0d0d, #1a1a1a);
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at top left,
    rgba(255, 255, 255, 0.03),
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

/* Navigation */
nav {
  height: 90px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo-cube {
  width: 50px;
  height: 50px;
  transform-style: preserve-3d;
  transform: rotateX(20deg) rotateY(20deg);
  animation: spin 12s infinite linear;
  position: relative;
  margin: 5px 0;
}

.face {
  position: absolute;
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, #111, #222);
  color: #fff;
  font-size: 20px;
  font-family: "Courier New", monospace;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #444;
  opacity: 0.95;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.15),
    0 0 30px rgba(255, 255, 255, 0.1) inset;
  backdrop-filter: blur(1px);
}

.front {
  transform: translateZ(25px);
}
.back {
  transform: rotateY(180deg) translateZ(25px);
}
.right {
  transform: rotateY(90deg) translateZ(25px);
}
.left {
  transform: rotateY(-90deg) translateZ(25px);
}
.top {
  transform: rotateX(90deg) translateZ(25px);
}
.bottom {
  transform: rotateX(-90deg) translateZ(25px);
}

@keyframes spin {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: rotateX(180deg) rotateY(90deg);
  }
  50% {
    transform: rotateX(360deg) rotateY(180deg);
  }
  75% {
    transform: rotateX(540deg) rotateY(270deg);
  }
  100% {
    transform: rotateX(720deg) rotateY(360deg);
  }
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 1.1rem;
  position: relative;
}

.nav-link:hover {
  transform: scale(1.1);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 50%;
  bottom: 2px;
  background-color: white;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}



      .container {
        max-width: 900px;
        margin: 0 auto;
        padding: 40px 20px;
        position: relative;
      }

      /* Header Section */
      .header {
        text-align: center;
        margin-bottom: 60px;
        position: relative;
        padding: 40px 0;
      }

      .header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 2px;
        background: linear-gradient(90deg, #71717a, #d4d4d8, #a1a1aa);
        border-radius: 2px;
        animation: shimmer 2s ease-in-out infinite alternate;
      }

      @keyframes shimmer {
        0% {
          opacity: 0.5;
          transform: translateX(-50%) scaleX(0.8);
        }
        100% {
          opacity: 1;
          transform: translateX(-50%) scaleX(1.2);
        }
      }

      .name {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 10px;
        margin-top: 60px;
        background: linear-gradient(135deg, #ffffff, #a1a1aa);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        letter-spacing: -0.02em;
      }

      .title {
        font-size: 1.25rem;
        color: #9ca3af;
        margin-bottom: 20px;
        font-weight: 400;
      }

      .contact-info {
        display: flex;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
        margin-top: 20px;
      }

      .contact-item {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #9ca3af;
        text-decoration: none;
        transition: all 0.3s ease;
        padding: 8px 16px;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.02);
      }

      .contact-item:hover {
        color: #ffffff;
        border-color: rgba(161, 161, 170, 0.6);
        background: rgba(161, 161, 170, 0.15);
        transform: translateY(-2px);
      }

      /* Section Styling */
      .section {
        margin-bottom: 50px;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.8s ease-out forwards;
      }

      .section:nth-child(2) {
        animation-delay: 0.1s;
      }
      .section:nth-child(3) {
        animation-delay: 0.2s;
      }
      .section:nth-child(4) {
        animation-delay: 0.3s;
      }
      .section:nth-child(5) {
        animation-delay: 0.4s;
      }

      @keyframes fadeInUp {
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .section-title {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 25px;
        color: #ffffff;
        position: relative;
        padding-left: 20px;
      }

      .section-title::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 20px;
        background: linear-gradient(180deg, #71717a, #d4d4d8);
        border-radius: 2px;
      }

      /* Experience and Education Items */
      .item {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 25px;
        margin-bottom: 20px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
      }

      .item::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(
          90deg,
          transparent,
          rgba(161, 161, 170, 0.4),
          transparent
        );
        opacity: 0;
        transition: opacity 0.3s ease;
      }

      .item:hover {
        border-color: rgba(161, 161, 170, 0.4);
        background: rgba(255, 255, 255, 0.05);
        transform: translateY(-3px);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
      }

      .item:hover::before {
        opacity: 1;
      }

      .item-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 15px;
        flex-wrap: wrap;
        gap: 10px;
      }

      .item-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #ffffff;
      }

      .item-company {
        color: #d4d4d8;
        font-weight: 500;
        margin-top: 2px;
      }

      .item-date {
        color: #9ca3af;
        font-size: 0.9rem;
        font-weight: 500;
        background: rgba(255, 255, 255, 0.05);
        padding: 4px 12px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
      }

      .item-description {
        color: #d1d5db;
        line-height: 1.7;
        margin-top: 10px;
      }

      .item-description ul {
        margin-left: 20px;
        margin-top: 10px;
      }

      .item-description li {
        margin-bottom: 5px;
        position: relative;
      }

      .item-description li::marker {
        color: #d4d4d8;
      }

      /* Skills Section */
      .skills-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
      }

      .skill-category {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 20px;
        transition: all 0.3s ease;
      }

      .skill-category:hover {
        border-color: rgba(161, 161, 170, 0.4);
        background: rgba(255, 255, 255, 0.05);
      }

      .skill-category h4 {
        color: #ffffff;
        margin-bottom: 15px;
        font-weight: 600;
      }

      .skill-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }

      .skill-tag {
        background: rgba(161, 161, 170, 0.1);
        color: #d4d4d8;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.85rem;
        border: 1px solid rgba(161, 161, 170, 0.25);
        transition: all 0.3s ease;
      }

      .skill-tag:hover {
        background: rgba(161, 161, 170, 0.2);
        color: #f4f4f5;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(161, 161, 170, 0.1);
      }

      /* Summary Section */
      .summary {
        background: linear-gradient(
          135deg,
          rgba(161, 161, 170, 0.08),
          rgba(113, 113, 122, 0.12)
        );
        border: 1px solid rgba(161, 161, 170, 0.25);
        border-radius: 16px;
        padding: 30px;
        margin-bottom: 50px;
        position: relative;
        overflow: hidden;
      }

      .summary::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, #71717a, #d4d4d8, #a1a1aa);
      }

      .summary p {
        font-size: 1.1rem;
        line-height: 1.8;
        color: #e5e7eb;
      }

      /* Footer */
footer {
  margin: 3rem 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer p {
  color: #aaa;
  font-size: 0.9rem;
  margin: 0;
}

.inspire {
  color: #ccc;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.inspire::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #888, #fff, #888);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.inspire:hover {
  color: #fff;
}

.inspire:hover::after {
  opacity: 1;
}

.list {
  display: flex;
  gap: 1rem;
}

.list .link {
  background-color: transparent;
  border: 1.5px solid #fff;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.list .link:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
  border-color: #eee;
}


/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 1rem;
  right: 2rem;
  z-index: 100;
  background-color: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  display: none;
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#scrollTopBtn.show {
  display: flex;
}

#scrollTopBtn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

      /* Responsive Design */
      @media (max-width: 768px) {

         nav {
    padding: 0 1rem;
  }

  nav ul {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: calc(100vh - 90px);
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(-100%);
   transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
  }

  nav ul.show {
    
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .menu-toggle {
    display: flex;
    z-index: 1002;
    position: relative;
  }

  .menu-toggle span {
    display: block;
    position: relative;
    background: white;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: white;
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: white;
  }

  .nav-link {
    font-size: 1.5rem;
    padding: 1rem 2rem;
    color: white !important;
  }

    #scrollTopBtn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

    footer {
    flex-direction: column;
    text-align: center;
  }

  .list {
    flex-wrap: wrap;
    justify-content: center;
  }
        .container {
          padding: 20px 15px;
        }

        .name {
          font-size: 2.5rem;
        }

        .contact-info {
          gap: 15px;
        }

        .contact-item {
          font-size: 0.9rem;
          padding: 6px 12px;
        }

        .item-header {
          flex-direction: column;
          align-items: flex-start;
        }

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

      /* Print Styles */
      @media print {
        body {
          background: white;
          color: black;
        }

        .item,
        .skill-category,
        .summary {
          border: 1px solid #ddd;
          background: white;
        }

        .name {
          -webkit-text-fill-color: black;
          color: black;
        }

        .section-title::before {
          background: #333;
        }
      }
  