/* ===================================================================
   RAYMOND ARIWOOLA — Creative & Dynamic Personal Website
   Tone: Bold, personality-forward, expressive
   =================================================================== */

/* ===========================
   0. FONTS
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ===========================
   1. THEME VARIABLES
   =========================== */

/* Navy Blue */
[data-theme="navy"] {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: rgba(30, 41, 59, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.95);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-1: #3b82f6;
  --accent-2: #06b6d4;
  --accent-gradient: linear-gradient(135deg, #3b82f6, #06b6d4);
  --hero-glow-1: rgba(59, 130, 246, 0.18);
  --hero-glow-2: rgba(6, 182, 212, 0.18);
  --hero-glow-3: rgba(59, 130, 246, 0.1);
  --border-color: rgba(148, 163, 184, 0.12);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.25);
  --nav-bg: rgba(15, 23, 42, 0.85);
  --timeline-line: rgba(59, 130, 246, 0.3);
  --badge-bg: rgba(59, 130, 246, 0.12);
  --badge-text: #60a5fa;
}

/* Dark Mode */
[data-theme="dark"] {
  --bg-primary: #09090b;
  --bg-secondary: #18181b;
  --bg-card: rgba(24, 24, 27, 0.7);
  --bg-card-hover: rgba(24, 24, 27, 0.95);
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent-1: #f43f5e;
  --accent-2: #f97316;
  --accent-gradient: linear-gradient(135deg, #f43f5e, #f97316);
  --hero-glow-1: rgba(244, 63, 94, 0.14);
  --hero-glow-2: rgba(249, 115, 22, 0.14);
  --hero-glow-3: rgba(244, 63, 94, 0.08);
  --border-color: rgba(161, 161, 170, 0.1);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --nav-bg: rgba(9, 9, 11, 0.85);
  --timeline-line: rgba(244, 63, 94, 0.3);
  --badge-bg: rgba(244, 63, 94, 0.12);
  --badge-text: #fb7185;
}

/* Light */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-card-hover: rgba(255, 255, 255, 1);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --accent-1: #6366f1;
  --accent-2: #a855f7;
  --accent-gradient: linear-gradient(135deg, #6366f1, #a855f7);
  --hero-glow-1: rgba(99, 102, 241, 0.1);
  --hero-glow-2: rgba(168, 85, 247, 0.1);
  --hero-glow-3: rgba(99, 102, 241, 0.06);
  --border-color: rgba(15, 23, 42, 0.07);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.06);
  --nav-bg: rgba(255, 255, 255, 0.85);
  --timeline-line: rgba(99, 102, 241, 0.25);
  --badge-bg: rgba(99, 102, 241, 0.08);
  --badge-text: #6366f1;
}

