/* ============================================
   GARY OF CINEMA - MAIN STYLESHEET
   ============================================
   Table of Contents:
   1. CSS Custom Properties (Variables)
   2. Reset & Base Styles
   3. Typography
   4. Layout & Container
   5. Navigation
   6. Hero Section
   7. Background Shapes & Effects
   8. Skill Badges & Categories
   9. Achievement Metrics
   10. Featured Projects Section
   11. Works Section
   12. Other Sections
   13. Animations & Keyframes
   14. Utility Classes
   15. Media Queries
   16. Accessibility & Performance
   17. Print Styles
   ============================================ */

/* ============================================
   1. CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================ */
:root {
  /* Primary Colors */
  --primary-blue: #4A90E2;
  --primary-coral: #FF6B6B;
  --primary-coral-hover: #ff5252;

  /* Creative Colors */
  --creative-purple: #8B5CF6;
  --creative-orange: #F59E0B;
  --creative-green: #10B981;
  --creative-gold: #FFD700;

  /* Gradient Colors */
  --gradient-start: #667eea;
  --gradient-middle: #764ba2;
  --gradient-end: #f093fb;

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #f0f0f0;
  --text-muted: rgba(255, 255, 255, 0.8);
  --text-dark: #333333;
  --text-gray: #666666;

  /* Background Colors */
  --nav-bg: rgba(255, 255, 255, 0.1);
  --nav-hover: rgba(255, 255, 255, 0.2);
  --nav-scrolled: rgba(0, 0, 0, 0.8);
  --card-bg: rgba(255, 255, 255, 0.1);
  --card-bg-hover: rgba(255, 255, 255, 0.15);

  /* Shadow Colors */
  --shadow-light: rgba(255, 255, 255, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.2);
  --shadow-coral: rgba(255, 107, 107, 0.3);
  --shadow-blue: rgba(74, 144, 226, 0.3);

  /* Design-specific Colors */
  --adobe-red: #FF0000;
  --code-blue: #007ACC;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  --font-size-hero: clamp(3rem, 8vw, 6rem);

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Layout */
  --nav-height: 80px;
  --container-max-width: 1200px;
  --border-radius: 12px;
  --border-radius-lg: 24px;
  --border-radius-pill: 50px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --animation-duration: 1s;
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(74, 144, 226, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-middle) 50%, var(--gradient-end) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at top left, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================
   4. LAYOUT & CONTAINER
   ============================================ */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  text-align: center;
}

/* ============================================
   5. NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: var(--nav-scrolled);
  backdrop-filter: blur(25px);
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--spacing-lg);
  position: relative;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--font-size-base);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.4s ease;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover,
.nav-link.active {
  background: var(--nav-hover);
  transform: translateY(-2px);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary-coral);
  border-radius: 1px;
}

/* Navigation Logo */
.nav-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

/* Old nav-profile styling for cached HTML */
.nav-profile {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.profile-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  cursor: pointer;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.profile-logo:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px rgba(255, 107, 107, 0.5));
}

.profile-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-normal);
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-coral));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
  object-fit: cover;
}

.profile-img:hover {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--primary-coral);
  box-shadow: 0 0 20px var(--shadow-coral);
}

/* Navigation Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.login-btn {
  background: var(--primary-coral);
  color: white;
  border: none;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.login-btn:hover {
  background: var(--primary-coral-hover);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px var(--shadow-coral);
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: var(--spacing-sm);
}

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-coral);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.social-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all var(--transition-normal);
}

.social-icon:hover::after {
  width: 100%;
  height: 100%;
}

.social-icon:hover {
  background: var(--primary-coral-hover);
  transform: translateY(-2px);
}

.social-icon.badge::after,
.badge-count {
  content: attr(data-count);
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff3030;
  color: white;
  font-size: var(--font-size-xs);
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Open State */
.nav-links.mobile-open {
  display: flex;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  flex-direction: column;
  padding: var(--spacing-xl);
  gap: var(--spacing-lg);
  animation: slideDown var(--transition-normal);
  z-index: 999;
}

