/* ================================
   RESET & BASE (same as home)
=================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Verdana", "Trebuchet MS", "Arial", sans-serif;
  background-color: #f3f3f3;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: "Verdana", "Trebuchet MS", "Arial", sans-serif;
  font-weight: 700;
  color: #2E2E2E;
}

p, a, li, span, nav {
  font-family: "Verdana", "Trebuchet MS", "Arial", sans-serif;
  font-weight: 400;
  color: #595959;
}

/* ================================
   HEADER (identical behavior to Experience)
=================================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #f3f3f3;
}

.header-left {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

header h1 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0;
}

header .subtitle {
  font-size: 0.9rem;
  font-weight: 400;
  color: #555;
}

/* Navigation */
.header-nav ul {
  list-style: none;
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.header-nav a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}

.header-nav a:hover {
  color: #0077cc;
}

/* Desktop pipes between links */
.header-nav ul li {
  position: relative;
  margin-right: 0;
}

.header-nav ul li:not(:last-child)::after {
  content: "|";
  position: relative;
  margin: 0 4px;     /* adjust spacing here */
  color: #333;
  font-weight: 400;
}

/* Hamburger (base: hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1000;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
}

/* ================================
   SKILLS PAGE CONTENT
=================================== */
.skills-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #2E2E2E;
  margin-top: 0;
  margin-bottom: 8px;
}

.skills-page {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.skills-section {
  background-color: #fff;
  padding: 20px 40px 10px;
  text-align: center;
  max-width: 950px;
  margin: 0 auto 2px;
  display: block;
}

.skills-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2E2E2E;
  margin-bottom: 10px;
}

.skills-intro {
  font-size: .8rem;
  font-weight: bold;
  color: #555;
  max-width: 925px;
  margin: 0 auto 20px;
  line-height: 1.4;
}

/* Word Cloud */
.wordcloud {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}
.wordcloud img {
  display: block;
  margin: 0 auto;
  max-width: 650px;
  width: 80%;
  height: auto;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: left;
  margin-bottom: 20px;
  justify-content: center;
  align-items: start;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(to bottom, #ffffff, #efefef);
  border-radius: 6px;
  padding: 20px;
}
.skill-col h3 {
  font-size: .9rem;
  font-weight: 700;
  color: #2E2E2E;
  margin-bottom: 0;
  border-left: 4px solid #0077cc;
  padding-left: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.skill-col h3 i {
  color: #0077cc;
  font-size: 1.4rem;
  min-width: 16px;
  vertical-align: middle;
}
.skill-col ul {
  list-style: none;
  padding-left: 0;
}
.skill-col li {
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 6px;
  position: relative;
  padding-left: 14px;
}
.skill-col li::before {
  content: "•";
  color: #0077cc;
  position: absolute;
  left: 0;
  font-weight: bold;
}
.skill-col li:hover {
  color: #000;
  transition: color 0.2s ease;
}

/* ================================
   FOOTER (same structure as Experience)
=================================== */
.footer-separator {
  width: 95%;
  max-width: 1500px;
  margin: 10px auto 0;
}
.footer-separator hr {
  border: none;
  border-top: 1px solid #000;
  width: 100%;
  margin: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 95%;
  max-width: 1500px;
  margin: 0 auto 0;
  padding: 10px 0 16px;
  flex-wrap: wrap;
}

.footer-col strong {
  font-size: 0.85rem;
  font-weight: 700;
}
.footer-col span {
  line-height: 1.3;
  margin-top: 0;
  font-size: .85rem;
}
.follow-text {
  margin-top: 6px;
  line-height: 1.3;
}

.footer-col:first-child,
.footer-col:nth-child(2),
.footer-col:nth-child(3),
.footer-col:last-child {
  text-align: left;
  align-items: flex-start;
}

.footer-col strong {
  display: block;
  margin-bottom: 1px;
  line-height: 1.2;
}

.linkedin svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.linkedin:hover svg {
  transform: translateY(-4px) scale(1.15);
  opacity: 0.95;
  fill: #0A66C2;
  filter: drop-shadow(0 2px 4px rgba(10, 102, 194, 0.3));
}

.footer-right { line-height: 1.1; }
.footer-credit {
  margin-top: 8px;
  line-height: 1.3;
  font-size: .85rem;
}

/* ================================
   RESPONSIVE (≤ 800px)
=================================== */
@media (max-width: 800px) {
  /* Mobile header */
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 0;
    position: relative;
  }
  .header-left {
    flex-direction: column;
    gap: 2px;
    text-align: center;
  }
  .subtitle {
    font-size: 0.85rem;
    white-space: nowrap;
  }
  .hamburger {
    display: flex;
    position: absolute;
    top: 10px;
    right: 16px;
  }
  .header-nav {
    display: none;
    width: 100%;
    margin-top: 12px;
    text-align: center;
  }
  .header-nav.open { display: block; }
  .header-nav ul {
    flex-direction: column;
    gap: 10px;
  }
  /* Remove desktop pipes on mobile */
  .header-nav ul li:not(:last-child)::after {
    content: "" !important;
    margin: 0 !important;
  }

  /* Mobile skills grid */
  .skills-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .skill-col h3 {
    border-left: none;
    border-bottom: 2px solid #0077cc;
    display: inline-block;
    padding-left: 0;
    padding-bottom: 5px;
    margin-bottom: 15px;
  }

  /* Mobile footer */
  footer {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    margin-top: 20px;
  }
  .footer-col {
    text-align: center !important;
    width: 100%;
  }
}
