/* Custom CSS for Engineering Portfolio */

/* Tailwind Configuration */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Custom Properties */
:root {
  --engineering-blue: #3b82f6;
  --engineering-gray: #1a1a1a;
  --engineering-dark: #000000;
  --accent-green: #10b981;
  --accent-orange: #f59e0b;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
}

/* Dark Mode Variables */
.dark {
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --border-color: #2a2a2a;
  --accent-color: #60a5fa;
  --nav-bg: rgba(10, 10, 10, 0.95);
  --nav-text: #ffffff;
}

/* Light Mode Variables */
.light {
  --bg-primary: #ffffff;
  --bg-secondary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --border-color: #cbd5e1;
  --accent-color: #2563eb;
  --nav-bg: rgba(255, 255, 255, 0.98);
  --nav-text: #0f172a;
}

/* Default to dark mode */
html {
  color-scheme: dark;
}

/* Base Styles */
body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom Gradients */
.gradient-bg {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%, #0a0a0a 100%);
  position: relative;
}

.gradient-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.light .gradient-bg {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 25%, #e2e8f0 50%, #f8fafc 75%, #ffffff 100%);
}

.light .gradient-bg::before {
  background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
}

.code-block {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border: 1px solid #475569;
}

.light .code-block {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 1px solid #cbd5e1;
}

/* Glow Effects */
.glow {
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.2);
  transition: all 0.3s ease;
}

.glow:hover {
  box-shadow: 0 0 30px rgba(96, 165, 250, 0.4);
  transform: translateY(-2px);
}

.light .glow {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.light .glow:hover {
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

/* Navigation Styles */
.nav-blur {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-color: var(--nav-bg);
  border-bottom: 1px solid var(--border-color);
}

.bg-engineering-dark {
  background-color: var(--nav-bg);
}

.bg-engineering-dark\/80 {
  background-color: var(--nav-bg);
}

/* Typography */
.font-mono {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.font-sans {
  font-family: 'Inter', system-ui, sans-serif;
}

/* Custom Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Skill Bar Animations */
.skill-bar {
  transition: width 1s ease-in-out;
}

/* Project Card Hover Effects */
.project-card {
  transition: all 0.3s ease;
  transform: translateY(0);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(59, 130, 246, 0.4);
  background: linear-gradient(145deg, var(--bg-primary), rgba(59, 130, 246, 0.05));
}

/* Project card as link */
a.project-card {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

a.project-card:hover {
  text-decoration: none;
  color: inherit;
}

/* Code Syntax Highlighting */
.code-keyword {
  color: #ff6b6b;
}

.code-string {
  color: #51cf66;
}

.code-comment {
  color: #868e96;
  font-style: italic;
}

.code-function {
  color: #339af0;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-blur {
    padding: 0 1rem;
  }
  
  .space-x-8 > * + * {
    margin-left: 1rem;
  }
  
  .nav-link {
    font-size: 0.875rem;
  }
}

@media (max-width: 640px) {
  .space-x-8 > * + * {
    margin-left: 0.5rem;
  }
  
  .nav-link {
    font-size: 0.8rem;
  }
}

/* Hero Section Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    padding: 0 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .btn-primary, .btn-secondary, .btn-resume {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .badge-text {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .badge-location {
    font-size: 0.7rem;
  }
}

/* Section Padding Responsive */
@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .section-padding {
    padding: 2rem 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* Focus States for Accessibility */
button:focus,
a:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Mobile Touch Improvements */
@media (max-width: 768px) {
  .nav-link,
  .btn-primary,
  .btn-secondary,
  .btn-resume,
  .social-link,
  .project-card {
    min-height: 44px;
    min-width: 44px;
  }
  
  .theme-toggle {
    min-height: 44px;
    min-width: 44px;
    padding: 0.75rem;
  }
  
  .hero-buttons {
    gap: 1rem;
  }
  
  .btn-primary,
  .btn-secondary,
  .btn-resume {
    font-size: 1rem;
    padding: 1rem 2rem;
  }
}

/* Loading Animation */
.loading-dots {
  display: inline-block;
}

.loading-dots::after {
  content: '';
  animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
  0%, 20% { content: ''; }
  40% { content: '.'; }
  60% { content: '..'; }
  80%, 100% { content: '...'; }
}

/* Custom Button Styles */
.btn-primary {
  background: var(--accent-color);
  color: var(--bg-primary);
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1;
}

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

.btn-secondary {
  background: transparent;
  color: var(--accent-color);
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1;
}

.btn-secondary:hover {
  background: var(--accent-color);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.btn-resume {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1;
}

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

.btn-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Section Dividers */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--engineering-blue), transparent);
  margin: 2rem 0;
}

/* Card Styles */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--engineering-blue);
  transform: translateY(-2px);
}

