/* ==================== ROOT & VARIABLES ==================== */
:root {
  color-scheme: dark;

  /* Colors - Professional Blue, White, Dark Gray */
  --primary: #3b82f6;
  --primary-dark: #1e40af;
  --primary-light: #60a5fa;
  --secondary: #06b6d4;
  --accent: #7c3aed;
  --success: #10b981;
  
  /* Backgrounds */
  --bg: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  
  /* Glass/Surface - Glassmorphism */
  --glass-light: rgba(148, 163, 184, 0.1);
  --glass-medium: rgba(148, 163, 184, 0.15);
  --glass-dark: rgba(15, 23, 42, 0.4);
  
  /* Text Colors */
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-faint: #64748b;
  
  /* Borders */
  --border: rgba(148, 163, 184, 0.2);
  --border-light: rgba(148, 163, 184, 0.1);
  
  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 64px rgba(0, 0, 0, 0.35);
  --shadow-xl: 0 25px 80px rgba(0, 0, 0, 0.45);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Container */
  --container: 1280px;
  --container-width: 100%;
  
  /* Animations */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}


/* ==================== GLOBAL STYLES ==================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 0%, rgba(124, 58, 237, 0.12) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: -0.01em;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-md);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-down {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

/* Animation utility classes */
/* Longhand properties used deliberately: var() inside the `animation` shorthand's
   duration slot fails to parse in some Chromium builds, silently dropping the whole
   declaration (animation-name: none) and leaving content stuck at opacity: 0. */
[data-animate="fade-in"] {
  animation-name: fade-in;
  animation-duration: var(--transition-base);
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  opacity: 0;
}

[data-animate="fade-in-up"] {
  animation-name: fade-in-up;
  animation-duration: var(--transition-base);
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  opacity: 0;
}

[data-animate="fade-in-down"] {
  animation-name: fade-in-down;
  animation-duration: var(--transition-base);
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  opacity: 0;
}

/* Stagger animation for multiple elements */
[data-animate="fade-in-up"]:nth-child(1) { animation-delay: 0ms; }
[data-animate="fade-in-up"]:nth-child(2) { animation-delay: 100ms; }
[data-animate="fade-in-up"]:nth-child(3) { animation-delay: 200ms; }
[data-animate="fade-in-up"]:nth-child(4) { animation-delay: 300ms; }
[data-animate="fade-in-up"]:nth-child(5) { animation-delay: 400ms; }
[data-animate="fade-in-up"]:nth-child(n+6) { animation-delay: 500ms; }

/* ==================== ACCESSIBILITY ==================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-100%);
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
  border-radius: var(--radius-md);
}

.skip-link:focus {
  top: 10px;
  left: 10px;
  transform: translateY(0);
}

/* Focus visible for keyboard navigation */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
}

h2 {
  font-size: clamp(1.875rem, 5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

h4 {
  font-size: 1.125rem;
}

h5, h6 {
  font-size: 1rem;
}

p {
  margin: 0;
}

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

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

/* ==================== LAYOUT UTILITIES ==================== */
.container {
  width: min(100% - 2rem, var(--container));
  margin-left: auto;
  margin-right: auto;
}

.background-animation {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ==================== GLASS MORPHISM ==================== */
.glass-card {
  background: var(--glass-light);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: inherit;
  pointer-events: none;
}

/* ==================== HEADER & NAVIGATION ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, var(--glass-dark) 0%, transparent 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

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

.brand__text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.nav__toggle:hover {
  background: var(--glass-light);
  border-color: var(--border);
}

.nav__toggleBars {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: all var(--transition-base);
}

.nav__toggleBars::before,
.nav__toggleBars::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: all var(--transition-base);
}

.nav__toggleBars::before {
  margin-bottom: 5px;
}

.nav__toggleBars::after {
  margin-top: 5px;
}

.nav__toggle[aria-expanded="true"] .nav__toggleBars {
  background: transparent;
}

.nav__toggle[aria-expanded="true"] .nav__toggleBars::before {
  transform: rotate(45deg) translate(7px, 7px);
  margin-bottom: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggleBars::after {
  transform: rotate(-45deg) translate(6px, -6px);
  margin-top: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__link {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.nav__link:hover {
  color: var(--text-primary);
  background: var(--glass-light);
  border-color: var(--border);
}

.nav__link--cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-color: transparent;
}

.nav__link--cta:hover {
  filter: brightness(1.1);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 1rem 0;
    background: var(--glass-dark);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__link {
    width: 100%;
    border-radius: 0;
    padding: 0.75rem 1rem;
    border: 1px solid transparent;
  }
}


/* ==================== BUTTONS ==================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.button--primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: var(--shadow-md);
}

.button--primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  filter: brightness(1.08);
}

.button--secondary {
  background: var(--glass-light);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.button--secondary:hover:not(:disabled) {
  background: var(--glass-medium);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.button--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.button--ghost:hover:not(:disabled) {
  background: var(--glass-light);
  border-color: var(--primary);
  color: var(--primary);
}

.button--outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.button--outline:hover:not(:disabled) {
  background: var(--primary);
  color: white;
}

/* ==================== HERO SECTION ==================== */
.hero {
  padding: 6rem 0 4rem;
  position: relative;
  z-index: 1;
}

.hero__wrapper {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero__content {
  flex: 1;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-full);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.hero__title {
  margin-bottom: 1rem;
  line-height: 1.1;
  color: var(--text-primary);
}

.hero__title .gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.hero__subtitle .dot {
  color: var(--primary);
  margin: 0 0.15em;
  font-weight: 400;
}

.hero__description {
  max-width: 50ch;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  align-items: center;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat {
  text-align: left;
}

.stat__number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 0.5rem;
}

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

/* ==================== SECTIONS ==================== */
.section {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  scroll-margin-top: 80px;
}

.section__header {
  margin-bottom: 3rem;
  text-align: center;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.section__title {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 500;
}

/* About Section */
.about-section {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
  border-radius: var(--radius-xl);
}

.about-intro {
  max-width: 68ch;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.about-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--glass-light) 0%, rgba(6, 182, 212, 0.08) 100%);
}

.about-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.12) 100%);
}

