/*** About page - dynamic sections (skills / experience / education) ***/
/* --about-accent mirrors static/css/skins/yellow.css (#ffb400).
   Update it there and here together if the skin changes. ***/

body.about {
  --about-accent: #ffb400;
  --about-border: #252525;
  --about-muted: rgba(255, 255, 255, 0.6);
  --about-line: #333;
}

body.light.about {
  --about-accent: #c07f00;
  --about-border: #e3e3e3;
  --about-muted: rgba(0, 0, 0, 0.55);
  --about-line: #ddd;
}

/* Section head */

.about .section-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 30px;
}

.about .section-head-text {
  min-width: 0;
}

.about .section-head .custom-title {
  padding-bottom: 0;
}

.about .section-head .custom-title span,
.about .col-head h4 span {
  color: var(--about-accent);
}

.about .section-kicker {
  display: block;
  margin-bottom: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--about-accent);
}

.about .section-head-text:after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 14px;
  border-radius: 3px;
  background-color: var(--about-accent);
}

.about .section-badge {
  padding: 7px 17px;
  border: 1px solid var(--about-border);
  border-radius: 30px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--about-muted);
  white-space: nowrap;
}

/* Skills grid */

.about .skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 22px;
  padding-top: 6px;
}

.about .skill-card {
  padding: 30px 14px 24px;
  border: 1px solid var(--about-border);
  border-radius: 8px;
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.about .skill-card:hover {
  transform: translateY(-7px);
  border-color: var(--about-accent);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
}

body.light.about .skill-card:hover {
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.1);
}

.about .skill-card .c100 {
  font-size: 104px;
}

/* Gauge fill animation on scroll (ring colour itself stays skin driven) */

.about .skill-card .c100 .bar,
.about .skill-card .c100 .fill {
  -webkit-transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.about .skill-card:hover .c100 > span {
  color: var(--about-accent);
}

.about .skill-card h6 {
  margin: 20px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--about-muted);
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.about .skill-card:hover h6 {
  color: inherit;
}

/* Timeline column heads */

.about .col-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 34px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--about-line);
}

.about .col-head h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.about .col-count {
  min-width: 30px;
  padding: 4px 10px;
  border: 1px solid var(--about-accent);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--about-accent);
}

/* Timeline */

.about .about-timeline .tl-item:hover .time {
  opacity: 1;
}

.about .about-timeline .tl-item.is-current .time {
  background-color: var(--about-accent);
  color: #111;
  opacity: 1;
}

body.light.about .about-timeline .tl-item.is-current .time {
  color: #fff;
}

.about .about-timeline .place a {
  color: inherit;
  border-bottom: 1px dashed var(--about-accent);
  text-decoration: none;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.about .about-timeline .place a:hover {
  color: var(--about-accent);
}

.about .about-timeline .tl-loc {
  font-weight: 400;
  opacity: 0.7;
}

.about .about-timeline .tl-tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.about .tl-tag {
  padding: 4px 11px;
  border: 1px solid var(--about-border);
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--about-muted);
  -webkit-transition: color 0.3s ease, border-color 0.3s ease;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.about .tl-tag:hover {
  border-color: var(--about-accent);
  color: var(--about-accent);
}

/* Empty states */

.about .section-empty {
  margin-bottom: 10px;
  padding: 38px 22px;
  border: 1px dashed var(--about-border);
  border-radius: 8px;
  text-align: center;
  color: var(--about-muted);
}

.about .section-empty i {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
  color: var(--about-accent);
  opacity: 0.75;
}

.about .section-empty p {
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* Responsive */

@media (max-width: 991.98px) {
  .about .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 575.98px) {
  .about .section-head {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    padding-bottom: 24px;
  }

  .about .section-head-text:after {
    margin-right: auto;
    margin-left: auto;
  }

  .about .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .about .skill-card {
    padding: 24px 8px 20px;
  }

  .about .skill-card .c100 {
    font-size: 86px;
  }

  .about .skill-card h6 {
    margin-top: 16px;
    font-size: 11.5px;
    letter-spacing: 0.06em;
  }

  .about .col-head h4 {
    font-size: 15px;
  }
}
