/* Mega Mendung Design System - Professional Portfolio */
/* Inspired by traditional Indonesian batik with modern web aesthetics */

/* Base Font and Layout */
body {
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  line-height: 1.65;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #f8faff 0%, #e8f4fd 50%, #dbeafe 100%);
  overflow-x: hidden;
}

/* Professional Blue Color Palette - Mega Mendung Inspired */
:root {
  /* Primary Blues - Traditional Indigo Inspiration */
  --mendung-navy: #1e3a8a;        /* Deep navy blue */
  --mendung-blue: #3b82f6;        /* Classic blue */
  --mendung-cyan: #06b6d4;        /* Ocean cyan */
  --mendung-sky: #0ea5e9;         /* Sky blue */
  
  /* Supporting Colors */
  --mendung-indigo: #6366f1;      /* Rich indigo */
  --mendung-slate: #475569;       /* Professional gray */
  --mendung-white: #ffffff;       /* Pure white */
  --mendung-light: #f1f5f9;       /* Light background */
  
  /* Glassmorphism Variables */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  
  /* Animation Variables */
  --animation-speed: 0.3s;
  --cloud-drift: 20s;
}

/* Mega Mendung Cloud Patterns */
.mega-mendung-bg {
  position: relative;
  overflow: hidden;
}

.mega-mendung-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(99, 102, 241, 0.06) 0%, transparent 50%);
  animation: cloudDrift var(--cloud-drift) infinite linear;
  z-index: -1;
}

/* Cloud Animation */
@keyframes cloudDrift {
  0% { transform: translateX(-10%) translateY(-5%); }
  25% { transform: translateX(5%) translateY(5%); }
  50% { transform: translateX(10%) translateY(-3%); }
  75% { transform: translateX(-5%) translateY(3%); }
  100% { transform: translateX(-10%) translateY(-5%); }
}

/* Glassmorphism Base Class */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--mendung-navy);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--mendung-blue) 0%, var(--mendung-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Professional Card Design */
.content-section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 1rem;
  transition: all var(--animation-speed) ease;
}

.content-section:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
}

/* Color Utility Classes */
.text-navy { color: var(--mendung-navy) !important; }
.text-blue { color: var(--mendung-blue) !important; }
.text-cyan { color: var(--mendung-cyan) !important; }
.text-sky { color: var(--mendung-sky) !important; }
.text-indigo { color: var(--mendung-indigo) !important; }
.text-slate { color: var(--mendung-slate) !important; }

.bg-navy { background-color: var(--mendung-navy) !important; }
.bg-blue { background-color: var(--mendung-blue) !important; }
.bg-cyan { background-color: var(--mendung-cyan) !important; }
.bg-sky { background-color: var(--mendung-sky) !important; }

/* Timeline Cards with Professional Blue Theme */
.timeline-card {
  background: linear-gradient(135deg, var(--mendung-blue) 0%, var(--mendung-cyan) 100%);
  color: white;
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--animation-speed) ease;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--animation-speed) ease;
}

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

.timeline-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
}

/* Project cards with Professional Design */
.project-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 1.5rem;
  transition: all var(--animation-speed) ease;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mendung-blue) 0%, var(--mendung-cyan) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--animation-speed) ease;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 16px 48px rgba(59, 130, 246, 0.15);
  transform: translateY(-4px);
}

/* Navigation Glassmorphism */
nav {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1) !important;
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.08) !important;
}

/* Hero Section with Mega Mendung */
.hero-mega-mendung {
  background: linear-gradient(135deg, 
    var(--mendung-navy) 0%, 
    var(--mendung-blue) 35%, 
    var(--mendung-cyan) 70%, 
    var(--mendung-sky) 100%
  );
  position: relative;
  overflow: hidden;
}

.hero-mega-mendung::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  animation: heroCloudDrift 25s infinite ease-in-out;
}

@keyframes heroCloudDrift {
  0%, 100% { transform: translateX(0) translateY(0) scale(1); }
  25% { transform: translateX(2%) translateY(-1%) scale(1.02); }
  50% { transform: translateX(-1%) translateY(2%) scale(0.98); }
  75% { transform: translateX(-2%) translateY(-1%) scale(1.01); }
}

