/* Professional Portfolio - Clean UI/UX Design */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  background: #ffffff;
}

/* Container System */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Background */
#app-wrapper {
  background: linear-gradient(135deg, #fff5f0 0%, #fffbf8 50%, #fff0f5 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Gradient Blobs - Brighter and More Vibrant */
.gradient-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.blob-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
  background: linear-gradient(135deg, #ffb3a7, #ff8a75);
}

.blob-2 {
  width: 350px;
  height: 350px;
  top: 50%;
  right: -100px;
  background: linear-gradient(135deg, #ffa6c9, #ff6b8a);
}

.blob-3 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: 40%;
  background: linear-gradient(135deg, #ffd4a3, #ffb88c);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 25px rgba(255, 107, 138, 0.08);
  z-index: 1000;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 138, 117, 0.1);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #ff7a65, #ff5b7a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  filter: brightness(1.1);
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #7a5555;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff7a65, #ff5b7a);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: #ff6b5a;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #ff8a75;
  cursor: pointer;
}

/* Sections */
section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

section:first-of-type {
  padding-top: 120px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-avatar {
  width: 180px;
  height: 180px;
  margin: 0 auto 40px;
  background: linear-gradient(135deg, #ffd4c4, #ffc4d0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  box-shadow: 0 20px 60px rgba(255, 138, 117, 0.3);
  animation: float 6s ease-in-out infinite;
}

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

.hero-greeting {
  font-size: 18px;
  color: #ff8a75;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ff8a75, #ff6b8a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 24px;
  color: #666;
  margin-bottom: 30px;
  font-weight: 500;
}

.hero-description {
  font-size: 18px;
  color: #888;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #ff7a65, #ff5b7a);
  color: white;
  box-shadow: 0 10px 35px rgba(255, 107, 138, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 45px rgba(255, 107, 138, 0.5);
  filter: brightness(1.1);
}

.btn-secondary {
  background: white;
  color: #ff6b5a;
  border: 2px solid #ff7a65;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #ff7a65, #ff5b7a);
  color: white;
  transform: translateY(-3px);
}

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

.section-badge {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, #ffe8e0, #ffd4c4);
  color: #ff6b5a;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(255, 107, 138, 0.15);
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff7a65, #ff5b7a, #ffa6c9);
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(255, 107, 138, 0.3);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.about-card {
  background: linear-gradient(135deg, #ffffff 0%, #fffbf8 100%);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 35px rgba(255, 107, 138, 0.08);
  transition: all 0.3s;
  border: 1px solid rgba(255, 138, 117, 0.1);
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(255, 107, 138, 0.2);
  border-color: rgba(255, 138, 117, 0.3);
}

.about-card-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.about-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.about-card-text {
  font-size: 14px;
  color: #888;
}

.about-text {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  color: #666;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.tag {
  padding: 12px 24px;
  background: linear-gradient(135deg, #ffe8e0, #ffd4c4);
  color: #ff6b5a;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(255, 107, 138, 0.15);
  border: 1px solid rgba(255, 138, 117, 0.2);
}

/* Experience Section */
.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #ff7a65, #ff5b7a, #ffa6c9, #ffd4a3);
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(255, 107, 138, 0.3);
}

.timeline-item {
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 50%;
  padding-right: 40px;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 50%;
  padding-left: 40px;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #ff7a65, #ff5b7a);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px white, 0 0 20px rgba(255, 107, 138, 0.6);
}

.timeline-content {
  background: linear-gradient(135deg, #ffffff 0%, #fffbf8 100%);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 35px rgba(255, 107, 138, 0.1);
  transition: all 0.3s;
  border: 1px solid rgba(255, 138, 117, 0.1);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(255, 107, 138, 0.2);
  border-color: rgba(255, 138, 117, 0.3);
}

.timeline-title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.timeline-company {
  font-size: 16px;
  color: #ff6b5a;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-date {
  font-size: 14px;
  color: #999;
  margin-bottom: 15px;
}

.timeline-description {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

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

.skill-card {
  background: linear-gradient(135deg, #ffffff 0%, #fffbf8 100%);
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 35px rgba(255, 107, 138, 0.08);
  transition: all 0.3s;
  border: 1px solid rgba(255, 138, 117, 0.1);
}

.skill-card:hover {
  transform: translateY(-8px) rotate(2deg);
  box-shadow: 0 15px 45px rgba(255, 107, 138, 0.2);
  border-color: rgba(255, 138, 117, 0.3);
}

.skill-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.skill-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.skill-level {
  font-size: 13px;
  color: #999;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.project-card {
  background: linear-gradient(135deg, #ffffff 0%, #fffbf8 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(255, 107, 138, 0.1);
  transition: all 0.3s;
  border: 1px solid rgba(255, 138, 117, 0.1);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(255, 107, 138, 0.2);
  border-color: rgba(255, 138, 117, 0.3);
}

.project-image {
  height: 200px;
  background: linear-gradient(135deg, #ffd4c4, #ffc4d0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.project-content {
  padding: 30px;
}

.project-title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.project-description {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.project-tag {
  padding: 6px 16px;
  background: linear-gradient(135deg, #ffe8e0, #ffd4c4);
  color: #ff6b5a;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255, 138, 117, 0.2);
}

.project-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #ff7a65, #ff5b7a);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 107, 138, 0.3);
}

.project-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 107, 138, 0.4);
  filter: brightness(1.1);
}

/* Contact Section */
.contact-container {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, #ffffff 0%, #fffbf8 100%);
  border-radius: 30px;
  padding: 60px;
  box-shadow: 0 20px 60px rgba(255, 107, 138, 0.1);
  border: 1px solid rgba(255, 138, 117, 0.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ffd4c4, #ffa6c9);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(255, 107, 138, 0.2);
}

.contact-details h4 {
  font-size: 14px;
  color: #999;
  margin-bottom: 5px;
}

.contact-details p {
  font-size: 16px;
  color: #333;
  font-weight: 600;
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
  padding: 15px 20px;
  border: 2px solid #f0f0f0;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff6b5a;
  background: #fffbf8;
  box-shadow: 0 0 0 3px rgba(255, 107, 138, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  padding: 16px;
  background: linear-gradient(135deg, #ff7a65, #ff5b7a);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(255, 107, 138, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(255, 107, 138, 0.4);
  filter: brightness(1.1);
}

.form-status {
  text-align: center;
  padding: 15px;
  border-radius: 10px;
  font-weight: 500;
  display: none;
}

.form-status.show {
  display: block;
}

/* Footer */
footer {
  background: white;
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid #f0f0f0;
}

footer p {
  color: #999;
  font-size: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  #hero-name {
    font-size: 2rem !important;
    white-space: normal !important;
    line-height: 1.2 !important;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 20px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin: 0;
    padding-left: 60px;
    text-align: left;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-container {
    padding: 40px 30px;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #fff5f0;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff7a65, #ff5b7a);
  border-radius: 6px;
  border: 2px solid #fff5f0;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff6b5a, #ff4b6a);
}


/* Enhanced Animations for Portfolio */

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation for cards */
.stagger-item {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stagger-item.reveal-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

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

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 138, 117, 0.3); }
  50% { box-shadow: 0 0 40px rgba(255, 138, 117, 0.6); }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Apply animations */
.animate-float-slow {
  animation: float-slow 6s ease-in-out infinite;
}

.animate-float-medium {
  animation: float-medium 4s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

.animate-slide-in-left {
  animation: slide-in-left 0.8s ease-out;
}

.animate-slide-in-right {
  animation: slide-in-right 0.8s ease-out;
}

.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out;
  animation-fill-mode: both;
}

.animate-scale-in {
  animation: scale-in 0.6s ease-out;
  animation-fill-mode: both;
}

/* Delay classes for staggered animations */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* Enhanced card hover effects */
.card-hover {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.card-hover::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.5s;
}

.card-hover:hover::before {
  left: 100%;
}

.card-hover:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(255, 138, 117, 0.25) !important;
}

/* Gradient text animation */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

/* Sparkle effect */
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1); }
}

.sparkle {
  position: relative;
}

.sparkle::before,
.sparkle::after {
  content: '✨';
  position: absolute;
  font-size: 1rem;
  animation: sparkle 2s ease-in-out infinite;
}

.sparkle::before {
  top: -10px;
  right: -10px;
  animation-delay: 0s;
}

.sparkle::after {
  bottom: -10px;
  left: -10px;
  animation-delay: 1s;
}

/* Smooth transitions for all interactive elements */
a, button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover, button:hover {
  transform: translateY(-2px);
}

/* Enhanced glass effect */
.glass-effect {
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  background: rgba(255, 255, 255, 0.7);
}

/* Flower border enhancement */
.flower-border {
  position: relative;
  border: 2px solid rgba(255, 180, 167, 0.2);
}

.flower-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 138, 117, 0.3), rgba(255, 107, 138, 0.3), rgba(255, 196, 208, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
}

.flower-border:hover::before {
  opacity: 1;
}

/* Shimmer effect for buttons */
.shimmer {
  position: relative;
  overflow: hidden;
}

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

/* Smooth scroll handled by JavaScript */

/* Navigation active state */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, #ff8a75, #ff6b8a);
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Project card enhancements */
.project-card-image {
  transition: transform 0.5s ease;
}

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

/* Achievement card pulse */
@keyframes achievement-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.achievement-icon {
  animation: achievement-pulse 2s ease-in-out infinite;
}

/* Loading animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body {
  animation: fadeIn 0.5s ease-in;
}

/* Responsive enhancements */
@media (max-width: 768px) {
  .reveal {
    transform: translateY(30px);
  }
  
  .card-hover:hover {
    transform: translateY(-5px) scale(1.01);
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   ENHANCED ANIMATIONS & EFFECTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 138, 117, 0.5);
  border-radius: 50%;
  pointer-events: none !important;
  z-index: 9999;
  transition: all 0.3s ease;
  mix-blend-mode: difference;
}

.custom-cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: #ff8a75;
  border-radius: 50%;
  pointer-events: none !important;
  z-index: 10000;
  transform: translate(-50%, -50%);
}

/* Ensure all links and buttons are clickable */
a, button, input, textarea, select {
  position: relative;
  z-index: 1;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff7a65, #ff5b7a, #ffa6c9);
  z-index: 9999;
  transition: width 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 107, 138, 0.6);
}

/* Typing Effect */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Hero image - static, no animation - CSS rule removed as no styles needed */

/* Slide In Up Animation */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade Out Animation */
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Pulse Animation for Buttons */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes pulse-scale {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Glow Effect */
@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 138, 117, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 138, 117, 0.6);
  }
}

/* Enhanced Card Hover */
.card-hover {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Faster (was 0.4s) */
}

.card-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.4s; /* Faster (was 0.6s) */
}

.card-hover:hover::before {
  left: 100%;
}

.card-hover:hover {
  transform: translateY(-15px) scale(1.03) !important;
  box-shadow: 0 25px 60px rgba(255, 107, 138, 0.25) !important;
}

/* Skill Card Animation */
.skill-card {
  transition: all 0.3s ease; /* Faster (was 0.4s) */
  cursor: pointer;
}

.skill-card:hover {
  transform: translateY(-10px) rotate(5deg) scale(1.1);
  box-shadow: 0 20px 40px rgba(255, 138, 117, 0.3);
}

/* Button Hover Effects */
button, .btn, a[href^="#projects"] {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

button:hover, .btn:hover {
  animation: pulse 1s infinite;
}

/* Gradient Animation for Blobs */
.gradient-blob {
  animation: blob-float 5s ease-in-out infinite; /* Faster (was 8s) */
  transition: transform 0.2s ease; /* Faster (was 0.3s) */
}

@keyframes blob-float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

/* Text Gradient Animation */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

/* Shake Animation for Errors */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
  20%, 40%, 60%, 80% { transform: translateX(10px); }
}

/* Bounce Animation */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Rotate Animation */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Scale Pulse */
@keyframes scale-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Enhanced Navigation Links */
.nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, #ff8a75, #ff6b8a);
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Project Card Image Zoom */
.card-hover img {
  transition: transform 0.5s ease;
}

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

/* Achievement Icon Pulse */
.achievement-icon {
  animation: scale-pulse 1.5s ease-in-out infinite; /* Faster (was 2s) */
}

/* Form Input Focus Effect */
input:focus, textarea:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 138, 117, 0.2) !important;
}

/* Sparkle Effect */
@keyframes sparkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.sparkle::before,
.sparkle::after {
  content: '✨';
  position: absolute;
  font-size: 1.5rem;
  animation: sparkle 2s ease-in-out infinite;
}

.sparkle::before {
  top: -10px;
  right: -10px;
  animation-delay: 0s;
}

.sparkle::after {
  bottom: -10px;
  left: -10px;
  animation-delay: 1s;
}

/* Loading Animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading {
  animation: spin 1s linear infinite;
}

/* Smooth Transitions */
* {
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* Hide default cursor on desktop */
@media (min-width: 768px) {
  body {
    cursor: none;
  }
  
  a, button, input, textarea {
    cursor: none;
  }
}

/* Mobile: Show default cursor */
@media (max-width: 767px) {
  .custom-cursor,
  .custom-cursor-dot {
    display: none;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   ADDITIONAL EXCITING ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

/* Bounce Slow Animation for Arrow */
@keyframes bounce-slow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-bounce-slow {
  animation: bounce-slow 2s ease-in-out infinite;
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Zoom In Animation */
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Flip Animation */
@keyframes flip {
  from {
    transform: perspective(400px) rotateY(90deg);
    opacity: 0;
  }
  to {
    transform: perspective(400px) rotateY(0deg);
    opacity: 1;
  }
}

/* Slide In Animations */
@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Shaking animations removed - keeping portfolio smooth and elegant */

/* Apply animations to elements */
.animate-fadeInDown {
  animation: fadeInDown 0.6s ease-out;
}

.animate-fadeInLeft {
  animation: fadeInLeft 0.6s ease-out;
}

.animate-fadeInRight {
  animation: fadeInRight 0.6s ease-out;
}

.animate-zoomIn {
  animation: zoomIn 0.5s ease-out;
}

.animate-flip {
  animation: flip 0.6s ease-out;
}

.animate-slideInLeft {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slideInRight {
  animation: slideInRight 0.6s ease-out;
}

/* Shaking/vibrating animations removed for smooth experience */

/* Section Title Animations */
section h2 {
  animation: fadeInDown 0.8s ease-out;
}

/* Navigation Link Hover - smooth scale only */
.nav-link:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Button Hover - smooth transitions only */
button:hover, .btn:hover, a[class*="rounded-full"]:hover {
  transform: translateY(-2px);
  transition: transform 0.3s ease;
}

/* Emoji Animations - smooth scale only */
.text-5xl, .text-6xl {
  display: inline-block;
  transition: transform 0.3s ease;
}

.text-5xl:hover, .text-6xl:hover {
  transform: scale(1.1);
}

/* Scroll Down Arrow Glow */
@keyframes glow-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 5px rgba(255, 138, 117, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(255, 138, 117, 0.8));
  }
}

.animate-bounce {
  animation: bounce 2s ease-in-out infinite, glow-pulse 2s ease-in-out infinite;
}

/* Timeline Dot Animation */
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 138, 117, 0.7);
  }
  100% {
    box-shadow: 0 0 0 20px rgba(255, 138, 117, 0);
  }
}

.timeline-dot {
  animation: pulse-ring 2s ease-out infinite;
}

/* Stagger Delay Classes */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }


