/* Toast Notification */
.toast {
  position: fixed;
  bottom: 30px;
  right: -400px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-strong);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  max-width: 350px;
  overflow: hidden;
}

.toast.show {
  right: 30px;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toast-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.toast-message {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: rgba(6, 78, 59, 0.1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 3s linear;
}

.toast.show .toast-progress {
  transform: scaleX(1);
}

/* Blog Section */
#blog {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
  border-radius: 20px;
  /* Prevent text selection on double-click */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.blog-card-link:hover {
  transform: translateY(-5px);
  text-decoration: none;
}

.blog-card-link:hover .blog-card {
  box-shadow: var(--shadow-strong);
  border-color: var(--border-emerald);
}

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

.blog-card-link .blog-read-more {
  color: var(--primary-light);
  transition: all 0.2s ease;
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.blog-card-link:hover .blog-read-more {
  color: var(--primary);
  text-decoration: none;
}

.blog-card-link:hover .blog-read-more::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-emerald);
  height: 100%;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-lighter), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.blog-card {
  /* Remove hover transform as it's now on the link */
  box-shadow: var(--shadow-emerald);
  border-color: var(--border-subtle);
}

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

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

/* Dynamic tag colors */
.tag[data-tag="web3"],
.tag[data-tag="blockchain"] {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.tag[data-tag="browsers"],
.tag[data-tag="productivity"] {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.tag[data-tag="ai"],
.tag[data-tag="llm"] {
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-light);
  border: 1px solid var(--border-emerald);
}

.tag[data-tag="tutorial"] {
  background: rgba(234, 179, 8, 0.1);
  color: #d97706;
  border: 1px solid rgba(234, 179, 8, 0.2);
}

.blog-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 1rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
  color: var(--primary);
}

.blog-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.blog-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.blog-platform,
.blog-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-platform i {
  width: 16px;
  height: 16px;
  stroke-width: 2px;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary-light);
  transition: color 0.2s ease;
  pointer-events: none; /* Prevent the link from interfering with the card link */
}

.blog-read-more i {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.blog-card:hover .blog-read-more {
  color: var(--primary-light);
}

.blog-card:hover .blog-read-more i {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  #blog {
    padding: 4rem 0;
  }
  
  .blog-card {
    padding: 1.75rem;
  }
  
  .blog-card-title {
    font-size: 1.35rem;
  }
}

@media (max-width: 480px) {
  .blog-card {
    padding: 1.5rem;
  }
  
  .blog-card-title {
    font-size: 1.25rem;
  }
  
  .blog-card-desc {
    font-size: 0.9rem;
  }
}

/* Smooth scrolling is handled by JavaScript */
html {
  scroll-behavior: auto;
}

:root {
  /* Premium Emerald Palette */
  --primary: #064e3b;
  --primary-light: #059669;
  --primary-lighter: #10b981;
  --primary-dark: #022c22;
  
  /* Enhanced Secondary Colors */
  --accent: #d97706;
  --accent-light: #f59e0b;
  --accent-lighter: #fbbf24;
  --gold: #FFD700;
  --coral: #FF7F50;
  --navy: #1e293b;
  --pink: #f472b6;
  --secondary: #1f2937;
  --secondary-light: #374151;

  /* Sophisticated Backgrounds */
  --bg-primary: #fefdf8;
  --bg-secondary: #fcfbf4;
  --bg-tertiary: #f9f7ed;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --bg-overlay: rgba(6, 78, 59, 0.02);
  --bg-emerald-subtle: rgba(16, 185, 129, 0.03);

  /* Premium Typography */
  --text-primary: #022c22;
  --text-secondary: #064e3b;
  --text-tertiary: #065f46;
  --text-muted: #6b7280;
  --text-accent: #d97706;
  --text-emerald: #059669;

  /* Luxury Effects */
  --border-subtle: rgba(6, 78, 59, 0.08);
  --border-emerald: rgba(16, 185, 129, 0.15);
  --border-accent: rgba(217, 119, 6, 0.2);
  --shadow-emerald: 0 4px 20px rgba(6, 78, 59, 0.08);
  --shadow-medium: 0 8px 32px rgba(6, 78, 59, 0.12);
  --shadow-strong: 0 20px 48px rgba(6, 78, 59, 0.15);
  --shadow-colored: 0 12px 40px rgba(16, 185, 129, 0.2);
  --glow-emerald: 0 0 32px rgba(16, 185, 129, 0.3);
}

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

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: background-color 0.3s ease, color 0.3s ease, opacity 0.5s ease;
  overflow-x: hidden;
  line-height: 1.6;
  opacity: 0; /* Will be set to 1 by JS when ready */
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}