/* ============================================
   6. HERO SECTION
   ============================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
  opacity: 0;
  animation: sectionFadeIn 0.8s ease-out 0.2s both;
}

.hero-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  text-align: center;
  z-index: 2;
  position: relative;
}

.hero-title {
  font-size: var(--font-size-hero);
  font-weight: 900;
  margin-bottom: var(--spacing-2xl);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title:hover .hero-text-line {
  animation-play-state: paused;
  transform: scale(1.02);
  transition: transform var(--transition-normal);
}

.hero-text-line {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #87CEEB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  animation:
    heroEntrance 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) both,
    glow 3s ease-in-out infinite 2s;
}

.hero-text-line::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--primary-coral);
  border-radius: 3px;
  animation: slideInLeft var(--animation-duration) ease-out 0.5s both;
}

/* Hero Tagline */
.hero-tagline {
  margin-bottom: var(--spacing-2xl);
  text-align: center;
  animation: fadeInUp var(--animation-duration) ease-out 0.3s both;
}

.tagline-text {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tagline-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  font-weight: 400;
  font-style: italic;
}

/* Professional Summary */
.professional-summary {
  max-width: 600px;
  margin: 0 auto var(--spacing-2xl);
  text-align: center;
  animation: fadeInUp var(--animation-duration) ease-out 0.9s both;
}

.professional-summary p {
  font-size: var(--font-size-lg);
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 400;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp var(--animation-duration) ease-out 1.2s both;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background: var(--primary-coral);
  color: white;
  text-decoration: none;
  padding: var(--spacing-lg) var(--spacing-2xl);
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  font-size: var(--font-size-lg);
  transition: all var(--transition-normal);
  box-shadow: 0 8px 25px var(--shadow-coral);
  animation: fadeInUp var(--animation-duration) ease-out 0.8s both;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  background: transparent;
  border-color: var(--primary-coral);
  color: var(--primary-coral);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

.cta-button.primary {
  background: var(--primary-coral);
  color: white;
}

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

.cta-button.secondary:hover {
  background: var(--primary-coral);
  color: white;
}

.cta-button i {
  margin-right: var(--spacing-sm);
}

/* ============================================
   7. BACKGROUND SHAPES & EFFECTS
   ============================================ */
.bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -10%;
  animation-delay: 0s;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.3) 0%, rgba(74, 144, 226, 0.1) 70%);
}

.shape-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: -5%;
  animation-delay: 2s;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.3) 0%, rgba(255, 107, 107, 0.1) 70%);
}

.shape-3 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
  background: radial-gradient(circle, rgba(135, 206, 235, 0.3) 0%, rgba(135, 206, 235, 0.1) 70%);
}

.shape-4 {
  width: 120px;
  height: 120px;
  top: 30%;
  right: 15%;
  animation-delay: 1s;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.2) 0%, rgba(255, 107, 107, 0.05) 70%);
}

.shape-5 {
  width: 80px;
  height: 80px;
  bottom: 40%;
  right: 30%;
  animation-delay: 3s;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.25) 0%, rgba(74, 144, 226, 0.08) 70%);
}

/* Organic Shapes */
.organic-shape {
  position: absolute;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(15px);
  animation: float 8s ease-in-out infinite;
}

.organic-1 {
  width: 400px;
  height: 200px;
  top: 15%;
  left: -10%;
  border-radius: 50% 80% 30% 70%;
  animation-delay: 0.5s;
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.15) 0%, rgba(135, 206, 235, 0.08) 100%);
  transform: rotate(-15deg);
}

.organic-2 {
  width: 300px;
  height: 150px;
  bottom: 10%;
  right: -5%;
  border-radius: 70% 30% 80% 50%;
  animation-delay: 2.5s;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(255, 182, 193, 0.08) 100%);
  transform: rotate(20deg);
}

/* Animation Control Button */
.animation-control {
  position: fixed;
  bottom: var(--spacing-xl);
  right: var(--spacing-xl);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
  z-index: 1000;
}

