/* Custom CSS*/
/* Variables */
:root {
  /* Font Size */
  --global--font-size-base: 1.15rem;
  --global--font-size-xs: 1rem;
  --global--font-size-sm: 1.125rem;
  --global--font-size-md: 1.25rem;
  --global--font-size-lg: 1.5rem;
  --global--font-size-xl: 2.25rem;
  --global--font-size-xxl: 4rem;
  --global--font-size-xxxl: 5rem;
  --global--font-size-page-title: var(--global--font-size-xxl);
  --global--letter-spacing: normal;

  /* Line Height */
  --global--line-height-body: 1.7;
  --global--line-height-heading: 1.3;
  --global--line-height-page-title: 1.1;

  /* Headings */
  --heading--font-family: var(--global--font-primary);
  --heading--font-size-h6: var(--global--font-size-xs);
  --heading--font-size-h5: var(--global--font-size-sm);
  --heading--font-size-h4: var(--global--font-size-lg);
  --heading--font-size-h3: calc(1.25 * var(--global--font-size-lg));
  --heading--font-size-h2: var(--global--font-size-xl);
  --heading--font-size-h1: var(--global--font-size-page-title);
  --heading--letter-spacing-h6: 0.05em;
  --heading--letter-spacing-h5: 0.05em;
  --heading--letter-spacing-h4: var(--global--letter-spacing);
  --heading--letter-spacing-h3: var(--global--letter-spacing);
  --heading--letter-spacing-h2: var(--global--letter-spacing);
  --heading--letter-spacing-h1: var(--global--letter-spacing);
  --heading--line-height-h6: var(--global--line-height-heading);
  --heading--line-height-h5: var(--global--line-height-heading);
  --heading--line-height-h4: var(--global--line-height-heading);
  --heading--line-height-h3: var(--global--line-height-heading);
  --heading--line-height-h2: var(--global--line-height-heading);
  --heading--line-height-h1: var(--global--line-height-page-title);
  --heading--font-weight: normal;
  --heading--font-weight-page-title: 300;
  --heading--font-weight-strong: 600;

  /* Spacing */
  --global--spacing-unit: 20px;
  --global--spacing-measure: unset;
  --global--spacing-horizontal: 25px;
  --global--spacing-vertical: 18px;
}

article ul {
  list-style-type: disc;
}

/* Card */
.social-card {
  border: 1px solid #e0e8e3;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
}

.social-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 0;
  color: #111;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Buttons */
.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #e0e8e3;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  color: #111;
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-buttons .btn i {
  font-size: 16px;
}

.social-buttons .btn .fa-external-link-alt {
  margin-left: auto;
  font-size: 12px;
  opacity: 0.6;
}

/* Hover effect */
.social-buttons .btn:hover {
  background: #16a249;
  color: #fff;
}

/* ========== Quick Facts Card ========== */
.facts-card {
  --border: #e3eae4;
  --ink: #0f1310;
  --muted: #5b6a61;
  --bg: #ffffff;
  --chip: #f5f7f6;

  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  max-width: 900px;
  margin: 24px auto;
}

/* Header */
.facts-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.facts-head-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--chip);
  border: 1px solid var(--border);
  font-size: 14px;
}
.facts-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

/* Grid layout */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

/* Each fact row uses flex for label/value alignment */
.fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.fact:hover {
  background: var(--chip);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.fact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.fact-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  word-break: break-word;
}

/* ========== Education Card ========== */
.edu-card {
  --border: #e3eae4;
  --ink: #0f1310;
  --muted: #5b6a61;
  --bg: #ffffff;
  --chip: #f5f7f6;

  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

/* Heading */
.edu-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.edu-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.edu-icon {
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--chip);
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* Education List */
.edu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.edu-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.edu-list li {
  background: var(--chip);
  transform: translateX(2px);
}

.edu-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

/* Career Timeline */
.career-timeline {
  --border: #e3eae4;
  margin: 40px auto;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  font-family: system-ui, sans-serif;
}

.timeline-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #111827;
}

