/* ===== ROOT VARIABLES ===== */
:root {
  /* Colors */
  --primary: #1e3a8a;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --secondary: #1e40af;
  --accent: #ec4899;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-light: #64748b;
  --text-white: #ffffff;
  
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #0f172a;
  --bg-card: #ffffff;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-success: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  --gradient-purple: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  --gradient-blue: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
  line-height: 1.8;
}

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

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

/* ===== LOADING SCREEN ===== */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-container {
  text-align: center;
}

.loader {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid var(--text-white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto var(--space-md);
}

.loader-text {
  color: var(--text-white);
  font-size: 1.125rem;
  font-weight: 500;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

.section-label {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(30, 64, 175, 0.1));
  border-radius: var(--radius-full);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.section-title {
  margin-bottom: var(--space-md);
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.125rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-purple);
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--text-white);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all var(--transition-base);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  padding: var(--space-md) 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav-logo .logo-text {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
}

.nav-link {
  padding: var(--space-sm) var(--space-md);
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-purple);
  transform: translateX(-50%);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 70%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-base);
  border-radius: 2px;
}

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

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

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

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: var(--text-white);
  padding: calc(80px + var(--space-4xl)) 0 var(--space-4xl);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,133.3C672,117,768,107,864,122.7C960,139,1056,181,1152,186.7C1248,192,1344,160,1392,144L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-title {
  margin-bottom: var(--space-lg);
}

.greeting {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: var(--space-sm);
  color: var(--text-white);
}

.name {
  display: block;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  line-height: 1;
  color: var(--text-white);
}

.typing-container {
  min-height: 60px;
  margin-bottom: var(--space-xl);
}

.typing-text {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  color: #ffffff;
  display: inline-block;
}

.cursor {
  animation: blink 1s infinite;
  color: #ffffff;
}

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

.hero-description {
  font-size: 1.125rem;
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  color: var(--text-white);  
}

.hero-buttons {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

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

.stat-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  font-size: 1.5rem;
  backdrop-filter: blur(10px);
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Profile Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-container {
  position: relative;
  width: 400px;
  height: 400px;
}

.profile-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

.profile-ring::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 15px;
  height: 15px;
  background: var(--text-white);
  border-radius: 50%;
  transform: translateX(-50%);
}

@keyframes rotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.profile-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-2xl);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-purple);
  color: var(--text-white);
  font-size: 6rem;
}

.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
}

.float-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: float 3s ease-in-out infinite;
  animation-delay: var(--delay);
}

.float-icon:nth-child(1) { top: 10%; left: 10%; }
.float-icon:nth-child(2) { top: 20%; right: 10%; }
.float-icon:nth-child(3) { bottom: 20%; left: 5%; }
.float-icon:nth-child(4) { bottom: 10%; right: 15%; }
.float-icon:nth-child(5) { top: 50%; left: -10%; }

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

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  cursor: pointer;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
  opacity: 0.8;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--text-white);
  border-bottom: 2px solid var(--text-white);
  transform: rotate(45deg);
  margin: 0 auto;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: var(--space-4xl) 0;
  background: var(--bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.about-text {
  display: block;
  visibility: visible;
  opacity: 1;
}

.about-interests {
  display: block;
  visibility: visible;
  opacity: 1;
}

.lead-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
}

.about-text p {
  font-size: 1.0625rem;
  margin-bottom: var(--space-lg);
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.highlight-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.highlight-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.highlight-item i {
  font-size: 2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.highlight-item h4 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.highlight-item p {
  font-size: 0.9375rem;
  margin: 0;
}

.about-interests {
  background: var(--bg-card);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  display: block;
  visibility: visible;
  opacity: 1;
}

.about-interests h3 {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.cv-download-card {
  background: var(--gradient-purple);
  color: var(--text-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  margin-top: var(--space-xl);
}

.cv-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto var(--space-lg);
}

.cv-download-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--text-white);
}

.cv-download-card p {
  margin-bottom: var(--space-xl);
  opacity: 0.95;
  color: var(--text-white);
}

.cv-download-card .btn {
  background: var(--text-white);
  color: var(--primary);
}

.cv-download-card .btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.interests-grid {
  display: grid;
  gap: var(--space-lg);
}

.interest-card {
  padding: var(--space-lg);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.interest-card:hover {
  border-color: var(--primary);
  transform: translateX(5px);
}

.interest-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-purple);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-white);
  margin-bottom: var(--space-md);
}

.interest-card h4 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.interest-card p {
  font-size: 0.875rem;
  margin: 0;
}

/* ===== EXPERIENCE SECTION ===== */
.experience-section {
  padding: var(--space-4xl) 0;
  background: var(--bg-primary);
  min-height: 100vh;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: var(--space-2xl) auto 0;
}

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

.timeline-item {
  position: relative;
  margin-bottom: var(--space-4xl);
  padding-left: 80px;
}

.timeline-marker {
  position: absolute;
  left: 20px;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  border: 4px solid var(--bg-primary);
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.2);
  z-index: 1;
}

.timeline-marker.education {
  background: var(--secondary);
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.2);
}

.timeline-content {
  background: var(--bg-card);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border-left: 4px solid var(--primary);
}