.animation-control:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.animation-control:active {
  transform: scale(0.95);
}

/* ============================================
   8. SKILL BADGES & CATEGORIES
   ============================================ */
.skills-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
  animation: fadeInUp var(--animation-duration) ease-out 0.6s both;
}

.skill-category h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
  text-align: center;
  position: relative;
  z-index: 1;
}

.skill-icons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  justify-content: center;
  position: relative;
  z-index: 1;
}

.skill-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: white;
  background: linear-gradient(135deg, var(--primary-blue), var(--creative-purple));
  box-shadow: 0 4px 12px var(--shadow-dark);
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border: 2px solid transparent;
  animation: skillBadgeEntrance 0.6s ease-out both;
}

.skill-badge:nth-child(1) { animation-delay: 0.8s; }
.skill-badge:nth-child(2) { animation-delay: 0.9s; }
.skill-badge:nth-child(3) { animation-delay: 1.0s; }
.skill-badge:nth-child(4) { animation-delay: 1.1s; }
.skill-badge:nth-child(5) { animation-delay: 1.2s; }

.skill-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.skill-badge:hover::before {
  left: 100%;
}

.skill-badge:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.skill-badge.adobe {
  background: linear-gradient(135deg, var(--adobe-red), #CC0000);
}

.skill-badge.code {
  background: linear-gradient(135deg, var(--code-blue), #005A9E);
}

.skill-badge.creative {
  background: linear-gradient(135deg, var(--creative-gold), #E6C200);
  color: var(--text-dark);
}

/* Creative Specialties */
.creative-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  justify-content: center;
  margin-top: var(--spacing-lg);
}

.specialty-tag {
  padding: var(--spacing-xs) var(--spacing-md);
  background: linear-gradient(135deg, var(--creative-purple), var(--creative-orange));
  color: white;
  border-radius: 20px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: all var(--transition-fast);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.specialty-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.specialty-tag:hover::before {
  left: 100%;
}

.specialty-tag:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

/* Skill Preview */
.skill-preview {
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.preview-content h4 {
  color: var(--primary-coral);
  margin-bottom: var(--spacing-sm);
  font-size: 1.1rem;
}

.preview-content p {
  margin-bottom: var(--spacing-md);
  opacity: 0.9;
}

.preview-arrow {
  font-size: var(--font-size-2xl);
  color: var(--primary-coral);
  animation: bounce var(--animation-duration) infinite;
}

/* ============================================
   9. ACHIEVEMENT METRICS
   ============================================ */
.achievement-metrics {
  display: flex;
  justify-content: center;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
  animation: fadeInUp var(--animation-duration) ease-out 1.0s both;
}

.metric {
  text-align: center;
  padding: var(--spacing-lg);
  background: var(--card-bg);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-normal);
  min-width: 120px;
}

.metric:hover {
  transform: translateY(-5px);
  background: var(--card-bg-hover);
  box-shadow: 0 10px 30px var(--shadow-dark);
}

.metric-number {
  display: block;
  font-size: var(--font-size-3xl);
  font-weight: 900;
  color: var(--primary-coral);
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 2px 10px var(--shadow-coral);
  animation: countUp 0.8s ease-out both;
}

.metric:nth-child(1) .metric-number { animation-delay: 1.2s; }
.metric:nth-child(2) .metric-number { animation-delay: 1.4s; }
.metric:nth-child(3) .metric-number { animation-delay: 1.6s; }

.metric-label {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   10. FEATURED PROJECTS SECTION
   ============================================ */
.featured-projects-section {
  position: relative;
  padding: var(--spacing-3xl) 0;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 50%,
    rgba(240, 147, 251, 0.1) 100%);
}

.featured-projects-section .container {
  position: relative;
  z-index: 2;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

/* Animated Background */
.animated-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-coral));
  border-radius: 50%;
  opacity: 0.6;
  animation: floatParticle 15s infinite linear;
}

.particle-1 { width: 8px; height: 8px; left: 10%; animation-delay: 0s; animation-duration: 20s; }
.particle-2 { width: 12px; height: 12px; left: 25%; animation-delay: -5s; animation-duration: 25s; }
.particle-3 { width: 6px; height: 6px; left: 40%; animation-delay: -10s; animation-duration: 18s; }
.particle-4 { width: 10px; height: 10px; left: 60%; animation-delay: -15s; animation-duration: 22s; }
.particle-5 { width: 14px; height: 14px; left: 75%; animation-delay: -8s; animation-duration: 28s; }
.particle-6 { width: 7px; height: 7px; left: 85%; animation-delay: -12s; animation-duration: 16s; }
.particle-7 { width: 9px; height: 9px; left: 15%; animation-delay: -18s; animation-duration: 24s; }
.particle-8 { width: 11px; height: 11px; left: 90%; animation-delay: -3s; animation-duration: 19s; }

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(74, 144, 226, 0.05) 0%,
    rgba(139, 92, 246, 0.05) 25%,
    rgba(255, 107, 107, 0.05) 50%,
    rgba(245, 158, 11, 0.05) 75%,
    rgba(16, 185, 129, 0.05) 100%
  );
  animation: gradientShift 8s ease-in-out infinite;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-coral));
  border-radius: 2px;
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-3xl);
}

