/* ============================================
   ABOUT — about page styles
   Used by: about.html
   ============================================ */

.about-panel {
  flex: 1;
  height: 100vh;
  overflow-y: auto;
  background: linear-gradient(100deg,
    #12112a 0%, #0c0b1e 10%, #080714 50%, #03020a 75%, #000 100%);
  padding: 60px 56px 0 56px;   /* ← remove bottom padding entirely */
}

.about-panel::-webkit-scrollbar { width: 4px; }
.about-panel::-webkit-scrollbar-track { background: transparent; }
.about-panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.about-wrap {
  max-width: 100%;
  padding-right: 0;
  padding-bottom: 0;
}




/* Header */
.about-header {
  display: flex;
  align-items: center;
  gap: 32px;           /* ← was 24px */
  margin-bottom: 28px;
}

.about-avatar {
  width: 150px;        /* ← was 80px */
  height: 150px;       /* ← was 80px */
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.about-header-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-name {
  font-size: 43px;     /* ← was 36px */
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 0 2px rgba(255,255,255,0.4);
  margin: 0;
}


.about-location {
  font-size: 17px;     /* ← was 13px */
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
}

/* Bio */
.about-bio {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 48px;
  max-width: 100%;
}

/* Sections */
.about-section {
  margin-bottom: 40px;
}

.about-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.service-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.service-item:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
}

.service-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.service-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
}

/* Hard Skills */
.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  padding: 5px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}

/* Soft Skills */
.softskills-list {
  display: flex;
  flex-wrap: wrap;   /* ← wraps naturally like hard skills */
  gap: 8px;
  width: fit-content; /* ← shrinks to content, no stretching */
}

.softskill-pill {
  flex: none;          /* ← no stretching */
  text-align: center;
  padding: 5px 12px;   /* ← same as .skill-tag */
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  cursor: default;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}


.softskill-pill:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}

.softskill-tooltip {
  max-height: 0;
  overflow: hidden;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease, margin-top 0.3s ease;
}

.softskill-tooltip.visible {
  max-height: 80px;
  opacity: 1;
  margin-top: 12px;
}

.edu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin-top: -15px;   /* ← compensates for the first item's top padding */
}

.edu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 12px 8px;   /* ← uniform padding on all sides */
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  color: inherit;
  border-radius: 6px;
  transition: background 0.2s ease;
}

/* remove first-child override entirely */

.edu-item:last-child { border-bottom: none; }
.edu-item:hover { background: rgba(255,255,255,0.04); }
.edu-item:hover .edu-degree { color: #fff; }
.edu-item:hover .edu-school { color: rgba(255,255,255,0.65); }



.edu-degree {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.edu-degree em {
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.5);
}

.edu-school {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;   /* ← keeps school on one line */
}


/* CTA */
.about-cta {
  margin-top: 0 !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(255,255,255,0.07);
}




.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.cta-btn:hover {
  background: #fff;
  color: #050510;
  border-color: #fff;
}

@media (max-width: 768px) {
  .about-panel { height: auto; overflow: visible; padding: 32px 20px; }
  .about-name { font-size: 26px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}
