/*
Theme Name: Sunil Kumar Portfolio
Theme URI: https://sunilkumarthz.com
Description: A modern, interactive portfolio theme for WordPress developers and community builders. Features beautiful animations, responsive design, and dark/light mode support.
Author: Sunil Kumar
Author URI: https://sunilkumarthz.com
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sunilkumarthz
Tags: portfolio, developer, wordpress, community, responsive, dark-mode, animations
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Roboto:wght@300;400;500;700&family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

/* CSS Variables for theming */
:root {
  /* Dark theme - Professional corporate aesthetic */
  --background: 220 18% 9%;
  --foreground: 220 15% 95%;
  --card: 220 18% 11%;
  --card-foreground: 220 15% 95%;
  --primary: 217 91% 60%;
  --primary-foreground: 220 18% 9%;
  --secondary: 220 14% 16%;
  --secondary-foreground: 220 15% 85%;
  --muted: 220 14% 16%;
  --muted-foreground: 220 8% 65%;
  --accent: 199 89% 48%;
  --accent-foreground: 220 18% 9%;
  --border: 220 14% 20%;
  --radius: 0.75rem;
  
  /* Professional portfolio colors */
  --gradient-start: 217 91% 60%;
  --gradient-middle: 199 89% 48%;
  --gradient-end: 142 71% 45%;
  --hero-glow: 217 91% 60%;
  --accent-warm: 30 100% 60%;
  --accent-cool: 199 89% 48%;
  --success: 142 71% 45%;
  --info: 217 91% 60%;
  --warning: 30 100% 60%;
}

[data-theme="light"] {
  /* Light theme - Clean corporate professional */
  --background: 0 0% 98%;
  --foreground: 220 20% 15%;
  --card: 0 0% 100%;
  --card-foreground: 220 20% 15%;
  --primary: 217 91% 60%;
  --primary-foreground: 0 0% 100%;
  --secondary: 220 15% 95%;
  --secondary-foreground: 220 20% 15%;
  --muted: 220 15% 95%;
  --muted-foreground: 220 10% 45%;
  --accent: 199 89% 48%;
  --accent-foreground: 0 0% 100%;
  --border: 220 15% 88%;
  
  /* Light mode professional colors */
  --gradient-start: 217 91% 60%;
  --gradient-middle: 199 89% 48%;
  --gradient-end: 142 71% 45%;
  --hero-glow: 217 91% 60%;
  --accent-warm: 30 100% 60%;
  --accent-cool: 199 89% 48%;
  --success: 142 71% 45%;
  --info: 217 91% 60%;
  --warning: 30 100% 60%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  transition: all 0.3s ease;
}

.font-baloo {
  font-family: 'Baloo 2', cursive;
}

.font-roboto {
  font-family: 'Roboto', sans-serif;
}

.font-display {
  font-family: 'Baloo 2', 'Playfair Display', Georgia, serif;
}

.font-mono {
  font-family: 'JetBrains Mono', Monaco, 'Cascadia Code', monospace;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, 
    hsl(var(--gradient-start)) 0%, 
    hsl(var(--gradient-middle)) 50%, 
    hsl(var(--gradient-end)) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 3rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  font-size: 1.125rem;
}

.btn-icon {
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

.btn-text {
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, 
    hsl(var(--primary)) 0%, 
    hsl(var(--accent-cool)) 100%);
  color: white;
  box-shadow: 0 4px 20px hsl(var(--primary) / 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px hsl(var(--primary) / 0.4);
}

.btn-outline {
  background: hsl(var(--card) / 0.5);
  backdrop-filter: blur(10px);
  color: hsl(var(--foreground));
  border: 2px solid hsl(var(--primary) / 0.5);
  box-shadow: 0 4px 20px hsl(var(--primary) / 0.1);
}

.btn-outline:hover {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary));
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px hsl(var(--primary) / 0.2);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.hero-btn-primary,
.hero-btn-outline {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
}