/* Custom Cursor */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: var(--primary-lighter);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
}

.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.3s ease;
}

/* Enhanced Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-logo {
  font-size: 4rem;
  font-weight: 800;
  color: white;
  position: relative;
  overflow: hidden;
}

.loading-logo::before {
  content: 'VM';
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Premium Background Gradient */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    /* Elegant gradient */
    linear-gradient(135deg, #f8fafc 0%, #f0fdfa 50%, #f0f9ff 100%);
  z-index: -2;
  pointer-events: none;
}

/* Subtle pattern overlay */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    /* Very subtle grid */
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    /* Very subtle glow */
    radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.03) 0%, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.03) 0%, transparent 30%);
  background-size: 
    60px 60px,
    60px 60px,
    100% 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 1;
}

/* Animated gradient overlay */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    /* Moving gradient highlights */
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 25%),
    radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 25%),
    /* Scanline effect */
    repeating-linear-gradient(
      to bottom,
      transparent 0%,
      transparent 98%,
      rgba(16, 185, 129, 0.05) 98%,
      rgba(16, 185, 129, 0.05) 100%
    );
  background-size: 
    100% 100%,
    100% 100%,
    100% 30px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.8;
  animation: gradientShift 20s ease-in-out infinite alternate;
  mix-blend-mode: overlay;
}

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

@keyframes gradientShift {
  0% { 
    transform: translate(-5%, -5%) scale(1.05);
    opacity: 0.4;
  }
  50% {
    transform: translate(5%, 5%) scale(1.1);
    opacity: 0.6;
  }
  100% { 
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
}

/* Floating Elements */
.particles-container,
#particlesContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Ensure it's above the background but below content */
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: overlay;
  opacity: 0.8;
}

.particle {
  position: absolute;
  background: linear-gradient(135deg, #10b981, #3b82f6);
  border-radius: 50%;
  width: 6px;
  height: 6px;
  opacity: 0.6;
  filter: blur(1px);
  animation: float 15s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform, opacity;
  box-shadow: 0 0 15px 3px rgba(16, 185, 129, 0.6);
  transition: all 0.5s ease-out;
  z-index: -1;
}

/* Show particles after a short delay */
body.loaded .particle {
  opacity: 0.4;
}

/* Add some geometric shapes */
.particle:nth-child(3n) {
  border-radius: 50%;
  background: linear-gradient(45deg, #10b981, #3b82f6);
}

.particle:nth-child(5n) {
  border-radius: 0;
  transform: rotate(45deg);
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
}

.particle:nth-child(7n) {
  border-radius: 50%;
  background: linear-gradient(45deg, #8b5cf6, #ec4899);
  filter: blur(1.5px);
}

@keyframes float {
  0% { 
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.4;
  }
  25% { 
    transform: translate3d(40px, -50px, 0) scale(1.2);
    opacity: 0.8;
  }
  50% { 
    transform: translate3d(0, -100px, 0) scale(0.9);
    opacity: 1;
  }
  75% { 
    transform: translate3d(-40px, -50px, 0) scale(1.1);
    opacity: 0.8;
  }
  100% { 
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.4;
  }
}

/* Enhanced Navigation */
nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 32px rgba(6, 78, 59, 0.08),
    0 2px 8px rgba(255, 255, 255, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

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

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

.nav-container:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 12px 48px rgba(6, 78, 59, 0.12),
    0 4px 16px rgba(16, 185, 129, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-right: 16px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.1);
}

.nav-logo a {
  color: inherit;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 10px 16px;
  border-radius: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
}

.nav-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 78, 59, 0.05));
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::before {
  opacity: 1;
}

.nav-links a:hover {
  color: var(--primary);
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}

.nav-links a.active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 8px 12px;
  margin-left: 8px;
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  transform: scale(1.05);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: var(--bg-card);
  border-radius: 24px;
  padding: 2rem;
  min-width: 280px;
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-emerald);
  box-shadow: var(--shadow-strong);
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: var(--bg-emerald-subtle);
  color: var(--primary);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mobile-menu-links a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.mobile-menu-links a:hover::before {
  width: 200px;
  height: 200px;
}