/* Tag Styles */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(14, 165, 233, 0.1);
  color: var(--engineering-blue);
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.light .tag {
  background: rgba(14, 165, 233, 0.15);
  color: #0369a1;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

/* Progress Bar Styles */
.progress-bar {
  background: var(--bg-primary);
  border-radius: 9999px;
  overflow: hidden;
  height: 0.5rem;
  width: 6rem;
}

.progress-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 1.5s ease-in-out;
  width: 0%;
  min-width: 0%;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Theme Toggle Button */
.theme-toggle {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-primary);
}

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

/* Hero Section Specific */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: var(--engineering-blue);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

/* Footer Styles */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, #ffffff, #cccccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.border-gradient {
  border: 2px solid;
  border-image: linear-gradient(135deg, var(--engineering-blue), var(--accent-green)) 1;
}

/* Layout Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

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

.items-center {
  align-items: center;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

/* Navigation Styles */
.nav-link {
  color: var(--nav-text);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--accent-color);
}

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

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  z-index: 10;
  padding: 0 1rem;
}

.hero-badge {
  margin-bottom: 2rem;
}

.badge-text {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-color);
  border-radius: 9999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.light .badge-text {
  background: rgba(37, 99, 235, 0.15);
  color: #1e40af;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.badge-location {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.8;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-weight: 500;
}

.text-accent {
  color: var(--accent-color);
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* Text Colors */
.text-primary {
  color: var(--text-primary) !important;
}

.text-accent {
  color: var(--engineering-blue) !important;
  font-weight: 600;
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-title {
    font-size: 6rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 8rem;
  }
}

/* Additional Utility Classes */
.w-5 {
  width: 1.5rem;
}

.h-5 {
  height: 1.5rem;
}

.h-16 {
  height: 4rem;
}

.hidden {
  display: none;
}

.z-50 {
  z-index: 50;
}

.fixed {
  position: fixed;
}

.top-0 {
  top: 0;
}

.w-full {
  width: 100%;
}

.border-b {
  border-bottom-width: 1px;
}

.border-border-color {
  border-color: var(--border-color);
}

/* Section Styles */
.section-padding {
  padding: 5rem 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Education Section */
.education-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.education-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-green), var(--accent-orange));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.education-card:hover::before {
  opacity: 1;
}

.education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(96, 165, 250, 0.2);
  border-color: var(--accent-color);
}

.education-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.education-logo {
  flex-shrink: 0;
}

.school-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent-color);
}

.education-info {
  flex: 1;
}

