/* ========================================
   Portfolio Website - Styles
   Converted from Tailwind CSS to Pure CSS
   ======================================== */

/* CSS Variables */
:root {
  --color-white: #ffffff;
  --color-black: #0a0a0a;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  
  --color-cyan-400: #00d9ff;
  --color-cyan-500: #00c4e8;
  --color-cyan-600: #00a8c9;
  
  --color-gold: #d4af37;
  
  --gradient-rainbow: linear-gradient(90deg, #FF9A00, #FF4444, #FF00AA, #8B5CF6, #00BFFF);
  
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-blue-glow: 0 0 20px rgba(0, 217, 255, 0.3);
  --shadow-gold-glow: 0 0 20px rgba(212, 175, 55, 0.3);
  
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
  color: var(--color-gray-800);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Selection */
::selection {
  background-color: var(--color-cyan-400);
  color: var(--color-gray-800);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--color-cyan-400);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-cyan-500);
}

/* Particle Canvas */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* ========================================
   Navigation
   ======================================== */
.navigation {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 50;
}

@media (min-width: 768px) {
  .navigation {
    left: 2rem;
  }
}

.nav-container {
  display: none;
}

@media (min-width: 768px) {
  .nav-container {
    display: block;
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0.75rem 2rem;
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 9999px;
  box-shadow: var(--shadow-lg);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1), gap 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left center;
}

.nav-logo:hover {
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 40px -12px rgba(0, 217, 255, 0.25), var(--shadow-xl);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  background: var(--gradient-rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 1px solid transparent;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: max-width 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
              padding 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.4s ease 0.2s;
  padding-left: 0;
}

.nav-logo:hover .nav-items {
  opacity: 1;
  max-width: 800px;
  padding-left: 1.5rem;
  border-left-color: rgba(0, 217, 255, 0.3);
}

/* Navigation scrolled state */
.navigation.scrolled .nav-logo {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-xl);
}

.navigation.scrolled .mobile-menu-btn {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lg);
}

.nav-link {
  color: var(--color-gray-700);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.3s ease;
  opacity: 0;
  transform: translateX(-10px);
}

.nav-logo:hover .nav-link {
  opacity: 1;
  transform: translateX(0);
}

.nav-logo:hover .nav-link:nth-child(1) { transition-delay: 0.15s; }
.nav-logo:hover .nav-link:nth-child(2) { transition-delay: 0.2s; }
.nav-logo:hover .nav-link:nth-child(3) { transition-delay: 0.25s; }
.nav-logo:hover .nav-link:nth-child(4) { transition-delay: 0.3s; }

.nav-link:hover {
  color: var(--color-cyan-400);
  transform: scale(1.1);
}

.nav-download {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-cyan-400);
  padding-left: 1rem;
  border-left: 1px solid rgba(0, 217, 255, 0.3);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
}

.nav-logo:hover .nav-download {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.35s;
}

.nav-cta {
  color: var(--color-cyan-400);
  padding-left: 1rem;
  border-left: 1px solid rgba(0, 217, 255, 0.3);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-logo:hover .nav-cta {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.4s;
}

.icon-sm {
  width: 14px;
  height: 14px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 12px;
  cursor: pointer;
  color: var(--color-gray-800);
  transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
  border-color: var(--color-cyan-400);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease 0.1s;
}

.mobile-menu.active .mobile-menu-content {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-gray-800);
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
  transform: translateX(0);
}

