/* ===============================================
   QRATES-INSPIRED PORTFOLIO - WHITE/BLACK SECTIONS
   Editorial layout, bold typography, unique grid
   =============================================== */

/* Design Tokens */
:root {
  /* Colors - Qrates Palette */
  --yellow: #FFF804;
  --purple: #E280FF;
  --olive: #81836C;
  --black: #000000;
  --white: #ffffff;
  --gray: #888888;
  --gray-dark: #1a1a1a;
  --gray-light: #f5f5f5;
  --gray-border: rgba(255, 255, 255, 0.15);
  --gray-border-dark: rgba(0, 0, 0, 0.1);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ===============================================
   SECTION THEMES - WHITE & BLACK
   =============================================== */
.section-black {
  background: var(--black);
  color: var(--white);
}

.section-white {
  background: var(--white);
  color: var(--black);
}

.section-white .section-number {
  color: var(--purple);
}

.section-white .section-title {
  color: var(--black);
}

/* ===============================================
   NAVIGATION - Qrates Style
   =============================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) var(--space-md);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-border);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.accent {
  color: var(--yellow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--duration) var(--ease);
}

.nav-links a:hover {
  color: var(--yellow);
}

.nav-cta {
  padding: 0.75rem 1.5rem;
  background: var(--yellow);
  color: var(--black) !important;
  border-radius: 0;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--purple) !important;
  color: var(--black) !important;
}

/* ===============================================
   HERO - Qrates Split-Screen Style with Rotated Image
   =============================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--space-xl) + 60px) var(--space-md) var(--space-xl);
  background: var(--white);
  color: var(--black);
  position: relative;
  overflow: hidden;
  border: 3px solid var(--black);
  border-top: none;
}

/* Yellow glow - top right */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: 20%;
  width: 500px;
  height: 500px;
  background: var(--yellow);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.7;
  pointer-events: none;
}

/* Purple/pink glow - bottom left */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 450px;
  height: 450px;
  background: var(--purple);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
}

/* Split-Screen Layout */
.hero-split {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: left;
}

/* Qrates Scattered Images Layout */
.hero-images-scattered {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Stacked image container styling */
.scattered-image {
  position: absolute;
  overflow: visible;
  border-radius: 0;
  transition: transform 0.5s var(--ease);
}

.scattered-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
}

/* Image 1 - Your portrait, BIGGER and in FRONT with YELLOW border */
.scattered-image.image-1 {
  width: 380px;
  height: 480px;
  top: 20px;
  right: -20px;
  z-index: 4;
}

.scattered-image.image-1 img {
  border: 3px solid var(--yellow);
  box-shadow: 4px 6px 0 0 var(--purple);
}

.scattered-image.image-1:hover {
  transform: translateY(-5px);
}

/* Image 2 - AI image, BEHIND with PURPLE border */
.scattered-image.image-2 {
  width: 280px;
  height: 350px;
  bottom: 20px;
  left: 0;
  z-index: 2;
}

.scattered-image.image-2 img {
  border: 3px solid var(--purple);
  box-shadow: 4px 6px 0 0 var(--black);
  object-position: top center;
}

.scattered-image.image-2:hover {
  transform: translateY(-5px);
}

/* Hero CTA Button - Left aligned below subtitle */
.hero-cta {
  display: inline-block;
  width: fit-content;
  margin: var(--space-md) 0 0 0;
  padding: 1rem 2rem;
  background: var(--yellow);
  color: var(--black);
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid var(--black);
  border-radius: 0;
  transition: all var(--duration) var(--ease);
  text-align: center;
}

.hero-cta:hover {
  background: var(--purple);
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 0 var(--black);
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gray-dark);
  border: none;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--black);
}

.hero-line {
  display: block;
}

/* Yellow background highlight - bottom half like highlighter marker */
.hero-line.highlight {
  display: inline;
  background: linear-gradient(to top, var(--yellow) 50%, transparent 50%);
  color: var(--black);
  font-style: italic;
  padding: 0 0.1em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-subtitle {
  max-width: 500px;
  margin: var(--space-md) 0 0 0;
  font-size: 1.1rem;
  color: var(--gray-dark);
  text-align: left;
  line-height: 1.6;
}

.hero-subtitle strong {
  color: var(--black);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

/* ===============================================
   SECTION COMMON
   =============================================== */
.section-number {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--purple);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ===============================================
   WHY SECTION - Dashboard Hero Split Layout
   =============================================== */
.why-section {
  padding: var(--space-xl) var(--space-md);
  border-top: 3px solid var(--yellow);
}

.why-container {
  max-width: 1400px;
  margin: 0 auto;
}

.why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.why-content {
  padding-right: var(--space-md);
}

.why-header {
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.why-section .section-number {
  background: var(--yellow);
  color: var(--black);
  padding: 0.5rem 1rem;
  font-weight: 700;
}

.why-section .section-title {
  color: var(--yellow);
}

/* Why List - Readable Items */
.why-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.why-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  border-left: 3px solid var(--purple);
  background: rgba(255, 255, 255, 0.02);
  transition: all var(--duration) var(--ease);
}

.why-item:hover {
  border-left-color: var(--yellow);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(8px);
}

.why-item-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--purple);
  min-width: 40px;
}