.education-degree {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.education-school {
  font-size: 1.1rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.education-location {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.education-status {
  flex-shrink: 0;
}

.status-badge {
  background: var(--accent-green);
  color: var(--bg-primary);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.education-details {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.education-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.highlight {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  border: 1px solid var(--border-color);
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 500;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.tag-blue {
  background: rgba(14, 165, 233, 0.1);
  color: var(--engineering-blue);
  border-color: rgba(14, 165, 233, 0.2);
}

.tag-green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  border-color: rgba(16, 185, 129, 0.2);
}

.tag-orange {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-orange);
  border-color: rgba(245, 158, 11, 0.2);
}

/* Code Block Styles */
.code-block {
  padding: 2rem;
  border-radius: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
}

.code-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.code-dots {
  display: flex;
  gap: 0.5rem;
}

.code-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.code-dot.red {
  background: #ef4444;
}

.code-dot.yellow {
  background: #f59e0b;
}

.code-dot.green {
  background: #10b981;
}

.code-filename {
  margin-left: 1rem;
  color: var(--text-secondary);
}

.code-content {
  color: var(--text-primary);
  line-height: 1.6;
}

/* About Section Responsive */
@media (max-width: 767px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-text p {
    font-size: 1rem;
  }
  
  .skills-tags {
    justify-content: center;
  }
  
  .code-block {
    padding: 1.5rem;
    font-size: 0.8rem;
  }
  
  .code-content {
    overflow-x: auto;
  }
}

/* Responsive Design for About Section */
@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.project-card {
  background: var(--bg-primary);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--engineering-blue), var(--accent-green), var(--accent-orange), var(--accent-purple));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-color);
}

.project-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.project-description {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
  font-weight: 500;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tech-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: 0.25rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
}

.light .tech-tag {
  background: #e2e8f0;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-category {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.project-arrow {
  color: var(--accent-color);
  font-weight: 600;
}

/* Background Colors */
.bg-secondary {
  background: var(--bg-secondary);
}

/* Responsive Design for Projects */
@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .project-card {
    padding: 1.25rem;
  }
  
  .project-title {
    font-size: 1.1rem;
  }
  
  .project-description {
    font-size: 0.9rem;
  }
}

@media (min-width: 641px) and (max-width: 767px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1400px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.skill-card {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--engineering-blue), var(--accent-green), var(--accent-orange), var(--accent-purple));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
  background: linear-gradient(145deg, var(--bg-secondary), rgba(59, 130, 246, 0.05));
}

.skill-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  color: var(--accent-color);
}

.skill-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.5rem;
}

.skill-bars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.skill-name {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.progress-bar {
  width: 6rem;
  background: var(--bg-primary);
  border-radius: 9999px;
  overflow: hidden;
  height: 0.5rem;
}

.progress-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 1s ease-in-out;
}

/* Contact Section */
.contact-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-weight: 500;
}

.connect-cta {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.connect-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

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

.social-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.social-link {
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.1), transparent);
  transition: left 0.5s ease;
}

.social-link:hover::before {
  left: 100%;
}

.social-link:hover {
  transform: translateY(-3px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 25px rgba(96, 165, 250, 0.2);
}

.social-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 1rem;
  transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
  transform: scale(1.1);
}

/* Social Link Colors */
.social-link.email:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.social-link.linkedin:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.social-link.instagram:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.social-link.discord:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.social-link.twitter:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.social-link.github:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.social-link.discord:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* Footer */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  text-align: center;
}

.footer-text {
  color: var(--text-secondary);
}

.footer-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.stat {
  color: var(--text-secondary);
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Footer Responsive */
@media (max-width: 640px) {
  .footer-stats {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
  
  .stat {
    font-size: 0.8rem;
  }
}

/* Education Section Responsive */
@media (max-width: 768px) {
  .education-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .education-status {
    align-self: flex-start;
  }
  
  .education-highlights {
    flex-direction: column;
  }
  
  .highlight {
    text-align: center;
  }
}

/* Responsive Design for Skills */
@media (min-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Social Links Responsive */
@media (max-width: 480px) {
  .social-links {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .social-link {
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }
  
  .social-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
  }
}

@media (min-width: 481px) and (max-width: 639px) {
  .social-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 640px) {
  .social-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .social-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .social-links {
    grid-template-columns: repeat(5, 1fr);
  }
}
