/* Reset and Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Primary Colors */
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  
  /* Dark Mode Colors */
  --bg-dark: #0f172a;
  --bg-light: #ffffff;
  --text-dark: #1e293b;
  --text-light: #f1f5f9;
  --card-dark: #1e293b;
  --card-light: #f8fafc;
  
  /* Light Mode Specific */
  --light-bg-primary: #f8fafc;
  --light-bg-secondary: #ffffff;
  --light-text-primary: #1e293b;
  --light-text-secondary: #475569;
  --light-border: #e2e8f0;
  --light-card-bg: #ffffff;
  --light-shadow: rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}

body.dark-mode {
  background: var(--bg-dark);
  color: var(--text-light);
}

body.light-mode {
  background: var(--bg-light);
  color: var(--text-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 6rem 2rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  cursor: pointer;
  transition: transform 0.3s;
}

.logo:hover { transform: scale(1.1); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

.theme-toggle, .mobile-menu-toggle {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--text-light);
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  width: 40px;
  height: 40px;
}

.theme-toggle:hover { 
  transform: scale(1.1) rotate(15deg); 
  background: var(--primary-color);
  color: white;
}

.mobile-menu-toggle { display: none; }

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

.hero-layout {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 700px;
  text-align: left;
  animation: fadeInUp 1s ease-out;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

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

.hero-subtitle {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  min-height: 3rem;
}

.cursor {
  animation: blink 1s infinite;
}

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

.hero-description {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  justify-content: flex-start;
}

.social-links a {
  color: var(--text-light);
  font-size: 1.8rem;
  transition: all 0.3s;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
}

.social-links a:hover {
  color: var(--primary-color);
  transform: scale(1.2) rotate(5deg);
  background: rgba(99, 102, 241, 0.2);
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s;
}

.cta-button:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.5);
}



/* Hero Profile Image */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.profile-image-container {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-image {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4);
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.profile-image:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 80px rgba(99, 102, 241, 0.6);
}

.profile-placeholder {
  flex-direction: column;
  gap: 1rem;
}

.profile-placeholder .image-border {
  opacity: 0.85;
}

.profile-initials {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-light);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(14, 165, 233, 0.85));
  border: 5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4);
  position: relative;
  z-index: 2;
}