.why-item:hover .why-item-number {
  color: var(--yellow);
}

.why-item-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.why-item-content p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.6;
}

/* Metric Highlights */
.why-item-content .metric {
  background: var(--yellow);
  color: var(--black);
  padding: 0.1em 0.4em;
  font-weight: 700;
}

/* Terminal Decoration */
.why-terminal {
  background: #1e1e2e;
  border: 2px solid var(--purple);
  box-shadow: 8px 8px 0 0 var(--yellow);
  overflow: hidden;
}

.terminal-header {
  background: #2d2d3d;
  padding: 0.75rem var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.terminal-title {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--gray);
}

.terminal-buttons {
  display: flex;
  gap: 6px;
}

.term-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.term-yellow {
  background: var(--yellow);
}

.term-green {
  background: #a6e3a1;
}

.term-gray {
  background: var(--gray);
}

.terminal-body {
  padding: var(--space-md);
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.8;
}

.term-line {
  margin-bottom: 0.5rem;
}

.term-prompt {
  color: #89b4fa;
}

.term-output {
  color: var(--white);
  padding-left: 1rem;
}

.term-output.dim {
  color: var(--gray);
  font-size: 0.8rem;
  margin-bottom: var(--space-sm);
}

.term-code {
  color: #f9e2af;
  padding-left: 1rem;
  margin: var(--space-sm) 0;
  font-size: 0.8rem;
  line-height: 1.5;
}

.term-cursor {
  color: var(--yellow);
  animation: blink 1s step-end infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Stats Boxes */
.why-stats {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  justify-content: flex-start;
}

.stat-box {
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  min-width: 130px;
  transition: transform var(--duration) var(--ease);
}

.stat-box:hover {
  transform: translateY(-3px);
}

.stat-purple {
  background: var(--purple);
  color: var(--black);
  border: 2px solid var(--black);
}

.stat-outline {
  border: 2px solid var(--gray-border);
  color: var(--white);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
  opacity: 0.8;
}

/* Right: Terminal */
.why-terminal {
  background: #1e1e2e;
  border: 2px solid var(--yellow);
  box-shadow: 6px 6px 0 0 var(--purple);
  overflow: hidden;
}

.terminal-header {
  background: #2d2d3d;
  padding: 0.75rem var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.terminal-title {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--gray);
}

.terminal-buttons {
  display: flex;
  gap: 6px;
}

.term-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.term-yellow {
  background: var(--yellow);
}

.term-green {
  background: #a6e3a1;
}

.term-gray {
  background: var(--gray);
}

.terminal-body {
  padding: var(--space-md);
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.8;
}

.term-line {
  margin-bottom: 0.5rem;
}

.term-prompt {
  color: #89b4fa;
}

.term-output {
  color: var(--white);
  margin-bottom: var(--space-sm);
  padding-left: 1rem;
}

.term-skills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs);
  padding-left: 1rem;
  margin-bottom: var(--space-sm);
}

.term-skill {
  display: block;
  color: #f9e2af;
}

.term-skill.skill-alt {
  color: var(--purple);
}

/* ===============================================
   ACHIEVEMENTS SECTION - 5-Column Qrates Style
   =============================================== */
.achievements-section {
  padding: 0;
}

.achievements-container {
  max-width: none;
  margin: 0;
}

.achievements-header {
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}

/* 5-Column Cards Grid */
.achievements-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.achieve-card {
  padding: var(--space-lg);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  transition: transform var(--duration) var(--ease);
}

.achieve-card:hover {
  transform: scale(0.98);
}

.achieve-badge {
  display: inline-block;
  width: fit-content;
  margin: 0 auto var(--space-md);
  padding: 0.4rem 1rem;
  border: 1px solid currentColor;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.achieve-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.achieve-card p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.5;
}

