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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: white;
  overflow-x: hidden;
}

.portfolio-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #1f2937 0%, #1e3a8a 50%, #000000 100%);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-image-bg {
  position: absolute;
  inset: 0;
  background-image: url("WhatsApp\ Image\ 2025-03-18\ at\ 02.15.54_cf67cf27.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: 0;
}

.floating-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}

.profile-image-container {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.profile-image {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: profileFloat 3s ease-in-out infinite;
  transition: all 0.5s ease;
  cursor: pointer;
}

.profile-image:hover {
  animation: profileHover 2s ease-in-out infinite;
  border-color: rgba(147, 51, 234, 0.5);
}

.hero-name {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.name-word {
  display: inline-block;
  margin-right: 1rem;
  animation: nameColorShift 3s ease-in-out infinite;
  transition: all 0.7s ease;
}

.name-word:hover {
  transform: scale(1.1) translateY(-5px);
}

.hero-title {
  font-size: clamp(1.25rem, 4vw, 2rem);
  margin-bottom: 2rem;
  color: white;
}

.title-word {
  display: inline-block;
  margin-right: 0.5rem;
  transition: all 0.7s ease;
}

.title-word:hover {
  transform: scale(1.1) rotate(1deg);
  color: #60a5fa;
}

.hero-description {
  font-size: 1.125rem;
  color: #d1d5db;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* Animated gradient text styles */
.animated-gradient-text {
  background: linear-gradient(45deg, #60a5fa, #a855f7, #22d3ee, #93c5fd);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientTextFlow 4s ease-in-out infinite;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.animated-gradient-text:hover {
  animation: gradientTextFlowFast 1.5s ease-in-out infinite;
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px rgba(96, 165, 250, 0.4));
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(45deg, #2563eb, #3b82f6, #60a5fa);
  background-size: 300% 300%;
  color: white;
  animation: contactPulse 3s ease-in-out infinite, gradientShift 4s ease infinite;
  position: relative;
  overflow: hidden;
}

.btn-primary::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.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(45deg, #1d4ed8, #2563eb, #3b82f6);
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  background: transparent;
  color: #93c5fd;
  border: 1px solid #3b82f6;
}

.btn-outline:hover {
  background: #2563eb;
  color: white;
  transform: scale(1.05);
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  font-size: 0.875rem;
  color: #9ca3af;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.7s ease;
  cursor: pointer;
}

.contact-item:hover {
  color: #93c5fd;
  transform: scale(1.1) rotate(1deg);
}

/* Contact icons */
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 8px;
  transition: all 0.5s ease;
  animation: iconFloat 3s ease-in-out infinite;
}

.gmail-icon {
  background: linear-gradient(45deg, #ea4335, #fbbc05, #34a853, #4285f4);
  background-size: 300% 300%;
  animation: gradientShift 3s ease infinite, iconFloat 3s ease-in-out infinite;
  color: white;
}

.gmail-icon:hover {
  transform: scale(1.3) rotate(10deg);
  box-shadow: 0 0 20px rgba(234, 67, 53, 0.6);
  animation: gmailBounce 1s ease-in-out infinite, gradientShift 1s ease infinite;
}

.linkedin-icon {
  background: linear-gradient(45deg, #0077b5, #00a0dc);
  color: white;
}

.linkedin-icon:hover {
  transform: scale(1.3) rotate(-10deg);
  box-shadow: 0 0 20px rgba(0, 119, 181, 0.6);
  animation: linkedinSpin 2s linear infinite;
}

.github-icon {
  background: linear-gradient(45deg, #333, #666);
  color: white;
}

.github-icon:hover {
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(51, 51, 51, 0.6);
  animation: githubBounce 0.8s ease-in-out infinite;
}

/* Button icons */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-right: 8px;
  transition: all 0.5s ease;
}

.btn .gmail-icon {
  background: linear-gradient(45deg, #ea4335, #fbbc05);
}

.btn .linkedin-icon {
  background: linear-gradient(45deg, #0077b5, #00a0dc);
}

.btn .github-icon {
  background: linear-gradient(45deg, #333, #666);
}

.linkedin-btn:hover .linkedin-icon {
  animation: linkedinSpin 2s linear infinite;
}

.github-btn:hover .github-icon {
  animation: githubBounce 0.8s ease-in-out infinite;
}

/* Navigation */
.navigation {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.nav-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.7s ease;
}

.nav-btn:hover {
  color: #22d3ee;
  background: rgba(30, 58, 138, 0.4);
  transform: scale(1.3) rotate(3deg);
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.3);
}

.nav-btn.active {
  background: linear-gradient(to right, #2563eb, #0891b2);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  animation: navGlow 2s ease-in-out infinite;
}

/* Content Sections */
.content-section {
  display: none;
  padding: 4rem 1rem;
  animation: fadeIn 0.6s ease-out;
}

.content-section.active {
  display: block;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: white;
  transition: all 0.5s ease;
}

.section-title:hover {
  transform: scale(1.05) translateY(-5px);
  color: #60a5fa;
  text-shadow: 0 0 30px rgba(96, 165, 250, 0.5);
}

/* About Section */
.about-content {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.about-paragraph {
  font-size: 1.125rem;
  color: #d1d5db;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  padding: 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.about-paragraph:hover {
  transform: scale(1.02) translateY(-2px);
  color: #93c5fd;
  background: rgba(55, 65, 81, 0.3);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.about-card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
}

.about-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(59, 130, 246, 0.2);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 1rem;
}

.education-item,
.certification-item {
  margin-bottom: 1.5rem;
}

.education-item h4,
.cert-name {
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.education-details,
.cert-issuer {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.education-description {
  color: #d1d5db;
  font-size: 0.875rem;
}

/* Dashboard Section */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.stat-card:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
}

.stat-icon.blue {
  background: linear-gradient(45deg, #3b82f6, #60a5fa);
}
.stat-icon.green {
  background: linear-gradient(45deg, #10b981, #34d399);
}
.stat-icon.purple {
  background: linear-gradient(45deg, #8b5cf6, #a78bfa);
}
.stat-icon.orange {
  background: linear-gradient(45deg, #f59e0b, #fbbf24);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #9ca3af;
  font-size: 0.875rem;
}

.dashboard-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.dashboard-card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.dashboard-card:hover {
  transform: translateY(-5px);
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-description {
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.skill-progress {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 0.875rem;
}

.progress-bar {
  height: 8px;
  background: rgba(55, 65, 81, 0.5);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.8s ease;
}

.progress-fill.blue {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}
.progress-fill.green {
  background: linear-gradient(90deg, #10b981, #34d399);
}
.progress-fill.purple {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}
.progress-fill.orange {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.activity-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.activity-dot.blue {
  background: #3b82f6;
}
.activity-dot.green {
  background: #10b981;
}
.activity-dot.purple {
  background: #8b5cf6;
}

.activity-content {
  flex: 1;
}

.activity-title {
  color: white;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.activity-subtitle {
  color: #9ca3af;
  font-size: 0.875rem;
}

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

.skill-category {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.skill-category:hover {
  transform: translateY(-5px) scale(1.02);
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.category-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

.category-icon.blue {
  background: linear-gradient(45deg, #3b82f6, #60a5fa);
}
.category-icon.green {
  background: linear-gradient(45deg, #10b981, #34d399);
}
.category-icon.gray {
  background: linear-gradient(45deg, #6b7280, #9ca3af);
}
.category-icon.purple {
  background: linear-gradient(45deg, #8b5cf6, #a78bfa);
}

.category-header h3 {
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: rgba(55, 65, 81, 0.6);
  color: #d1d5db;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(75, 85, 99, 0.3);
}

.skill-tag:hover {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.5);
  transform: scale(1.05);
}

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

.project-card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.project-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(59, 130, 246, 0.2);
}

.project-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.project-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  background: linear-gradient(45deg, #3b82f6, #60a5fa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

.project-info h3 {
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.project-date {
  color: #9ca3af;
  font-size: 0.875rem;
}

.project-description {
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-tag {
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: white;
}

.project-tag.blue {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.project-tag.green {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.project-tag.purple {
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.project-tag.orange {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.project-features {
  list-style: none;
  padding: 0;
}

.project-features li {
  color: #d1d5db;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.project-features li::before {
  content: "•";
  color: #60a5fa;
  position: absolute;
  left: 0;
}

/* Contact Section */
.contact-section {
  text-align: center;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

.contact-description {
  color: #d1d5db;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.8);
  border-top: 1px solid rgba(51, 65, 85, 0.3);
  padding: 2rem 1rem;
  text-align: center;
}

.footer-content p {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* SVG Icons */
.w-4 {
  width: 1rem;
  height: 1rem;
}
.w-6 {
  width: 1.5rem;
  height: 1.5rem;
}
.h-4 {
  width: 1rem;
  height: 1rem;
}
.h-6 {
  width: 1.5rem;
  height: 1.5rem;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes nameColorShift {
  0%,
  100% {
    color: white;
    transform: translateY(0px) scale(1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  }
  50% {
    color: #60a5fa;
    transform: translateY(-3px) scale(1.02);
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
  }
}

@keyframes profileFloat {
  0%,
  100% {
    transform: translateY(0px) scale(1) rotate(0deg);
  }
  33% {
    transform: translateY(-12px) scale(1.08) rotate(2deg);
  }
  66% {
    transform: translateY(-8px) scale(1.05) rotate(-1deg);
  }
}

@keyframes profileHover {
  0%,
  100% {
    transform: translateY(-5px) scale(1.15) rotate(0deg);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
  }
  25% {
    transform: translateY(-20px) scale(1.25) rotate(5deg);
    box-shadow: 0 0 40px rgba(147, 51, 234, 0.7);
  }
  50% {
    transform: translateY(-15px) scale(1.3) rotate(-3deg);
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.8);
  }
  75% {
    transform: translateY(-25px) scale(1.2) rotate(8deg);
    box-shadow: 0 0 35px rgba(147, 51, 234, 0.6);
  }
}

@keyframes gradientTextFlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 50% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
}

@keyframes gradientTextFlowFast {
  0%,
  100% {
    background-position: 0% 50%;
  }
  33% {
    background-position: 100% 50%;
  }
  66% {
    background-position: 50% 100%;
  }
}

@keyframes contactPulse {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }
  25% {
    transform: scale(1.03) rotate(1deg);
    box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.3);
  }
  50% {
    transform: scale(1.08) rotate(-1deg);
    box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
  }
  75% {
    transform: scale(1.05) rotate(0.5deg);
    box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.2);
  }
}

@keyframes navGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
  }
  50% {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.7);
  }
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.05);
  }
}

@keyframes gmailBounce {
  0%,
  100% {
    transform: scale(1.3) rotate(10deg) translateY(0px);
  }
  25% {
    transform: scale(1.4) rotate(15deg) translateY(-5px);
  }
}

@keyframes linkedinSpin {
  from {
    transform: scale(1.3) rotate(-10deg);
  }
  to {
    transform: scale(1.3) rotate(350deg);
  }
}

@keyframes githubBounce {
  0%,
  100% {
    transform: scale(1.3) translateY(0px);
  }
  25% {
    transform: scale(1.4) translateY(-3px);
  }
  50% {
    transform: scale(1.5) translateY(-6px);
  }
  75% {
    transform: scale(1.4) translateY(-3px);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes floatEnhanced {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-15px) translateX(5px) rotate(90deg);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-25px) translateX(-3px) rotate(180deg);
    opacity: 1;
  }
  75% {
    transform: translateY(-10px) translateX(8px) rotate(270deg);
    opacity: 0.7;
  }
}

@keyframes twinkleEnhanced {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1) rotate(0deg);
    text-shadow: 0 0 15px rgba(147, 197, 253, 0.7);
  }
  25% {
    opacity: 1;
    transform: scale(1.3) rotate(90deg);
    text-shadow: 0 0 25px rgba(96, 165, 250, 0.9);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1) rotate(180deg);
    text-shadow: 0 0 30px rgba(34, 211, 238, 0.8);
  }
  75% {
    opacity: 0.9;
    transform: scale(1.2) rotate(270deg);
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.7);
  }
}

@keyframes starExplode {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(2.5) rotate(180deg);
    opacity: 0.8;
    text-shadow: 0 0 50px rgba(147, 197, 253, 1);
  }
  100% {
    transform: scale(1) rotate(360deg);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-name {
    font-size: 2.5rem;
  }
  .hero-title {
    font-size: 1.25rem;
  }
  .nav-container {
    gap: 1rem;
  }
  .about-cards {
    grid-template-columns: 1fr;
  }
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-content {
    grid-template-columns: 1fr;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 1rem;
  }
  .profile-image {
    width: 100px;
    height: 100px;
  }
  .hero-contact {
    flex-direction: column;
    gap: 1rem;
  }
  .dashboard-stats {
    grid-template-columns: 1fr;
  }
}
