/* CSS Custom Properties */
:root {
  /* Light Theme Colors */
  --primary-color: #1E1B4B;
  --secondary-color: #312e81;
  --accent-color: #3730a3;
  --background-color: #ffffff;
  --surface-color: #f8fafc;
  --text-primary: #1E1B4B;
  --text-secondary: #312e81;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 20px 25px rgba(0, 0, 0, 0.1);
  
  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
  
  /* Spacing */
  --container-max-width: 1200px;
  --section-padding: 5rem 0;
  --border-radius: 0.75rem;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-header p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.social-links-vertical {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-link-vertical {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2px solid transparent;
}

.social-link-vertical:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.social-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    font-size: 1.8rem;
}

.social-link-vertical:hover .social-icon {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.social-info {
    text-align: left;
}

.social-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--heading-color);
}

.social-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.contact-footer {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin-top: 2rem;
}

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

.contact-footer strong {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .social-links-vertical {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-header h3 {
        font-size: 1.5rem;
    }
    
    .social-link-vertical {
        padding: 1.5rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Dark Theme Colors */
[data-theme="dark"] {
  --primary-color: #4338ca;
  --secondary-color: #1E1B4B;
  --accent-color: #312e81;
  --background-color: #1e293b;
  --surface-color: #334155;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: #475569;
}

/* Global Styles */
* {
  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-color: var(--background-color);
  transition: var(--transition);
  overflow-x: hidden;
}

.dark-theme {
  --primary-color: #4338ca;
  --secondary-color: #1E1B4B;
  --accent-color: #312e81;
  --background-color: #1e293b;
  --surface-color: #334155;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: #475569;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.loader {
  text-align: center;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border-color);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

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

/* Particles Background */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgb(227, 227, 227, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

.dark-theme .navbar {
  background-color: rgba(15, 23, 42, 0.95);
}

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

.nav-logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-switcher {
  display: flex;
  gap: 0.5rem;
}

.lang-btn {
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border-color);
  background-color: transparent;
  color: var(--text-secondary);
  border-radius: 0.25rem;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
  font-weight: 500;
  min-width: 2.5rem;
  text-align: center;
}

.lang-btn:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

.lang-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  padding: 0.5rem;
  border-radius: 0.5rem;
}

.theme-toggle:hover {
  background-color: var(--surface-color);
  color: var(--primary-color);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 2rem 1.5rem;
}

.hero-content {
  max-width: 800px;
}

.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideInUp 1s ease 0.2s both;
}

.hero-title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  animation: slideInUp 1s ease 0.4s both;
}

.hero-quote {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  animation: slideInUp 1s ease 0.6s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideInUp 1s ease 0.8s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

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

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

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

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

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

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Section Styles */
section {
  padding: var(--section-padding);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

/* About Section */
.about {
  background-color: var(--surface-color);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  text-align: center;
}

.image-wrapper {
  position: relative;
  display: inline-block;
}

.profile-image {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  box-shadow: var(--shadow-heavy);
}

.about-description {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

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

.hobbies-list {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hobby-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.hobby-item i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 0;
}

.skill-category {
  background-color: var(--surface-color);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(124, 58, 237, 0.15);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7C3AED, #6d28d9, #5b21b6);
  border-radius: 12px 12px 0 0;
}

.skill-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.25);
}

.skill-category h3 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  color: #7C3AED;
  text-align: center;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.8rem;
}

.skill-category h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #7C3AED, #5b21b6);
  border-radius: 1px;
}

.skill-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.8rem;
  background: rgba(124, 58, 237, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(124, 58, 237, 0.08);
  transition: all 0.3s ease;
}

.skill-item:hover {
  background: rgba(124, 58, 237, 0.05);
  transform: translateX(3px);
  border-color: rgba(124, 58, 237, 0.15);
}

.skill-item > span {
  font-weight: 500;
  color: #7C3AED;
  font-size: 0.95rem;
}