/* Timeline container */
.timeline {
  position: relative;
  padding-left: 13px;
  border-left: 3px solid #3b82f6; /* blue line */
}

/* Each item */
.timeline-item {
  position: relative;
  margin-bottom: 28px;
}

.timeline-marker {
  position: absolute;
  left: -22px;
  top: 6px;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid #3b82f6;
  border-radius: 50%;
  z-index: 1;
}

.timeline-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.timeline-card .year {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 8px;
}

.timeline-card h4 {
  margin: 4px 0;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.timeline-card p {
  margin: 4px 0;
  font-size: 14px;
  color: #374151;
}

.timeline-card p.highlight {
  color: #059669; /* green highlight */
  font-weight: 500;
}

/* Achievements Section */
.achievements {
  --border: #e3eae4;
  border-radius: 16px;
  border: 1px solid var(--border);
  margin: 40px auto;
  padding: 20px;
  font-family: system-ui, sans-serif;
}

.achievements-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #111827;
}

/* Grid layout */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

/* Card styling */
.achievement-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.achievement-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.achievement-card .icon {
  font-size: 24px;
  color: #f59e0b; /* gold/yellow */
  flex-shrink: 0;
}

.achievement-card h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.achievement-card .year {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #2563eb;
  margin: 4px 0;
}

.achievement-card p {
  font-size: 14px;
  color: #374151;
  margin: 0;
}

/* Investments Section */
.investments {
  --border: #e3eae4;
  border-radius: 16px;
  border: 1px solid var(--border);
  margin: 40px auto;
  padding: 20px;
  font-family: system-ui, sans-serif;
}

.investments-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111827;
}

/* List */
.investment-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Card */
.investment-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 18px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.investment-card:hover {
  background: #f3f4f6;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

/* Left Info */
.investment-card .info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.investment-card .icon {
  font-size: 22px;
  color: #2563eb; /* blue */
}

.investment-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #111827;
}

.investment-card .role {
  font-size: 14px;
  color: #6b7280;
}

/* Right Value */
.investment-card .value {
  text-align: right;
}

.investment-card .amount {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.investment-card .stake {
  font-size: 13px;
  color: #6b7280;
}

@media (max-width: 728px) {
  .social-card,
  .facts-card,
  .edu-card,
  .achievements,
  .investments,
  .career-timeline {
    padding: 10px;
  }
}
/* Dark mode */
@media (prefers-color-scheme: dark) {
  .facts-card {
    --border: #2f3a34;
    --ink: #e9f1ec;
    --muted: #9ab0a3;
    --bg: #101412;
    --chip: #18201b;
    box-shadow: none;
  }
  .fact {
    background: #121714;
  }
  .fact:hover {
    background: #18201b;
  }
  .edu-card {
    --border: #2f3a34;
    --ink: #e9f1ec;
    --muted: #9ab0a3;
    --bg: #101412;
    --chip: #18201b;
    box-shadow: none;
  }
  .edu-list li:hover {
    background: #18201b;
  }
  .career-timeline {
    color: #e5e7eb;
  }
  .timeline {
    border-left-color: #2563eb;
  }
  .timeline-marker {
    background: #111;
    border-color: #2563eb;
  }
  .timeline-card {
    background: #1f2937;
    border-color: #374151;
  }
  .timeline-card h4 {
    color: #f9fafb;
  }
  .timeline-card p {
    color: #d1d5db;
  }
  .timeline-card p.highlight {
    color: #34d399;
  }
  .achievements {
    color: #e5e7eb;
  }
  .achievement-card {
    background: #1f2937;
    border-color: #374151;
  }
  .achievement-card h4 {
    color: #f9fafb;
  }
  .achievement-card p {
    color: #d1d5db;
  }
  .investment-card {
    background: #1f2937;
    border-color: #374151;
  }
  .investment-card:hover {
    background: #111827;
  }
  .investment-card h4 {
    color: #f9fafb;
  }
  .investment-card .role,
  .investment-card .stake {
    color: #9ca3af;
  }
  .investment-card .amount {
    color: #e5e7eb;
  }
}
