/* ==========================================================================
   MY EXPERTISE (EXACT DESIGN MATCH FROM USER'S REFERENCE IMAGE)
   ========================================================================== */
.expertise-area {
  margin-bottom: 5rem;
}

.expertise-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2.8rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.expertise-tag-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: #7c3aed;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.expertise-tag-label i {
  font-size: 0.75rem;
}

.expertise-main-title {
  font-family: var(--font-sans);
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
}

.gradient-text-expertise {
  background: linear-gradient(90deg, #4338ca 0%, #7c3aed 35%, #ec4899 70%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.wavy-line-accent {
  margin-bottom: 0.8rem;
  display: flex;
}

.expertise-subtitle-desc {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 520px;
  line-height: 1.6;
}

.expertise-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.1rem;
}

/* View All Skills CTA Button with Rocket & Glow */
.btn-view-all-skills {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem 1.6rem 0.6rem 0.7rem;
  background: #ffffff;
  border: 1.5px solid #ede8e0;
  border-radius: 9999px;
  text-decoration: none;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.15);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.btn-view-all-skills:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.3);
  border-color: #c4b5fd;
}

.btn-rocket-disc {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.btn-view-all-skills:hover .btn-rocket-disc {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  transform: rotate(-15deg) scale(1.1);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.4);
}

.btn-arrow-icon {
  font-size: 0.9rem;
  color: #0f172a;
  transition: transform 0.25s ease;
}
.btn-view-all-skills:hover .btn-arrow-icon {
  transform: translateX(5px);
  color: #7c3aed;
}

.tech-count-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.8rem;
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 9999px;
  transition: all 0.3s ease;
}
.tech-count-badge:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.25);
  transform: translateY(-2px);
}

.tech-count-star {
  color: #7c3aed;
  font-size: 1.05rem;
  animation: starTwinklePulse 2.5s ease-in-out infinite;
}

@keyframes starTwinklePulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.9; }
  50% { transform: scale(1.25) rotate(45deg); opacity: 1; filter: drop-shadow(0 0 6px rgba(124, 58, 237, 0.6)); }
}

.tech-count-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.tech-count-number {
  font-size: 0.86rem;
  font-weight: 800;
  color: #7c3aed;
}
.tech-count-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Wavy line animation */
.wavy-line-accent svg {
  overflow: visible;
  filter: drop-shadow(0 2px 4px rgba(139, 92, 246, 0.25));
}
.wavy-line-accent svg path {
  stroke-dasharray: 60;
  stroke-dashoffset: 0;
  animation: wavyDashAnim 4s linear infinite alternate;
}
@keyframes wavyDashAnim {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 15; }
}

/* 10 Tech Skill Cards (2 Rows of 5) */
.expertise-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.3rem;
  margin-bottom: 2.4rem;
  perspective: 1000px;
}

