:root {
  --bg: #0b0f19;
  --card: #121829;
  --muted: #9aa4bf;
  --text: #e6e9f2;
  --accent: #6c8ae4;
  --accent-2: #6ce4c7;
  --chip: #1b2340;
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg: #fefefe;
  --card: #ffffff;
  --muted: #6b7280;
  --text: #1f2937;
  --accent: #ec4899;
  --accent-2: #bc73e1;
  --chip: #f3f4f6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    Cantarell, Noto Sans, sans-serif;
  background: linear-gradient(180deg, var(--bg), var(--card));
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
  line-height: 1.6;
}

/* Light theme specific background */
[data-theme="light"] body {
  background-color: #fff7f3;
  background-image: 
    radial-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    radial-gradient(rgba(0, 0, 0, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, #fff7f9 0%, #ffeef4 30%, #ffe3ee 60%, #ffd6e7 100%);
  background-size: 24px 24px, 12px 12px, auto;
  background-position: 0 0, 6px 6px, 0 0;
  background-attachment: fixed, fixed, fixed;
}

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

/* Header Styles */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 50;
  transition: all 0.3s ease;
}

[data-theme="light"] .site-header {
  background: rgba(254, 254, 254, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  position: relative;
}

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

/* Navigation Styles */
.desktop-nav {
  display: flex;
  align-items: center;
}

.mobile-nav {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 120;
  width: 44px;
  height: 44px;
  position: relative;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hamburger {
  width: 28px;
  height: 3px;
  background: var(--accent);
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -10px;
}

.hamburger::after {
  top: 10px;
}

.nav-toggle.open .hamburger {
  background: transparent;
}

.nav-toggle.open .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.open .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Brand Styles */
.brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 18px;
  transition: transform 0.3s ease;
}

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

.subtitle {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

/* Navigation Links */
.nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 20px;
  font-weight: 600;
  opacity: 0.9;
  position: relative;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
}

.nav a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
}

.nav a.active {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 4px 12px rgba(108, 138, 228, 0.2);
  opacity: 1;
}

[data-theme="light"] .nav a:hover {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .nav a.active {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

/* Mobile Navigation */
@media (max-width: 800px) {
  .desktop-nav {
    display: none !important;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(10px);
    z-index: 110;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .mobile-nav.open {
    opacity: 1;
    pointer-events: auto;
  }
  
  .mobile-nav a {
    color: var(--text);
    font-size: 1.5em;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    padding: 16px 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
  }
  
  .mobile-nav a:hover {
    color: var(--accent-2);
    background: rgba(255, 255, 255, 0.05);
  }
  
  .mobile-nav a.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    box-shadow: 0 4px 16px rgba(108, 138, 228, 0.3);
  }
  
  [data-theme="light"] .mobile-nav {
    background: rgba(254, 254, 254, 0.98);
  }
  
  [data-theme="light"] .mobile-nav a {
    color: var(--text);
  }
  
  [data-theme="light"] .mobile-nav a:hover {
    background: rgba(0, 0, 0, 0.05);
  }
}

/* Section Styles */
.section {
  padding: 80px 0;
}

h2 {
  margin: 0 0 24px 0;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.5em;
  line-height: 1.2;
}

h3 {
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.6em;
  margin: 32px 0 20px 0;
  line-height: 1.3;
}

h4 {
  font-weight: 700;
  color: var(--text);
  font-size: 1.2em;
  margin: 20px 0 12px 0;
}

[data-theme="light"] h2,
[data-theme="light"] h3 {
  background: linear-gradient(135deg, #ec4899 0%, #f472b6 45%, #bc73e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 + .muted {
  margin-top: -12px;
}

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

/* About Section */
.about {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: start;
}

.about-photo img {
  width: 160px;
  height: 160px;
  border-radius: 20px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.about-photo img:hover {
  transform: scale(1.02);
  border-color: var(--accent);
}

.avatar {
  width: 160px;
  height: 160px;
  border-radius: 20px;
  background: var(--chip);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  font-weight: 800;
  color: var(--accent);
  border: 2px solid rgba(255, 255, 255, 0.08);
}

.about-meta {
  display: flex;
  gap: 20px;
  color: var(--muted);
  margin: 16px 0;
  flex-wrap: wrap;
}

.about-ctas {
  display: flex;
  gap: 12px;
  margin: 20px 0 16px 0;
  flex-wrap: wrap;
}

/* Enhanced About Section */
.about-hero {
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

.about-main {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: start;
}

.about-photo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.about-photo {
  position: relative;
  width: 200px;
  height: 200px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  border: 3px solid rgba(108, 138, 228, 0.3);
  transition: all 0.3s ease;
}

.about-photo:hover img {
  transform: scale(1.03);
  border-color: var(--accent);
}

.photo-glow {
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 30px;
  opacity: 0;
  filter: blur(24px);
  transition: opacity 0.3s ease;
  z-index: -1;
}

.about-photo:hover .photo-glow {
  opacity: 0.4;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--accent);
  background: rgba(108, 228, 199, 0.1);
  padding: 8px 16px;
  border-radius: 24px;
  border: 1px solid rgba(108, 228, 199, 0.2);
  font-weight: 500;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-2);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.intro-text {
  margin-bottom: 32px;
}

.about-greeting {
  font-size: 1.3em;
  margin: 0 0 12px 0;
  color: var(--muted);
  font-weight: 400;
}

.wave {
  display: inline-block;
  transition: transform 0.3s ease;
  transform-origin: 70% 70%;
  color: var(--accent);
  font-size: 1.3em;
  margin-right: 10px;
}

.about-name {
  font-size: 2.8em;
  margin: 0;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.about-role {
  font-size: 1.5em;
  margin: 12px 0 0 0;
  color: var(--muted);
  font-weight: 400;
}

.about-summary {
  margin: 32px 0 40px 0;
  font-size: 1.15em;
  line-height: 1.7;
  color: var(--text);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  margin: 40px 0;
  padding: 32px;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stat-item {
  text-align: center;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 16px;
}

.stat-number {
  font-size: 2.2em;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
  display: block;
}

.stat-label {
  font-size: 0.95em;
  color: var(--muted);
  font-weight: 500;
}

.about-roles {
  margin: 40px 0;
}

.about-roles h4 {
  margin: 0 0 20px 0;
  color: var(--text);
  font-weight: 600;
}

.about-contact-info {
  margin: 40px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--text);
}

.contact-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

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

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

.social-links {
  margin: 40px 0;
}

.social-links h4 {
  margin: 0 0 20px 0;
  color: var(--text);
  font-weight: 600;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 24px;
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.social-link:hover {
  color: var(--accent-2);
  transform: translateY(-2px);
}

.external-link {
  width: 16px;
  height: 16px;
}

.about-actions {
  display: flex;
  gap: 20px;
  margin-top: 48px;
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  background: var(--chip);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-weight: 500;
  transition: all 0.3s ease;
}

.chip.small {
  font-size: 12px;
  padding: 6px 10px;
}

.chip-animated {
  transition: all 0.3s ease;
  cursor: pointer;
}

.chip-animated:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(108, 138, 228, 0.3);
}

.projects-toolbar .chip {
  cursor: pointer;
}

.projects-toolbar .chip.active {
  background: var(--accent);
  color: white;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(108, 138, 228, 0.3);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 138, 228, 0.4);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 600;
}

.btn-cta svg {
  width: 18px;
  height: 18px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
}

.btn-secondary svg {
  width: 18px;
  height: 18px;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.badge:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

/* Social Links */
.social a {
  margin-right: 16px;
  color: var(--accent);
  transition: color 0.3s ease;
}

.social a:hover {
  color: var(--accent-2);
}

/* Timeline */
.timeline {
  position: relative;
  margin-left: 12px;
}

.timeline:before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), transparent);
  border-radius: 2px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  margin: 24px 0;
}

.timeline-point {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 12px;
  box-shadow: 0 0 0 8px rgba(108, 138, 228, 0.2);
  position: relative;
  z-index: 1;
}

.timeline-content {
  background: var(--card);
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content h4 {
  margin: 0 0 8px 0;
  font-size: 1.1em;
}

.timeline-content .muted {
  margin: 0 0 12px 0;
}

.timeline-item:hover .timeline-content {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.14);
}

/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px;
  border-radius: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.14);
}

.card.clickable {
  cursor: pointer;
}

.stack {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0;
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-card {
  margin: 12px 0 8px 0;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Projects Toolbar */
.projects-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 0 28px 0;
  flex-wrap: wrap;
}

.projects-toolbar .sort-control select {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--card);
  color: var(--text);
  font-weight: 500;
}

/* Forms */
.contact-form {
  max-width: 800px;
  margin-top: 20px;
}

.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .row + textarea {
  margin-top: 16px;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form .row > input,
.contact-form textarea {
  padding: 14px 16px;
}

.contact-form button {
  margin-top: 16px;
  min-width: 160px;
}

input,
textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f1527;
  color: var(--text);
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 14px;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(108, 138, 228, 0.6);
  box-shadow: 0 0 0 4px rgba(108, 138, 228, 0.15);
  border-color: transparent;
}

input[type="email"]:invalid {
  border-color: rgba(255, 99, 99, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 99, 99, 0.12);
}

/* Achievements and Leadership Layouts */
.achievements-list,
.leadership-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0;
}

