/* About page styles, ported from the portfolio's Bentos template (style.css)
   and scoped to .dp-about so they can't leak into the tour UI. */
.dp-about {
  --dp-main: #9f9f9f;
  --dp-heading: #fff;
  --dp-primary: #eb5d3a;
  --dp-subtitle: #ccc;
  --dp-border: rgba(119, 119, 125, 0.2);
  --dp-card: #121214;
  --dp-card-shadow: rgba(255, 255, 255, 0.025) 0 0.362px 0.652px -1px inset, rgba(255, 255, 255, 0.036) 0 3px 5.4px -2px inset;
  color: var(--dp-main);
  font-family: var(--font);
  font-size: 16px;
  line-height: 30px;
  font-weight: 400;
  padding: 24px 0 0;   /* cards fill the modal width; content ends flush with its bottom */
}
.dp-about * { box-sizing: border-box; }
.dp-about h2, .dp-about h4, .dp-about h5 { color: var(--dp-heading); font-family: var(--font); margin: 0; }
.dp-about h2 { font-size: 22px; }
.dp-about h4 { font-size: 24px; line-height: 1.1; }
.dp-about h5 { font-size: 20px; line-height: 1.4; }
.dp-about p { line-height: 28px; margin: 0 0 16px; }
.dp-about img { max-width: 100%; }
.dp-about section + section { margin-top: 30px; }

/* ---- summary ---- */
.dp-about .row-about { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width: 992px) { .dp-about .row-about { grid-template-columns: 4fr 8fr; } }
.dp-about .about-image-part,
.dp-about .about-content-part,
.dp-about .single-resume,
.dp-about .container-inner {
  padding: 40px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  box-shadow: var(--dp-card-shadow);
  background-color: var(--dp-card);
}
.dp-about .about-image-part { text-align: center; }
.dp-about .about-image-part img { width: 238px; border-radius: 16px; }
.dp-about .about-content-part { position: relative; overflow: hidden; }
.dp-about .about-content-part > *:not(.about-waves-canvas) { position: relative; z-index: 1; }
.dp-about .about-waves-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.35; z-index: 0; pointer-events: none; }
.dp-about .about-waves-glow { filter: blur(10px); mix-blend-mode: screen; will-change: transform; }
.dp-about .about-content-part h2 { font-size: 40px; line-height: 50px; margin-bottom: 20px; font-weight: 400; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  /* phones: "multidisciplinary" at 40px is wider than the screen and forced a sideways scroll */
  .dp-about .about-content-part h2 { font-size: 26px; line-height: 34px; margin-bottom: 16px; }
}
.dp-about .hero-btns { margin-top: 30px; }
.dp-about .theme-btn {
  background: var(--dp-primary);
  color: #fff;
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid var(--dp-border);
  font-size: 14px; font-weight: 500; line-height: 20px;
  border-radius: 15px;
  padding: 12px 24px;
  text-decoration: none;
  transition: 0.3s;
}
.dp-about .theme-btn i { display: inline-flex; margin-left: 4px; }
.dp-about .theme-btn:hover { background: transparent; color: #fff; }

/* ---- resume (ported from the dportal WordPress theme's Resume section) ---- */
.dp-about .dp-resume-card {
  --sc: #3a66e6;                 /* the WP theme's resume section colour */
  --edu: #3a66e6;
  --text-light: #c8c8cc;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  box-shadow: var(--dp-card-shadow);
  background-color: var(--dp-card);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
}
.dp-about .dp-resume { display: grid; grid-template-columns: 1fr 340px; gap: 40px; }
@media (max-width: 991px) {
  .dp-about .dp-resume { grid-template-columns: 1fr; }
  .dp-about .dp-resume__right { order: -1; }
}
.dp-about .dp-resume__heading {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sc); margin: 0 0 20px; padding-bottom: 10px; border-bottom: 1px solid var(--dp-border);
}
.dp-about .dp-resume__heading--edu { margin-top: 36px; }
.dp-about .dp-resume__item { display: flex; gap: 16px; padding-bottom: 20px; position: relative; }
.dp-about .dp-resume__item:not(:last-of-type)::before { content: ''; position: absolute; left: 7px; top: 20px; bottom: 0; width: 1px; background: var(--dp-border); }
.dp-about .dp-resume__dot { flex-shrink: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--sc); box-shadow: 0 0 10px var(--sc); margin-top: 3px; position: relative; z-index: 1; }
.dp-about .dp-resume__dot--edu { background: var(--edu); box-shadow: 0 0 10px rgba(58, 102, 230, 0.6); }
.dp-about .dp-resume__date { display: block; font-size: 11px; color: var(--sc); letter-spacing: 0.06em; margin-bottom: 3px; line-height: 1.6; }
.dp-about .dp-resume__item--edu .dp-resume__date { color: var(--edu); }
.dp-about .dp-resume__role { font-size: 14px; font-weight: 600; margin: 0 0 2px; color: var(--dp-heading); line-height: 1.4; }
.dp-about .dp-resume__company { font-size: 12px; color: var(--dp-main); }
.dp-about .dp-resume__details { font-size: 13px; color: var(--dp-main); line-height: 1.6; margin-top: 5px; }
.dp-about .dp-btn {
  display: block; text-align: center; width: 100%; margin-bottom: 24px;
  padding: 10px 22px; border-radius: 10px;
  background: var(--sc); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  border: 1px solid transparent; text-decoration: none;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}
.dp-about .dp-btn:hover { background: transparent; border-color: var(--sc); color: var(--sc); transform: translateY(-1px); }
.dp-about .dp-skill { margin-bottom: 14px; }
.dp-about .dp-skill__label { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-light); margin-bottom: 6px; }
.dp-about .dp-skill__label span:last-child { color: var(--dp-main); font-size: 11px; }
.dp-about .dp-skill__track { width: 100%; height: 5px; background: rgba(255, 255, 255, 0.08); border-radius: 99px; overflow: hidden; }
.dp-about .dp-skill__bar { height: 100%; width: 0; border-radius: 99px; transition: width 1.1s cubic-bezier(0.25, 1, 0.5, 1); }
.dp-about .dp-lang { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--dp-border); font-size: 13px; color: var(--text-light); }
.dp-about .dp-lang:last-child { border-bottom: none; }
.dp-about .dp-lang__level { font-size: 11px; color: var(--dp-main); padding: 2px 10px; border: 1px solid var(--dp-border); border-radius: 20px; }