/* Floating Shapes Animation */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: float 15s infinite ease-in-out;
  box-shadow: 
    0 8px 24px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Enhanced Mega Mendung Cloud Shapes */
.shape-1 {
  width: 120px;
  height: 80px;
  border-radius: 60px 60px 20px 60px;
  top: 15%;
  left: 8%;
  animation-delay: 0s;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 70%);
}

.shape-2 {
  width: 180px;
  height: 120px;
  border-radius: 90px 90px 30px 90px;
  top: 55%;
  right: 5%;
  animation-delay: 5s;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.08) 70%);
}

.shape-3 {
  width: 100px;
  height: 70px;
  border-radius: 50px 50px 15px 50px;
  bottom: 25%;
  left: 55%;
  animation-delay: 10s;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.12) 0%, rgba(255, 255, 255, 0.06) 70%);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
  25% { transform: translateY(-20px) rotate(90deg); opacity: 1; }
  50% { transform: translateY(-10px) rotate(180deg); opacity: 0.8; }
  75% { transform: translateY(-30px) rotate(270deg); opacity: 0.9; }
}

/* Batik Pattern Backgrounds */
.batik-mega-mendung-1 {
  background: 
    linear-gradient(135deg, #f8faff 0%, #e8f4fd 100%),
    radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(6, 182, 212, 0.02) 0%, transparent 50%);
  position: relative;
}