.scroll-indicator {
  margin-top: 3rem;
  animation: bounce 2s infinite;
}

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

.scroll-arrow {
  font-size: 1.5rem;
  opacity: 0.7;
  animation: float 2s ease-in-out infinite;
}

/* Cards */
.card {
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 20px hsl(var(--primary) / 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px hsl(var(--primary) / 0.2);
}

/* Enhanced Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, 
    hsl(var(--background)) 0%, 
    hsl(var(--card) / 0.8) 100%);
}

.hero-background {
  position: absolute;
  inset: 0;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.1;
  filter: blur(2px);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    hsl(var(--background)) 0%, 
    hsl(var(--background) / 0.95) 50%,
    hsl(var(--background)) 100%);
}

.hero-content {
  text-align: center;
  z-index: 10;
  position: relative;
  max-width: 1400px;
  padding: 2rem;
}

.hero-title-wrapper {
  margin-bottom: 3rem;
}

.hero-title-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hero-emoji {
  font-size: clamp(3rem, 6vw, 5rem);
  display: inline-block;
  animation: wave 2s ease-in-out infinite;
}

.hero-title-word {
  font-size: clamp(3rem, 8vw, 6rem);
  margin: 0;
  line-height: 1;
  animation: slideInUp 0.8s ease-out forwards;
}

.hero-name-section {
  margin-bottom: 3rem;
}

.hero-subtitle {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
  color: hsl(var(--foreground));
  font-weight: 700;
}

.rotating-text-container {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.rotating-text {
  position: relative;
}

.rotating-text p {
  transition: opacity 0.3s ease;
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 2rem);
  padding: 1rem 2rem;
  background: hsl(var(--card) / 0.5);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  border: 2px solid hsl(var(--primary) / 0.3);
  position: relative;
  overflow: hidden;
}

.rotating-text p:before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(45deg, 
    hsl(var(--primary)), 
    hsl(var(--accent-cool)), 
    hsl(var(--gradient-end)), 
    hsl(var(--primary)));
  border-radius: 2rem;
  opacity: 0.3;
  blur: 1px;
  z-index: -1;
}

.hero-description-section {
  margin-bottom: 4rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.hero-description-main {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  line-height: 1.6;
  font-weight: 500;
}

.hero-description-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.text-highlight {
  color: hsl(var(--primary));
  font-weight: 700;
}

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

.text-highlight-primary {
  color: hsl(var(--gradient-start));
  font-weight: 600;
}

/* Enhanced Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.stat-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: hsl(var(--card) / 0.3);
  backdrop-filter: blur(15px);
  border-radius: 2rem;
  border: 1px solid hsl(var(--border) / 0.5);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.stat-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    hsl(var(--primary) / 0.1), 
    hsl(var(--accent-cool) / 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 50px hsl(var(--primary) / 0.3);
}

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

.stat-card-1 { border-top: 3px solid hsl(var(--primary)); }
.stat-card-2 { border-top: 3px solid hsl(var(--accent-cool)); }
.stat-card-3 { border-top: 3px solid hsl(var(--accent-warm)); }
.stat-card-4 { border-top: 3px solid hsl(var(--success)); }

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.stat-number.gradient-text {
  background: linear-gradient(135deg, 
    hsl(var(--gradient-start)), 
    hsl(var(--gradient-end)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-number.accent-cool { color: hsl(var(--accent-cool)); }
.stat-number.accent-warm { color: hsl(var(--accent-warm)); }
.stat-number.success { color: hsl(var(--success)); }

.stat-label {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  font-weight: 600;
  position: relative;
  z-index: 1;
}

/* Enhanced Experience Timeline */
.timeline {
  position: relative;
  padding-left: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, 
    hsl(var(--primary)) 0%, 
    hsl(var(--accent-cool)) 50%, 
    hsl(var(--gradient-end)) 100%);
  border-radius: 1.5px;
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  padding-left: 4rem;
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.6s ease-out forwards;
}