.mobile-nav-link:hover {
  color: var(--color-cyan-400);
  transform: translateX(10px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: 10;
  padding-top: 5rem;
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: 0;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Hero Photo */
.hero-photo {
  display: flex;
  justify-content: center;
  position: relative;
}

@media (min-width: 768px) {
  .hero-photo {
    justify-content: flex-start;
  }
}

.photo-frame {
  width: 16rem;
  height: 16rem;
  border-radius: 1.5rem;
  overflow: hidden;
  background: transparent;
}

@media (min-width: 768px) {
  .photo-frame {
    width: 24rem;
    height: 24rem;
  }
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-accent {
  position: absolute;
  width: 3rem;
  height: 3rem;
}

.photo-accent.top-right {
  display: none;
}

.photo-accent.bottom-left {
  display: none;
}

@media (min-width: 768px) {
  .photo-accent.top-right {
    right: auto;
    left: calc(24rem - 2rem);
  }
  .photo-accent.bottom-left {
    left: -1rem;
  }
}

/* Hero Content */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-greeting {
  font-size: 1.125rem;
  color: var(--color-gray-500);
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .hero-greeting {
    font-size: 1.25rem;
  }
}

.hero-name {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-cyan-400);
  line-height: 1.2;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.hero-name:hover {
  background: var(--gradient-rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: gradientGlow 2s ease-in-out infinite;
  text-shadow: none;
  filter: drop-shadow(0 0 10px rgba(255, 154, 0, 0.5)) 
          drop-shadow(0 0 20px rgba(255, 68, 68, 0.4)) 
          drop-shadow(0 0 30px rgba(255, 0, 170, 0.3));
}

@media (min-width: 768px) {
  .hero-name {
    font-size: 4rem;
  }
}

.hero-title {
  font-size: 1.25rem;
  color: var(--color-cyan-400);
  min-height: 2rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 1.5rem;
  }
}

.hero-title::after {
  content: '|';
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-tagline {
  font-size: 1rem;
  color: var(--color-gray-600);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: transparent;
  color: var(--color-cyan-400);
  border: 2px solid var(--color-cyan-400);
}

.btn-primary:hover {
  background: var(--color-cyan-400);
  color: var(--color-white);
  box-shadow: var(--shadow-blue-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--color-gray-600);
  border: 2px solid var(--color-gray-300);
}

.btn-secondary:hover {
  border-color: var(--color-cyan-400);
  color: var(--color-cyan-400);
}

.glow-btn:hover {
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
}

/* ========================================
   Sections
   ======================================== */
.section {
  position: relative;
  padding: 6rem 0;
  z-index: 10;
}

@media (min-width: 768px) {
  .section {
    padding: 8rem 0;
  }
}

/* Section Heading */
.section-heading {
  text-align: left;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-gray-500);
  margin-bottom: 1rem;
}

.section-accent {
  width: 80px;
  height: 4px;
  margin: 0;
  border-radius: 2px;
}

/* Heading Hover Effect */
.heading-hover {
  color: var(--color-gray-800);
  background: var(--gradient-rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.heading-hover:hover {
  -webkit-text-fill-color: transparent;
}

/* Gradient Dash */
.gradient-dash {
  background: var(--gradient-rainbow);
  background-size: 200% 100%;
  animation: gradientGlow 2s ease-in-out infinite;
  box-shadow: 
    0 0 10px rgba(255, 154, 0, 0.5),
    0 0 20px rgba(255, 68, 68, 0.4),
    0 0 30px rgba(255, 0, 170, 0.3);
}

@keyframes gradientGlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Glass Card */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-gray-200);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 217, 255, 0.3);
}

/* Card entrance animation */
.glass-card {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.glass-card.glow-blue:hover {
  border-color: var(--color-cyan-400);
  box-shadow: var(--shadow-blue-glow);
}

.glass-card.glow-gold:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold-glow);
}

/* Gradient Border Left */
.gradient-border-left {
  position: relative;
  border-left: none !important;
}

.gradient-border-left::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #FF9A00, #FF4444, #FF00AA, #8B5CF6, #00BFFF);
  background-size: 100% 200%;
  animation: gradientBorderGlow 2s ease-in-out infinite;
  border-radius: 4px 0 0 4px;
  box-shadow: 0 0 10px rgba(255, 154, 0, 0.5);
}

@keyframes gradientBorderGlow {
  0%, 100% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 0% 100%;
  }
}

/* ========================================
   Experience Section - Apple Style Cards
   ======================================== */
.experience-scroll-wrapper {
  position: relative;
  margin: 0 -1rem;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .experience-scroll-wrapper {
    margin: 0 -2rem;
    padding: 0 2rem;
  }
}

.experience-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0 2rem;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.experience-scroll::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

@media (min-width: 768px) {
  .experience-scroll {
    gap: 1.25rem;
  }
}