.batik-mega-mendung-2 {
  background: 
    linear-gradient(45deg, #f1f5f9 0%, #e2e8f0 100%),
    radial-gradient(circle at 80% 30%, rgba(99, 102, 241, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 20% 70%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
  position: relative;
}

.batik-mega-mendung-3 {
  background: 
    linear-gradient(-45deg, #dbeafe 0%, #bfdbfe 100%),
    radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 10% 90%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
  position: relative;
}

/* Interactive Elements with Professional Blue Theme */
.btn-primary {
  background: linear-gradient(135deg, var(--mendung-blue) 0%, var(--mendung-cyan) 100%);
  color: white !important;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 0.75rem;
  transition: all var(--animation-speed) ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::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 ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--mendung-cyan) 0%, var(--mendung-sky) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.3);
}

/* Global text improvements */
p, span, div, li, blockquote {
  color: #4A148C !important;
}

/* Ensure strong contrast for important text */
strong, .font-bold, .text-bold {
  color: #2D1B69 !important;
  font-weight: 700;
}

/* Navigation improvements with Digital Sunset */
nav a {
  color: #4A148C !important;
  font-weight: 500;
}

nav a:hover {
  color: var(--sunset-orange) !important;
}

/* Hero section text improvements */
.hero-text h1 {
  color: #FFFFFF !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
  color: #FFE0B2 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Feature list improvements */
.feature-item {
  color: #4A148C !important;
}

.feature-item h4 {
  color: #2D1B69 !important;
}

/* Digital Sunset card styles */
.sunset-card {
  background: linear-gradient(135deg, var(--sunset-cream) 0%, var(--sunset-light) 100%);
  border: 1px solid var(--sunset-salmon);
  box-shadow: 0 4px 6px -1px rgba(255, 107, 107, 0.1), 0 2px 4px -1px rgba(255, 140, 83, 0.06);
}

.sunset-card:hover {
  box-shadow: 0 10px 15px -3px rgba(255, 107, 107, 0.2), 0 4px 6px -2px rgba(255, 140, 83, 0.1);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Digital Sunset gradient styles */
.bg-sunset-gradient {
  background: linear-gradient(135deg, var(--sunset-coral) 0%, var(--sunset-salmon) 50%, var(--sunset-orange) 100%);
}

.bg-sunset-gradient-warm {
  background: linear-gradient(135deg, var(--sunset-gold) 0%, var(--sunset-amber) 50%, var(--sunset-orange) 100%);
}

.border-sunset {
  border-color: var(--sunset-coral);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Digital Sunset Pattern Backgrounds */
.batik-mega-mendung-1 {
  background: linear-gradient(135deg, var(--sunset-cream) 0%, #FFE0B2 50%, #FFCC80 100%);
  position: relative;
  overflow: hidden;
}

/* Clean Professional Background Patterns with Digital Sunset */
.batik-mega-mendung-1::before,
.batik-mega-mendung-2::before,
.batik-mega-mendung-3::before {
  display: none; /* Remove complex patterns */
}

/* Professional section backgrounds with Digital Sunset theme */
.batik-mega-mendung-1 {
  background: linear-gradient(135deg, var(--sunset-cream) 0%, #FFE0B2 100%);
  position: relative;
}

.batik-mega-mendung-1::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 140, 83, 0.05) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.batik-mega-mendung-2 {
  background: linear-gradient(135deg, var(--sunset-light) 0%, var(--sunset-cream) 100%);
  position: relative;
}

.batik-mega-mendung-2::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 40% 40%, rgba(255, 167, 38, 0.03) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.batik-mega-mendung-3 {
  background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
  position: relative;
}

.batik-mega-mendung-3::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 60% 60%, rgba(139, 92, 246, 0.02) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.batik-mega-mendung-2 {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%);
  position: relative;
  overflow: hidden;
}

.batik-mega-mendung-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(139, 92, 246, 0.15) 1px, transparent 0);
  background-size: 40px 40px;
  z-index: 1;
  pointer-events: none;
}

.batik-mega-mendung-3 {
  background: linear-gradient(135deg, #fef7f0 0%, #fed7aa 20%, #ddd6fe 60%, #e0e7ff 100%);
  position: relative;
  overflow: hidden;
}

.batik-mega-mendung-3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(90deg, rgba(139, 92, 246, 0.02) 50%, transparent 50%),
    linear-gradient(rgba(99, 102, 241, 0.02) 50%, transparent 50%);
  background-size: 80px 80px, 40px 40px;
  z-index: 1;
  pointer-events: none;
}

/* Floating cloud animation for Mega Mendung pattern */
@keyframes floatingClouds {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(-20px) translateY(-10px);
  }
  50% {
    transform: translateX(-40px) translateY(0);
  }
  75% {
    transform: translateX(-20px) translateY(10px);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

/* Ensure content is above the pattern */
.batik-content {
  position: relative;
  z-index: 1;
}

/* Clean Hero Section */
.hero-mega-mendung {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
}

.hero-mega-mendung::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at top left, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

@keyframes heroFloatingClouds {
  0% {
    transform: translateX(0) translateY(0) scale(1);
  }
  20% {
    transform: translateX(-30px) translateY(-15px) scale(1.02);
  }
  40% {
    transform: translateX(-60px) translateY(-5px) scale(0.98);
  }
  60% {
    transform: translateX(-30px) translateY(10px) scale(1.01);
  }
  80% {
    transform: translateX(-15px) translateY(5px) scale(0.99);
  }
  100% {
    transform: translateX(0) translateY(0) scale(1);
  }
}

/* Tab functionality */
.tab-content {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease-in-out;
}

.tab-content.active {
  opacity: 1;
  transform: translateY(0);
}

.tab-button {
  transition: all 0.3s ease-in-out;
  color: #6b7280;
  background: transparent;
  border: 2px solid transparent;
}

.tab-button:hover {
  color: var(--sunset-orange);
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 140, 83, 0.1));
  border-color: rgba(255, 107, 107, 0.2);
  transform: translateY(-1px);
}

.tab-button.active {
  background: linear-gradient(135deg, var(--sunset-coral), var(--sunset-salmon), var(--sunset-orange));
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.tab-button.active:hover {
  background: linear-gradient(135deg, var(--sunset-orange), var(--sunset-red), #D32F2F);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.5);
}

/* Project carousel */
#projectCarousel {
  transition: transform 0.5s ease-in-out;
}

.project-indicator {
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.project-indicator:hover {
  transform: scale(1.2);
}

/* Responsive carousel */
@media (max-width: 768px) {
  .carousel-controls {
    display: none;
  }
}

/* Back to top button */
#backToTop {
  transition: all 0.3s ease-in-out;
}

#backToTop:hover {
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

/* Progress bar */
#progressBar {
  z-index: 51;
}

/* Smooth section transitions */
section {
  scroll-margin-top: 80px;
}

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

.animate-slide-up {
  animation: slideInUp 0.6s ease-out;
}

/* Compact spacing utilities */
.compact-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .compact-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

/* Background animations */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 50%;
  animation: float 20s infinite linear;
}

.shape-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: 7s;
}