.timeline-icon-wrapper {
  position: absolute;
  left: -2.5rem;
  top: 0;
  z-index: 10;
}

.timeline-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 4px solid hsl(var(--background));
  box-shadow: 0 8px 30px hsl(var(--primary) / 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.timeline-icon:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    hsl(var(--primary)), 
    hsl(var(--accent-cool)));
  z-index: -1;
}

.timeline-icon:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 40px hsl(var(--primary) / 0.4);
}

.timeline-icon.primary-accent:before {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent-cool)));
}

.timeline-icon.accent-warm:before {
  background: linear-gradient(135deg, hsl(var(--accent-warm)), hsl(var(--warning)));
}

.timeline-icon.accent-cool:before {
  background: linear-gradient(135deg, hsl(var(--accent-cool)), hsl(var(--info)));
}

.timeline-icon.gradient-purple:before {
  background: linear-gradient(135deg, hsl(var(--gradient-start)), hsl(var(--gradient-middle)));
}

.timeline-icon.success:before {
  background: linear-gradient(135deg, hsl(var(--success)), hsl(var(--accent-cool)));
}

.timeline-icon.info:before {
  background: linear-gradient(135deg, hsl(var(--info)), hsl(var(--gradient-end)));
}

.timeline-emoji {
  color: white;
  font-size: 2rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.timeline-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-left: 4px solid hsl(var(--primary) / 0.5);
  padding: 2rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px hsl(var(--primary) / 0.2);
  border-left-color: hsl(var(--primary));
}

.company-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chevron-icon {
  color: hsl(var(--primary));
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.timeline-card:hover .chevron-icon {
  transform: translateX(5px);
}

.roles-container {
  space-y: 1rem;
}

/* Enhanced Community Cards */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.community-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 8px 32px hsl(var(--primary) / 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.community-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    hsl(var(--primary)), 
    hsl(var(--accent-cool)));
}

.community-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px hsl(var(--primary) / 0.2);
}

.community-volunteer:before { background: linear-gradient(90deg, hsl(var(--accent-cool)), hsl(var(--info))); }
.community-speaker:before { background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent-cool))); }
.community-organizer:before { background: linear-gradient(90deg, hsl(var(--accent-warm)), hsl(var(--warning))); }
.community-attendee:before { background: linear-gradient(90deg, hsl(var(--success)), hsl(var(--accent-cool))); }

