* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
}

/* Animated Logo */
.logo {
  display: inline-block;
  animation: wave 2s infinite;
}
@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-1deg); }
}

/* Nav links */
.nav-link {
  color: #0369a1;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}
.nav-link:hover {
  color: #ec4899;
  transform: scale(1.1);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-small {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(45deg, #06b6d4, #3b82f6);
  color: #fff;
}
.btn-primary:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0px 8px 20px rgba(59,130,246,0.4);
}
.btn-secondary {
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  color: #111827;
}
.btn-secondary:hover {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0px 8px 20px rgba(245,158,11,0.4);
}
.btn-small {
  background: linear-gradient(45deg, #ec4899, #f43f5e);
  color: white;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}
.btn-small:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 15px rgba(236,72,153,0.4);
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
}
.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 20px;
  color: white;
  transition: all 0.3s ease-in-out;
}
.linkedin { background-color: #0077b5; }
.email { background-color: #c71610; }
.instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.icon:hover {
  transform: scale(1.2) rotate(10deg);
  box-shadow: 0px 8px 18px rgba(0,0,0,0.25);
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
  transition: color 0.3s ease-in-out;
}
.section-title:hover {
  color: #ec4899;
}

/* Highlight text */
.highlight {
  background: #fde68a;
  padding: 0 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* Skill Cards */
.skill-card {
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-align: center;
  color: white;
  transition: all 0.4s ease-in-out;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.15);
}
.skill-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0px 8px 20px rgba(0,0,0,0.25);
}
.gradient-blue { background: linear-gradient(135deg, #9ab3dc, #0997b0); }
.gradient-green { background: linear-gradient(135deg, #90e6cb, #0da244); }
.gradient-purple { background: linear-gradient(135deg, #8f78c5, #880e9b); }
.gradient-orange { background: linear-gradient(135deg, #f97316, #facc15); }

/* Projects */
.project-card {
  border-radius: 0.75rem;
  overflow: hidden;
  color: white;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0px 10px 25px rgba(0,0,0,0.3);
}
.project-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease-in-out;
}
.project-card:hover .project-img {
  transform: scale(1.08);
}

/* Form Inputs */
.form-input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  outline: none;
  transition: all 0.3s ease-in-out;
}
.form-input:focus {
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6,182,212,0.3);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeIn 1s forwards;
}
@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}
.animate-slide-up {
  animation: slideUp 1.2s ease forwards;
}
@keyframes slideUp {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}
.animate-bounce-slow {
  animation: bounce 3s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Border gradient for profile image */
.border-gradient {
  border-image: linear-gradient(45deg, #06b6d4, #3b82f6, #ec4899, #f59e0b) 1;
}
