/* ==========================================================================
   Portfolio custom styles — indigo palette from chains_case_study
   ========================================================================== */

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

.primary-font, .secondary-font {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* ---------------------------------------------------------------------------
   LinkedIn-style Experience
   --------------------------------------------------------------------------- */
.experience-timeline {
  position: relative;
  padding-left: 0;
}

.experience-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.experience-logo {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  border: 1px solid var(--border-color, #e5e7eb);
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.experience-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.experience-body {
  flex: 1;
  min-width: 0;
}

.experience-company {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-color);
}

.experience-company a {
  color: var(--text-color);
  text-decoration: none;
}

.experience-company a:hover {
  color: var(--primary-color);
}

.experience-role {
  margin-top: 0.75rem;
  padding-left: 0;
  border-left: 2px solid var(--primary-color, #4f46e5);
  margin-left: 0;
}

.experience-role-item {
  padding-left: 1rem;
  padding-bottom: 1.25rem;
  position: relative;
}

.experience-role-item:last-child {
  padding-bottom: 0;
}

.experience-role-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color, #4f46e5);
}

.experience-role-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.experience-role-date {
  font-size: 0.8rem;
  color: var(--text-secondary-color, #6b7280);
  margin-top: 0.15rem;
}

.experience-role-content {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary-color, #6b7280);
}

.experience-role-content ul {
  padding-left: 1rem;
  margin: 0;
}

.experience-role-content li {
  margin-bottom: 0.35rem;
}

.experience-role-content strong {
  color: var(--text-color);
}

/* ---------------------------------------------------------------------------
   LinkedIn-style Education
   --------------------------------------------------------------------------- */
.education-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.education-logo {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  border: 1px solid var(--border-color, #e5e7eb);
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.education-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.education-body {
  flex: 1;
  min-width: 0;
}

.education-degree {
  font-weight: 600;
  font-size: 1rem;
}

.education-school a {
  font-size: 0.9rem;
  color: var(--text-secondary-color);
  text-decoration: none;
}

.education-school a:hover {
  color: var(--primary-color);
}

.education-date {
  font-size: 0.8rem;
  color: var(--text-secondary-color, #6b7280);
}

.education-gpa {
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.education-content {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary-color, #6b7280);
}

/* ---------------------------------------------------------------------------
   Projects section — stacked list
   --------------------------------------------------------------------------- */
.project-item {
  background: var(--secondary-color, #fff);
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.project-title {
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
  color: var(--text-color);
}

.project-links {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.project-links a {
  color: var(--text-secondary-color, #6b7280);
  font-size: 1.1rem;
  transition: color 0.15s;
}

.project-links a:hover {
  color: var(--primary-color, #4f46e5);
}

.project-badges {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.project-badges .badge {
  font-weight: 500;
  font-size: 0.75rem;
}

.project-content {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary-color, #6b7280);
}

/* ---------------------------------------------------------------------------
   Skills badges (About section)
   --------------------------------------------------------------------------- */
.skills-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.skills-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skills-badges .badge {
  font-weight: 500;
  font-size: 0.8rem;
  padding: 0.45em 0.85em;
  border-radius: 6px;
  background-color: var(--secondary-background-color, #eef2ff);
  color: var(--text-color, #1f2937);
}

/* ---------------------------------------------------------------------------
   Certifications section — stacked list with badge images
   --------------------------------------------------------------------------- */
.cert-item {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  background: var(--secondary-color, #fff);
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cert-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cert-badge {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cert-body {
  flex: 1;
  min-width: 0;
}

.cert-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cert-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
  color: var(--text-color);
}

.cert-link {
  color: var(--text-secondary-color, #6b7280);
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: color 0.15s;
}

.cert-link:hover {
  color: var(--primary-color, #4f46e5);
}

.cert-content {
  font-size: 0.85rem;
  color: var(--text-secondary-color, #6b7280);
  margin-top: 0.15rem;
}

/* ---------------------------------------------------------------------------
   Languages section — stacked list (matches projects & certs)
   --------------------------------------------------------------------------- */
.language-item {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  background: var(--secondary-color, #fff);
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.language-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.language-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--secondary-bg-color, #eef2ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color, #4f46e5);
  font-size: 1.2rem;
}

.language-body {
  flex: 1;
  min-width: 0;
}

.language-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
  color: var(--text-color);
}

.language-level {
  font-size: 0.85rem;
  color: var(--text-secondary-color, #6b7280);
  margin-top: 0.1rem;
}

/* ---------------------------------------------------------------------------
   Hero buttons — consistent CV / LinkedIn / GitHub
   --------------------------------------------------------------------------- */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 160px;
  padding: 0.55rem 1.25rem;
  border: 2px solid var(--primary-color, #4f46e5);
  border-radius: 8px;
  color: var(--primary-color, #4f46e5);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  background: transparent;
}

.hero-btn:hover {
  background: var(--primary-color, #4f46e5);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.hero-btn i {
  font-size: 1rem;
}

/* ---------------------------------------------------------------------------
   General polish
   --------------------------------------------------------------------------- */
section h3.text-center {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card {
  border-radius: 12px;
}

/* Hero social links removed — replaced by .hero-btn */