.about-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: inline-block;
}

.about-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.about-highlight {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(59, 130, 246, 0.3);
  text-align: center;
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.about-highlight strong {
  color: var(--primary);
  font-weight: 700;
}

/* Skills Section */
.skills-section {
  background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.05) 100%);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.skills-grid--categories {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.skill-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--glass-light) 0%, rgba(6, 182, 212, 0.08) 100%);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.skill-card:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.12) 100%);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.skill-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 1rem;
  transition: transform var(--transition-base);
}

.skill-card:hover .skill-card__icon {
  transform: scale(1.08) rotate(-4deg);
  color: var(--secondary);
}

.skill-card__title {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.skill-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.85rem;
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary-light);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.25);
  transition: all var(--transition-fast);
}

.skill-pill:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--primary);
}

.skill-pill--featured {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(6, 182, 212, 0.32));
  border-color: var(--primary);
  color: var(--text-primary);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35);
}

.skill-pill__star {
  color: #fbbf24;
  font-size: 0.8rem;
}

/* Certifications Section */
.certifications-section {
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.05) 0%, transparent 100%);
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.cert-card {
  --cert-accent: var(--secondary);
  padding: 2rem;
  padding-top: 2.25rem;
  position: relative;
  border: 1px solid var(--border);
  border-top: 3px solid var(--cert-accent);
  background: linear-gradient(135deg, var(--glass-light), rgba(6, 182, 212, 0.08));
  transition: all var(--transition-base);
}

.cert-card:hover {
  transform: translateY(-8px);
  border-color: var(--cert-accent);
  border-top-color: var(--cert-accent);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(59, 130, 246, 0.1));
}

.cert-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  font-size: 1.75rem;
  color: var(--cert-accent);
  background: color-mix(in srgb, var(--cert-accent) 15%, transparent);
  margin-bottom: 1rem;
  text-shadow: 0 0 20px color-mix(in srgb, var(--cert-accent) 40%, transparent);
}

.cert-card--istqb { --cert-accent: #3b82f6; }
.cert-card--aws { --cert-accent: #ff9900; }
.cert-card--oracle { --cert-accent: #f80000; }
.cert-card--spring { --cert-accent: #6db33f; }

.cert-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.cert-card__subtitle {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.cert-card__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}


/* Experience Section */
.experience-section {
  background: linear-gradient(180deg, transparent 0%, rgba(124, 58, 237, 0.03) 100%);
}

.experience-timeline {
  display: grid;
  gap: 2rem;
  position: relative;
}

.experience-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
}

.timeline-item {
  position: relative;
  margin-left: 80px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -60px;
  top: 24px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--primary);
}

.timeline-content {
  padding: 2rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--glass-light), rgba(59, 130, 246, 0.08));
  position: relative;
  overflow: hidden;
}

.timeline-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.timeline-content:hover {
  border-color: var(--primary);
  transform: translateX(8px);
}

.timeline-content > * {
  position: relative;
  z-index: 1;
}

.timeline-header {
  margin-bottom: 1rem;
}

.timeline-role {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

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

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.timeline-date,
.timeline-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-date i,
.timeline-location i {
  color: var(--primary);
}

.timeline-bullets {
  margin: 0;
  padding-left: 1.5rem;
  list-style: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.timeline-bullets li {
  position: relative;
  margin-bottom: 0.75rem;
}

.timeline-bullets li::before {
  content: '▸';
  position: absolute;
  left: -1rem;
  color: var(--primary);
  font-weight: bold;
}

/* Projects Section */
.projects-section {
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.05) 0%, transparent 100%);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  padding: 2rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--glass-light), rgba(6, 182, 212, 0.08));
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.project-card:hover {
  transform: translateY(-12px);
  border-color: var(--secondary);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(59, 130, 246, 0.1));
}

.project-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.project-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.1);
  color: var(--secondary);
  font-size: 1.5rem;
}

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