/* ═══════════════════════════════════════════════════════════════════════════
   CREATIVE AESTHETIC ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* Floating Particles Background */
.floating-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(255, 138, 117, 0.8), rgba(255, 107, 138, 0.4));
  border-radius: 50%;
  animation: float-particle 15s infinite ease-in-out;
  opacity: 0.6;
}

@keyframes float-particle {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) translateX(50px) scale(0.5);
    opacity: 0;
  }
}

/* Stagger particle animations */
.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 14s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 16s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 13s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 15s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 17s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 14.5s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4.5s; animation-duration: 16.5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1.5s; animation-duration: 13.5s; }
.particle:nth-child(10) { left: 15%; animation-delay: 3.5s; animation-duration: 15.5s; }

/* Enhanced 3D Card Transforms */
.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-3d:hover {
  transform: translateY(-15px) rotateX(5deg) rotateY(5deg) scale(1.05);
}

/* Gradient Border Animation */
@keyframes gradient-border {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animated-border {
  position: relative;
  background: white;
  border-radius: 20px;
}

.animated-border::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 23px;
  padding: 3px;
  background: linear-gradient(45deg, #ff8a75, #ff6b8a, #ffc4d0, #ffe4d6, #ff8a75);
  background-size: 300% 300%;
  animation: gradient-border 4s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: -1;
}

/* Ripple Effect on Click */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
  width: 300px;
  height: 300px;
}