.skill-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.skill-icon i {
  font-size: 1.3rem;
  color: #7C3AED;
  padding: 4px;
  background: rgba(124, 58, 237, 0.08);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.skill-item:hover .skill-icon i {
  background: rgba(124, 58, 237, 0.12);
  transform: scale(1.05);
}

.skill-bar {
  height: 8px;
  background-color: rgba(124, 58, 237, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, #7C3AED, #6d28d9, #5b21b6);
  border-radius: 4px;
  width: 0%;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

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

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

/* Skills Section Responsive Design */
@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .skill-category {
    padding: 1.2rem;
    border-radius: 10px;
  }
  
  .skill-category h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .skill-item {
    padding: 0.6rem;
    gap: 0.4rem;
  }
  
  .skill-item > span {
    font-size: 0.9rem;
  }
  
  .skill-icon i {
    font-size: 1.2rem;
    padding: 3px;
  }
  
  .skill-bar {
    height: 6px;
  }
}

@media (max-width: 480px) {
  .skills-grid {
    gap: 0.8rem;
  }
  
  .skill-category {
    padding: 1rem;
    border-radius: 8px;
  }
  
  .skill-category h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.6rem;
  }
  
  .skill-category h3::after {
    width: 30px;
    height: 2px;
  }
  
  .skill-items {
    gap: 0.8rem;
  }
  
  .skill-item {
    padding: 0.5rem;
  }
  
  .skill-item > span {
    font-size: 0.85rem;
  }
  
  .skill-icon {
    gap: 0.5rem;
  }
  
  .skill-icon i {
    font-size: 1.1rem;
  }
}

/* DevOps & Cloud Infrastructure Section Custom Styling */
.skill-category:first-child {
  background: #F1F5F9;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}



.skill-category:first-child h3 {
  color: #1f2937;
  text-shadow: none;
  position: relative;
  z-index: 1;
}

.skill-category:first-child .skill-item {
  background: #ffffff;
  backdrop-filter: none;
  border-radius: 10px;
  padding: 1.2rem;
  border: 1px solid #e5e7eb;
  color: #1f2937;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.skill-category:first-child .skill-item:hover {
  background: #f3f4f6;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.skill-category:first-child .skill-icon i {
  color: #1E1B4B;
  filter: none;
  transition: all 0.3s ease;
}

.skill-category:first-child .skill-item:hover .skill-icon i {
  transform: scale(1.1);
  color: #312e81;
}

.skill-category:first-child .skill-bar {
  background-color: #e5e7eb;
  border-radius: 6px;
  height: 10px;
}

.skill-category:first-child .skill-progress {
  background: linear-gradient(90deg, #1E1B4B, #312e81);
  box-shadow: 0 2px 10px rgba(30, 27, 75, 0.4);
}

/* Backend Skills Custom Styling */
.skill-category:nth-child(2) {
  background: #F1F5F9;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}



.skill-category:nth-child(2) h3 {
  color: #1f2937;
  text-shadow: none;
  position: relative;
  z-index: 1;
}

.skill-category:nth-child(2) .skill-item {
  background: #ffffff;
  backdrop-filter: none;
  border-radius: 12px;
  padding: 1.3rem;
  border: 1px solid #e5e7eb;
  color: #1f2937;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.skill-category:nth-child(2) .skill-item:hover {
  background: #f3f4f6;
  transform: translateX(10px) translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-color: #d1d5db;
}

.skill-category:nth-child(2) .skill-icon i {
  color: #1E1B4B;
  filter: none;
  transition: all 0.3s ease;
}

.skill-category:nth-child(2) .skill-item:hover .skill-icon i {
  color: #312e81;
  transform: rotate(5deg) scale(1.1);
}

.skill-category:nth-child(2) .skill-bar {
  background-color: #e5e7eb;
  border-radius: 8px;
  height: 12px;
  overflow: hidden;
}

.skill-category:nth-child(2) .skill-progress {
  background: linear-gradient(90deg, #1E1B4B, #312e81);
  box-shadow: 0 0 15px rgba(30, 27, 75, 0.5);
  border-radius: 8px;
}

/* Frontend Skills Custom Styling */
.skill-category:nth-child(3) {
  background: #F1F5F9;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.skill-category:nth-child(3) h3 {
  color: #1f2937;
  text-shadow: none;
}

.skill-category:nth-child(3) .skill-item {
  background: #ffffff;
  backdrop-filter: none;
  border-radius: 10px;
  padding: 1.1rem;
  border: 1px solid #e5e7eb;
  color: #1f2937;
  transition: all 0.3s ease;
}

.skill-category:nth-child(3) .skill-item:hover {
  background: #f3f4f6;
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.skill-category:nth-child(3) .skill-icon i {
  color: #1E1B4B;
  filter: none;
}

.skill-category:nth-child(3) .skill-bar {
  background-color: #e5e7eb;
  border-radius: 6px;
  height: 10px;
}

.skill-category:nth-child(3) .skill-progress {
  background: linear-gradient(90deg, #1E1B4B, #312e81);
}



/* AI & ML Skills Custom Styling */
.skill-category:nth-child(4) {
  background: #F1F5F9;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.skill-category:nth-child(4) h3 {
  color: #1f2937;
  text-shadow: none;
}

.skill-category:nth-child(4) .skill-item {
  background: #ffffff;
  backdrop-filter: none;
  border-radius: 10px;
  padding: 1.1rem;
  border: 1px solid #e5e7eb;
  color: #1f2937;
  transition: all 0.3s ease;
}

.skill-category:nth-child(4) .skill-item:hover {
  background: #f3f4f6;
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.skill-category:nth-child(4) .skill-icon i {
  color: #1E1B4B;
  filter: none;
}

.skill-category:nth-child(4) .skill-progress {
  background: linear-gradient(90deg, #1E1B4B, #312e81);
}

/* Automation & SEO Skills Custom Styling */
.skill-category:nth-child(5) {
  background: #F1F5F9;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.skill-category:nth-child(5) h3 {
  color: #1f2937;
  text-shadow: none;
}

.skill-category:nth-child(5) .skill-item {
  background: #ffffff;
  backdrop-filter: none;
  border-radius: 10px;
  padding: 1.1rem;
  border: 1px solid #e5e7eb;
  color: #1f2937;
  transition: all 0.3s ease;
}

.skill-category:nth-child(5) .skill-item:hover {
  background: #f3f4f6;
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.skill-category:nth-child(5) .skill-icon i {
  color: #1E1B4B;
  filter: none;
}

.skill-category:nth-child(5) .skill-progress {
  background: linear-gradient(90deg, #1E1B4B, #312e81);
}

/* Languages Skills Custom Styling */
.skill-category:nth-child(6) {
  background: #F1F5F9;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.skill-category:nth-child(6) h3 {
  color: #1f2937;
  text-shadow: none;
}

.skill-category:nth-child(6) .skill-item {
  background: #ffffff;
  backdrop-filter: none;
  border-radius: 10px;
  padding: 1.1rem;
  border: 1px solid #e5e7eb;
  color: #1f2937;
  transition: all 0.3s ease;
}

.skill-category:nth-child(6) .skill-item:hover {
  background: #f3f4f6;
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.skill-category:nth-child(6) .skill-icon i {
  color: #1E1B4B;
  filter: none;
}

.skill-category:nth-child(6) .skill-progress {
  background: linear-gradient(90deg, #1E1B4B, #312e81);
}

/* Dark Theme Skill Section Styling */
[data-theme="dark"] .skill-category:first-child,
[data-theme="dark"] .skill-category:nth-child(2),
[data-theme="dark"] .skill-category:nth-child(3),
[data-theme="dark"] .skill-category:nth-child(4),
[data-theme="dark"] .skill-category:nth-child(5),
[data-theme="dark"] .skill-category:nth-child(6) {
  background: #475569 !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 10px 30px rgba(71, 85, 105, 0.4) !important;
}

[data-theme="dark"] .skill-category h3 {
  color: white !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}

[data-theme="dark"] .skill-category .skill-item {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: white !important;
}

[data-theme="dark"] .skill-category .skill-item:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3) !important;
}

[data-theme="dark"] .skill-category .skill-icon i {
  color: white !important;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)) !important;
}

[data-theme="dark"] .skill-category .skill-progress {
  background: linear-gradient(90deg, #ffffff, #e5e7eb) !important;
}

/* Projects Section */
.projects {
  background-color: var(--surface-color);
}

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

.project-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.project-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-placeholder {
  color: white;
  font-size: 3rem;
}

.project-content {
  padding: 1.5rem;
}

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

.project-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

.tech-tag {
  padding: 0.25rem 0.75rem;
  background-color: var(--surface-color);
  color: var(--primary-color);
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

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

/* Timeline Section */
.timeline {
  background-color: var(--surface-color);
}

.timeline-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 80px;
}

.timeline-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: var(--shadow-medium);
  z-index: 2;
}

.timeline-content {
  background-color: var(--background-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-light);
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 20px;
  border-right: 10px solid var(--background-color);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.timeline-date {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

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

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.certification-card {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  text-align: center;
}

.certification-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
}

.cert-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.cert-content h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.cert-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.cert-date,
.cert-validity {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.cert-verify {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  margin-top: 1rem;
}

.cert-verify:hover {
  color: var(--secondary-color);
}

/* Articles Section */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.article-card {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.article-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.article-date {
  color: var(--text-muted);
}

.article-category {
  color: var(--primary-color);
  font-weight: 500;
}

.article-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.article-excerpt {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--secondary-color);
}

/* Contact Section */
.contact {
  background-color: var(--surface-color);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

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

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

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateX(5px);
}

.social-link i {
  font-size: 1.25rem;
  width: 20px;
  text-align: center;
}

/* Contact Form */
.contact-form {
  background-color: var(--background-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-light);
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--background-color);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  resize: vertical;
}

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

.form-group label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition);
  background-color: var(--background-color);
  padding: 0 0.25rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  left: 0.75rem;
  font-size: 0.875rem;
  color: var(--primary-color);
}

.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: block;
}

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

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

.footer-left,
.footer-right {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

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

.footer-right i {
  color: #ef4444;
}

/* Success Message */
.success-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--background-color);
  border: 2px solid #10b981;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-heavy);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.success-message.show {
  opacity: 1;
  visibility: visible;
}

.success-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #10b981;
}

.success-content i {
  font-size: 1.5rem;
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  :root {
    --section-padding: 4rem 0;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .timeline-wrapper::before {
    left: 20px;
  }
  
  .timeline-item {
    padding-left: 60px;
  }
  
  .timeline-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--background-color);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem;
    transition: left 0.3s ease;
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .hobbies-list {
    justify-content: center;
  }
  
  .projects-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .social-links {
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 3rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .nav-container {
    padding: 0 1rem;
  }
  
  .hero {
    padding: 1rem;
  }
  
  .skill-category {
    padding: 1.5rem;
  }
  
  .project-content {
    padding: 1rem;
  }
  
  .article-card {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Print Styles */
@media print {
  #particles-js,
  .navbar,
  .hero-scroll,
  .theme-toggle,
  .language-switcher {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  .hero {
    page-break-inside: avoid;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border-color: #000;
    --text-secondary: #000;
    --text-muted: #333;
  }
}

/* Skills Section - Dark Mode Customization */
body.dark-theme .skills {
  background: #23272f !important;
}
body.dark-theme .skills-grid .skill-category {
  background: #2d323c !important;
  color: #f3f4f6 !important;
  border: 1px solid #374151 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
}
body.dark-theme .skills-grid .skill-category h3 {
  color: #60a5fa !important;
}
body.dark-theme .skills-grid .skill-category .skill-item {
  background: #23272f !important;
  color: #f3f4f6 !important;
  border: 1px solid #374151 !important;
}
body.dark-theme .skills-grid .skill-category .skill-icon i {
  color: #60a5fa !important;
  background: rgba(96,165,250,0.08) !important;
}
body.dark-theme .skills-grid .skill-category .skill-bar {
  background-color: #374151 !important;
}
body.dark-theme .skills-grid .skill-category .skill-progress {
  background: linear-gradient(90deg, #60a5fa, #2563eb) !important;
  box-shadow: 0 2px 10px rgba(96,165,250,0.12) !important;
}
body.dark-theme .tech-tag {
  color: #60a5fa !important;
  background: rgba(96,165,250,0.08) !important;
  border: 1px solid #374151 !important;
}

/* Language change animation */
.language-changed {
  animation: languageChange 0.3s ease;
}

@keyframes languageChange {
  0% {
    opacity: 0.95;
  }
  50% {
    opacity: 0.98;
  }
  100% {
    opacity: 1;
  }
}

/* Language switcher improvements */
.language-switcher {
  display: flex;
  gap: 0.5rem;
  position: relative;
}

.lang-btn {
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border-color);
  background-color: transparent;
  color: var(--text-secondary);
  border-radius: 0.25rem;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
  font-weight: 500;
  min-width: 2.5rem;
  text-align: center;
}

.lang-btn:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

.lang-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