.experience-card {
  flex: 0 0 280px;
  min-height: 380px;
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 1.5rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.3s ease;
  scroll-snap-align: start;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .experience-card {
    flex: 0 0 320px;
    min-height: 420px;
    padding: 2rem;
  }
}

.experience-card:hover {
  transform: scale(1.02);
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 217, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 217, 255, 0.15);
}

.exp-content {
  flex: 1;
}

.exp-category {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.exp-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1.2;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .exp-title {
    font-size: 1.75rem;
  }
}

.exp-desc {
  font-size: 0.95rem;
  color: #1d1d1f;
  line-height: 1.5;
  opacity: 0.8;
}

.exp-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 2rem;
}

.exp-date {
  font-size: 0.8rem;
  color: #86868b;
}

.exp-action-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #e8e8ed;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #1d1d1f;
}

.exp-action-btn svg {
  width: 1rem;
  height: 1rem;
}

.experience-card:hover .exp-action-btn {
  background: #d2d2d7;
}

/* Navigation Buttons - Side */
.exp-nav-btn {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d2d2d7;
  cursor: pointer;
  z-index: 10;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #1d1d1f;
}

@media (min-width: 1024px) {
  .exp-nav-btn {
    display: flex;
  }
}

.exp-nav-prev {
  left: 0;
}

.exp-nav-next {
  right: 0;
}

.exp-nav-btn:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Scroll Navigation - Bottom Center */
.exp-scroll-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.exp-scroll-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #d2d2d7;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #86868b;
}

.exp-scroll-arrow svg {
  width: 1rem;
  height: 1rem;
}

.exp-scroll-arrow:hover {
  background: #f5f5f7;
  color: #1d1d1f;
  border-color: #86868b;
}

@media (min-width: 1024px) {
  .exp-scroll-nav {
    display: none;
  }
}

/* ========================================
   About Section
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text {
  color: var(--color-gray-700);
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 1rem;
}

.about-text:last-child {
  margin-bottom: 0;
}

.drives-card {
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), transparent);
}

.drives-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-cyan-400);
  margin-bottom: 1rem;
}

.drives-list {
  list-style: none;
}

.drives-list li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-gray-700);
}

.drives-icon {
  color: var(--color-cyan-400);
}

/* Security Orbit Animation */
.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-orbit {
  position: relative;
  width: 300px;
  height: 300px;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border: 2px solid var(--color-cyan-400);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 20px var(--color-cyan-400);
  }
  50% {
    box-shadow: 0 0 40px var(--color-cyan-400);
  }
}

.orbit-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.orbit-label {
  font-size: 0.75rem;
  color: var(--color-cyan-600);
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(0, 217, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-1 { width: 180px; height: 180px; }
.orbit-2 { width: 220px; height: 220px; }
.orbit-3 { width: 260px; height: 260px; }
.orbit-4 { width: 300px; height: 300px; }

.orbit-node {
  position: absolute;
  font-size: 1.5rem;
  animation: orbit 8s linear infinite;
}

.orbit-node.node-1 { animation-delay: 0s; }
.orbit-node.node-2 { animation-delay: 2s; }
.orbit-node.node-3 { animation-delay: 4s; }
.orbit-node.node-4 { animation-delay: 6s; }

@keyframes orbit {
  0% { transform: rotate(0deg) translateX(90px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(90px) rotate(-360deg); }
}

.orbit-1 .orbit-node { animation-duration: 8s; }
.orbit-2 .orbit-node { animation-duration: 10s; }
.orbit-3 .orbit-node { animation-duration: 12s; }
.orbit-4 .orbit-node { animation-duration: 14s; }

/* ========================================
   Skills Section
   ======================================== */
.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.skills-row {
  display: flex;
  gap: 2rem;
}

.skills-row .skill-category {
  flex: 1;
}

@media (max-width: 768px) {
  .skills-row {
    flex-direction: column;
  }
}

/* Skill category card specific styles */
.skills-grid .glass-card {
  background: transparent;
  border: none;
  padding: 1.5rem 0;
  box-shadow: none;
}

.skills-grid .glass-card:hover {
  background: transparent;
  border: none;
  box-shadow: none;
  transform: none;
}

/* Stagger animation delays for skill category cards */
.skills-grid > .glass-card:nth-child(1) { transition-delay: 0s; }
.skills-grid > .glass-card:nth-child(2) { transition-delay: 0.1s; }
.skills-grid > .glass-card:nth-child(3) { transition-delay: 0.2s; }
.skills-grid > .glass-card:nth-child(4) { transition-delay: 0.3s; }
.skills-grid > .glass-card:nth-child(5) { transition-delay: 0.4s; }
.skills-grid .skills-row { transition-delay: 0.5s; }
.skills-grid .skills-row .glass-card:nth-child(1) { transition-delay: 0.5s; }
.skills-grid .skills-row .glass-card:nth-child(2) { transition-delay: 0.6s; }
.skills-grid > .glass-card:nth-child(7) { transition-delay: 0.7s; }
.skills-grid .glass-card:nth-child(8) { transition-delay: 0.7s; }

.skill-category {
  height: 100%;
  position: relative;
}

.skill-category-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-gray-800);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.skill-category-title::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 0;
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: var(--gradient-rainbow);
  background-size: 200% 100%;
  animation: gradientGlow 2s ease-in-out infinite;
  box-shadow: 
    0 0 10px rgba(255, 154, 0, 0.5),
    0 0 20px rgba(255, 68, 68, 0.4),
    0 0 30px rgba(255, 0, 170, 0.3);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: 1.5px solid var(--color-gray-800);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-gray-800);
  transition: all 0.3s ease;
  cursor: default;
  min-width: 120px;
}