/* Color Variations */
.achieve-yellow {
  background: var(--yellow);
  color: var(--black);
}

.achieve-purple {
  background: var(--purple);
  color: var(--black);
}

.achieve-olive {
  background: var(--olive);
  color: var(--white);
}

.achieve-black {
  background: var(--black);
  color: var(--white);
}

.achieve-white {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--black);
}

/* ===============================================
   WORK/EXPERIENCE SECTION - Accordions (WHITE)
   =============================================== */
.work-section {
  padding: var(--space-xl) var(--space-md);
}

.work-container {
  max-width: 1000px;
  margin: 0 auto;
}

.work-header {
  margin-bottom: var(--space-lg);
}

.process-accordions {
  display: flex;
  flex-direction: column;
}

.process-accordion {
  border-bottom: 1px solid var(--gray-border-dark);
}

.section-white .process-accordion {
  border-color: var(--gray-border-dark);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  background: transparent;
  border: none;
  color: inherit;
  text-align: left;
  transition: all var(--duration) var(--ease);
}

.accordion-trigger:hover {
  padding-left: var(--space-sm);
}

.section-white .accordion-trigger:hover .accordion-number {
  color: var(--purple);
}

.accordion-number {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray);
  min-width: 50px;
  transition: color var(--duration) var(--ease);
}

.accordion-title {
  flex: 1;
  font-size: 1.25rem;
  font-weight: 600;
}

.accordion-arrow {
  transition: transform var(--duration) var(--ease);
  color: var(--gray);
}

.process-accordion.active .accordion-arrow {
  transform: rotate(180deg);
  color: var(--purple);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.process-accordion.active .accordion-panel {
  max-height: 400px;
}

.accordion-content {
  padding: 0 0 var(--space-md) 60px;
}

.accordion-content p {
  color: var(--gray);
  margin-bottom: var(--space-sm);
}

.accordion-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xs);
}

.accordion-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--gray);
  font-size: 0.875rem;
}

.accordion-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--purple);
}

/* ===============================================
   PROJECTS SECTION - Cards Grid (BLACK)
   =============================================== */
.projects-section {
  padding: var(--space-xl) var(--space-md);
}

.projects-container {
  max-width: 1400px;
  margin: 0 auto;
}

.projects-header {
  margin-bottom: var(--space-lg);
}

.projects-toggle {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.toggle-btn {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid var(--gray-border);
  color: var(--gray);
  border-radius: 0;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--duration) var(--ease);
}

.toggle-btn:hover,
.toggle-btn.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.projects-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.project-card {
  padding: var(--space-md);
  background: var(--gray-dark);
  border: 1px solid var(--gray-border);
  border-radius: 0;
  /* Sharp corners - Qrates style */
  transition: all var(--duration) var(--ease);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple);
}

.project-featured {
  grid-column: span 1;
  background: linear-gradient(135deg, rgba(255, 248, 4, 0.05), rgba(226, 128, 255, 0.05));
  border-color: rgba(255, 248, 4, 0.3);
}

.project-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.project-year {
  font-size: 0.75rem;
  color: var(--gray);
}

.project-badge {
  padding: 0.25rem 0.75rem;
  background: var(--yellow);
  color: var(--black);
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.project-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.project-card p {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: var(--space-sm);
}

.project-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.metric {
  padding: 0.25rem 0.75rem;
  background: rgba(255, 248, 4, 0.1);
  border: 1px solid rgba(255, 248, 4, 0.3);
  border-radius: 0;
  /* Sharp corners - Qrates style */
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--yellow);
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.project-stack span {
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0;
  /* Sharp corners - Qrates style */
  font-size: 0.7rem;
  color: var(--gray);
}

/* ===============================================
   PROJECTS ACCORDION STYLES (BLACK)
   =============================================== */
.projects-accordions {
  display: flex;
  flex-direction: column;
}

.project-accordion {
  border-bottom: 1px solid var(--gray-border);
}

.project-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  background: transparent;
  border: none;
  color: inherit;
  text-align: left;
  transition: all var(--duration) var(--ease);
}

.project-accordion-trigger:hover {
  padding-left: var(--space-sm);
}

.project-accordion-trigger:hover .project-date {
  color: var(--yellow);
}

.project-date {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray);
  min-width: 80px;
  transition: color var(--duration) var(--ease);
}

.project-title {
  flex: 1;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}