.project-card {
  background: var(--card-bg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-normal);
  position: relative;
  transform: translateY(0);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-dark);
  border-color: rgba(255, 255, 255, 0.3);
}

.project-image {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg,
    var(--primary-blue) 0%,
    var(--creative-purple) 50%,
    var(--primary-coral) 100%);
  overflow: hidden;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--spacing-lg);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-tools {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.tool-tag {
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 15px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tool-tag.adobe {
  background: linear-gradient(135deg, var(--adobe-red), #ff4444);
  color: white;
}

.tool-tag.code {
  background: linear-gradient(135deg, var(--code-blue), #0099ff);
  color: white;
}

.project-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  backdrop-filter: blur(5px);
  transition: all var(--transition-fast);
  align-self: flex-start;
}

.project-link:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.project-content {
  padding: var(--spacing-lg);
}

.project-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.project-description {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}

.project-stats {
  display: flex;
  gap: var(--spacing-lg);
}

.stat {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

.stat i {
  color: var(--primary-coral);
}

/* Section CTA */
.section-cta {
  text-align: center;
}

.section-cta .cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: var(--font-size-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.section-cta .cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.section-cta .cta-button:hover::before {
  left: 100%;
}

/* Fade-in Animation */
.fade-in-element {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--animation-duration) cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.fade-in-element:nth-child(1) { transition-delay: 0.1s; }
.fade-in-element:nth-child(2) { transition-delay: 0.3s; }
.fade-in-element:nth-child(3) { transition-delay: 0.5s; }

/* ============================================
   11. WORKS SECTION
   ============================================ */
.works-section {
  position: relative;
  padding: var(--spacing-3xl) 0;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg,
    #1a1a2e 0%,
    #16213e 25%,
    #0f3460 50%,
    #533483 75%,
    #7209b7 100%
  );
}

/* Works Background */
.works-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.flowing-ribbons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ribbon {
  position: absolute;
  width: 200px;
  height: 8px;
  border-radius: 4px;
  opacity: 0.8;
  animation: flowRibbon 15s infinite linear;
}

.ribbon-1 {
  background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb);
  top: 20%;
  left: -200px;
  animation-delay: 0s;
  transform: rotate(-15deg);
}

.ribbon-2 {
  background: linear-gradient(90deg, #ff9ff3, #54a0ff, #5f27cd);
  top: 40%;
  left: -200px;
  animation-delay: -5s;
  transform: rotate(10deg);
  width: 300px;
}

.ribbon-3 {
  background: linear-gradient(90deg, #00d2d3, #ff9f43, #ee5a24);
  top: 60%;
  left: -200px;
  animation-delay: -10s;
  transform: rotate(-8deg);
  width: 250px;
}

.ribbon-4 {
  background: linear-gradient(90deg, #a55eea, #26de81, #feca57);
  top: 80%;
  left: -200px;
  animation-delay: -7s;
  transform: rotate(12deg);
  width: 180px;
}

/* Creative Floating Elements */
.creative-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.floating-shape {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  animation: floatShape 8s infinite ease-in-out;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.floating-shape.shape-1 {
  background: linear-gradient(135deg, #ff6b6b, #feca57);
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.floating-shape.shape-2 {
  background: linear-gradient(135deg, #48dbfb, #0abde3);
  top: 25%;
  right: 15%;
  animation-delay: -2s;
}

.floating-shape.shape-3 {
  background: linear-gradient(135deg, #ff9ff3, #a55eea);
  bottom: 30%;
  left: 8%;
  animation-delay: -4s;
}

.floating-shape.shape-4 {
  background: linear-gradient(135deg, #26de81, #20bf6b);
  top: 60%;
  right: 20%;
  animation-delay: -6s;
}

.floating-shape.shape-5 {
  background: linear-gradient(135deg, #fd79a8, #e84393);
  bottom: 15%;
  right: 10%;
  animation-delay: -1s;
}

.works-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Works Content */
.works-section .container {
  position: relative;
  z-index: 2;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  text-align: center;
}

.works-header {
  margin-bottom: var(--spacing-3xl);
}

.works-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: white;
  margin-bottom: var(--spacing-lg);
  background: linear-gradient(135deg, #feca57, #ff6b6b, #48dbfb, #ff9ff3);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
}

.works-subtitle {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-md);
  font-weight: 600;
}

.works-description {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Works Stats */
.works-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-3xl);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: var(--spacing-lg);
  background: var(--card-bg);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 120px;
  transition: all var(--transition-normal);
}

.stat-item:hover {
  transform: translateY(-5px);
  background: var(--card-bg-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-number {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: #feca57;
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Works CTA */
.works-cta {
  margin-bottom: var(--spacing-3xl);
}

.works-button {
  position: relative;
  display: inline-block;
  padding: var(--spacing-lg) var(--spacing-2xl);
  background: linear-gradient(135deg, #ff6b6b, #feca57, #48dbfb);
  background-size: 300% 300%;
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius-pill);
  font-weight: 700;
  font-size: var(--font-size-lg);
  transition: all var(--transition-normal);
  overflow: hidden;
  border: none;
  cursor: pointer;
  animation: gradientShift 3s ease-in-out infinite;
}

.works-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px var(--shadow-coral);
}

.works-button .button-text {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.works-button .button-bg {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #48dbfb, #ff9ff3, #26de81);
  transition: left var(--transition-normal);
  z-index: 1;
}

.works-button:hover .button-bg {
  left: 0;
}

.cta-note {
  margin-top: var(--spacing-md);
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

/* Skill Preview Grid */
.skill-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  max-width: 800px;
  margin: 0 auto;
}

.skill-category {
  text-align: center;
  padding: var(--spacing-xl);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
  z-index: 0;
}

.skill-category:hover::before {
  left: 100%;
}

.skill-category:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.skill-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  font-size: 24px;
  color: white;
  transition: all var(--transition-normal);
}

.skill-icon.adobe {
  background: linear-gradient(135deg, #ff0000, #ff6b6b);
}

.skill-icon.code {
  background: linear-gradient(135deg, #48dbfb, #0abde3);
}

.skill-icon.music {
  background: linear-gradient(135deg, #ff9ff3, #a55eea);
}

.skill-icon.media {
  background: linear-gradient(135deg, #26de81, #20bf6b);
}

.skill-category:hover .skill-icon {
  transform: scale(1.1) rotate(10deg);
}

.skill-category h4 {
  font-size: var(--font-size-lg);
  color: white;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
}

.skill-category p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ============================================
   12. OTHER SECTIONS
   ============================================ */
.blog-section {
  min-height: 100vh;
  padding: var(--spacing-3xl) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
}

/* ============================================
   ABOUT SECTION - REDESIGNED
   ============================================ */
.about-section {
  min-height: 100vh;
  padding: var(--spacing-3xl) var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.05) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(255, 107, 107, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(108, 99, 255, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(255, 107, 107, 0.08) 0%, transparent 50%);
  animation: aboutBgFloat 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes aboutBgFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(2%, 2%) rotate(1deg); }
}

.about-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--spacing-2xl);
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Profile Card */
.about-profile-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: var(--spacing-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-coral) 100%);
  opacity: 0.3;
}

.about-avatar-wrapper {
  position: relative;
  margin-top: 20px;
  margin-bottom: var(--spacing-md);
}

.about-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-coral) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: white;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 40px rgba(108, 99, 255, 0.3);
}

.about-avatar-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-coral) 100%);
  opacity: 0.3;
  filter: blur(20px);
  animation: avatarGlow 3s ease-in-out infinite;
}

@keyframes avatarGlow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.1); }
}

.about-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  position: relative;
  z-index: 1;
}

.about-title-role {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.about-quick-stats {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  margin-bottom: var(--spacing-lg);
}

.about-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-social-links {
  display: flex;
  gap: var(--spacing-sm);
}

.about-social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.about-social-link:hover {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-coral) 100%);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.3);
  border-color: transparent;
}

/* Bio Content */
.about-bio-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.about-header {
  margin-bottom: var(--spacing-sm);
}

.about-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-sm);
}