/* Parallax Sections */
.parallax-section {
  position: relative;
  transform-style: preserve-3d;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateZ(-1px) scale(2);
  z-index: -1;
}

/* Morphing Blob Background */
@keyframes morph {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
}

.morphing-blob {
  position: absolute;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(255, 138, 117, 0.1), rgba(255, 196, 208, 0.1));
  filter: blur(40px);
  animation: morph 8s ease-in-out infinite, float-slow 6s ease-in-out infinite;
  z-index: 0;
}

/* Text Shimmer Effect */
@keyframes text-shimmer {
  0% {
    background-position: -500%;
  }
  100% {
    background-position: 500%;
  }
}

.text-shimmer {
  background: linear-gradient(90deg, #ff8a75 0%, #ffffff 50%, #ff6b8a 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shimmer 3s linear infinite;
}

/* Glowing Icons */
.icon-glow {
  filter: drop-shadow(0 0 10px rgba(255, 138, 117, 0.5));
  transition: filter 0.3s ease;
}

.icon-glow:hover {
  filter: drop-shadow(0 0 20px rgba(255, 138, 117, 0.8)) drop-shadow(0 0 30px rgba(255, 107, 138, 0.6));
  animation: pulse-scale 0.6s ease-in-out;
}

/* Stacked Cards Effect */
.stacked-cards {
  position: relative;
}

.stacked-cards::before,
.stacked-cards::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  border-radius: inherit;
  z-index: -1;
  transition: transform 0.3s ease;
}