.profile-caption {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.image-border {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: rotateBorder 20s linear infinite;
}

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

/* Particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.navbar,
section,
.footer {
  position: relative;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.6;
  animation: float 20s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-100px) translateX(100px); }
  50% { transform: translateY(-200px) translateX(-100px); }
  75% { transform: translateY(-100px) translateX(-200px); }
}

/* Section Title */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* About Section */
.about {
  background: rgba(99, 102, 241, 0.03);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  text-align: justify;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
  opacity: 0.9;
  transform: translateY(0);
}

/* Experience Section */
.experience {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.experience-card {
  background: var(--card-dark);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.experience-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  border-bottom: 2px solid rgba(99, 102, 241, 0.3);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.experience-left {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.company-logo {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.company-info h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.company-info h4 {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.location {
  font-size: 0.9rem;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.duration-badge {
  background: rgba(99, 102, 241, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(99, 102, 241, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.experience-body {
  padding: 2rem;
}

.project-highlight {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  padding: 1.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-color);
}

.project-highlight h4 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.project-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.95;
}

.project-desc a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(99, 102, 241, 0.6);
}

.project-desc a:hover {
  color: var(--secondary-color);
  border-bottom-color: rgba(139, 92, 246, 0.8);
}

.work-highlights {
  margin-bottom: 2rem;
}

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

.highlight-card {
  background: rgba(99, 102, 241, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: all 0.3s;
}

.highlight-card:hover {
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.highlight-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: block;
}

.highlight-card h5 {
  font-size: 1.1rem;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.highlight-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

.key-achievements {
  background: rgba(139, 92, 246, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--secondary-color);
}

.key-achievements h5 {
  font-size: 1.1rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.key-achievements ul li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
  opacity: 0.9;
}

.key-achievements ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.tech-stack {
  background: rgba(99, 102, 241, 0.03);
  padding: 1.5rem;
  border-radius: 12px;
}

.tech-stack h5 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-badge {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
  color: var(--text-light);
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(99, 102, 241, 0.3);
  transition: all 0.3s;
  cursor: default;
}

.tech-badge:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

/* Education Section */
.education {
  background: rgba(99, 102, 241, 0.03);
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.education-card {
  background: var(--card-dark);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
  text-align: center;
}

.education-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.education-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.education-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.education-card h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.education-year {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.education-grade {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
}

/* Skills */
.skills {
  background: rgba(99, 102, 241, 0.03);
}

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

.skill-category {
  margin-bottom: 2rem;
}

.skill-category-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.skill-item {
  background: var(--card-dark);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
  margin-bottom: 1rem;
}

.skill-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.skill-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 10px;
  width: 0;
  transition: width 1.5s ease-out;
}

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

.project-card {
  background: var(--card-dark);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.project-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.project-description {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  opacity: 0.9;
}

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

.tech-tag {
  background: rgba(99, 102, 241, 0.2);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s;
}

.tech-tag:hover {
  background: var(--primary-color);
  color: white;
}

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

.project-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  transition: all 0.3s;
}

.project-links a:hover {
  background: var(--primary-color);
}

/* Contact */
.contact {
  background: rgba(99, 102, 241, 0.03);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

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

.contact-info p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.contact-item a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--card-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.submit-button {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-button:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.5);
}

.success-message {
  color: #10b981;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
}

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

/* Footer */
.footer {
  background: rgba(15, 23, 42, 0.95);
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-links a {
  color: var(--text-light);
  font-size: 1.5rem;
  transition: all 0.3s;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: scale(1.2);
  border-color: var(--primary-color);
}

/* ============================================
   LIGHT MODE STYLES
   ============================================ */

body.light-mode .navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--light-border);
  box-shadow: 0 2px 10px var(--light-shadow);
}

body.light-mode .nav-links a {
  color: var(--light-text-primary);
}

body.light-mode .nav-links a:hover {
  color: var(--primary-color);
}

body.light-mode .logo {
  color: var(--primary-color);
}

body.light-mode .theme-toggle {
  background: var(--light-bg-primary);
  color: var(--light-text-primary);
  border: 2px solid var(--light-border);
}

body.light-mode .theme-toggle:hover {
  background: var(--primary-color);
  color: white;
}

body.light-mode .hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

body.light-mode .hero-title {
  color: var(--light-text-primary);
}

body.light-mode .hero-subtitle,
body.light-mode .hero-description {
  color: var(--light-text-secondary);
}

body.light-mode .social-links a {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--light-border);
}

body.light-mode .social-links a:hover {
  background: var(--primary-color);
  color: white;
}

body.light-mode .profile-image {
  border: 5px solid rgba(99, 102, 241, 0.5);
}

body.light-mode .about {
  background: white;
}

body.light-mode .about-text p {
  color: var(--light-text-secondary);
}

body.light-mode .about-profile-image {
  border: 3px solid rgba(99, 102, 241, 0.5);
  box-shadow: 0 10px 30px var(--light-shadow);
}

body.light-mode .about-image-decoration {
  border: 3px solid var(--primary-color);
}

body.light-mode .experience {
  background: var(--light-bg-primary);
}

body.light-mode .experience-card {
  background: white;
  border: 1px solid var(--light-border);
  box-shadow: 0 4px 20px var(--light-shadow);
}

body.light-mode .experience-header {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  border-bottom: 2px solid var(--light-border);
}

body.light-mode .company-info h3,
body.light-mode .project-highlight h4 {
  color: var(--primary-color);
}

body.light-mode .company-info h4,
body.light-mode .location,
body.light-mode .project-desc,
body.light-mode .highlight-card p,
body.light-mode .key-achievements ul li {
  color: var(--light-text-secondary);
}

body.light-mode .duration-badge {
  background: white;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

body.light-mode .project-highlight {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  border-left: 4px solid var(--primary-color);
}

body.light-mode .highlight-card {
  background: var(--light-bg-primary);
  border: 1px solid var(--light-border);
}

body.light-mode .highlight-card:hover {
  background: white;
  box-shadow: 0 10px 25px var(--light-shadow);
}

body.light-mode .highlight-card h5 {
  color: var(--secondary-color);
}

body.light-mode .key-achievements {
  background: #faf5ff;
  border-left: 4px solid var(--secondary-color);
}

body.light-mode .key-achievements h5 {
  color: var(--secondary-color);
}

body.light-mode .tech-stack {
  background: var(--light-bg-primary);
}

body.light-mode .tech-stack h5 {
  color: var(--primary-color);
}

body.light-mode .tech-badge {
  background: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

body.light-mode .tech-badge:hover {
  background: var(--primary-color);
  color: white;
}

body.light-mode .education {
  background: white;
}

body.light-mode .education-card {
  background: white;
  border: 1px solid var(--light-border);
  box-shadow: 0 4px 20px var(--light-shadow);
}

body.light-mode .education-card:hover {
  box-shadow: 0 10px 30px var(--light-shadow);
}

body.light-mode .education-card h3 {
  color: var(--primary-color);
}

body.light-mode .education-card h4,
body.light-mode .education-year {
  color: var(--light-text-secondary);
}

body.light-mode .education-grade {
  color: var(--secondary-color);
}

body.light-mode .skills {
  background: var(--light-bg-primary);
}

body.light-mode .skill-category {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--light-border);
  box-shadow: 0 4px 15px var(--light-shadow);
}

body.light-mode .skill-category-title {
  color: var(--primary-color);
}

body.light-mode .skill-item {
  background: var(--light-bg-primary);
  border: 1px solid var(--light-border);
}

body.light-mode .skill-name {
  color: var(--light-text-primary);
}

body.light-mode .skill-percentage {
  color: var(--secondary-color);
}

body.light-mode .skill-bar {
  background: var(--light-bg-primary);
}

body.light-mode .projects {
  background: white;
}

body.light-mode .project-card {
  background: white;
  border: 1px solid var(--light-border);
  box-shadow: 0 4px 20px var(--light-shadow);
}

body.light-mode .project-card:hover {
  box-shadow: 0 10px 30px var(--light-shadow);
}

body.light-mode .project-card h3 {
  color: var(--primary-color);
}

body.light-mode .project-description {
  color: var(--light-text-secondary);
}

body.light-mode .tech-tag {
  background: var(--light-bg-primary);
  color: var(--primary-color);
  border: 1px solid var(--light-border);
}

body.light-mode .tech-tag:hover {
  background: var(--primary-color);
  color: white;
}

body.light-mode .project-links a {
  color: var(--primary-color);
  border: 1px solid var(--light-border);
}

body.light-mode .project-links a:hover {
  background: var(--primary-color);
  color: white;
}

body.light-mode .contact {
  background: var(--light-bg-primary);
}

body.light-mode .contact-info h3 {
  color: var(--light-text-primary);
}

body.light-mode .contact-info p {
  color: var(--light-text-secondary);
}

body.light-mode .contact-item {
  color: var(--light-text-secondary);
}

body.light-mode .contact-item i {
  color: var(--primary-color);
}

body.light-mode .contact-item a {
  color: var(--light-text-secondary);
}

body.light-mode .contact-item a:hover {
  color: var(--primary-color);
}

body.light-mode .contact-form {
  background: white;
  border: 1px solid var(--light-border);
  box-shadow: 0 4px 20px var(--light-shadow);
  padding: 2rem;
  border-radius: 15px;
}

body.light-mode .contact-form input,
body.light-mode .contact-form textarea {
  background: var(--light-bg-primary);
  color: var(--light-text-primary);
  border: 1px solid var(--light-border);
}

body.light-mode .contact-form input:focus,
body.light-mode .contact-form textarea:focus {
  border-color: var(--primary-color);
  background: white;
}

body.light-mode .footer {
  background: white;
  color: var(--light-text-secondary);
  border-top: 1px solid var(--light-border);
}

body.light-mode .footer-links a {
  color: var(--light-text-primary);
  border: 1px solid var(--light-border);
}

body.light-mode .footer-links a:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

body.light-mode .particle {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
}

/* Responsive */
@media (max-width: 968px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content {
    margin: 0 auto;
    text-align: center;
  }

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

  .hero-image {
    order: -1;
  }

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

  .profile-image {
    width: 280px;
    height: 280px;
  }

  .image-border {
    width: 300px;
    height: 300px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-profile-container {
    width: 250px;
    height: 250px;
    margin: 0 auto;
  }

  .experience-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .experience-left {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .company-logo {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-toggle { display: flex; }
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.5rem; }
  .contact-container { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  
  .profile-image-container {
    width: 250px;
    height: 250px;
  }

  .profile-image {
    width: 230px;
    height: 230px;
  }

  .image-border {
    width: 250px;
    height: 250px;
  }

  .about-profile-container {
    width: 200px;
    height: 200px;
  }
}