.about-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.about-bio-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.about-bio-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.about-bio-text .about-intro {
  font-size: 1.15rem;
  color: var(--text-primary);
}

.about-bio-text strong {
  color: var(--primary-coral);
}

.about-expertise h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.about-expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
}

.about-expertise-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.about-expertise-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(108, 99, 255, 0.3);
  transform: translateY(-2px);
}

.about-expertise-item i {
  font-size: 1.1rem;
  color: var(--primary-purple);
}

.about-expertise-item span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ============================================
   CONTACT SECTION - REDESIGNED
   ============================================ */
.contact-section {
  min-height: 100vh;
  padding: var(--spacing-3xl) var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(108, 99, 255, 0.08) 100%);
  position: relative;
}

.contact-container {
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.contact-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-sm);
}

.contact-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.contact-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  width: 100%;
  margin-bottom: var(--spacing-2xl);
}

.contact-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: transparent;
}

.contact-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.contact-card:hover .contact-card-bg {
  opacity: 1;
}

.contact-card-email .contact-card-bg {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.2) 0%, rgba(108, 99, 255, 0.05) 100%);
}

.contact-card-discord .contact-card-bg {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.2) 0%, rgba(88, 101, 242, 0.05) 100%);
}

.contact-card-linkedin .contact-card-bg {
  background: linear-gradient(135deg, rgba(0, 119, 181, 0.2) 0%, rgba(0, 119, 181, 0.05) 100%);
}