.skill-tag:hover {
  background: rgba(0, 217, 255, 0.1);
  border-color: var(--color-cyan-400);
  color: var(--color-cyan-400);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 217, 255, 0.2);
}

/* Skill tag stagger animation */
.skill-tags .skill-tag {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.skill-category.visible .skill-tag:nth-child(1) { transition-delay: 0.05s; }
.skill-category.visible .skill-tag:nth-child(2) { transition-delay: 0.1s; }
.skill-category.visible .skill-tag:nth-child(3) { transition-delay: 0.15s; }
.skill-category.visible .skill-tag:nth-child(4) { transition-delay: 0.2s; }
.skill-category.visible .skill-tag:nth-child(5) { transition-delay: 0.25s; }
.skill-category.visible .skill-tag:nth-child(6) { transition-delay: 0.3s; }
.skill-category.visible .skill-tag:nth-child(7) { transition-delay: 0.35s; }
.skill-category.visible .skill-tag:nth-child(8) { transition-delay: 0.4s; }
.skill-category.visible .skill-tag:nth-child(9) { transition-delay: 0.45s; }
.skill-category.visible .skill-tag:nth-child(10) { transition-delay: 0.5s; }
.skill-category.visible .skill-tag:nth-child(n+11) { transition-delay: 0.55s; }

.skill-category.visible .skill-tag {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Education Section
   ======================================== */
.education-block {
  margin-bottom: 3rem;
}

.education-block-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.education-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .education-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.certifications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .certifications-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Certification card stagger animation */
.certifications-grid .cert-card {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.certifications-grid.visible .cert-card:nth-child(1) { transition-delay: 0.05s; }
.certifications-grid.visible .cert-card:nth-child(2) { transition-delay: 0.1s; }
.certifications-grid.visible .cert-card:nth-child(3) { transition-delay: 0.15s; }
.certifications-grid.visible .cert-card:nth-child(4) { transition-delay: 0.2s; }
.certifications-grid.visible .cert-card:nth-child(5) { transition-delay: 0.25s; }
.certifications-grid.visible .cert-card:nth-child(6) { transition-delay: 0.3s; }
.certifications-grid.visible .cert-card:nth-child(7) { transition-delay: 0.35s; }
.certifications-grid.visible .cert-card:nth-child(8) { transition-delay: 0.4s; }
.certifications-grid.visible .cert-card:nth-child(9) { transition-delay: 0.45s; }
.certifications-grid.visible .cert-card:nth-child(10) { transition-delay: 0.5s; }
.certifications-grid.visible .cert-card:nth-child(n+11) { transition-delay: 0.55s; }

.certifications-grid.visible .cert-card {
  opacity: 1;
  transform: translateX(0);
}

.cert-card {
  padding: 1rem 1.5rem;
}

.cert-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gray-800);
  margin-bottom: 0.25rem;
}

.cert-issuer {
  font-size: 0.875rem;
  color: var(--color-cyan-400);
  font-weight: 500;
}

.cert-desc {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-gray-600);
  font-style: italic;
}