.project-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.project-tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  margin-top: auto;
}

.project-link:hover {
  gap: 0.75rem;
  color: var(--secondary);
}

.project-link--soon {
  color: var(--text-muted);
  cursor: default;
}

.project-link--soon:hover {
  gap: 0.5rem;
  color: var(--text-muted);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(6, 182, 212, 0.05));
  border-radius: var(--radius-xl);
}

.contact-content {
  display: grid;
  gap: 2rem;
}

.contact-card {
  padding: 2rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--glass-light), rgba(59, 130, 246, 0.1));
}

.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.contact-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--glass-light);
  transition: all var(--transition-fast);
}

.contact-method:hover {
  background: var(--glass-medium);
  border-color: var(--primary);
  transform: translateX(4px);
}

.contact-method i {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-method__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-method__value {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.contact-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.contact-note i {
  color: var(--success);
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.8) 100%);
  border-top: 1px solid var(--border-light);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

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

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer__line {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer__line--main {
  color: var(--text-secondary);
  font-weight: 700;
}

.footer__line--muted {
  color: var(--text-faint);
  font-size: 0.8rem;
}

.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer__top:hover {
  background: var(--glass-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
  .hero__wrapper {
    flex-direction: column;
    gap: 2rem;
  }

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

  .skills-grid,
  .certifications-grid,
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .experience-timeline::before {
    left: 20px;
  }

  .timeline-item::before {
    left: -52px;
  }

  .timeline-item {
    margin-left: 60px;
  }
}

@media (max-width: 768px) {
  :root {
    --container: 100%;
  }

  .container {
    width: calc(100% - 1.5rem);
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section__header {
    margin-bottom: 2rem;
  }

  .hero__cta-group {
    gap: 0.75rem;
  }

  .button {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
  }

  .button i {
    font-size: 0.85rem;
  }

  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .stat__number {
    font-size: 1.75rem;
  }

  .stat__label {
    font-size: 0.8rem;
  }

  .about-content,
  .skills-grid,
  .certifications-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .about-card,
  .cert-card,
  .project-card,
  .contact-card {
    padding: 1.5rem;
  }

  .about-icon {
    font-size: 1.75rem;
  }

  .cert-card__icon {
    font-size: 2rem;
  }

  .project-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .experience-timeline::before {
    left: 16px;
  }

  .timeline-item {
    margin-left: 50px;
  }

  .timeline-item::before {
    left: -44px;
    width: 16px;
    height: 16px;
  }

  .timeline-content {
    padding: 1.5rem;
  }

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

  .hero__title {
    font-size: 2rem;
  }

  .section__title {
    font-size: 1.75rem;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 1rem);
  }

  .hero {
    padding: 3rem 0 2rem;
  }

  .section {
    padding: 2rem 0;
  }

  .hero__eyebrow {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  .hero__title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .hero__subtitle {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .hero__description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

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

  .button {
    width: 100%;
    padding: 0.75rem 1rem;
    justify-content: center;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    border-top: none;
    padding-top: 0;
    margin-top: 2rem;
  }

  .stat {
    text-align: center;
  }

  .section__header {
    margin-bottom: 1.5rem;
  }

  .section__title {
    font-size: 1.4rem;
  }

  .section__subtitle {
    font-size: 0.95rem;
  }

  .skill-card,
  .about-card,
  .cert-card,
  .project-card,
  .contact-card {
    padding: 1rem;
  }

  .skill-card__icon {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
  }

  .skill-card__title {
    font-size: 0.95rem;
  }

  .skill-pill {
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
  }

  .about-icon {
    font-size: 1.5rem;
  }

  .about-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
  }

  .about-card p {
    font-size: 0.9rem;
  }

  .cert-card__icon {
    font-size: 1.75rem;
  }

  .cert-card__title {
    font-size: 1rem;
  }

  .cert-card__subtitle {
    font-size: 0.85rem;
  }

  .cert-card__desc {
    font-size: 0.9rem;
  }

  .project-header {
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .project-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

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

  .project-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .project-tags {
    gap: 0.4rem;
    margin-bottom: 1rem;
  }

  .project-tag {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
  }

  .timeline-role {
    font-size: 1rem;
  }

  .timeline-company {
    font-size: 0.9rem;
  }

  .timeline-meta {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }

  .timeline-bullets {
    font-size: 0.9rem;
    padding-left: 1rem;
  }

  .contact-method {
    padding: 0.75rem;
    gap: 0.75rem;
  }

  .contact-method i {
    font-size: 1.25rem;
  }

  .contact-method__label {
    font-size: 0.7rem;
  }

  .contact-method__value {
    font-size: 0.9rem;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer__line,
  .footer__top {
    font-size: 0.85rem;
  }
}

/* Print Styles */
@media print {
  .nav__toggle,
  .site-header,
  .site-footer,
  .contact-section {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .glass-card,
  .button,
  .project-tag {
    border: 1px solid #ccc;
    box-shadow: none;
  }
}