.contact-card-youtube .contact-card-bg {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.2) 0%, rgba(255, 0, 0, 0.05) 100%);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.contact-card-email .contact-card-icon {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-coral) 100%);
  color: white;
}

.contact-card-discord .contact-card-icon {
  background: #5865F2;
  color: white;
}

.contact-card-linkedin .contact-card-icon {
  background: #0077B5;
  color: white;
}

.contact-card-youtube .contact-card-icon {
  background: #FF0000;
  color: white;
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.contact-card-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.contact-card-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.contact-card-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
}

.contact-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-purple);
  transition: all 0.3s ease;
}

.contact-card-action i {
  transition: transform 0.3s ease;
}

.contact-card:hover .contact-card-action {
  color: var(--primary-coral);
}

.contact-card:hover .contact-card-action i {
  transform: translateX(4px);
}

.contact-cta {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.contact-cta p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.contact-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 100px;
  font-size: 0.9rem;
  color: #22c55e;
}

.availability-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: availabilityPulse 2s ease-in-out infinite;
}

@keyframes availabilityPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

/* Responsive Styles for About & Contact */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .about-profile-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .about-header h2 {
    font-size: 2rem;
  }

  .about-expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .about-expertise-grid {
    grid-template-columns: 1fr;
  }

  .about-quick-stats {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .about-stat {
    flex-direction: row;
    justify-content: center;
    gap: var(--spacing-sm);
  }
}

