@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --primary-color: #641c34;
  --primary-hover: #4c1124;
  --primary-light: #f7ebef;

  /* Neutral Palette (Sophisticated Shades of Slate/Gray) */
  --bg-color: #f8fafc;
  --bg-dots: rgba(100, 28, 52, 0.02);
  --surface-color: #ffffff;
  --surface-secondary: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-color: #e2e8f0;

  /* Fonts & Styling */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-title: 'Outfit', var(--font-sans);
  --font-accent: 'Outfit', var(--font-sans);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-bg: rgba(255, 255, 255, 0.85);
  --header-blur: saturate(180%) blur(12px);
  --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
  --card-hover-shadow: 0 20px 40px rgba(100, 28, 52, 0.08);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --accent-gradient: linear-gradient(135deg, #641c34 0%, #942e4e 100%);
  --tag-bg: #f1f5f9;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  background-image:
    radial-gradient(var(--bg-dots) 1.5px, transparent 1.5px),
    radial-gradient(var(--bg-dots) 1.5px, var(--bg-color) 1.5px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Header & Navigation */
header {
  background-color: var(--header-bg);
  backdrop-filter: var(--header-blur);
  -webkit-backdrop-filter: var(--header-blur);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

nav {
  max-width: 1164px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.nav-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-accent);
  font-weight: 800;
  font-size: 1.5rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  padding-right: 4px;
  /* Prevents the final letter 'o' from being clipped due to negative letter-spacing and background-clip */
}

.logo:hover {
  opacity: 0.85;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav ul a {
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 0.25rem 0;
}

nav ul a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: var(--transition);
}

nav ul a:hover::after,
nav ul a.active::after {
  width: 100%;
}

nav ul a.active {
  color: var(--primary-color);
}

/* Layout */
main {
  max-width: 1164px;
  margin: 4rem auto;
  padding: 0 2rem;
}

/* Fullpage Home breakout layout */
.home-main {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

section {
  margin-bottom: 6rem;
}

h1,
h2,
h3 {
  font-family: var(--font-title);
  color: var(--text-main);
  letter-spacing: -0.01em;
}

h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 2.5rem;
  transition: border-color 0.4s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  color: white !important;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(100, 28, 52, 0.15);
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(100, 28, 52, 0.25);
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white !important;
  box-shadow: 0 4px 12px rgba(100, 28, 52, 0.1);
}

/* Fullpage Hero Section styles */
.hero-fullpage {
  width: 100%;
  min-height: calc(100vh - 70px);
  /* Compensate header precisely to match viewport */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  position: relative;
  box-sizing: border-box;
  border-bottom: 1px solid var(--border-color);
  background-image:
    radial-gradient(var(--bg-dots) 1.5px, transparent 1.5px),
    radial-gradient(var(--bg-dots) 1.5px, var(--bg-color) 1.5px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
}

.hero-split-container {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
  z-index: 10;
}

/* Left Column Profile Card styling */
.hero-left-col {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  /* Shift slightly lower to visually balance the taller right biography column */
}

.profile-card {
  text-align: center;
  width: 100%;
  max-width: 380px;
  transition: var(--transition);
}

.profile-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}



.profile-name {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--primary-color);
  letter-spacing: -0.01em;
}

.profile-title {
  font-size: 1rem;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.profile-university {
  font-size: 1rem;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* Social icons precisely replicating screenshot */
.social-links-row {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: white;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.social-icon.github {
  background-color: #181717;
}

.social-icon.linkedin {
  background-color: #0a66c2;
}

.social-icon.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-icon.youtube {
  background-color: #ff0000;
}

.social-icon:hover {
  color: white !important;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
  filter: brightness(1.05);
}

/* Right Column Bio styling */
.hero-right-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bio-title {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.8rem;
  border: none;
  padding: 0;
  letter-spacing: -0.02em;
}

.bio-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.bio-text p {
  margin-bottom: 1.2rem;
}

.bio-text strong {
  color: var(--text-main);
  font-weight: 600;
}

.btn-bio {
  width: 100%;
  max-width: 100%;
  padding: 1rem;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  background: var(--primary-color);
  box-shadow: 0 4px 12px rgba(100, 28, 52, 0.15);
}

.btn-bio:hover {
  background: var(--primary-hover);
  box-shadow: 0 8px 20px rgba(100, 28, 52, 0.25);
}



/* Home projects section below hero */
.home-projects-section {
  max-width: 1164px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.home-projects-section .projects-grid {
  grid-template-columns: repeat(3, 1fr);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 2.5rem;
}

.home-projects-section .section-title {
  font-size: 2.2rem;
  color: var(--primary-color);
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.title-action-link {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.title-action-link:hover {
  color: var(--primary-hover);
}

.title-action-link span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.title-action-link:hover span {
  transform: translateX(4px);
}

/* Project Cards Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

.card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  transition: var(--transition), background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-hover-shadow);
}

.card h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.2rem 0 1.8rem 0;
}

.tag {
  background-color: var(--tag-bg);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

/* Filters */
.filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: var(--transition), background-color 0.4s ease, border-color 0.4s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(100, 28, 52, 0.15);
}


/* Footer */
/* Footer Premium Layout */
footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 2rem 2rem 2rem;
  background-color: var(--surface-color);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto 3rem auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.footer-column h3 {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
}

.footer-email {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-main);
  transition: var(--transition);
}

.footer-email:hover {
  color: var(--primary-color);
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-social-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-social-link:hover {
  color: var(--primary-color);
}

.footer-univ {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.footer-column:last-child {
  text-align: right;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}



/* Responsive design adjustments */
@media (max-width: 900px) {
  .hero-fullpage {
    min-height: auto;
    padding: 3rem 1.5rem;
  }

  .hero-split-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .hero-left-col {
    order: 1;
  }

  .hero-right-col {
    order: 2;
    align-items: center;
  }

  .bio-title {
    font-size: 2.4rem;
    text-align: center;
  }

  .home-projects-section .projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }

  .nav-actions {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    align-items: center;
  }

  nav ul {
    width: 100%;
    justify-content: center;
    gap: 1.5rem;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .filters {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-column:last-child {
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }
}

/* ==========================================================================
   PREMIUM RESUME PAGE OVERHAUL STYLES
   ========================================================================== */

.resume-main-wrapper {
  max-width: 1164px;
  margin: 4rem auto;
  padding: 0 2rem;
}

/* Resume Hero Header */
.resume-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 4rem;
}

.resume-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.resume-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
}

.resume-download-actions {
  display: flex;
  gap: 1rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  padding: 0.75rem 1.4rem;
}

/* Tab Navigation Menu */
.resume-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 4.5rem;
  padding-bottom: 1px;
}

.resume-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 1rem 2rem;
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition);
}

.resume-tab-btn:hover {
  color: var(--primary-color);
  opacity: 0.85;
}

.resume-tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-icon {
  font-size: 1.2rem;
}

/* Tab Content Visibility */
.resume-tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(15px);
}

.resume-tab-pane.active {
  display: block;
  animation: resumeFadeInUp 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes resumeFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-intro {
  margin-bottom: 3rem;
}

.section-intro h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0.5rem;
}

.section-intro p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Timeline Accordion Components */
.timeline-interactive {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.timeline-interactive::before {
  content: '';
  position: absolute;
  left: 2.5rem;
  top: 1rem;
  bottom: 1rem;
  width: 3px;
  background-color: var(--border-color);
  z-index: 1;
}

.timeline-card-item {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.timeline-card-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 12px 30px rgba(100, 28, 52, 0.05);
}

.timeline-card-header {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem;
  cursor: pointer;
  user-select: none;
  background-color: var(--surface-color);
  transition: background-color 0.2s ease;
}

.timeline-card-header:hover {
  background-color: var(--surface-secondary);
}

.timeline-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.timeline-badge-date {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-color);
}

.timeline-badge-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
  text-align: center;
}

.timeline-badge-status[class*="Progress"] {
  background-color: #e0f2fe;
  color: #0369a1;
}

.timeline-badge-status[class*="Completed"] {
  background-color: #dcfce7;
  color: #15803d;
}

.timeline-header-main h3 {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.timeline-institution {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-weight: 600;
  transition: color 0.3s ease;
}

.accordion-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.accordion-arrow {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Expanded timeline item styling */
.timeline-card-item.active-expanded {
  border-color: var(--primary-color);
}

.timeline-card-item.active-expanded .accordion-arrow {
  transform: rotate(180deg);
}

.timeline-card-item.active-expanded .accordion-trigger {
  color: var(--primary-color);
}

.timeline-card-body {
  display: none;
  padding: 2rem 2.5rem 2.5rem 2.5rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--surface-color);
}

.timeline-card-item.active-expanded .timeline-card-body {
  display: block;
  animation: resumeSlideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes resumeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 2rem;
}

/* Expanded timeline internal sub-details */
.academic-details h4 {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.exams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.exam-pill {
  background: var(--surface-secondary);
  border-left: 3px solid var(--primary-color);
  border-radius: 8px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: transform 0.2s ease;
}

.exam-pill:hover {
  transform: translateY(-2px);
}

.exam-name {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.95rem;
}

.exam-focus {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.academic-projects-list {
  list-style: none;
  padding-left: 0.2rem;
}

.academic-projects-list li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.5;
}

.academic-projects-list li::before {
  content: "•";
  color: var(--primary-color);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -3px;
}

/* Skills Toolkit Premium visual styles */
.skills-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.skill-group-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.skill-group-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--card-hover-shadow);
}

.skill-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  line-height: 1;
}