.mobile-menu-links a:hover {
  background: var(--bg-emerald-subtle);
  color: var(--primary);
  transform: translateX(8px);
}

.mobile-menu-links a i {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

/* Container */
.about-text {
  flex: 1;
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.about-cta {
  text-align: center;
  margin-top: 1.5rem;
  padding: 0 1rem;
}

.profile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.9rem 2.25rem;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid var(--border-emerald);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.12), 
              0 2px 6px rgba(6, 78, 59, 0.05),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1;
}

.profile-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-lighter), var(--gold));
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
}

.profile-button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.03), rgba(6, 78, 59, 0.01));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.profile-button .button-icon {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  color: var(--primary);
  filter: drop-shadow(0 1px 2px rgba(6, 78, 59, 0.1));
}

.profile-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.15), 
              0 4px 12px rgba(6, 78, 59, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-color: var(--primary-lighter);
  color: var(--text-primary);
}

.profile-button:hover::before {
  opacity: 1;
  height: 3px;
}

.profile-button:hover::after {
  opacity: 1;
}

.profile-button:hover .button-icon {
  transform: translateX(3px);
  filter: drop-shadow(0 2px 4px rgba(6, 78, 59, 0.15));
}

.profile-contact-cta {
  text-align: center;
  margin: 4rem 0 2rem;
  padding: 0 1.5rem;
}

.profile-contact-cta .profile-button {
  margin: 0 auto;
}

@keyframes buttonShine {
  0% { background-position: -100% 50%; }
  100% { background-position: 200% 50%; }
}

@media (max-width: 768px) {
  .profile-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .about-cta {
    margin-top: 1rem;
  }
}

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

.main-content {
  margin-top: 40px;
  padding: 3rem 0;
}

/* Typing Animation */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background-color: var(--primary-lighter);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
  position: relative;
  top: 0.05em;
  transform: translateY(1px);
}

@keyframes blink {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

#typing-text {
  display: inline;
  vertical-align: middle;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Hero Section */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 5rem 0;
}

.hero-content {
  max-width: 900px;
  position: relative;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

/* Responsive adjustments for hero section */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 4rem 0;
  }
  
  .hero-title {
    font-size: clamp(3rem, 10vw, 4rem);
    margin-bottom: 1.25rem;
  }
  
  .hero-tagline {
    font-size: 1.5rem;
    margin: 1.25rem auto 1.75rem;
    line-height: 1.4;
    padding: 0 1rem;
    max-width: 100%;
  }
  
  .hero-content {
    padding: 0 1.5rem;
  }
  
  #typing-text {
    display: inline-block;
    text-align: center;
  }
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(4rem, 9vw, 6.5rem);
  font-weight: 500;
  margin-bottom: 1.75rem;
  color: var(--text-primary);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 4px rgba(6, 78, 59, 0.08);
  opacity: 0;
  transform: translateY(50px);
}

/* Hero Tagline */
.hero-tagline {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  margin: 1.5rem auto 2rem;
  line-height: 1.4;
  max-width: 100%;
  width: 100%;
  text-align: center;
  position: relative;
  padding: 0 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
  word-wrap: break-word;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  display: inline-block;
}

/* Typing text */
#typing-text {
  display: inline;
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-tagline.visible {
  opacity: 1;
  transform: translateY(0);
}



/* Enhanced Location Pill */
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 78, 59, 0.05));
  border: 1px solid var(--border-emerald);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: var(--text-emerald);
  font-weight: 500;
  margin-bottom: 3.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
}

.hero-location::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.hero-location:hover::before {
  width: 200px;
  height: 200px;
}

.hero-location:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.25);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 78, 59, 0.08));
}

.hero-location i {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.hero-location:hover i {
  transform: scale(1.2) rotate(5deg);
}

/* Enhanced Contact Section */
.contact-section {
  margin: 5rem 0;
  opacity: 0;
  transform: translateY(50px);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Enhanced Primary Contact Cards */
.contact-primary {
  grid-column: span 1;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid var(--border-emerald);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-emerald);
  position: relative;
  overflow: hidden;
  transform-origin: center;
  will-change: transform;
}

.contact-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-lighter), var(--gold));
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  transition: all 0.5s ease;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.contact-primary:hover::before {
  opacity: 1;
}