.achievement-item,
.leadership-item {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.achievement-item:hover,
.leadership-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.14);
}

.achievement-header,
.leadership-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 16px;
}

.achievement-header h4,
.leadership-header h4 {
  margin: 0;
  font-size: 1.2em;
  font-weight: 700;
  color: var(--text);
  flex: 1;
}

.achievement-badge,
.leadership-badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  padding: 6px 16px;
  border-radius: 24px;
  font-size: 0.85em;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(108, 138, 228, 0.3);
}

.achievement-org {
  margin: 0 0 8px 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 1.05em;
}

.achievement-desc,
.leadership-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.98em;
}

/* Document Links */
.document-links {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.doc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(108, 138, 228, 0.1);
  border: 1px solid rgba(108, 138, 228, 0.2);
  border-radius: 10px;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 500;
  transition: all 0.3s ease;
}

.doc-link:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(108, 138, 228, 0.4);
}

.doc-link svg {
  width: 18px;
  height: 18px;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  transition: all 0.3s ease;
  text-align: center;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 100px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.toast {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  opacity: 0.98;
  transform: translateY(0);
  transition: all 0.3s ease;
  min-width: 280px;
  font-weight: 500;
}

.toast-success {
  border-color: rgba(108, 228, 199, 0.5);
}

.toast.hide {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

/* Theme Toggle */
.theme-toggle-fixed {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  padding: 14px 20px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.theme-toggle-fixed:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.theme-toggle-fixed svg {
  width: 20px;
  height: 20px;
}

/* Floating Elements Animation */
.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
}

.float-element {
  position: absolute;
  background: linear-gradient(
    135deg,
    rgba(108, 138, 228, 0.1),
    rgba(108, 228, 199, 0.1)
  );
  border-radius: 50%;
  animation: float 20s infinite linear;
}

.float-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  right: 10%;
  animation-duration: 18s;
}

.float-2 {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 20%;
  animation-duration: 24s;
  animation-direction: reverse;
}

.float-3 {
  width: 60px;
  height: 60px;
  top: 40%;
  right: 5%;
  animation-duration: 30s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-30px) rotate(90deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-15px) rotate(180deg);
    opacity: 0.3;
  }
  75% {
    transform: translateY(-40px) rotate(270deg);
    opacity: 0.6;
  }
}

