/* Custom Portfolio Styles (style.css) */

body {
  font-family: "Poppins", sans-serif;
}

/* Base Utility Classes */
.gradient-text {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-link {
  @apply text-gray-700 hover:text-orange-500 transition-colors;
}

.mobile-nav-link {
  @apply text-gray-700 hover:bg-gray-100 p-2 rounded transition-colors;
}

/* FIX: New class for social icons to fix the hover issue */
.social-icon-fixed {
  @apply text-gray-600 hover:text-blue-600 transition-colors;
  /* The 'hover-lift' class in the old 'social-icon' definition was blocking the color change */
}

.contact-input {
  @apply mt-1 block w-full px-4 py-3 border border-gray-300 rounded-lg shadow-sm focus:ring-orange-500 focus:border-orange-500;
}

.contact-info-item {
  @apply flex items-center space-x-4;
}

.skill-icon-bg {
  @apply w-20 h-20 bg-gradient-to-br from-blue-400 to-purple-500 rounded-full flex items-center justify-center mx-auto mb-4;
}

.project-card-image {
  @apply w-full h-48 rounded-xl mb-6 flex items-center justify-center;
}

.testimonial-avatar {
  @apply w-12 h-12 bg-gray-300 rounded-full mr-4 flex items-center justify-center text-xl font-bold text-gray-700;
}

.pricing-card {
  @apply bg-white p-10 rounded-xl shadow-lg border-t-4 hover-lift shadow-pop;
}

.featured-plan {
  @apply scale-105 shadow-2xl;
}

/* Skill Bars (JS controls final width with CSS transition) */
.skill-bar {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border-radius: 4px;
  width: 0%;
  transition: width 2s ease-out;
}

/* Typing Effect Cursor */
.typing-animation::after {
  content: "|";
  animation: blink 1s infinite;
}

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

/* Profile Image Styling */
.profile-photo {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border-radius: 50%;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
}
.profile-photo:hover {
  transform: scale(1.05) rotate(2deg);
}

/* --- ANIMATIONS --- */

/* 1. Scroll Reveal Animation (Fade In Up) */
/* Initially set the animated elements to transparent */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.6s ease-out; /* Add a general fade transition */
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* 2. Hover Lift */
.hover-lift {
  transition: all 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 3. Shadow Pop on Card/Skill Hover */
.shadow-pop {
  transition: all 0.3s ease;
}
.shadow-pop:hover {
  box-shadow: 0 15px 30px rgba(255, 107, 53, 0.4);
  transform: scale(1.02);
}

/* 4. Pulse Animation on Button Hover */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(255, 107, 53, 0.2);
  }
  100% {
    transform: scale(1);
  }
}
.hover-pulse:hover {
  animation: pulse 1s infinite;
}

/* 5. Slide-In from Left/Right for About/Experience */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slideInLeft {
  animation: slideInLeft 0.8s ease-out forwards;
}
.animate-slideInRight {
  animation: slideInRight 0.8s ease-out forwards;
}

/* 6. FAQ Toggle Icon Rotation */
.faq-toggle .fa-chevron-down.rotated {
  transform: rotate(180deg);
}