.contact-primary:hover::after {
  width: 300px;
  height: 300px;
}

.contact-primary:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 80px rgba(6, 78, 59, 0.2), 0 10px 40px rgba(16, 185, 129, 0.3);
  border-color: var(--primary-lighter);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 1) 100%);
}

/* Enhanced Icon with Pulse Effect */
.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
  border-radius: 18px;
  margin: 0 auto 1.5rem auto;
  color: white;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  flex-shrink: 0;
  position: relative;
  transform-origin: center center;
}

.contact-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
  border-radius: 22px;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: -1;
}

.contact-primary:hover .contact-icon::before {
  opacity: 0.3;
  animation: pulse 2s infinite;
}

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

.contact-icon i {
  width: 28px;
  height: 28px;
  stroke-width: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-primary:hover .contact-icon {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.5);
}

.contact-primary:hover .contact-icon i {
  transform: translate(-50%, -50%) scale(1.1);
}

.contact-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.contact-primary:hover .contact-title {
  color: var(--primary);
}

.contact-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.contact-primary:hover .contact-subtitle {
  color: var(--text-tertiary);
}

/* Enhanced Secondary Contact Links */
.contact-secondary-container {
  grid-column: span 2;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.contact-secondary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 32px;
  text-decoration: none;
  color: var(--text-tertiary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(6, 78, 59, 0.06);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.contact-secondary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.contact-secondary:hover::before {
  width: 200px;
  height: 200px;
}

.contact-secondary:hover {
  transform: translateY(-8px) scale(1.08);
  border-color: var(--border-emerald);
  color: var(--primary);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.3);
}

.contact-secondary-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  stroke-width: 2;
}

.contact-secondary:hover .contact-secondary-icon {
  transform: scale(1.3) rotate(10deg);
}

/* Enhanced Sections */
.content-section {
  margin-bottom: 7rem;
  position: relative;
  opacity: 0;
  transform: translateY(50px);
}

.section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.75rem, 6vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  position: relative;
  text-shadow: 0 1px 3px rgba(6, 78, 59, 0.08);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, rgba(6, 78, 59, 0.3) 0%, var(--primary-lighter) 30%, var(--primary-light) 70%, rgba(6, 78, 59, 0.3) 100%);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
  opacity: 0;
  animation: slideIn 0.8s ease 0.5s forwards;
}

@keyframes slideIn {
  to { opacity: 1; }
}

/* Enhanced About Section - Updated for single column */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-emerald);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.about-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.05), transparent);
  transition: left 0.6s ease;
}

.about-text:hover::before {
  left: 100%;
}

.about-text:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-emerald);
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-strong);
}

.about-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.about-text p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 4px;
  height: 4px;
  background: var(--primary-lighter);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Enhanced Academic Cards */
.academic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.academic-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-emerald);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.academic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-lighter), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

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

.academic-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-strong);
  border-color: var(--border-emerald);
  background: var(--bg-card-hover);
}

.academic-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.academic-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.4s ease;
}

.academic-card:hover .academic-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
}

.academic-icon i {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.academic-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.academic-card:hover .academic-info h3 {
  color: var(--primary);
}

.academic-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.academic-institution {
  font-weight: 500;
  color: var(--text-secondary);
}

.academic-content {
  margin-top: 1.5rem;
}

/* Enhanced Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 78, 59, 0.05));
  border: 1px solid var(--border-emerald);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  transition: all 0.5s ease;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.stat-card:hover::before {
  width: 200px;
  height: 200px;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: var(--glow-emerald);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 78, 59, 0.08));
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: "Playfair Display", serif;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Enhanced Languages Section with Progress Bars */
.languages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.language-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-emerald);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}

.language-item:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--border-emerald);
  box-shadow: var(--shadow-medium);
}

.language-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.language-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.language-flag {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

.language-level {
  font-size: 0.875rem;
  color: var(--text-emerald);
  font-weight: 500;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 78, 59, 0.05));
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border-emerald);
}

.language-progress {
  background: rgba(6, 78, 59, 0.1);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.language-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-lighter), var(--primary-light));
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  width: 0;
}