.shape-3 {
  width: 80px;
  height: 80px;
  bottom: 30%;
  left: 60%;
  animation-delay: 14s;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  33% {
    transform: translateY(-30px) rotate(120deg);
    opacity: 1;
  }
  66% {
    transform: translateY(30px) rotate(240deg);
    opacity: 0.7;
  }
  100% {
    transform: translateY(0px) rotate(360deg);
    opacity: 0.7;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #3B82F6;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2563EB;
}

/* Hero section enhancements */
#home {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Navigation enhancements */
nav {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
}

/* Card hover effects */
.project-card {
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Button animations */
.btn-animate {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-animate::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;
}

.btn-animate:hover::before {
  left: 100%;
}

/* Timeline styles */
.timeline-item {
  position: relative;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #3B82F6, #8B5CF6);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -6px;
  top: 1rem;
  width: 14px;
  height: 14px;
  background: #3B82F6;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px #3B82F6;
}

/* Form styles */
.form-input {
  transition: all 0.3s ease;
}

.form-input:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.1);
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .floating-shapes {
    display: none;
  }
  
  .shape {
    display: none;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .bg-white {
    background-color: #1f2937;
  }
  
  .text-gray-900 {
    color: #f9fafb;
  }
  
  .text-gray-700 {
    color: #d1d5db;
  }
}

/* Loading animations */
.fade-in {
  animation: fadeIn 1s ease-in;
}

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

/* Progress bars */
.progress-bar {
  background: linear-gradient(90deg, #3B82F6, #8B5CF6);
  height: 8px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%,
    transparent
  );
  background-size: 50px 50px;
  animation: move 2s linear infinite;
}

@keyframes move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 50px 50px;
  }
}

/* Glassmorphism effects */
.glass {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 
    0 8px 32px rgba(31, 38, 135, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 4px 16px rgba(59, 130, 246, 0.1) !important;
}

/* Enhanced Glass for Hero Section */
.glass-hero {
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 
    0 12px 40px rgba(31, 38, 135, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    0 8px 24px rgba(6, 182, 212, 0.15) !important;
}

/* Mega Mendung Cloud Patterns for Glass Elements */
.glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.06) 0%, transparent 35%),
    radial-gradient(circle at 40% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 45%);
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
}

/* Enhanced Glass for Content Cards */
.glass-content {
  background: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 
    0 10px 36px rgba(31, 38, 135, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 6px 20px rgba(59, 130, 246, 0.08) !important;
  position: relative;
}

.glass-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 25%, rgba(59, 130, 246, 0.06) 0%, transparent 35%),
    radial-gradient(circle at 85% 15%, rgba(6, 182, 212, 0.04) 0%, transparent 30%),
    radial-gradient(circle at 45% 85%, rgba(99, 102, 241, 0.03) 0%, transparent 40%);
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
}

/* Text gradients */
.text-gradient {
  background: linear-gradient(135deg, #3B82F6, #8B5CF6, #EC4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Social icons hover effects */
.social-icon {
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.1);
}

/* Responsive typography */
@media (max-width: 640px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-text {
    font-size: 1rem;
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
}

/* ===== CARD ANIMATIONS ===== */

/* Skills & Expertise Cards */
.skills-card {
  transition: all 0.3s ease;
}

.skills-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Core Competency Cards */
.competency-card {
  transition: all 0.3s ease;
}

.competency-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Impact Project Cards */
.project-card {
  transition: all 0.4s ease;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Contact Method Cards */
.contact-method-card {
  transition: all 0.3s ease;
}

.contact-method-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

/* Contact Form Animation */
.contact-form {
  transition: all 0.4s ease;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

/* Enhanced Stats Cards Animation */
.stats-card {
  transition: all 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Timeline Cards Enhancement */
.timeline-card {
  transition: all 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Button Animations */
.project-button {
  transition: all 0.3s ease;
}

.project-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
