/* experience.css */

/* Timeline */
.timeline { padding: 2rem 0; }
.tl-item { display: flex; gap: 2rem; margin-bottom: 2.5rem; }
.tl-marker { display: flex; flex-direction: column; align-items: center; padding-top: 0.3rem; }
.tl-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 12px var(--green);
  flex-shrink: 0; z-index: 1;
}
.tl-line { flex: 1; width: 2px; background: var(--green-border); margin-top: 6px; min-height: 80px; }
.tl-content { flex: 1; }
.tl-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4rem; }
.tl-type { font-size: 0.62rem; letter-spacing: 3px; color: var(--cyan); text-transform: uppercase; }
.tl-date { font-size: 0.62rem; color: var(--text-dim); letter-spacing: 1px; }
.tl-org { font-size: 0.72rem; color: var(--amber); letter-spacing: 1px; margin-top: 0.2rem; margin-bottom: 0.2rem; }
.tl-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.tl-list li {
  font-size: 0.75rem; color: var(--text-muted); line-height: 1.7; padding-left: 1rem; position: relative;
}
.tl-list li::before { content: '▸'; position: absolute; left: 0; color: var(--green); font-size: 0.6rem; top: 0.3rem; }

/* Intern grid */
.intern-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 1.5rem; margin-top: 2rem;
}

/* Cert grid */
.cert-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.cert-card {
  background: var(--card-bg); border: 1px solid var(--green-border);
  padding: 1.8rem; position: relative; transition: all 0.3s; overflow: hidden;
}
.cert-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.cert-card:hover::before { transform: scaleX(1); }
.cert-card:hover { border-color: rgba(0,255,136,0.3); background: var(--card-hover); }
.cert-issuer { font-size: 0.6rem; letter-spacing: 3px; color: var(--amber); text-transform: uppercase; margin-bottom: 0.4rem; }
.cert-name { font-family: 'Orbitron', monospace; font-size: 0.82rem; font-weight: 700; color: #fff; margin-bottom: 0.7rem; line-height: 1.4; }
.cert-desc { font-size: 0.72rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.cert-tag {
  display: inline-block; padding: 0.2rem 0.7rem;
  border: 1px solid var(--green-border); color: var(--text-dim);
  font-size: 0.6rem; letter-spacing: 1px;
}
.profiles-box { margin-top: 3rem; max-width: 550px; }

@media(max-width:700px){
  .tl-item { flex-direction: column; gap: 1rem; }
  .tl-marker { flex-direction: row; }
  .tl-line { width: 80px; height: 2px; margin-top: 0; margin-left: 6px; }
}