.skill-group-card h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.group-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.4;
}

.skill-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.skill-progress-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skill-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.skill-name {
  color: var(--text-main);
}

.skill-percent {
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.progress-bar-container {
  background-color: var(--surface-secondary);
  border-radius: 10px;
  height: 8px;
  width: 100%;
  overflow: hidden;
}

.progress-fill {
  background: var(--accent-gradient);
  height: 100%;
  border-radius: 10px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-context {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Scouting & Leadership Premium Styles */
.scouting-split-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.scouting-roles {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.scouting-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.scouting-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 12px 30px rgba(100, 28, 52, 0.04);
}

.scouting-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
}

.scout-badge-role {
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid rgba(100, 28, 52, 0.08);
}

.scout-date {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.scouting-card h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.scout-scout-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.scout-bullets {
  list-style: none;
  padding-left: 0.1rem;
}

.scout-bullets li {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.6rem;
  color: var(--text-main);
  line-height: 1.5;
}

.scout-bullets li::before {
  content: "⚜️";
  font-size: 0.8rem;
  position: absolute;
  left: 0;
  top: 2px;
}

.scouting-softskills {
  display: flex;
  flex-direction: column;
}

.softskills-box {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.softskills-box h3 {
  font-family: var(--font-title);
  font-size: 1.45rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--primary-color);
}

.softskills-box>p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.softskills-grid {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.softskill-card-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.softskill-emoji {
  font-size: 1.8rem;
  padding: 0.5rem;
  background: var(--surface-secondary);
  border-radius: 8px;
  line-height: 1;
}

.softskill-card-item h4 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.softskill-card-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.scout-quote-block {
  margin-top: 3.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  position: relative;
}

.scout-fleur-de-lis {
  font-size: 2.5rem;
  color: rgba(100, 28, 52, 0.04);
  position: absolute;
  right: 0.5rem;
  top: 1.5rem;
}

.scout-quote-block blockquote {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  border: none;
  padding: 0;
  margin: 0;
}

.scout-quote-block cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN FOR RESUME PAGE
   ========================================================================== */

@media (max-width: 900px) {
  .resume-hero-header {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .resume-download-actions {
    width: 100%;
    justify-content: center;
  }

  .resume-tabs-nav {
    flex-direction: column;
    gap: 0.25rem;
    border-bottom: none;
    margin-bottom: 3.5rem;
  }

  .resume-tab-btn {
    width: 100%;
    justify-content: center;
    border-bottom: none;
    border-radius: 8px;
    padding: 0.8rem;
    background-color: var(--surface-secondary);
  }

  .resume-tab-btn.active {
    background: var(--accent-gradient);
    color: white !important;
  }

  .timeline-card-header {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }

  .timeline-interactive::before {
    left: 1.5rem;
  }

  .timeline-card-body {
    padding: 1.5rem;
  }

  .scouting-split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .softskills-box {
    padding: 1.8rem;
  }
}