/* ============================================
   13. ANIMATIONS & KEYFRAMES
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from { width: 0; }
  to { width: 100%; }
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(5deg);
  }
  66% {
    transform: translateY(10px) rotate(-3deg);
  }
}

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

@keyframes glow {
  0%, 100% {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  50% {
    text-shadow: 0 4px 30px var(--shadow-blue), 0 0 40px rgba(74, 144, 226, 0.3);
  }
}

@keyframes heroEntrance {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes skillBadgeEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px) rotateX(90deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

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

@keyframes sectionFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% {
    transform: translateY(-100px) translateX(50px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes flowRibbon {
  0% {
    transform: translateX(-200px) rotate(var(--rotation, 0deg));
  }
  100% {
    transform: translateX(calc(100vw + 200px)) rotate(var(--rotation, 0deg));
  }
}

@keyframes floatShape {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
  }
  50% {
    transform: translateY(-10px) rotate(180deg);
  }
  75% {
    transform: translateY(-30px) rotate(270deg);
  }
}

@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}

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

@keyframes focusPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
  }
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes skillPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.1); }
}

/* Animation Classes */
.animate-in {
  animation: slideInFromBottom 0.8s ease-out;
}

.loading-shimmer {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

/* ============================================
   14. UTILITY CLASSES
   ============================================ */
.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   15. MEDIA QUERIES
   ============================================ */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
  .hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
  }

  .nav-container {
    padding: 0 var(--spacing-md);
  }

  .organic-1 {
    width: 300px;
    height: 150px;
  }

  .organic-2 {
    width: 250px;
    height: 120px;
  }

  .featured-projects-section {
    padding: var(--spacing-2xl) 0;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
  }

  .particle {
    display: none;
  }

  .works-section {
    padding: var(--spacing-2xl) 0;
  }

  .works-stats {
    gap: var(--spacing-lg);
  }

  .skill-preview {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-lg);
  }

  .floating-shape {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

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

  .nav-profile {
    position: static;
    transform: none;
  }

  .nav-container {
    padding: 0 var(--spacing-md);
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 4rem);
  }

  .cta-button {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
  }

  .social-icons {
    gap: var(--spacing-xs);
  }

  .social-icon {
    width: 35px;
    height: 35px;
  }

  .shape-1 {
    width: 200px;
    height: 200px;
  }

  .shape-2 {
    width: 150px;
    height: 150px;
  }

  .shape-3 {
    width: 100px;
    height: 100px;
  }

  .featured-projects-section .container {
    padding: 0 var(--spacing-lg);
  }

  .section-title {
    font-size: var(--font-size-3xl);
  }

  .section-subtitle {
    font-size: var(--font-size-base);
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .project-image {
    height: 160px;
  }

  .project-overlay {
    padding: var(--spacing-md);
  }

  .section-cta .cta-button {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
  }

  .works-section .container {
    padding: 0 var(--spacing-lg);
  }

  .works-title {
    font-size: var(--font-size-3xl);
  }

  .works-subtitle {
    font-size: var(--font-size-lg);
  }

  .works-stats {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
  }

  .stat-item {
    min-width: 200px;
  }

  .skill-preview {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
  }

  .skill-category {
    padding: var(--spacing-lg);
  }

  .ribbon {
    width: 150px;
  }

  .ribbon-2,
  .ribbon-3 {
    width: 200px;
  }
}