.project-highlights {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.highlight-tag {
  padding: 0.25rem 0.75rem;
  background: var(--yellow);
  color: var(--black);
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.project-accordion .accordion-arrow {
  transition: transform var(--duration) var(--ease);
  color: var(--gray);
}

.project-accordion.active .accordion-arrow {
  transform: rotate(180deg);
  color: var(--yellow);
}

.project-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.project-accordion.active .project-accordion-panel {
  max-height: 300px;
}

.project-accordion-content {
  padding: 0 0 var(--space-md) 100px;
}

.project-accordion-content p {
  color: var(--gray);
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
  line-height: 1.6;
}

.project-accordion-content .project-stack {
  margin-top: var(--space-sm);
}

/* ===============================================
   LEADERSHIP SECTION (WHITE)
   =============================================== */
.leadership-section {
  padding: var(--space-xl) var(--space-md);
}

.leadership-container {
  max-width: 1400px;
  margin: 0 auto;
}

.leadership-header {
  margin-bottom: var(--space-lg);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.leadership-card {
  padding: var(--space-md);
  background: var(--gray-dark);
  border: 1px solid var(--gray-border);
  border-radius: 0;
  /* Sharp corners - Qrates style */
  transition: all var(--duration) var(--ease);
}

.leadership-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(226, 128, 255, 0.2);
  border-color: var(--purple);
}

.leadership-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.leadership-org {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: var(--space-sm);
}

.leadership-card p:last-child {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ===============================================
   SKILLS SECTION (WHITE) - Qrates Card Style
   =============================================== */
.skills-section {
  padding: var(--space-xl) var(--space-md);
  border-top: 3px solid var(--yellow);
}

.skills-container {
  max-width: 1200px;
  margin: 0 auto;
}

.skills-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.skills-header .section-number {
  display: inline-block;
  background: var(--purple);
  color: var(--black);
  padding: 0.3rem 0.8rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.skills-header .section-title {
  margin-bottom: var(--space-sm);
}

/* Yellow background highlight on title with border and shadow - like reference */
.title-highlight {
  background: var(--yellow);
  color: var(--black);
  padding: 0.3em 0.8em;
  display: inline-block;
  border: 3px solid var(--black);
  box-shadow: 6px 6px 0 0 var(--black);
  font-weight: 900;
}

.skills-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 500px;
  margin: 0 auto;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

/* Skill Card - Reference Style */
.skill-card {
  background: var(--white);
  border: 2px solid var(--black);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: all var(--duration) var(--ease);
  position: relative;
}

.skill-card:hover {
  transform: translateY(-4px) translateX(-2px);
}

/* Color variations with offset shadow bar */
.skill-card-magenta {
  box-shadow: 6px 6px 0 0 var(--purple);
}

.skill-card-yellow {
  box-shadow: 6px 6px 0 0 var(--yellow);
}

.skill-card-black {
  box-shadow: 6px 6px 0 0 var(--olive);
}

.skill-card-dark {
  box-shadow: 6px 6px 0 0 var(--gray-dark);
}

.skill-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-sm);
}

.skill-icon svg,
.skill-icon img {
  width: 100%;
  height: 100%;
  fill: var(--black);
  object-fit: contain;
}

.skill-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: var(--space-xs);
}

.skill-description {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ===============================================
   EDUCATION SECTION (WHITE)
   =============================================== */
.education-section {
  padding: var(--space-lg) var(--space-md);
}

.education-container {
  max-width: 1400px;
  margin: 0 auto;
}

.education-content {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.education-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.education-degree {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple);
}

.education-school {
  font-size: 1.25rem;
  font-weight: 600;
}

.education-year {
  font-size: 1rem;
  color: var(--gray);
}

/* Education Layout - Split with Scattered Photos */
.education-layout {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.education-text {
  padding-right: var(--space-lg);
}

.education-details {
  margin-top: var(--space-md);
}

.education-grid-layout {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.education-logo-wrapper {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.education-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.education-degree {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: var(--space-xs);
}

.education-school {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.education-year {
  font-size: 1rem;
  color: var(--gray);
}

/* Leadership & Activities within Education */
.education-activities {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--gray-border);
}

.activities-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: var(--space-md);
}

/* Scattered Photo Gallery */
.education-gallery {
  position: relative;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.edu-photo {
  position: absolute;
  overflow: visible;
  transition: transform 0.5s var(--ease);
}

.edu-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Photo 1 - Main photo with yellow border */
.edu-photo-1 {
  width: 300px;
  height: 350px;
  top: 20px;
  right: 20px;
  z-index: 3;
}

.edu-photo-1 img {
  border: 3px solid var(--yellow);
  box-shadow: 4px 6px 0 0 var(--purple);
}

.edu-photo-1:hover {
  transform: translateY(-5px);
}

/* Photo 2 - Second photo with purple border */
.edu-photo-2 {
  width: 260px;
  height: 320px;
  bottom: 30px;
  left: 40px;
  z-index: 2;
}

.edu-photo-2 img {
  border: 3px solid var(--purple);
  box-shadow: 4px 6px 0 0 var(--black);
}

.edu-photo-2:hover {
  transform: translateY(-5px);
}

/* ===============================================
   CTA SECTION (BLACK)
   =============================================== */
.cta-section {
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-images {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.cta-solo-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border: 3px solid var(--yellow);
  box-shadow: 6px 6px 0 0 var(--purple);
  animation: cta-float 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.cta-solo-image:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 8px 8px 0 0 var(--yellow);
  border-color: var(--purple);
}

/* Responsive Solo image */
@media (max-width: 768px) {
  .cta-solo-image {
    max-width: 350px;
    box-shadow: 4px 4px 0 0 var(--purple);
  }

  .cta-solo-image:hover {
    box-shadow: 6px 6px 0 0 var(--yellow);
  }
}

@media (max-width: 480px) {
  .cta-solo-image {
    max-width: 280px;
    border-width: 2px;
  }
}

.cta-images {
  margin-bottom: var(--space-md);
}

@keyframes cta-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.cta-title {
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--yellow);
  color: var(--black);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0;
  transition: all var(--duration) var(--ease);
}

.cta-button:hover {
  background: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(226, 128, 255, 0.3);
}

/* ===============================================
   FOOTER (WHITE)
   =============================================== */
.footer {
  padding: var(--space-xl) var(--space-md) var(--space-md);
  border-top: 1px solid var(--gray-border-dark);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--gray-border-dark);
}

.footer-logo {
  font-size: 2rem;
  font-weight: 900;
  display: block;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  color: var(--gray);
  max-width: 300px;
}

.footer-contact h4,
.footer-social h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray);
  margin-bottom: var(--space-sm);
}

.footer-email {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--black);
  transition: color var(--duration) var(--ease);
}

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

.footer-phone {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: var(--space-xs);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.social-links a {
  color: var(--gray);
  transition: color var(--duration) var(--ease);
}

.social-links a:hover {
  color: var(--purple);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--gray);
}

.footer-credit a {
  color: var(--purple);
}


/* ===============================================
   RESPONSIVE
   =============================================== */
@media (max-width: 1200px) {
  .projects-grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Achievement cards responsive */
  .achievements-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .achieve-card {
    min-height: 280px;
  }
}

@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }


  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .education-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .education-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .achievements-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hero tablet adjustment */
  .hero-split {
    gap: var(--space-md);
  }

  .hero-images-scattered {
    height: 500px;
  }

  .scattered-image.image-1 {
    width: 280px;
    height: 350px;
  }

  .scattered-image.image-2 {
    width: 220px;
    height: 280px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
  }

  /* Education tablet */
  .education-layout {
    gap: var(--space-md);
  }

  .edu-photo-1 {
    width: 250px;
    height: 300px;
  }

  .edu-photo-2 {
    width: 220px;
    height: 270px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }


  .hero {
    padding: calc(var(--space-lg) + 60px) var(--space-sm) var(--space-lg);
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: center;
  }

  .hero-content {
    text-align: center;
    order: 2;
  }

  .hero-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    margin-left: auto;
    margin-right: auto;
  }

  /* Scattered images responsive */
  .hero-images-scattered {
    order: 1;
    height: 350px;
    width: 100%;
  }

  .scattered-image.image-1 {
    width: 180px;
    height: 230px;
    top: 0;
    right: 5%;
  }

  .scattered-image.image-2 {
    width: 160px;
    height: 200px;
    bottom: 10px;
    left: 5%;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  /* Why Section Mobile */
  .why-section {
    padding: var(--space-lg) var(--space-sm);
  }

  .why-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }

  .why-list {
    gap: var(--space-sm);
  }

  .why-item {
    padding: var(--space-sm);
  }

  .why-item-number {
    font-size: 1.25rem;
    min-width: 30px;
  }

  .why-item-content h3 {
    font-size: 1.1rem;
  }

  .why-item-content p {
    font-size: 0.9rem;
  }

  .why-stats {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-box {
    padding: var(--space-sm) var(--space-md);
    min-width: 100px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.6rem;
  }

  .accordion-trigger {
    gap: var(--space-sm);
  }

  .accordion-title {
    font-size: 1rem;
  }

  .accordion-content {
    padding-left: 0;
  }

  .accordion-list {
    grid-template-columns: 1fr;
  }

  .projects-toggle {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .toggle-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .projects-grid-cards {
    grid-template-columns: 1fr;
  }

  /* Project Accordion Mobile */
  .project-accordion-trigger {
    flex-wrap: wrap;
    gap: var(--space-xs);
  }

  .project-date {
    min-width: 70px;
    font-size: 0.75rem;
  }

  .project-title {
    font-size: 1rem;
    flex-basis: 100%;
    order: 3;
    margin-top: var(--space-xs);
  }

  .project-highlights {
    flex-basis: auto;
    order: 2;
    flex-wrap: nowrap;
  }

  .highlight-tag {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
  }

  .project-accordion-content {
    padding-left: var(--space-sm);
  }

  .project-accordion-content p {
    font-size: 0.875rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .achievements-cards {
    grid-template-columns: 1fr;
  }

  .achieve-card {
    min-height: 200px;
    padding: var(--space-md);
  }

  /* Education gallery responsive */
  .education-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .education-text {
    padding-right: 0;
  }

  .education-gallery {
    height: 350px;
  }

  .edu-photo-1 {
    width: 170px;
    height: 210px;
    top: 10px;
    right: 10%;
  }

  .edu-photo-2 {
    width: 150px;
    height: 190px;
    bottom: 10px;
    left: 10%;
  }
}

/* ===============================================
   SPLASH SCREEN - Fun Intro
   =============================================== */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
  transition: opacity 0.8s ease, visibility 0.8s ease;
  overflow: hidden;
}

.splash-screen.hiding {
  opacity: 0;
  visibility: hidden;
}

.splash-screen.hidden {
  display: none;
}

/* Background pattern */
.splash-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 20%, var(--purple) 1px, transparent 1px),
    radial-gradient(circle at 80% 80%, var(--yellow) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.15;
  animation: patternDrift 20s linear infinite;
}

