/* ===== SKILLS PAGE STYLES ===== */

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 8rem 1.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveGrid 20s linear infinite;
  opacity: 0.3;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.6s ease-out;
}

.header-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Skills Container */
.skills-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: #6b7280;
  font-size: 1.1rem;
}

/* Skills Section */
.skills-section {
  margin-bottom: 5rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.skill-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.skill-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.skill-card h3 {
  font-size: 1.4rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.skill-card > p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Progress Bar */
.progress-container {
  margin: 1.5rem 0;
}

.progress-bar {
  height: 40px;
  background: linear-gradient(90deg, #e5e7eb 0%, #f3f4f6 100%);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10b981 0%, #3b82f6 100%);
  border-radius: 20px;
  transition: width 1.5s ease-out;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.progress-bar.animated::before {
  width: var(--progress-width);
}

.progress-text {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  font-weight: 700;
  color: #1f2937;
  font-size: 1rem;
  z-index: 1;
  transition: color 0.5s ease 1s;
}

.progress-bar.animated .progress-text {
  color: white;
}

/* Skill Tags */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: #f3f4f6;
  color: #374151;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tag:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

/* Soft Skills Section */
.soft-skills-section {
  margin-bottom: 5rem;
}

.soft-skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.soft-skill-card {
  background: linear-gradient(135deg, #f9fafb 0%, white 100%);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: all 0.3s ease;
  border-top: 3px solid transparent;
}

.soft-skill-card:hover {
  border-top-color: #667eea;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.soft-skill-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.soft-skill-card h4 {
  font-size: 1.2rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.soft-skill-card p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Tools Section */
.tools-section {
  margin-bottom: 5rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.tool-category {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.tool-category h4 {
  font-size: 1.3rem;
  color: #1f2937;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
}

.tool-category ul {
  list-style: none;
  padding: 0;
}

.tool-category li {
  padding: 0.7rem 0 0.7rem 1.8rem;
  color: #6b7280;
  position: relative;
  transition: all 0.3s ease;
}

.tool-category li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
  font-size: 1.1rem;
}

.tool-category li:hover {
  color: #667eea;
  transform: translateX(5px);
}

/* Certifications Section */
.certifications-section {
  margin-bottom: 3rem;
}

.certifications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.cert-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.cert-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
}

.cert-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.cert-card p {
  opacity: 0.9;
  font-size: 0.95rem;
}

/* Responsive - Tablet */
@media (min-width: 768px) {
  .page-header h1 {
    font-size: 3rem;
  }

  .header-subtitle {
    font-size: 1.2rem;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .soft-skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive - Desktop */
@media (min-width: 1024px) {
  .skills-container {
    padding: 5rem 2rem;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .soft-skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .certifications-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Animation for skill cards on scroll */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.skill-card.visible {
  animation: slideInUp 0.6s ease-out forwards;
}