/* Per-Tech Theme Colors */
.tech-html       { --c-tech: #e44d26; --c-rgb: 228, 77, 38; }
.tech-css        { --c-tech: #1572b6; --c-rgb: 21, 114, 182; }
.tech-javascript { --c-tech: #eab308; --c-rgb: 234, 179, 8; }
.tech-php        { --c-tech: #777bb4; --c-rgb: 119, 123, 180; }
.tech-laravel    { --c-tech: #ff2d20; --c-rgb: 255, 45, 32; }
.tech-mysql      { --c-tech: #00758f; --c-rgb: 0, 117, 143; }
.tech-tailwind   { --c-tech: #06b6d4; --c-rgb: 6, 182, 212; }
.tech-flutter    { --c-tech: #0284c7; --c-rgb: 2, 132, 199; }
.tech-firebase   { --c-tech: #f57c00; --c-rgb: 245, 124, 0; }
.tech-cpanel     { --c-tech: #ff6c2c; --c-rgb: 255, 108, 44; }
.tech-github     { --c-tech: #24292f; --c-rgb: 36, 41, 47; }

.expertise-skill-card {
  background: #ffffff;
  border: 1px solid #ede8e1;
  border-radius: 24px;
  padding: 1.65rem 1.2rem 1.45rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.35s ease, 
              border-color 0.35s ease,
              background 0.35s ease;
  overflow: hidden;
  cursor: pointer;
  will-change: transform;
}

/* Card Interactive Hover State */
.expertise-skill-card:hover {
  transform: translateY(-9px) scale(1.02);
  box-shadow: 0 20px 38px -10px rgba(var(--c-rgb), 0.22),
              0 8px 16px -6px rgba(0, 0, 0, 0.04),
              0 0 0 1.5px rgba(var(--c-rgb), 0.4);
  border-color: rgba(var(--c-rgb), 0.4);
  background: radial-gradient(circle at 50% 0%, rgba(var(--c-rgb), 0.06) 0%, #ffffff 75%);
}

/* Shimmer Sweep Effect across card on hover */
.card-shine-effect {
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 60%
  );
  transform: rotate(25deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.expertise-skill-card:hover .card-shine-effect {
  opacity: 1;
  animation: cardShineSweep 0.85s ease forwards;
}

@keyframes cardShineSweep {
  0% { transform: translateY(-50%) translateX(-50%) rotate(25deg); }
  100% { transform: translateY(50%) translateX(50%) rotate(25deg); }
}

/* Floating Symbol Badge on Top Right */
.card-mini-symbol-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.expertise-skill-card:hover .card-mini-symbol-badge {
  transform: scale(1.18) rotate(10deg);
  box-shadow: 0 4px 12px rgba(var(--c-rgb), 0.3);
}

.card-mini-symbol-badge.html       { background: #fff1eb; color: #ea580c; }
.card-mini-symbol-badge.css        { background: #eff6ff; color: #2563eb; }
.card-mini-symbol-badge.javascript { background: #fefce8; color: #ca8a04; font-size: 0.7rem; }
.card-mini-symbol-badge.php        { background: #faf5ff; color: #9333ea; }
.card-mini-symbol-badge.laravel    { background: #fff1f2; color: #e11d48; }
.card-mini-symbol-badge.mysql      { background: #f0fdfa; color: #0d9488; }
.card-mini-symbol-badge.tailwind   { background: #ecfeff; color: #0891b2; }
.card-mini-symbol-badge.flutter    { background: #eff6ff; color: #0284c7; }
.card-mini-symbol-badge.firebase   { background: #fff7ed; color: #ea580c; }
.card-mini-symbol-badge.cpanel     { background: #fff7ed; color: #ff6c2c; }
.card-mini-symbol-badge.github     { background: #f8fafc; color: #334155; }

/* Main Brand Icon Aura & Center Symbol */
.card-icon-aura-wrap {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.expertise-skill-card:hover .card-icon-aura-wrap {
  transform: scale(1.14) translateY(-2px);
}

.card-icon-aura-wrap.html       { background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, rgba(249, 115, 22, 0.04) 70%, transparent 100%); }
.card-icon-aura-wrap.css        { background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.04) 70%, transparent 100%); }
.card-icon-aura-wrap.javascript { background: radial-gradient(circle, rgba(234, 179, 8, 0.25) 0%, rgba(234, 179, 8, 0.05) 70%, transparent 100%); }
.card-icon-aura-wrap.php        { background: radial-gradient(circle, rgba(147, 51, 234, 0.22) 0%, rgba(147, 51, 234, 0.05) 70%, transparent 100%); }
.card-icon-aura-wrap.laravel    { background: radial-gradient(circle, rgba(239, 68, 68, 0.22) 0%, rgba(239, 68, 68, 0.05) 70%, transparent 100%); }
.card-icon-aura-wrap.mysql      { background: radial-gradient(circle, rgba(13, 148, 136, 0.22) 0%, rgba(13, 148, 136, 0.05) 70%, transparent 100%); }
.card-icon-aura-wrap.tailwind   { background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(6, 182, 212, 0.05) 70%, transparent 100%); }
.card-icon-aura-wrap.flutter    { background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, rgba(2, 132, 199, 0.05) 70%, transparent 100%); }
.card-icon-aura-wrap.firebase   { background: radial-gradient(circle, rgba(249, 115, 22, 0.25) 0%, rgba(249, 115, 22, 0.05) 70%, transparent 100%); }
.card-icon-aura-wrap.cpanel     { background: radial-gradient(circle, rgba(255, 108, 44, 0.22) 0%, rgba(255, 108, 44, 0.05) 70%, transparent 100%); }
.card-icon-aura-wrap.github     { background: radial-gradient(circle, rgba(30, 41, 59, 0.18) 0%, rgba(30, 41, 59, 0.03) 70%, transparent 100%); }

.tech-brand-logo-svg {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.expertise-skill-card:hover .tech-brand-logo-svg {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 8px rgba(var(--c-rgb), 0.3));
}

.card-skill-title {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.4rem;
  transition: color 0.25s ease;
}

.expertise-skill-card:hover .card-skill-title {
  color: var(--c-tech);
}

.card-skill-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1.25rem;
  min-height: 34px;
}

/* Rating Dash Pills (5 Bars) */
.skill-rating-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  margin-top: auto;
  padding-top: 0.3rem;
}

.pill-dash {
  width: 15px;
  height: 4px;
  border-radius: 4px;
  background: #f1f5f9;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pill-dash.active.html       { background: #ea580c; }
.pill-dash.active.css        { background: #2563eb; }
.pill-dash.active.javascript { background: #eab308; }
.pill-dash.active.php        { background: #9333ea; }
.pill-dash.active.laravel    { background: #ef4444; }
.pill-dash.active.mysql      { background: #0d9488; }
.pill-dash.active.tailwind   { background: #06b6d4; }
.pill-dash.active.flutter    { background: #0284c7; }
.pill-dash.active.firebase   { background: #f97316; }
.pill-dash.active.cpanel     { background: #ff6c2c; }
.pill-dash.active.github     { background: #1e293b; }

.expertise-skill-card:hover .pill-dash.active {
  transform: scaleY(1.35);
  box-shadow: 0 0 8px rgba(var(--c-rgb), 0.7);
}

/* Bottom Feature Highlights Strip (4 Pillars) */
.expertise-features-strip {
  background: #ffffff;
  border: 1px solid #eee7dd;
  border-radius: 22px;
  padding: 1.3rem 1.6rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.feature-strip-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.65rem 0.85rem;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
}

.feature-strip-item:hover {
  background: #faf8f5;
  border-color: #ede5da;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.feature-strip-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.feature-strip-item:hover .feature-strip-icon-circle {
  transform: scale(1.12) rotate(6deg);
}

.feature-strip-icon-circle.purple { 
  background: #faf5ff; 
  color: #8b5cf6; 
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.15);
}
.feature-strip-icon-circle.blue { 
  background: #eff6ff; 
  color: #0284c7; 
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
}
.feature-strip-icon-circle.orange { 
  background: #fff7ed; 
  color: #f97316; 
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.15);
}
.feature-strip-icon-circle.pink { 
  background: #fff1f2; 
  color: #ec4899; 
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.15);
}

.feature-strip-item:hover .feature-strip-icon-circle.purple { box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35); }
.feature-strip-item:hover .feature-strip-icon-circle.blue   { box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35); }
.feature-strip-item:hover .feature-strip-icon-circle.orange { box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35); }
.feature-strip-item:hover .feature-strip-icon-circle.pink   { box-shadow: 0 4px 16px rgba(236, 72, 153, 0.35); }

.feature-strip-text h5 {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 0.2rem;
  transition: color 0.2s ease;
}

.feature-strip-item:hover .feature-strip-text h5 {
  color: #7c3aed;
}

.feature-strip-text p {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
}