.stacked-cards::before {
  transform: translateY(-8px) translateX(-8px);
  opacity: 0.3;
}

.stacked-cards::after {
  transform: translateY(-4px) translateX(-4px);
  opacity: 0.6;
}

.stacked-cards:hover::before {
  transform: translateY(-12px) translateX(-12px);
}

.stacked-cards:hover::after {
  transform: translateY(-6px) translateX(-6px);
}

/* Rainbow Text Effect */
@keyframes rainbow {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.rainbow-text {
  background: linear-gradient(90deg, #ff8a75, #ff6b8a, #ffc4d0, #ffe4d6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbow 3s linear infinite;
}

/* Floating Labels */
@keyframes float-label {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(2deg);
  }
  75% {
    transform: translateY(-5px) rotate(-2deg);
  }
}

.floating-label {
  animation: float-label 3s ease-in-out infinite;
}

/* Neon Glow Effect */
.neon-glow {
  text-shadow: 
    0 0 10px rgba(255, 138, 117, 0.8),
    0 0 20px rgba(255, 138, 117, 0.6),
    0 0 30px rgba(255, 107, 138, 0.4),
    0 0 40px rgba(255, 107, 138, 0.2);
  animation: neon-pulse 2s ease-in-out infinite;
}

@keyframes neon-pulse {
  0%, 100% {
    text-shadow: 
      0 0 10px rgba(255, 138, 117, 0.8),
      0 0 20px rgba(255, 138, 117, 0.6),
      0 0 30px rgba(255, 107, 138, 0.4);
  }
  50% {
    text-shadow: 
      0 0 20px rgba(255, 138, 117, 1),
      0 0 30px rgba(255, 138, 117, 0.8),
      0 0 40px rgba(255, 107, 138, 0.6),
      0 0 50px rgba(255, 107, 138, 0.4);
  }
}

/* Magnetic Hover Effect */
.magnetic {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Liquid Button Effect */
.liquid-button {
  position: relative;
  overflow: hidden;
}

.liquid-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.liquid-button:hover::before {
  width: 300%;
  height: 300%;
}

/* Tilt Effect */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.tilt-card:hover {
  transform: perspective(1000px) rotateX(10deg) rotateY(10deg);
}

/* Breathing Animation */
@keyframes breathe {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

.breathe {
  animation: breathe 4s ease-in-out infinite;
}

/* Confetti Effect */
@keyframes confetti-fall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  background: #ff8a75;
  animation: confetti-fall 3s linear infinite;
  pointer-events: none;
  z-index: 9999;
}

/* Smooth Section Reveal */
.section-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Glass Morphism */
.glass-morph {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(255, 138, 117, 0.1);
}

/* Gradient Mesh Background */
.gradient-mesh {
  background: 
    radial-gradient(at 0% 0%, rgba(255, 240, 235, 0.5) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(255, 228, 214, 0.5) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(255, 196, 208, 0.5) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(255, 212, 196, 0.5) 0px, transparent 50%);
}

/* Typewriter Cursor */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: #ff8a75;
  margin-left: 5px;
  animation: blink 1s step-end infinite;
}

/* Smooth Underline Animation */
.underline-animate {
  position: relative;
  display: inline-block;
}

.underline-animate::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff8a75, #ff6b8a);
  transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 2px;
}