/* Progress Bar */
.progress-bar-container {
  width: 8rem;
  height: 0.75rem;
  background: var(--color-gray-200);
  border-radius: 9999px;
  margin-top: 0.75rem;
  position: relative;
  cursor: pointer;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-cyan-400), var(--color-cyan-500));
  border-radius: 9999px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.progress-bar.animate {
  width: var(--progress);
}

.progress-tooltip {
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: var(--color-gray-900);
  color: var(--color-white);
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.progress-bar-container:hover .progress-tooltip {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form-card {
  overflow: hidden;
  border: none !important;
  padding: 0;
}

.contact-form-card iframe {
  border-radius: 1rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-label {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 1.125rem;
  color: var(--color-gray-800);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a.contact-value:hover {
  color: var(--color-cyan-400);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--color-gray-300);
  border-radius: 0.75rem;
  color: var(--color-cyan-400);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  border-color: var(--color-cyan-400);
  transform: scale(1.2) rotate(5deg);
  box-shadow: var(--shadow-blue-glow);
}

.social-btn svg {
  width: 28px;
  height: 28px;
}

.social-note {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-gray-300);
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  position: relative;
  padding: 4rem 0;
  z-index: 10;
  border-top: 1px solid var(--color-gray-300);
  background: var(--color-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-cyan-400);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 3px;
  border-radius: 2px;
  background: var(--gradient-rainbow);
  background-size: 200% 100%;
  animation: gradientGlow 2s ease-in-out infinite;
  box-shadow: 
    0 0 8px rgba(255, 154, 0, 0.4),
    0 0 16px rgba(255, 68, 68, 0.3),
    0 0 24px rgba(255, 0, 170, 0.2);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--color-gray-900);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-cyan-400);
}

/* Timezone Clock Styles */
.timezone-list {
  width: 100%;
}

.timezone-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.tz-label {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  font-weight: 500;
  white-space: nowrap;
}

.tz-time {
  font-size: 0.875rem;
  color: var(--color-gray-900);
  font-family: var(--font-mono, monospace);
  font-weight: 600;
  text-align: right;
  min-width: 6.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--color-gray-200);
}

.copyright {
  font-size: 0.875rem;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--color-gray-900);
}

/* ========================================
   Modal
   ======================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
}

.modal-content {
  position: relative;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 101;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal-content::-webkit-scrollbar {
  display: none;
}

.modal-content.glass-card {
  background: rgba(255, 255, 255, 0.08) !important;
  -webkit-backdrop-filter: blur(40px) saturate(180%) brightness(1.1) !important;
  backdrop-filter: blur(40px) saturate(180%) brightness(1.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.5);
  border-radius: 1.5rem;
  opacity: 1 !important;
  transform: none;
  padding: 2rem;
  max-height: 80vh;
  overflow-y: auto !important;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.6);
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--color-cyan-400);
}

.modal-header {
  margin-bottom: 1.5rem;
}

.modal-company {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-cyan-400);
  margin-bottom: 0.5rem;
}

.modal-role {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.85);
}

.modal-years {
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.6);
  margin-top: 0.25rem;
}

.modal-details {
  list-style: none;
}

.modal-details li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.6;
}

.modal-details li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--color-cyan-400);
}

/* ========================================
   Animations
   ======================================== */
.animate-fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-delay {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children animation */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.7s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.8s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Scale animation for skill tags */
.animate-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ========================================
   Responsive Utilities
   ======================================== */
@media (max-width: 767px) {
  .hero-grid {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .photo-accent {
    display: none;
  }
}

/* ========================================
   WhatsApp Floating Button
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: white;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 767px) {
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
  }
  
  .whatsapp-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}