.language-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

/* Enhanced Current Focus as Spotlight */
.focus-spotlight {
  background: linear-gradient(135deg, var(--bg-card), rgba(255, 255, 255, 0.95));
  border: 1px solid var(--border-emerald);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-colored);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
}

.focus-spotlight::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(16, 185, 129, 0.1), transparent);
  animation: rotate 8s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.focus-spotlight:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--glow-emerald);
}

.focus-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
  transition: all 0.4s ease;
}

.focus-spotlight:hover .focus-icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 48px rgba(16, 185, 129, 0.5);
}

.focus-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
}

.focus-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* Enhanced Certificates as Achievement Cards */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.certificate-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-emerald);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
}

.certificate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--accent-light), var(--primary-lighter));
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.certificate-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--border-emerald);
  box-shadow: var(--shadow-strong);
}

.certificate-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.certificate-card:hover .certificate-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
}

.certificate-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.certificate-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Enhanced Projects as Interactive Showcase */
.project-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-emerald);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
}

.project-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.05), transparent);
  transition: left 0.6s ease;
}

.project-showcase-card:hover::before {
  left: 100%;
}

.project-showcase-card:hover {
  transform: translateY(-12px) scale(1.03);
  border-color: var(--border-emerald);
  box-shadow: var(--shadow-strong);
}

.project-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.project-type-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  transition: all 0.4s ease;
  flex-shrink: 0;
}

.project-showcase-card:hover .project-type-icon {
  transform: scale(1.1) rotate(5deg);
}

.project-meta h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.project-count {
  font-size: 0.875rem;
  color: var(--text-emerald);
  font-weight: 500;
}

.project-list {
  list-style: none;
  padding: 0;
}

.project-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  line-height: 1.6;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 1rem;
}

.project-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--primary-lighter);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.project-list li:hover {
  color: var(--text-primary);
  padding-left: 1.5rem;
}

.project-list li:hover::before {
  width: 6px;
  height: 6px;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.project-list li:last-child {
  border-bottom: none;
}

/* Enhanced Experience as Company Showcase */
.experience-showcase {
  background: linear-gradient(135deg, var(--bg-card), rgba(255, 255, 255, 0.95));
  border: 1px solid var(--border-emerald);
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-colored);
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
}

.experience-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--primary-lighter), var(--accent));
}

.company-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.company-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
  transition: all 0.4s ease;
}

.experience-showcase:hover .company-logo {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 12px 48px rgba(16, 185, 129, 0.5);
}

.company-info h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-family: "Playfair Display", serif;
}

.role-title {
  font-size: 1.25rem;
  color: var(--text-emerald);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.role-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
}

.responsibilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.responsibility-item {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid var(--border-emerald);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.responsibility-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
  transform: scaleY(0);
  transition: transform 0.4s ease;
  transform-origin: bottom;
}

.responsibility-item:hover::before {
  transform: scaleY(1);
}

.responsibility-item:hover {
  background: rgba(16, 185, 129, 0.1);
  transform: translateY(-4px);
}

.responsibility-item p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Enhanced Content Pills */
.content-pills {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.content-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.25rem 1.75rem;
  font-size: 1rem;
  color: var(--text-secondary);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-emerald);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  line-height: 1.6;
}

.content-pill::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
  transform: scaleY(0);
  transition: transform 0.4s ease;
  transform-origin: bottom;
}

.content-pill:hover::before {
  transform: scaleY(1);
}

.content-pill:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--border-emerald);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-medium);
  color: var(--text-primary);
}

/* Enhanced Skills Section */
.skills-category {
  margin-bottom: 3.5rem;
  opacity: 0;
  transform: translateY(30px);
}

.skills-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
  position: relative;
  padding-left: 2rem;
  text-shadow: 0 1px 2px rgba(6, 78, 59, 0.05);
}

.skills-category-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15); }
  to { box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3); }
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* Enhanced Skill Tags */
.skill-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 32px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-tertiary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-emerald);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}

.skill-tag i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 2;
  transition: transform 0.4s ease;
}

.skill-tag::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translate(-50%, -50%);
}

.skill-tag:hover::before {
  width: 150px;
  height: 150px;
}