.underline-animate:hover::after {
  width: 100%;
}

/* Pulsing Dot */
.pulse-dot {
  position: relative;
}

.pulse-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  animation: pulse-ring 2s ease-out infinite;
}

/* Rotate on Hover */
.rotate-hover {
  transition: transform 0.5s ease;
}

.rotate-hover:hover {
  transform: rotate(360deg);
}

/* Scale Bounce */
@keyframes scale-bounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.scale-bounce {
  animation: scale-bounce 1s ease-in-out infinite;
}

/* Fade Slide In */
@keyframes fade-slide-in {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-slide-in {
  animation: fade-slide-in 0.6s ease-out;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .floating-particles {
    display: none; /* Reduce mobile performance impact */
  }
  
  .card-3d:hover {
    transform: translateY(-10px) scale(1.02);
  }
  
  .tilt-card:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   FINGER PAINTING GAME
   ═══════════════════════════════════════════════════════════════════════════ */

/* Floating Game Button */
.game-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #ff7a65, #ff5b7a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9998;
  box-shadow: 0 8px 30px rgba(255, 107, 138, 0.5);
  transition: all 0.3s ease;
  animation: pulse-game 2s ease-in-out infinite;
  border: 3px solid white;
}

.game-button:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(255, 107, 138, 0.7);
}

.game-button span {
  font-size: 32px;
  animation: rotate-icon 3s linear infinite;
}

@keyframes pulse-game {
  0%, 100% {
    box-shadow: 0 8px 30px rgba(255, 107, 138, 0.5);
  }
  50% {
    box-shadow: 0 8px 40px rgba(255, 107, 138, 0.8), 0 0 0 10px rgba(255, 107, 138, 0.1);
  }
}

@keyframes rotate-icon {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

/* Game Modal */
.game-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.game-modal.active {
  display: flex;
}

.game-container {
  width: 95%;
  max-width: 1200px;
  height: 90vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 20px 80px rgba(255, 107, 138, 0.3);
  display: flex;
  flex-direction: column;
  border: 3px solid rgba(255, 107, 138, 0.3);
  position: relative;
  overflow: hidden;
}

/* Game Header */
.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(255, 107, 138, 0.3);
}

.game-title {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #ff7a65, #ff5b7a, #ffa6c9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Cormorant Garamond', serif;
  text-shadow: 0 0 20px rgba(255, 107, 138, 0.5);
}

.game-close {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #ff7a65, #ff5b7a);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 138, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-close:hover {
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 6px 25px rgba(255, 107, 138, 0.6);
}

/* Game Content */
.game-content {
  display: flex;
  gap: 20px;
  flex: 1;
  overflow: hidden;
}