/* Vibrant */
[data-theme="vibrant"] {
  --bg-primary: #0c0a1a;
  --bg-secondary: #150f2d;
  --bg-card: rgba(21, 15, 45, 0.7);
  --bg-card-hover: rgba(21, 15, 45, 0.95);
  --text-primary: #f0eeff;
  --text-secondary: #b0a8d0;
  --text-muted: #7b6fa8;
  --accent-1: #ff6b35;
  --accent-2: #22d3ee;
  --accent-gradient: linear-gradient(135deg, #ff6b35, #fbbf24, #22d3ee);
  --hero-glow-1: rgba(255, 107, 53, 0.14);
  --hero-glow-2: rgba(34, 211, 238, 0.14);
  --hero-glow-3: rgba(251, 191, 36, 0.08);
  --border-color: rgba(176, 168, 208, 0.1);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
  --nav-bg: rgba(12, 10, 26, 0.85);
  --timeline-line: rgba(255, 107, 53, 0.3);
  --badge-bg: rgba(255, 107, 53, 0.12);
  --badge-text: #ff8c5a;
}

/* ===========================
   2. RESET & BASE
   =========================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

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

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

::selection {
  background: var(--accent-1);
  color: #fff;
}

/* ===========================
   3. TYPOGRAPHY
   =========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.section__label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===========================
   4. LAYOUT UTILITIES
   =========================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section--alt {
  background-color: var(--bg-secondary);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   5. SCROLL REVEAL ANIMATIONS
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal--left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal--right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal--scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.revealed {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) scale(1) !important;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===========================
   6. NAVIGATION
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.nav--scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text-primary);
}

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

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

.theme-toggle:hover {
  background: var(--bg-card-hover);
  transform: scale(1.05);
}

.theme-toggle__icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-gradient);
}

/* Theme Palette Dropdown */
.theme-palette {
  position: fixed;
  top: 70px;
  right: 24px;
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  gap: 8px;
  z-index: 1001;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-palette.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.theme-swatch {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.theme-swatch:hover {
  transform: scale(1.15);
}

.theme-swatch.active {
  border-color: var(--text-primary);
}

.theme-swatch--navy { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.theme-swatch--dark { background: linear-gradient(135deg, #f43f5e, #f97316); }
.theme-swatch--light { background: linear-gradient(135deg, #6366f1, #a855f7); }
.theme-swatch--vibrant { background: linear-gradient(135deg, #ff6b35, #fbbf24, #22d3ee); }

/* Mobile Menu Button */
.nav__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav__menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav__menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.nav__menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================
   7. HERO SECTION
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  will-change: transform;
}

.hero__shape--1 {
  width: 600px;
  height: 600px;
  background: var(--hero-glow-1);
  top: -15%;
  left: -10%;
  animation: heroFloat 25s ease-in-out infinite;
}

.hero__shape--2 {
  width: 500px;
  height: 500px;
  background: var(--hero-glow-2);
  bottom: -15%;
  right: -10%;
  animation: heroFloat 25s ease-in-out infinite;
  animation-delay: -8s;
}

.hero__shape--3 {
  width: 350px;
  height: 350px;
  background: var(--hero-glow-3);
  top: 40%;
  left: 45%;
  animation: heroFloat 25s ease-in-out infinite;
  animation-delay: -16s;
}

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, -40px) scale(1.1); }
  50% { transform: translate(-30px, 50px) scale(0.95); }
  75% { transform: translate(40px, 20px) scale(1.05); }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
}

.hero__greeting {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.hero__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.hero__title {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  min-height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.hero__cursor {
  display: inline-block;
  color: var(--accent-1);
  animation: blink 1s step-end infinite;
  font-weight: 300;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-1), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn--outline:hover {
  background: var(--bg-card);
  border-color: var(--accent-1);
  transform: translateY(-2px);
}

/* ===========================
   8. ABOUT SECTION
   =========================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about__image-wrapper {
  position: relative;
}

.about__image {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  position: relative;
  margin: 0 auto;
}

.about__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.about__image-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.4;
}

.about__image-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 16px;
  left: 16px;
  border-radius: 24px;
  border: 2px solid var(--accent-1);
  opacity: 0.2;
  z-index: -1;
}

.about__text h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 20px;
}

.about__description {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.02rem;
  line-height: 1.8;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.stat:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.stat__number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about__languages {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.about__languages-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.about__lang {
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 10px;
  background: var(--badge-bg);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.about__lang small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ===========================
   9. EXPERIENCE SECTION
   =========================== */
.experience__header {
  text-align: center;
  margin-bottom: 64px;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--timeline-line);
}

.timeline__item {
  position: relative;
  margin-bottom: 48px;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: -33px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-gradient);
  border: 3px solid var(--bg-primary);
  z-index: 1;
  box-shadow: 0 0 0 4px var(--badge-bg);
}

.timeline__card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s ease;
}

.timeline__card:hover {
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
  transform: translateX(4px);
}

.timeline__date {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--badge-text);
  background: var(--badge-bg);
  padding: 4px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.timeline__role {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline__company {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.timeline__summary {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.timeline__highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline__highlight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.timeline__highlight::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-1);
  margin-top: 8px;
}

/* ===========================
   10. SKILLS SECTION
   =========================== */
.skills__header {
  text-align: center;
  margin-bottom: 64px;
}

.skills__categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.skills__category {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s ease;
}

.skills__category:hover {
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
}

.skills__category-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--badge-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.skills__category-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.skills__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skills__tag {
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.skills__tag:hover {
  color: var(--text-primary);
  border-color: var(--accent-1);
  background: var(--badge-bg);
}

.skills__tag--featured {
  border-color: var(--accent-1);
  color: var(--text-primary);
  background: var(--badge-bg);
  font-weight: 500;
}

/* ===========================
   11. EDUCATION SECTION
   =========================== */
.education__header {
  text-align: center;
  margin-bottom: 64px;
}

.education__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.education__card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.education__card:hover {
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.education__card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
}

.education__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--badge-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.education__degree {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.education__school {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.education__status {
  font-size: 0.8rem;
  color: var(--badge-text);
  font-weight: 500;
}

.education__extras {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 40px auto 0;
}

.education__extra-group {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px 28px;
}

.education__extra-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.education__extra-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.education__extra-item {
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.education__extra-item--award {
  background: var(--badge-bg);
  border-color: var(--accent-1);
  color: var(--text-primary);
}

/* ===========================
   12. PORTFOLIO SECTION
   =========================== */
.portfolio__header {
  text-align: center;
  margin-bottom: 64px;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.portfolio__card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.portfolio__card:hover {
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.portfolio__card-image {
  width: 100%;
  height: 200px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border-bottom: 1px solid var(--border-color);
}

.portfolio__card-body {
  padding: 24px;
}

.portfolio__card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.portfolio__card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.portfolio__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.portfolio__card-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-weight: 500;
}

/* ===========================
   13. TESTIMONIALS SECTION
   =========================== */
.testimonials__header {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial__card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial__card:hover {
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
}

.testimonial__quote-icon {
  font-size: 2.5rem;
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  display: block;
}

.testimonial__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--badge-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--badge-text);
}

.testimonial__author-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial__author-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===========================
   14. CONTACT SECTION
   =========================== */
.contact__header {
  text-align: center;
  margin-bottom: 64px;
}

.contact__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact__text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.contact__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact__link:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.contact__link-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact__link-icon svg {
  width: 100%;
  height: 100%;
}

.contact__cta {
  margin-top: 8px;
}

/* ===========================
   15. FOOTER
   =========================== */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer__text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__heart {
  color: var(--accent-1);
}

/* ===========================
   16. BACK TO TOP
   =========================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

/* ===========================
   17. MOBILE MENU OVERLAY
   =========================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--text-primary);
}

/* ===========================
   18. RESPONSIVE
   =========================== */

/* Tablet */
@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .about__image {
    max-width: 300px;
  }

  .about__stats {
    max-width: 500px;
    margin: 0 auto;
  }

  .timeline {
    padding-left: 32px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .nav__links {
    display: none;
  }

  .nav__menu-btn {
    display: flex;
  }

  .hero__name {
    letter-spacing: -1px;
  }

  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .about__stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat {
    padding: 16px;
  }

  .stat__number {
    font-size: 1.6rem;
  }

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

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

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

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

  .contact__links {
    flex-direction: column;
    width: 100%;
  }

  .contact__link {
    justify-content: center;
  }

  .theme-palette {
    right: 16px;
    top: 64px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__name {
    font-size: 2.8rem;
  }

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

  .timeline {
    padding-left: 28px;
  }

  .timeline::before {
    left: 11px;
  }

  .timeline__dot {
    left: -25px;
    width: 12px;
    height: 12px;
  }

  .timeline__card {
    padding: 20px;
  }
}
