:root {
  /* Google CTF inspired color palette */
  --primary-blue: #1a73e8;
  --primary-blue-dark: #1557b0;
  --secondary-blue: #4285f4;
  --accent-green: #34a853;
  --accent-yellow: #fbbc04;
  --accent-red: #ea4335;
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --text-muted: #9aa0a6;
  --surface-primary: #ffffff;
  --surface-secondary: #f8f9fa;
  --surface-tertiary: #e8eaed;
  --border-light: #dadce0;
  --border-medium: #c4c7c5;
  --shadow-light: rgba(60, 64, 67, 0.1);
  --shadow-medium: rgba(60, 64, 67, 0.15);
  --shadow-heavy: rgba(60, 64, 67, 0.3);
}

[data-theme="dark"] {
  --primary-blue: #8ab4f8;
  --primary-blue-dark: #669df6;
  --secondary-blue: #8ab4f8;
  --accent-green: #81c995;
  --accent-yellow: #fdd663;
  --accent-red: #f28b82;
  --text-primary: #e8eaed;
  --text-secondary: #9aa0a6;
  --text-muted: #5f6368;
  --surface-primary: #202124;
  --surface-secondary: #303134;
  --surface-tertiary: #3c4043;
  --border-light: #5f6368;
  --border-medium: #9aa0a6;
  --shadow-light: rgba(0, 0, 0, 0.2);
  --shadow-medium: rgba(0, 0, 0, 0.3);
  --shadow-heavy: rgba(0, 0, 0, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: "Google Sans", "Roboto", -apple-system, BlinkMacSystemFont,
    sans-serif;
  line-height: 1.6;
  background-color: var(--surface-secondary);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

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

/* Header Styles */
.header {
  background: var(--surface-primary);
  box-shadow: 0 0.5px 1px var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
}

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

.logo {
  font-family: "Google Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-blue);
  text-decoration: none;
}

.theme-toggle {
  background: var(--surface-secondary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle:hover {
  background: var(--surface-tertiary);
  border-color: var(--border-medium);
}

/* Hero Section */
.hero {
  background: var(--surface-primary);
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-family: "Google Sans", sans-serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero .subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-weight: 400;
}

.hero .quote {
  background: var(--surface-secondary);
  border-left: 4px solid var(--primary-blue);
  padding: 16px 24px;
  margin: 32px auto;
  max-width: 600px;
  font-style: italic;
  color: var(--text-secondary);
  border-radius: 0 8px 8px 0;
}

/* Main Content */
.main-content {
  padding: 48px 0;
}

.section {
  background: var(--surface-primary);
  border-radius: 12px;
  padding: 48px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px var(--shadow-light);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.section.animate-fade-in {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-family: "Google Sans", sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 32px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 2px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.stat-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--surface-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.stat-card:hover {
  box-shadow: 0 4px 12px var(--shadow-medium);
  transform: translateY(-2px);
}

.stat-number {
  font-family: "Google Sans", sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: var(--surface-secondary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 12px var(--shadow-medium);
  transform: translateY(-2px);
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.card-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  font-size: 20px;
}

.card-title {
  font-family: "Google Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
}

.card-subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 4px;
}

.card-description {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: var(--surface-tertiary);
  color: var(--text-secondary);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border-light);
}

.tag.primary {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}

.tag.success {
  background: var(--accent-green);
  color: white;
  border-color: var(--accent-green);
}

.tag.warning {
  background: var(--accent-yellow);
  color: var(--text-primary);
  border-color: var(--accent-yellow);
}

/* Experience & Projects */
.timeline-item {
  background: var(--surface-secondary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}

.timeline-item:hover {
  box-shadow: 0 2px 8px var(--shadow-light);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.timeline-title {
  font-family: "Google Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.timeline-company {
  color: var(--primary-blue);
  font-weight: 500;
  font-size: 14px;
}

.timeline-date {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  background: var(--surface-tertiary);
  padding: 4px 8px;
  border-radius: 4px;
}

.timeline-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.achievement-list {
  list-style: none;
}

.achievement-list li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.achievement-list li::before {
  content: "•";
  color: var(--primary-blue);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 24px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 14px;
}

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

.btn-primary:hover {
  background: var(--primary-blue-dark);
  box-shadow: 0 2px 8px var(--shadow-medium);
}

.btn-secondary {
  background: var(--surface-secondary);
  color: var(--primary-blue);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--surface-tertiary);
  box-shadow: 0 2px 8px var(--shadow-light);
}

/* Project Controls */
.project-controls {
  text-align: center;
  margin-top: 32px;
}

.projects-stats {
  text-align: center;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 14px;
}

/* Contact Section */
.contact-section {
  text-align: center;
  padding: 48px 24px;
  background: var(--surface-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.contact-title {
  font-family: "Google Sans", sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.contact-description {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.specializations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 600px;
  margin: 0 auto 32px;
}

.specialization-item {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Animations */
.project-item.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 48px 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .section {
    padding: 32px 24px;
  }

  .section-title {
    font-size: 24px;
  }

  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

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

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 28px;
  }

  .section {
    padding: 24px 16px;
  }
}

#copy-right{
  display: flex;
  justify-content: center;
  color: var(--border-medium);
}