.community-content {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.community-icon-wrapper {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.community-card:hover .community-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  background: hsl(var(--primary) / 0.2);
}

.community-icon {
  font-size: 2rem;
}

.community-text {
  flex: 1;
}

.community-event {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.community-location {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.location-icon {
  color: hsl(var(--primary));
}

.community-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.year-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-align: center;
}

.community-year {
  margin-bottom: 4rem;
}

/* Badges Section */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.badge-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.badge-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, 
    hsl(var(--primary) / 0.05) 0%, 
    transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.badge-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 50px hsl(var(--primary) / 0.2);
}

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

.badge-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

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

.badge-desc {
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}

/* Enhanced Social Links */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.social-link {
  display: block;
  text-decoration: none;
  color: hsl(var(--foreground));
  transition: all 0.4s ease;
  position: relative;
}

.social-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 2rem;
  background: hsl(var(--card) / 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 1.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.social-hover-effect {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    hsl(var(--primary) / 0.1), 
    hsl(var(--accent-cool) / 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-link:hover .social-hover-effect {
  opacity: 1;
}

.social-link:hover {
  transform: translateY(-8px) scale(1.05);
}

.social-link:hover .social-content {
  box-shadow: 0 20px 60px hsl(var(--primary) / 0.3);
  border-color: hsl(var(--primary) / 0.5);
}

.social-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
  transform: scale(1.2) rotate(5deg);
}

.social-label {
  font-weight: 600;
  font-size: 1.125rem;
  position: relative;
  z-index: 1;
}

/* Social Link Color Variants */
.social-primary:hover .social-content { border-color: hsl(var(--primary)); box-shadow: 0 20px 60px hsl(var(--primary) / 0.3); }
.social-accent-warm:hover .social-content { border-color: hsl(var(--accent-warm)); box-shadow: 0 20px 60px hsl(var(--accent-warm) / 0.3); }
.social-accent-cool:hover .social-content { border-color: hsl(var(--accent-cool)); box-shadow: 0 20px 60px hsl(var(--accent-cool) / 0.3); }
.social-info:hover .social-content { border-color: hsl(var(--info)); box-shadow: 0 20px 60px hsl(var(--info) / 0.3); }
.social-gradient-purple:hover .social-content { border-color: hsl(var(--gradient-start)); box-shadow: 0 20px 60px hsl(var(--gradient-start) / 0.3); }
.social-foreground:hover .social-content { border-color: hsl(var(--foreground)); box-shadow: 0 20px 60px hsl(var(--foreground) / 0.3); }

.bg-gradient-dark {
  background: linear-gradient(135deg, 
    hsl(var(--card)) 0%, 
    hsl(var(--background)) 50%,
    hsl(var(--card)) 100%);
}

.text-light {
  color: hsl(var(--muted-foreground));
}

/* Theme Toggle */
.theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 20px hsl(var(--primary) / 0.3);
}

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

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes wave {
  0%, 100% { 
    transform: rotate(0deg); 
  }
  25% { 
    transform: rotate(20deg); 
  }
  75% { 
    transform: rotate(-15deg); 
  }
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
    opacity: 0.6;
  }
  33% { 
    transform: translateY(-15px) rotate(120deg); 
    opacity: 0.8;
  }
  66% { 
    transform: translateY(-25px) rotate(240deg); 
    opacity: 1;
  }
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-slide-in-up {
  animation: slideInUp 0.8s ease-out forwards;
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.8s ease-out forwards;
}

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

.bounce-gentle {
  animation: bounce 2s infinite;
}

.floating-particle {
  position: absolute;
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
  background: linear-gradient(45deg, 
    hsl(var(--primary)), 
    hsl(var(--accent-cool)));
}

.floating-particle.small {
  width: 3px;
  height: 3px;
}

.floating-particle.medium {
  width: 6px;
  height: 6px;
}

.floating-particle.large {
  width: 9px;
  height: 9px;
  background: linear-gradient(45deg, 
    hsl(var(--gradient-start)), 
    hsl(var(--gradient-end)));
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
  .hero-title-line {
    gap: 1rem;
  }
  
  .hero-emoji {
    font-size: clamp(2.5rem, 5vw, 4rem);
  }
  
  .timeline {
    padding-left: 2rem;
  }
  
  .timeline-item {
    padding-left: 3rem;
  }
  
  .timeline-icon-wrapper {
    left: -2rem;
  }
  
  .timeline-icon {
    width: 4rem;
    height: 4rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .hero-title-line {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .hero-btn-primary,
  .hero-btn-outline {
    width: 100%;
    max-width: 300px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-card {
    padding: 1.5rem 1rem;
  }
  
  .timeline {
    padding-left: 1.5rem;
  }
  
  .timeline-item {
    padding-left: 2.5rem;
  }
  
  .timeline-icon-wrapper {
    left: -1.75rem;
  }
  
  .timeline-icon {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.5rem;
  }
  
  .timeline-line {
    left: 1.5rem;
  }
  
  .community-grid {
    grid-template-columns: 1fr;
  }
  
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .badges-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .year-title {
    font-size: 2rem;
  }
  
  .profile-image {
    width: 250px;
    height: 250px;
  }
  
  .section-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-emoji {
    font-size: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .social-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-btn-primary,
  .hero-btn-outline {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .floating-particle {
    animation: none;
  }
}

/* Print Styles */
@media print {
  .theme-toggle,
  .floating-particle {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}