/* Mobile Phones */
@media (max-width: 480px) {
  :root {
    --nav-height: 70px;
  }

  .nav-actions {
    gap: var(--spacing-sm);
  }

  .login-btn {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-sm);
  }

  .hero-container {
    padding: 0 var(--spacing-md);
  }

  .hero-title {
    margin-bottom: var(--spacing-xl);
  }

  .cta-button {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-sm);
    width: 100%;
    max-width: 280px;
  }

  .animation-control {
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    width: 40px;
    height: 40px;
  }

  .organic-1,
  .organic-2 {
    display: none;
  }

  .profile-img {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .social-icon {
    width: 32px;
    height: 32px;
    font-size: var(--font-size-sm);
  }

  .achievement-metrics {
    flex-direction: column;
    gap: var(--spacing-lg);
  }

  .metric {
    min-width: auto;
    padding: var(--spacing-md);
  }

  .creative-specialties {
    gap: var(--spacing-xs);
  }

  .specialty-tag {
    font-size: var(--font-size-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  .featured-projects-section {
    padding: var(--spacing-xl) 0;
  }

  .featured-projects-section .container {
    padding: 0 var(--spacing-md);
  }

  .section-header {
    margin-bottom: var(--spacing-2xl);
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  .projects-grid {
    margin-bottom: var(--spacing-2xl);
  }

  .project-content {
    padding: var(--spacing-md);
  }

  .project-title {
    font-size: var(--font-size-lg);
  }

  .project-stats {
    gap: var(--spacing-md);
  }

  .works-section {
    padding: var(--spacing-xl) 0;
  }

  .works-section .container {
    padding: 0 var(--spacing-md);
  }

  .works-title {
    font-size: var(--font-size-2xl);
  }

  .works-button {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
  }

  .skill-preview {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .floating-shape {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .ribbon {
    width: 100px;
    height: 6px;
  }

  .ribbon-2,
  .ribbon-3 {
    width: 150px;
  }
}

/* Extra Small Devices */
@media (max-width: 320px) {
  .hero-title {
    font-size: clamp(1.8rem, 12vw, 3rem);
  }

  .nav-container {
    padding: 0 var(--spacing-sm);
  }

  .hero-container {
    padding: 0 var(--spacing-sm);
  }

  .cta-button {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-xs);
  }
}

/* ============================================
   16. ACCESSIBILITY & PERFORMANCE
   ============================================ */

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .shape,
  .organic-shape,
  .hero-text-line,
  .particle,
  .gradient-overlay {
    animation: none !important;
  }

  .bg-shapes,
  .floating-particles {
    display: none;
  }

  .fade-in-element {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #ffffff;
    --nav-bg: rgba(0, 0, 0, 0.9);
    --primary-coral: #ff4444;
    --primary-blue: #0066cc;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(255, 255, 255, 0.3);
  }

  .cta-button {
    border: 2px solid var(--primary-coral);
  }
}

/* Focus Styles */
.nav-link:focus,
.login-btn:focus,
.social-icon:focus,
.cta-button:focus,
.animation-control:focus {
  outline: 2px solid var(--primary-coral);
  outline-offset: 2px;
  animation: focusPulse 0.6s ease-in-out;
}

/* Connection-based Optimizations */
.slow-connection .shape,
.slow-connection .organic-shape {
  display: none !important;
}

.slow-connection .skill-badge,
.slow-connection .specialty-tag {
  animation: none !important;
  transition: none !important;
}

.reduced-animations * {
  animation-duration: 0.1s !important;
  transition-duration: 0.1s !important;
}

.fast-connection .enhanced-animations .hero-text-line {
  animation:
    heroEntrance 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) both,
    glow 3s ease-in-out infinite 2s,
    pulse 2s ease-in-out infinite 4s;
}

/* Removed animation restart on hover - causes visual glitch */
.fast-connection .skill-badge:hover {
  /* No animation restart - use CSS transitions instead */
}

/* Critical Loading Optimizations */
.loading .hero-section {
  opacity: 0;
}

.loaded .hero-section {
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* Font Loading */
@font-face {
  font-family: 'Inter';
  font-display: swap;
  src: url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
}

/* ============================================
   17. PRINT STYLES
   ============================================ */
@media print {
  .navbar,
  .bg-shapes,
  .animation-control,
  .social-icons {
    display: none !important;
  }

  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .hero-text-line {
    color: black !important;
    -webkit-text-fill-color: black !important;
  }
}