/* Webcam Section */
.webcam-section {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.webcam-container {
  position: relative;
  width: 100%;
  height: 225px;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgba(255, 107, 138, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

#webcam {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.webcam-status {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.7);
  color: #4ade80;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Color Palette */
.color-palette {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 2px solid rgba(255, 107, 138, 0.2);
}

.color-option {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.color-option::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.color-option:hover::before {
  opacity: 0.6;
}

.color-option:hover {
  transform: scale(1.1);
  border-color: white;
}

.color-option.active {
  border-color: white;
  box-shadow: 0 0 20px currentColor;
  transform: scale(1.15);
}

/* Neon Colors - Enhanced Glittery Glow */
.color-neon-pink { 
  background: linear-gradient(135deg, #ff006e, #ff4d94);
  box-shadow: 0 0 20px #ff006e, 0 0 40px #ff006e, 0 0 60px #ff006e;
  animation: glow-pink 2s ease-in-out infinite;
}
.color-neon-blue { 
  background: linear-gradient(135deg, #00f5ff, #4dffff);
  box-shadow: 0 0 20px #00f5ff, 0 0 40px #00f5ff, 0 0 60px #00f5ff;
  animation: glow-blue 2s ease-in-out infinite;
}
.color-neon-green { 
  background: linear-gradient(135deg, #39ff14, #7dff5c);
  box-shadow: 0 0 20px #39ff14, 0 0 40px #39ff14, 0 0 60px #39ff14;
  animation: glow-green 2s ease-in-out infinite;
}
.color-neon-yellow { 
  background: linear-gradient(135deg, #ffff00, #ffff66);
  box-shadow: 0 0 20px #ffff00, 0 0 40px #ffff00, 0 0 60px #ffff00;
  animation: glow-yellow 2s ease-in-out infinite;
}
.color-neon-purple { 
  background: linear-gradient(135deg, #bc13fe, #d966ff);
  box-shadow: 0 0 20px #bc13fe, 0 0 40px #bc13fe, 0 0 60px #bc13fe;
  animation: glow-purple 2s ease-in-out infinite;
}
.color-neon-orange { 
  background: linear-gradient(135deg, #ff6600, #ff9933);
  box-shadow: 0 0 20px #ff6600, 0 0 40px #ff6600, 0 0 60px #ff6600;
  animation: glow-orange 2s ease-in-out infinite;
}
.color-neon-cyan { 
  background: linear-gradient(135deg, #00ffff, #66ffff);
  box-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff, 0 0 60px #00ffff;
  animation: glow-cyan 2s ease-in-out infinite;
}
.color-neon-red { 
  background: linear-gradient(135deg, #ff0000, #ff4d4d);
  box-shadow: 0 0 20px #ff0000, 0 0 40px #ff0000, 0 0 60px #ff0000;
  animation: glow-red 2s ease-in-out infinite;
}

/* Glittery Glow Animations */
@keyframes glow-pink {
  0%, 100% { 
    box-shadow: 0 0 20px #ff006e, 0 0 40px #ff006e, 0 0 60px #ff006e;
    filter: brightness(1);
  }
  50% { 
    box-shadow: 0 0 30px #ff006e, 0 0 60px #ff006e, 0 0 90px #ff006e, 0 0 120px #ff006e;
    filter: brightness(1.3);
  }
}

@keyframes glow-blue {
  0%, 100% { 
    box-shadow: 0 0 20px #00f5ff, 0 0 40px #00f5ff, 0 0 60px #00f5ff;
    filter: brightness(1);
  }
  50% { 
    box-shadow: 0 0 30px #00f5ff, 0 0 60px #00f5ff, 0 0 90px #00f5ff, 0 0 120px #00f5ff;
    filter: brightness(1.3);
  }
}

@keyframes glow-green {
  0%, 100% { 
    box-shadow: 0 0 20px #39ff14, 0 0 40px #39ff14, 0 0 60px #39ff14;
    filter: brightness(1);
  }
  50% { 
    box-shadow: 0 0 30px #39ff14, 0 0 60px #39ff14, 0 0 90px #39ff14, 0 0 120px #39ff14;
    filter: brightness(1.3);
  }
}

@keyframes glow-yellow {
  0%, 100% { 
    box-shadow: 0 0 20px #ffff00, 0 0 40px #ffff00, 0 0 60px #ffff00;
    filter: brightness(1);
  }
  50% { 
    box-shadow: 0 0 30px #ffff00, 0 0 60px #ffff00, 0 0 90px #ffff00, 0 0 120px #ffff00;
    filter: brightness(1.3);
  }
}

@keyframes glow-purple {
  0%, 100% { 
    box-shadow: 0 0 20px #bc13fe, 0 0 40px #bc13fe, 0 0 60px #bc13fe;
    filter: brightness(1);
  }
  50% { 
    box-shadow: 0 0 30px #bc13fe, 0 0 60px #bc13fe, 0 0 90px #bc13fe, 0 0 120px #bc13fe;
    filter: brightness(1.3);
  }
}

@keyframes glow-orange {
  0%, 100% { 
    box-shadow: 0 0 20px #ff6600, 0 0 40px #ff6600, 0 0 60px #ff6600;
    filter: brightness(1);
  }
  50% { 
    box-shadow: 0 0 30px #ff6600, 0 0 60px #ff6600, 0 0 90px #ff6600, 0 0 120px #ff6600;
    filter: brightness(1.3);
  }
}

@keyframes glow-cyan {
  0%, 100% { 
    box-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff, 0 0 60px #00ffff;
    filter: brightness(1);
  }
  50% { 
    box-shadow: 0 0 30px #00ffff, 0 0 60px #00ffff, 0 0 90px #00ffff, 0 0 120px #00ffff;
    filter: brightness(1.3);
  }
}

@keyframes glow-red {
  0%, 100% { 
    box-shadow: 0 0 20px #ff0000, 0 0 40px #ff0000, 0 0 60px #ff0000;
    filter: brightness(1);
  }
  50% { 
    box-shadow: 0 0 30px #ff0000, 0 0 60px #ff0000, 0 0 90px #ff0000, 0 0 120px #ff0000;
    filter: brightness(1.3);
  }
}

/* Tools */
.tools-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tool-button {
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 107, 138, 0.3);
  border-radius: 15px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
}

.tool-button:hover {
  background: rgba(255, 107, 138, 0.2);
  border-color: rgba(255, 107, 138, 0.6);
  transform: translateX(5px);
}

.tool-button.active {
  background: linear-gradient(135deg, #ff7a65, #ff5b7a);
  border-color: #ff7a65;
  box-shadow: 0 4px 20px rgba(255, 107, 138, 0.5);
}

.tool-button span {
  font-size: 20px;
}

/* Canvas Section */
.canvas-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.canvas-container {
  flex: 1;
  position: relative;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgba(255, 107, 138, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

#drawingCanvas {
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

.canvas-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.control-button {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 107, 138, 0.3);
  border-radius: 12px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.control-button:hover {
  background: rgba(255, 107, 138, 0.2);
  border-color: rgba(255, 107, 138, 0.6);
  transform: translateY(-2px);
}

.control-button.clear {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-color: #ef4444;
}

.control-button.clear:hover {
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5);
}

/* Instructions */
.instructions {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
  pointer-events: none;
  font-family: 'Montserrat', sans-serif;
}

.instructions.hidden {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .game-container {
    padding: 15px;
  }
  
  .game-content {
    flex-direction: column;
  }
  
  .webcam-section {
    width: 100%;
  }
  
  .webcam-container {
    height: 180px;
  }
  
  .color-palette {
    grid-template-columns: repeat(8, 1fr);
  }
  
  .tools-section {
    flex-direction: row;
  }
  
  .game-button {
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
  }
  
  .game-button span {
    font-size: 28px;
  }
}

/* Loading Animation */
.loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
}

.loading::after {
  content: '...';
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}


/* Finger Cursor on Canvas */
.finger-cursor {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 3px solid white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10;
  transform: translate(-50%, -50%);
  transition: all 0.05s ease;
  box-shadow: 0 0 20px currentColor, 0 0 40px currentColor;
  animation: pulse-cursor 1.5s ease-in-out infinite;
}

.finger-cursor::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 15px currentColor;
}

@keyframes pulse-cursor {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   EXPERIENCE BOX BORDER & ANIMATED SHADOW
   ═══════════════════════════════════════════════════════════════════════════ */

/* Animated shadow for experience boxes */
@keyframes shadow-pulse {
  0%, 100% {
    box-shadow: rgba(255, 138, 117, 0.25) 0px 54px 55px, 
                rgba(255, 180, 167, 0.12) 0px -12px 30px, 
                rgba(255, 138, 117, 0.12) 0px 4px 6px, 
                rgba(255, 107, 138, 0.17) 0px 12px 13px, 
                rgba(255, 180, 167, 0.09) 0px -3px 5px;
  }
  50% {
    box-shadow: rgba(255, 138, 117, 0.35) 0px 60px 65px, 
                rgba(255, 180, 167, 0.18) 0px -15px 35px, 
                rgba(255, 138, 117, 0.18) 0px 6px 10px, 
                rgba(255, 107, 138, 0.25) 0px 15px 18px, 
                rgba(255, 180, 167, 0.15) 0px -5px 8px;
  }
}

/* Apply to experience boxes */
#experience .glass-effect {
  border: 2px solid rgba(255, 138, 117, 0.3) !important;
  animation: shadow-pulse 3s ease-in-out infinite;
}

/* Hover effect - pause animation and enhance */
#experience .glass-effect:hover {
  animation-play-state: paused;
  border-color: rgba(255, 138, 117, 0.5) !important;
  box-shadow: rgba(255, 138, 117, 0.4) 0px 65px 70px, 
              rgba(255, 180, 167, 0.22) 0px -18px 40px, 
              rgba(255, 138, 117, 0.22) 0px 8px 12px, 
              rgba(255, 107, 138, 0.3) 0px 18px 22px, 
              rgba(255, 180, 167, 0.18) 0px -6px 10px !important;
}

/* Apply to project boxes */
#projects .card-hover {
  border: 2px solid rgba(255, 138, 117, 0.3) !important;
  animation: shadow-pulse 3s ease-in-out infinite;
  animation-delay: 0.2s;
}

#projects .card-hover:hover {
  animation-play-state: paused;
  border-color: rgba(255, 138, 117, 0.5) !important;
  box-shadow: rgba(255, 138, 117, 0.4) 0px 65px 70px, 
              rgba(255, 180, 167, 0.22) 0px -18px 40px, 
              rgba(255, 138, 117, 0.22) 0px 8px 12px, 
              rgba(255, 107, 138, 0.3) 0px 18px 22px, 
              rgba(255, 180, 167, 0.18) 0px -6px 10px !important;
}

/* Apply to achievements box */
#achievements .glass-effect {
  border: 2px solid rgba(255, 138, 117, 0.3) !important;
  animation: shadow-pulse 3s ease-in-out infinite;
  animation-delay: 0.4s;
}

#achievements .glass-effect:hover {
  animation-play-state: paused;
  border-color: rgba(255, 138, 117, 0.5) !important;
  box-shadow: rgba(255, 138, 117, 0.4) 0px 65px 70px, 
              rgba(255, 180, 167, 0.22) 0px -18px 40px, 
              rgba(255, 138, 117, 0.22) 0px 8px 12px, 
              rgba(255, 107, 138, 0.3) 0px 18px 22px, 
              rgba(255, 180, 167, 0.18) 0px -6px 10px !important;
}

/* Apply to contact box */
#contact .glass-effect {
  border: 2px solid rgba(255, 138, 117, 0.3) !important;
  animation: shadow-pulse 3s ease-in-out infinite;
  animation-delay: 0.6s;
}

#contact .glass-effect:hover {
  animation-play-state: paused;
  border-color: rgba(255, 138, 117, 0.5) !important;
  box-shadow: rgba(255, 138, 117, 0.4) 0px 65px 70px, 
              rgba(255, 180, 167, 0.22) 0px -18px 40px, 
              rgba(255, 138, 117, 0.22) 0px 8px 12px, 
              rgba(255, 107, 138, 0.3) 0px 18px 22px, 
              rgba(255, 180, 167, 0.18) 0px -6px 10px !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   SKILLS SECTION - DESKTOP ALIGNMENT FIX
   ═══════════════════════════════════════════════════════════════════════════ */

/* Desktop only - make all skill cards same size and centered */
@media (min-width: 769px) {
  /* Programming Languages - 7 items in one row, centered */
  #skills > div > div:nth-child(1) .grid {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
  }
  
  /* Web Technologies - 6 items in one row, centered */
  #skills > div > div:nth-child(2) .grid {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
  }
  
  /* Databases - 3 items in one row, centered */
  #skills > div > div:nth-child(3) .grid {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
  }
  
  /* Development Tools - 3 items in one row, centered */
  #skills > div > div:nth-child(4) .grid {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
  }
  
  /* Design & AI Tools - 3 items in one row, centered */
  #skills > div > div:nth-child(5) .grid {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
  }
  
  /* Make all skill cards same fixed size */
  #skills .card-hover {
    width: 180px !important;
    min-width: 180px !important;
    max-width: 180px !important;
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1.5rem 1rem !important;
  }
  
  /* Ensure icons are same size */
  #skills .card-hover .w-20 {
    width: 5rem !important;
    height: 5rem !important;
    flex-shrink: 0 !important;
  }
  
  /* Ensure text is centered and same size */
  #skills .card-hover h4 {
    font-size: 1rem !important;
    text-align: center !important;
    margin-top: 1rem !important;
    line-height: 1.4 !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   REMOVE ICON HOVER ANIMATION IN SKILLS SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

/* Remove rotation and scale animation from skill icons on hover */
#skills .card-hover:hover .w-20,
#skills .card-hover:hover img,
#skills .card-hover:hover svg {
  transform: none !important;
  animation: none !important;
}

/* Keep the card hover effect but remove icon-specific animations */
#skills .skill-card:hover {
  transform: translateY(-8px) !important;
}

/* Remove any icon-specific hover transforms */
#skills .skill-icon:hover,
#skills .w-20:hover {
  transform: none !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   REMOVE ICON CLICK/ACTIVE ANIMATION IN PROJECTS SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

/* Remove all animations from project icons on click/active/hover */
#projects .card-hover span,
#projects .card-hover .text-6xl,
#projects .card-hover .text-5rem,
#projects .h-48 span {
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

/* Remove active/click effects on project icons */
#projects .card-hover span:active,
#projects .card-hover span:hover {
  transform: none !important;
  animation: none !important;
}

/* Keep project card hover but remove icon effects */
#projects .card-hover:hover span {
  transform: none !important;
}