/* Reveal Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

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

/* Light Theme Specific Styles */
[data-theme="light"] input,
[data-theme="light"] textarea {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text);
}

[data-theme="light"] .site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .toast {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-toggle-fixed {
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-toggle-fixed:hover {
  background: var(--accent);
  color: white;
}

[data-theme="light"] .card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(236, 72, 153, 0.3);
}

[data-theme="light"] .timeline-content {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .about-stats {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .status-indicator {
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.2);
}

[data-theme="light"] .photo-glow {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

[data-theme="light"] .about-photo img {
  border: 3px solid rgba(236, 72, 153, 0.3);
}

[data-theme="light"] .chip {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .chip:hover,
[data-theme="light"] .chip-animated:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

[data-theme="light"] .badge {
  border: 1px solid rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .badge:hover {
  border-color: var(--accent);
}

[data-theme="light"] .btn {
  border: 1px solid rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .btn:hover {
  border-color: var(--accent);
}

[data-theme="light"] .btn-secondary {
  border: 1px solid rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(236, 72, 153, 0.05);
}

[data-theme="light"] .timeline:before {
  background: linear-gradient(var(--accent), transparent);
}

[data-theme="light"] .timeline-point {
  box-shadow: 0 0 0 8px rgba(236, 72, 153, 0.2);
}

[data-theme="light"] .projects-toolbar .sort-control select {
  border: 1px solid rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .achievement-item,
[data-theme="light"] .leadership-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .achievement-item:hover,
[data-theme="light"] .leadership-item:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(236, 72, 153, 0.3);
}

[data-theme="light"] .achievement-badge,
[data-theme="light"] .leadership-badge {
  box-shadow: 0 3px 10px rgba(236, 72, 153, 0.3);
}

[data-theme="light"] .doc-link {
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.2);
  color: var(--accent);
}

[data-theme="light"] .doc-link:hover {
  background: var(--accent);
  color: white;
  box-shadow: 0 6px 16px rgba(236, 72, 153, 0.4);
}

[data-theme="light"] .float-element {
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.1),
    rgba(244, 114, 182, 0.1)
  );
}

[data-theme="light"] .avatar {
  border: 3px solid rgba(236, 72, 153, 0.3);
}

[data-theme="light"] .about-photo:hover img {
  border-color: var(--accent);
}

[data-theme="light"] .stat-item {
  border-bottom: 2px solid var(--accent);
}

[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus {
  outline: 2px solid rgba(236, 72, 153, 0.6);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.15);
  border-color: transparent;
}

[data-theme="light"] .toast-success {
  border-color: rgba(108, 228, 199, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  h2 {
    font-size: 2.2em;
  }
  
  h3 {
    font-size: 1.4em;
  }
  
  .about {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  
  .about-main {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .about-photo-container {
    justify-self: center;
  }
  
  .about-name {
    font-size: 2.2em;
  }
  
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 24px;
  }
  
  .about-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .timeline:before {
    left: 10px;
  }
  
  .timeline-item {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .projects-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .contact-form .row {
    grid-template-columns: 1fr;
  }
  
  .achievement-header,
  .leadership-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .achievement-badge,
  .leadership-badge {
    align-self: flex-start;
  }
  
  .document-links {
    flex-direction: column;
  }
  
  .doc-link {
    justify-content: center;
  }
  
  .theme-toggle-fixed {
    bottom: 20px;
    right: 20px;
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .theme-toggle-fixed svg {
    width: 18px;
    height: 18px;
  }
  
  .toast-container {
    right: 20px;
    left: 20px;
  }
  
  .toast {
    min-width: auto;
  }
  
  .float-element {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  h2 {
    font-size: 2em;
  }
  
  .about-hero {
    padding: 80px 0 100px;
  }
  
  .about-name {
    font-size: 2em;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  
  .stat-item {
    padding: 16px 0;
    border-bottom: 2px solid var(--accent);
  }
  
  .achievement-item,
  .leadership-item {
    padding: 20px;
  }
  
  .theme-toggle-fixed {
    bottom: 16px;
    right: 16px;
    padding: 10px 14px;
    font-size: 13px;
  }
  
  .theme-toggle-fixed svg {
    width: 16px;
    height: 16px;
  }
  
  .toast-container {
    top: 80px;
    right: 16px;
    left: 16px;
  }
}