.timeline-item:hover .timeline-content {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.timeline-date {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(30, 64, 175, 0.1));
  border-radius: var(--radius-md);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.timeline-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.timeline-company {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.timeline-location {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-light);
  font-size: 0.9375rem;
  margin-bottom: var(--space-lg);
}

.timeline-description {
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.timeline-achievements {
  background: var(--bg-secondary);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.timeline-achievements h5 {
  font-size: 1rem;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.timeline-achievements ul {
  list-style: none;
  padding-left: 0;
}

.timeline-achievements li {
  position: relative;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
  line-height: 1.6;
}

.timeline-achievements li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.timeline-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--gradient-success);
  color: var(--text-white);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.timeline-badge.success {
  background: var(--gradient-success);
}

.timeline-badge.education-badge {
  background: var(--gradient-purple);
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
  padding: var(--space-4xl) 0;
  background: var(--bg-secondary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-4xl);
  visibility: visible;
  opacity: 1;
}

.project-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.project-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--gradient-purple);
}

.project-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-purple);
  color: var(--text-white);
  font-size: 4rem;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: var(--space-lg);
}

.project-link {
  width: 50px;
  height: 50px;
  background: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.project-link:hover {
  transform: scale(1.1);
  background: var(--primary);
  color: var(--text-white);
}

.project-content {
  padding: var(--space-xl);
}

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

.project-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-purple);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.5rem;
}

.project-tags {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.tag {
  padding: var(--space-xs) var(--space-md);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.project-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.project-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.project-features {
  display: grid;
  gap: var(--space-sm);
}

.feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.feature i {
  color: var(--success);
  font-size: 0.875rem;
}

.projects-cta {
  text-align: center;
  padding: var(--space-3xl);
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.projects-cta p {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

/* ===== SKILLS SECTION ===== */
.skills-section {
  padding: var(--space-4xl) 0;
  background: var(--bg-primary);
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  visibility: visible;
  opacity: 1;
}

.skill-category {
  background: var(--bg-card);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

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

.category-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.category-header i {
  width: 50px;
  height: 50px;
  background: var(--gradient-purple);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.5rem;
}

.category-header h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: 0;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-name {
  font-weight: 600;
  color: var(--text-primary);
}

.skill-level {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

.skill-bar {
  height: 8px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.skill-progress {
  height: 100%;
  background: var(--gradient-purple);
  border-radius: var(--radius-full);
  width: 0;
  transition: width 1.5s ease-out;
  position: relative;
}

.skill-progress::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.soft-skills {
  background: var(--bg-card);
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.soft-skills h3 {
  margin-bottom: var(--space-2xl);
}

.soft-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.soft-skill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-base);
}

.soft-skill:hover {
  background: var(--gradient-purple);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.soft-skill i {
  font-size: 1.25rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: var(--space-4xl) 0;
  background: var(--bg-secondary);
}

.contact-content {
  display: block;
  max-width: 1200px;
  margin: var(--space-2xl) auto 0;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}

.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-card);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.contact-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-white);
  margin: 0 auto var(--space-md);
}

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

.contact-card a {
  color: var(--primary);
  font-weight: 500;
  word-break: break-all;
}

.contact-card p {
  color: var(--text-secondary);
  margin: 0;
}

.contact-form-container {
  background: var(--bg-card);
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
  padding: var(--space-md);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-fast);
  background: var(--bg-primary);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--error);
}

.error-message {
  color: var(--error);
  font-size: 0.875rem;
  min-height: 20px;
}

.btn-submit {
  margin-top: var(--space-md);
  position: relative;
}

.btn-submit.loading .btn-text {
  opacity: 0;
}

.btn-submit.loading .btn-loader {
  opacity: 1;
}

.btn-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.form-message {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-top: var(--space-md);
  font-weight: 600;
  text-align: center;
  display: none;
}

.form-message.success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 2px solid var(--success);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border: 2px solid var(--error);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-4xl);
  margin-bottom: var(--space-3xl);
}

.footer-logo {
  margin-bottom: var(--space-md);
}

.footer-logo .logo-text {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-xl);
  font-size: 1.0625rem;
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.125rem;
  transition: all var(--transition-base);
}

.social-links a:hover {
  background: var(--gradient-purple);
  transform: translateY(-3px);
  color: var(--text-white);
}

.footer-nav h4 {
  color: var(--text-white);
  margin-bottom: var(--space-lg);
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--text-white);
  padding-left: var(--space-sm);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 50px;
  height: 50px;
  background: var(--gradient-purple);
  border: none;
  border-radius: 50%;
  color: var(--text-white);
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 999;
}

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

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .hero-content,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    order: -1;
  }

  .profile-container {
    width: 300px;
    height: 300px;
  }

  .about-interests {
    position: static;
  }

  .cv-download-card {
    margin-top: var(--space-2xl);
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-nav ul {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    transition: right var(--transition-base);
    box-shadow: var(--shadow-xl);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.25rem;
  }

  .hero-section {
    padding-top: calc(80px + var(--space-2xl));
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

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

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

  .timeline-marker {
    left: 5px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

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

  .profile-container {
    width: 250px;
    height: 250px;
  }

  .float-icon {
    width: 45px;
    height: 45px;
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: var(--space-lg);
    right: var(--space-lg);
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
  .header,
  .hamburger,
  .back-to-top,
  .scroll-indicator {
    display: none;
  }
}