.skill-tag:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-lighter);
  color: var(--primary);
  transform: translateY(-6px) scale(1.05);
  box-shadow: var(--glow-emerald);
}

.skill-tag:hover i {
  transform: scale(1.2) rotate(10deg);
}

/* Enhanced Personal Cards */
.personal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.personal-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-emerald);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.personal-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  transition: all 0.5s ease;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.personal-card:hover::before {
  width: 250px;
  height: 250px;
}

.personal-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: var(--border-emerald);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-strong);
}

.personal-card i {
  width: 32px;
  height: 32px;
  color: var(--primary-lighter);
  stroke-width: 2;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.personal-card:hover i {
  transform: scale(1.2) rotate(5deg);
}

.personal-card span {
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.personal-card:hover span {
  color: var(--text-primary);
}

/* Enhanced Content Card */
.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-emerald);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.05), transparent);
  transition: left 0.6s ease;
}

.content-card:hover::before {
  left: 100%;
}

.content-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-emerald);
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-strong);
}

.content-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.content-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-lighter), var(--primary-light));
  border-radius: 1px;
}

.content-card p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.content-card p i {
  width: 24px;
  height: 24px;
  color: var(--primary-lighter);
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-lighter), var(--gold));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 1001;
  transition: transform 0.1s ease;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.3);
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 78, 59, 0.2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
  overflow-y: auto;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  width: 100%;
  max-width: 1000px;
}

/* Footer Styles */
.site-footer {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  padding: 2rem 1.5rem;
  margin-top: 8rem;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 400;
  text-align: center;
  user-select: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03),
               0 -1px 4px rgba(0, 0, 0, 0.02);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(0, 0, 0, 0.08), 
    transparent
  );
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.footer-branding {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
  opacity: 0.9;
}

.footer-branding:hover {
  transform: translateY(-2px);
  color: var(--primary);
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--text-secondary);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-copy:hover {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .site-footer {
    padding: 1.75rem 1rem;
    margin-top: 4rem;
    backdrop-filter: blur(8px) saturate(160%);
    -webkit-backdrop-filter: blur(8px) saturate(160%);
  }
  
  .footer-branding {
    font-size: 1.5rem;
  }
}

.footer-logo {
  font-size: 2.25rem;
  user-select: text;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
  font-weight: 800;
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  user-select: text;
}

/* Responsive tweaks */
@media (min-width: 600px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
  

}

/* Modal content styles */
.modal-content {
  height: 90vh;
  max-height: 800px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px 0 rgba(6, 78, 59, 0.1);
  transform: translateY(20px) scale(0.98);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 1;
}

.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
  z-index: -1;
  border-radius: 16px;
}

.modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #064e3b;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.close-modal {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #064e3b;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  margin: 0;
  font-size: 1.25rem;
  line-height: 1;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(6, 78, 59, 0.1);
}

.close-modal:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #022c22;
  transform: rotate(90deg);
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.15);
}

.modal-body {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
  height: 100%;
  flex: 1;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-radius: 0 0 16px 16px;
}

.modal-body iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  border-radius: 0 0 16px 16px;
}

/* Loading state */
.modal-body::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  border-top-color: var(--accent-color);
  animation: spin 1s ease-in-out infinite;
  z-index: 1;
  display: none;
}

.modal-body.loading::before {
  display: block;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modal {
    padding: 0.5rem;
  }
  
  .modal-content {
    height: 95vh;
    max-height: none;
    border-radius: 12px;
  }
  
  .modal-header {
    padding: 1rem;
  }
  
  .modal-header h3 {
    font-size: 1.1rem;
  }
  
  .close-modal {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .cursor,
  .cursor-follower {
    display: none;
  }
  
  body {
    cursor: auto;
  }

  .container {
    padding: 0 1.5rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-primary {
    grid-column: span 1;
  }

  .contact-secondary-container {
    grid-column: span 1;
    flex-direction: column;
    gap: 1rem;
  }

  .particles-container {
    display: none;
  }

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

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

  .nav-links {
    display: none;
  }

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

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

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

  .project-showcase {
    grid-template-columns: 1fr;
  }

  .company-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

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

@media (max-width: 480px) {
  .nav-container {
    padding: 8px 16px;
  }

  .contact-primary {
    padding: 2rem 1.5rem;
  }

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

  .languages-grid {
    max-width: 100%;
  }
}