/* =============================================
   Skills Page — Navy Mint Theme
   Mobile-first, fluid typography with clamp()
   ============================================= */


/* ── Shared utilities ── */

.sk-label {
  display: inline-block;
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(0.68rem, 1.5vw, 0.78rem);
  color: #64ffda;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(100, 255, 218, 0.05);
  border: 1px solid rgba(100, 255, 218, 0.25);
  padding: 0.2rem 0.75rem;
  border-radius: 3px;
  margin-bottom: 0.65rem;
}

.sk-section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: #ccd6f6;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.sk-section-desc {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #8892b0;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 580px;
}


/* ── Page Header ── */

.skills-header {
  padding: 5rem 0 3rem;
  text-align: center;
  animation: fadeInUp 0.7s ease both;
}

.skills-headline {
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 900;
  color: #ccd6f6;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.skills-subline {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: #8892b0;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}


/* ── Expertise Domains ── */

.sk-domains {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.domain-card {
  background: #112240;
  border: 1px solid #233554;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.domain-card:hover {
  transform: translateY(-5px);
  border-color: rgba(100, 255, 218, 0.4);
}

.domain-icon {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  color: #64ffda;
  display: block;
  margin-bottom: 1rem;
}

.domain-card h3 {
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  font-weight: 700;
  color: #ccd6f6;
  margin-bottom: 0.6rem;
}

.domain-card p {
  font-size: clamp(0.82rem, 1.8vw, 0.9rem);
  color: #8892b0;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.domain-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.domain-chips span {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(0.65rem, 1.4vw, 0.72rem);
  color: #64ffda;
  background: rgba(100, 255, 218, 0.07);
  border: 1px solid rgba(100, 255, 218, 0.2);
  padding: 0.15rem 0.55rem;
  border-radius: 3px;
  letter-spacing: 0.03em;
}


/* ── Technical Stack ── */

.sk-stack {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stack-group {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #112240;
  border: 1px solid #233554;
  border-radius: 10px;
  transition: border-color 0.2s ease;
}

.stack-group:hover {
  border-color: rgba(100, 255, 218, 0.25);
}

.stack-category-label {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(0.72rem, 1.6vw, 0.82rem);
  color: #64ffda;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stack-category-label i {
  font-size: 1rem;
}

.stack-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sk-chip {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(0.72rem, 1.6vw, 0.82rem);
  color: #ccd6f6;
  background: rgba(204, 214, 246, 0.05);
  border: 1px solid rgba(204, 214, 246, 0.15);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.sk-chip:hover {
  color: #64ffda;
  border-color: rgba(100, 255, 218, 0.4);
  background: rgba(100, 255, 218, 0.05);
}


/* ── Certifications ── */

.sk-certs {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cert-card {
  background: #112240;
  border: 1px solid #233554;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(100, 255, 218, 0.4);
}

.cert-icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(100, 255, 218, 0.08);
  border: 1px solid rgba(100, 255, 218, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-icon {
  font-size: 1.4rem;
  color: #64ffda;
}

.cert-body {
  flex: 1;
  min-width: 0;
}

.cert-status {
  display: inline-block;
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(0.62rem, 1.3vw, 0.68rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.cert-active {
  color: #64ffda;
  background: rgba(100, 255, 218, 0.1);
  border: 1px solid rgba(100, 255, 218, 0.25);
}

.cert-body h3 {
  font-size: clamp(0.88rem, 2vw, 0.98rem);
  font-weight: 700;
  color: #ccd6f6;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.cert-issuer {
  font-size: clamp(0.72rem, 1.5vw, 0.78rem);
  color: #8892b0;
  font-family: 'Courier New', Courier, monospace;
}


/* ── Currently Leveling Up ── */

.sk-learning {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.learning-card {
  background: #112240;
  border: 1px solid #233554;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.learning-card:hover {
  transform: translateY(-4px);
  border-color: rgba(100, 255, 218, 0.35);
}

.learning-status {
  display: inline-block;
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(0.62rem, 1.3vw, 0.68rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}

.status-active {
  color: #64ffda;
  background: rgba(100, 255, 218, 0.1);
  border: 1px solid rgba(100, 255, 218, 0.3);
}

.status-study {
  color: #ccd6f6;
  background: rgba(204, 214, 246, 0.08);
  border: 1px solid rgba(204, 214, 246, 0.2);
}

.status-plan {
  color: #8892b0;
  background: rgba(136, 146, 176, 0.08);
  border: 1px solid rgba(136, 146, 176, 0.2);
}

.learning-icon {
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  color: #64ffda;
  display: block;
  margin-bottom: 0.75rem;
}

.learning-card h3 {
  font-size: clamp(0.92rem, 2vw, 1rem);
  font-weight: 700;
  color: #ccd6f6;
  margin-bottom: 0.5rem;
}

.learning-card p {
  font-size: clamp(0.8rem, 1.8vw, 0.875rem);
  color: #8892b0;
  line-height: 1.65;
  margin: 0;
}


/* ── Professional Skills ── */

.sk-professional {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pro-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #112240;
  border: 1px solid #233554;
  border-radius: 10px;
  padding: 1.25rem;
  height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pro-card:hover {
  border-color: rgba(100, 255, 218, 0.3);
  transform: translateY(-2px);
}

.pro-icon {
  font-size: clamp(1.4rem, 3vw, 1.7rem);
  color: #64ffda;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1rem;
}

.pro-card h3 {
  font-size: clamp(0.88rem, 2vw, 0.95rem);
  font-weight: 700;
  color: #ccd6f6;
  margin-bottom: 0.3rem;
}

.pro-card p {
  font-size: clamp(0.8rem, 1.8vw, 0.875rem);
  color: #8892b0;
  line-height: 1.65;
  margin: 0;
}


/* ── CTA ── */

.sk-cta {
  padding: 5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sk-cta-box {
  background: #112240;
  border: 1px solid #233554;
  border-radius: 16px;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.sk-cta-box h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 900;
  color: #ccd6f6;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.sk-cta-box p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #8892b0;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.sk-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}


/* ── Responsive ── */

@media (max-width: 991px) {
  .skills-header {
    padding: 3.5rem 0 2rem;
  }

  .sk-section-desc {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .skills-header {
    padding: 2.5rem 0 1.5rem;
  }

  /* Stack groups scroll horizontally on very small screens */
  .stack-chips {
    overflow-x: auto;
    flex-wrap: wrap; /* keep wrapping — chips are small enough */
  }

  /* Full-width buttons on mobile */
  .sk-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    text-align: center;
  }

  /* Cert cards stack nicely single column */
  .cert-card {
    flex-direction: row; /* keep icon + text side by side even on mobile */
  }
}