@keyframes patternDrift {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(60px, 60px);
  }
}

/* Content container */
.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  animation: contentFloat 3s ease-in-out infinite;
}

@keyframes contentFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Photo wrapper with effects */
.splash-photo-wrapper {
  position: relative;
  margin-bottom: var(--space-md);
}

.splash-photo {
  width: 340px;
  height: 340px;
  object-fit: cover;
  border-radius: 0;
  border: 4px solid var(--yellow);
  box-shadow:
    0 20px 60px rgba(255, 248, 4, 0.3),
    8px 8px 0 0 var(--purple);
  animation: photoWobble 4s ease-in-out infinite;
}

@keyframes photoWobble {

  0%,
  100% {
    transform: rotate(-2deg) scale(1);
  }

  25% {
    transform: rotate(1deg) scale(1.02);
  }

  50% {
    transform: rotate(-1deg) scale(1);
  }

  75% {
    transform: rotate(2deg) scale(1.01);
  }
}

/* Text styling */
.splash-text {
  margin-bottom: var(--space-lg);
}

.splash-greeting {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
  animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {

  0%,
  100% {
    text-shadow: 0 0 20px rgba(255, 248, 4, 0.3);
  }

  50% {
    text-shadow: 0 0 40px rgba(255, 248, 4, 0.6);
  }
}

.splash-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--gray);
  font-weight: 500;
  max-width: 400px;
  margin: 0 auto;
}

/* Enter button */
.splash-enter-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 1rem 2.5rem;
  background: var(--yellow);
  color: var(--black);
  border: 3px solid var(--black);
  border-radius: 0;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  box-shadow: 4px 4px 0 0 var(--purple);
}

.splash-enter-btn:hover {
  background: var(--purple);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 var(--yellow);
}

.splash-enter-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 0 var(--purple);
}

.splash-enter-btn svg {
  transition: transform 0.3s var(--ease);
}

.splash-enter-btn:hover svg {
  transform: translateX(5px);
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .splash-photo {
    width: 300px;
    height: 300px;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .splash-photo {
    width: 260px;
    height: 260px;
  }

  .splash-enter-btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
  .splash-photo {
    width: 220px;
    height: 220px;
    border-width: 3px;
  }

  .splash-text {
    margin-bottom: var(--space-md);
  }

  .splash-tagline {
    max-width: 280px;
    padding: 0 var(--space-sm);
  }

  .splash-enter-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}