/* CSS Variables */
:root {
  --c-bg: #0c2b4e;
  --c-bg-soft: #1a3d64;
  --c-accent: #1d546c;
  --c-text: #f4f4f4;
  --c-muted: #9fb3c8;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

:root[data-theme='light'] {
  --c-bg: #f4f4f4;
  --c-bg-soft: #e9eef4;
  --c-accent: #1d546c;
  --c-text: #0c2b4e;
  --c-muted: #5a6a7a;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Light Mode - Header */
:root[data-theme='light'] .site-header-modern {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.98),
    rgba(240, 248, 255, 0.95)
  );
  border-bottom: 1px solid rgba(29, 84, 108, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08),
              0 0 15px rgba(29, 84, 108, 0.05);
}

:root[data-theme='light'] .site-header-modern.scrolled {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.99),
    rgba(240, 248, 255, 0.98)
  );
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12),
              0 0 20px rgba(29, 84, 108, 0.08);
}

:root[data-theme='light'] .header-glow-line {
  background: linear-gradient(90deg, 
    transparent,
    rgba(29, 84, 108, 0.4),
    rgba(0, 119, 255, 0.3),
    rgba(29, 84, 108, 0.4),
    transparent
  );
}

:root[data-theme='light'] .brand-logo {
  background: linear-gradient(135deg, 
    rgba(29, 84, 108, 0.15),
    rgba(0, 119, 255, 0.08)
  );
  border: 2px solid rgba(29, 84, 108, 0.3);
  box-shadow: 0 0 15px rgba(29, 84, 108, 0.2),
              inset 0 0 8px rgba(29, 84, 108, 0.05);
}

:root[data-theme='light'] .brand-modern:hover .brand-logo {
  box-shadow: 0 0 25px rgba(29, 84, 108, 0.35),
              inset 0 0 12px rgba(29, 84, 108, 0.1);
  border-color: rgba(29, 84, 108, 0.5);
}

:root[data-theme='light'] .logo-glow-ring {
  background: radial-gradient(circle, 
    rgba(29, 84, 108, 0.2),
    transparent 70%
  );
}

:root[data-theme='light'] .brand-name {
  background: linear-gradient(135deg, #1d546c, #0077ff);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
}

:root[data-theme='light'] .brand-tagline {
  color: rgba(29, 84, 108, 0.7);
}

:root[data-theme='light'] .nav-links-modern {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.98),
    rgba(240, 248, 255, 0.95)
  );
  border-top: 1px solid rgba(29, 84, 108, 0.15);
  border-bottom: 1px solid rgba(29, 84, 108, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

:root[data-theme='light'] .nav-link {
  border-bottom: 1px solid rgba(29, 84, 108, 0.08);
}

:root[data-theme='light'] .link-indicator {
  background: linear-gradient(90deg, 
    rgba(29, 84, 108, 0.8),
    rgba(0, 119, 255, 0.8)
  );
}

:root[data-theme='light'] .cta-glow {
  background: radial-gradient(circle, 
    rgba(29, 84, 108, 0.3),
    transparent 70%
  );
}

:root[data-theme='light'] .theme-toggle-modern {
  background: rgba(29, 84, 108, 0.08);
  border: 1px solid rgba(29, 84, 108, 0.15);
}

:root[data-theme='light'] .theme-toggle-modern:hover {
  background: rgba(29, 84, 108, 0.12);
  border-color: rgba(29, 84, 108, 0.25);
}

/* Light Mode - Journey Section */
:root[data-theme='light'] .journey-section-modern {
  background: linear-gradient(135deg, 
    rgba(240, 248, 255, 0.98) 0%, 
    rgba(255, 255, 255, 0.95) 50%, 
    rgba(245, 250, 252, 0.98) 100%),
    radial-gradient(circle at 80% 20%, rgba(29, 84, 108, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(0, 119, 255, 0.05) 0%, transparent 50%);
}

:root[data-theme='light'] .timeline-line {
  background: linear-gradient(to bottom, 
    rgba(29, 84, 108, 0.2),
    rgba(29, 84, 108, 0.15)
  );
}

:root[data-theme='light'] .timeline-progress {
  background: linear-gradient(to bottom, 
    rgba(29, 84, 108, 0.8),
    rgba(0, 119, 255, 0.8)
  );
  box-shadow: 0 0 15px rgba(29, 84, 108, 0.4);
}

:root[data-theme='light'] .milestone-content {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.98),
    rgba(240, 248, 255, 0.95)
  );
  border: 1px solid rgba(29, 84, 108, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08),
              0 0 20px rgba(29, 84, 108, 0.05);
}

:root[data-theme='light'] .milestone-content::before {
  background: linear-gradient(90deg, 
    transparent,
    rgba(29, 84, 108, 0.15),
    transparent
  );
}

:root[data-theme='light'] .milestone-icon {
  background: linear-gradient(135deg, 
    rgba(29, 84, 108, 0.12),
    rgba(0, 119, 255, 0.08)
  );
  border: 2px solid rgba(29, 84, 108, 0.2);
  color: #1d546c;
}

:root[data-theme='light'] .milestone-date .year {
  background: linear-gradient(135deg, #1d546c, #0077ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

:root[data-theme='light'] .milestone-date .month {
  color: rgba(29, 84, 108, 0.7);
}

:root[data-theme='light'] .milestone .tag {
  background: rgba(29, 84, 108, 0.08);
  border: 1px solid rgba(29, 84, 108, 0.15);
  color: #1d546c;
}

:root[data-theme='light'] .dot-inner {
  background: linear-gradient(135deg, #1d546c, #0077ff);
  box-shadow: 0 0 15px rgba(29, 84, 108, 0.4),
              inset 0 0 8px rgba(255, 255, 255, 0.3);
}

:root[data-theme='light'] .dot-pulse {
  border: 2px solid rgba(29, 84, 108, 0.4);
}

:root[data-theme='light'] .stat-card {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.98),
    rgba(240, 248, 255, 0.95)
  );
  border: 1px solid rgba(29, 84, 108, 0.15);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Light Mode - Contact Section */
:root[data-theme='light'] .contact-sci {
  background: linear-gradient(135deg, 
    rgba(240, 248, 255, 0.98),
    rgba(255, 255, 255, 0.95)
  );
}

:root[data-theme='light'] .contact-bg-grid {
  background-image: 
    linear-gradient(rgba(29, 84, 108, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 84, 108, 0.03) 1px, transparent 1px);
}

:root[data-theme='light'] .contact-form-sci {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.98),
    rgba(240, 248, 255, 0.95)
  );
  border: 2px solid rgba(29, 84, 108, 0.15);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1),
              0 0 30px rgba(29, 84, 108, 0.08);
}

:root[data-theme='light'] .form-field input,
:root[data-theme='light'] .form-field textarea {
  background: rgba(240, 248, 255, 0.5);
  border: 1px solid rgba(29, 84, 108, 0.2);
}

:root[data-theme='light'] .form-field input:focus,
:root[data-theme='light'] .form-field textarea:focus {
  border-color: rgba(29, 84, 108, 0.4);
  box-shadow: 0 0 20px rgba(29, 84, 108, 0.15);
  background: rgba(255, 255, 255, 0.8);
}

:root[data-theme='light'] .social-link {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.9),
    rgba(240, 248, 255, 0.8)
  );
  border: 1px solid rgba(29, 84, 108, 0.15);
}

:root[data-theme='light'] .social-link:hover {
  border-color: rgba(29, 84, 108, 0.4);
  box-shadow: 0 8px 25px rgba(29, 84, 108, 0.15);
}

:root[data-theme='light'] .social-pulse {
  background: radial-gradient(circle, 
    rgba(29, 84, 108, 0.2),
    transparent 70%
  );
}

/* Light Mode - AI Bot */
:root[data-theme='light'] .bot-toggle-sci {
  border: 2px solid rgba(29, 84, 108, 0.4);
  background: linear-gradient(135deg, 
    rgba(29, 84, 108, 0.9),
    rgba(0, 119, 255, 0.8)
  );
  box-shadow: 0 4px 16px rgba(29, 84, 108, 0.25),
              inset 0 0 12px rgba(255, 255, 255, 0.3);
}

:root[data-theme='light'] .bot-toggle-sci:hover {
  box-shadow: 0 8px 24px rgba(29, 84, 108, 0.4),
              inset 0 0 20px rgba(255, 255, 255, 0.4);
}

:root[data-theme='light'] .bot-panel-sci {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.98),
    rgba(240, 248, 255, 0.98)
  );
  border: 2px solid rgba(29, 84, 108, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15),
              0 0 40px rgba(29, 84, 108, 0.2);
}

:root[data-theme='light'] .bot-header-sci {
  background: linear-gradient(135deg, 
    rgba(29, 84, 108, 0.12),
    rgba(0, 119, 255, 0.08)
  );
  border-bottom: 1px solid rgba(29, 84, 108, 0.3);
}

:root[data-theme='light'] .bot-header-sci::before {
  background: linear-gradient(90deg, 
    transparent,
    rgba(29, 84, 108, 0.5),
    transparent
  );
}

:root[data-theme='light'] .bot-title {
  color: #1d546c;
  text-shadow: none;
}

:root[data-theme='light'] .bot-close {
  background: rgba(29, 84, 108, 0.08);
  border: 1px solid rgba(29, 84, 108, 0.2);
  color: #1d546c;
}

:root[data-theme='light'] .bot-close:hover {
  background: rgba(29, 84, 108, 0.15);
}

:root[data-theme='light'] .bot-body-sci {
  background: rgba(240, 248, 255, 0.5);
}

:root[data-theme='light'] .bot-msg {
  background: linear-gradient(135deg, 
    rgba(29, 84, 108, 0.08),
    rgba(0, 119, 255, 0.05)
  );
  border: 1px solid rgba(29, 84, 108, 0.15);
  color: var(--c-text);
}

:root[data-theme='light'] .bot-form-sci {
  border-top: 1px solid rgba(29, 84, 108, 0.2);
  background: linear-gradient(135deg, 
    rgba(29, 84, 108, 0.05),
    rgba(0, 119, 255, 0.03)
  );
}

:root[data-theme='light'] .bot-input-wrapper input {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(29, 84, 108, 0.3);
}

:root[data-theme='light'] .bot-input-wrapper input:focus {
  border-color: rgba(29, 84, 108, 0.5);
  box-shadow: 0 0 15px rgba(29, 84, 108, 0.2);
}

:root[data-theme='light'] .bot-send-btn {
  background: linear-gradient(135deg, 
    rgba(29, 84, 108, 0.9),
    rgba(0, 119, 255, 0.8)
  );
  border: 1px solid rgba(29, 84, 108, 0.5);
  box-shadow: 0 4px 12px rgba(29, 84, 108, 0.25);
}

:root[data-theme='light'] .bot-send-btn:hover {
  box-shadow: 0 6px 20px rgba(29, 84, 108, 0.4);
  background: linear-gradient(135deg, 
    rgba(29, 84, 108, 1),
    rgba(0, 119, 255, 0.9)
  );
}

/* Light Mode - Footer */
:root[data-theme='light'] .site-footer-sci {
  background: linear-gradient(180deg, 
    rgba(245, 250, 252, 0.98),
    rgba(240, 248, 255, 0.98)
  );
  border-top: 2px solid rgba(29, 84, 108, 0.2);
}

:root[data-theme='light'] .site-footer-sci::before {
  background: linear-gradient(90deg, 
    transparent,
    rgba(29, 84, 108, 0.6),
    transparent
  );
}

:root[data-theme='light'] .footer-grid-line {
  background-image: 
    linear-gradient(rgba(29, 84, 108, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 84, 108, 0.03) 1px, transparent 1px);
}

:root[data-theme='light'] .footer-logo {
  background: linear-gradient(135deg, 
    rgba(29, 84, 108, 0.15),
    rgba(0, 119, 255, 0.08)
  );
  border: 2px solid rgba(29, 84, 108, 0.3);
  box-shadow: 0 0 20px rgba(29, 84, 108, 0.2);
}

:root[data-theme='light'] .logo-glow {
  background: radial-gradient(circle, 
    rgba(29, 84, 108, 0.3),
    transparent 70%
  );
}

:root[data-theme='light'] .footer-brand-text h4 {
  background: linear-gradient(135deg, #1d546c, #0077ff);
  -webkit-background-clip: text;
  background-clip: text;
}

:root[data-theme='light'] .footer-link {
  color: rgba(29, 84, 108, 0.8);
}

:root[data-theme='light'] .footer-link:hover {
  color: #1d546c;
}

:root[data-theme='light'] .status-indicator {
  color: #00a86b;
}

:root[data-theme='light'] .status-dot {
  background: #00a86b;
  box-shadow: 0 0 8px rgba(0, 168, 107, 0.6);
}

:root[data-theme='light'] .footer-particles .particle {
  background: rgba(29, 84, 108, 0.4);
  box-shadow: 0 0 4px rgba(29, 84, 108, 0.6);
}

/* Global */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; color: var(--c-text); background: var(--c-bg); font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.75rem; }
.title { font-family: Orbitron, Inter, sans-serif; letter-spacing: 0.02em; font-size: clamp(2rem, 6vw, 4rem); text-shadow: 0 0 20px rgba(244,244,244,0.15); }
.brand-accent { text-shadow: 0 0 24px rgba(244,244,244,0.25); }

.section { padding: 64px 20px; max-width: 1100px; margin: 0 auto; }
.section.about-wide { max-width: 1200px; }

/* Skip */
.skip-link { position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: static; width: auto; height: auto; padding: 8px 12px; background: var(--c-accent); color: var(--c-text); }

/* Modern Premium Header */
.site-header-modern {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, 
    rgba(12, 43, 78, 0.95),
    rgba(6, 25, 45, 0.98)
  );
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 255, 255, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3),
              0 0 20px rgba(0, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header-modern.scrolled {
  background: linear-gradient(135deg, 
    rgba(12, 43, 78, 0.98),
    rgba(6, 25, 45, 0.99)
  );
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5),
              0 0 30px rgba(0, 255, 255, 0.15);
}

.header-glow-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent,
    rgba(0, 255, 255, 0.6),
    rgba(0, 119, 255, 0.6),
    rgba(0, 255, 255, 0.6),
    transparent
  );
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.header-border-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent,
    rgba(159, 211, 255, 0.3),
    transparent
  );
}

.nav-modern {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

/* Modern Brand */
.brand-modern {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--c-text);
  text-decoration: none;
  transition: transform 0.3s ease;
  z-index: 2;
}

.brand-modern:hover {
  transform: translateY(-2px);
}

.brand-logo {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, 
    rgba(0, 119, 255, 0.2),
    rgba(0, 255, 255, 0.1)
  );
  border-radius: 10px;
  border: 2px solid rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3),
              inset 0 0 10px rgba(0, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.brand-modern:hover .brand-logo {
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.5),
              inset 0 0 15px rgba(0, 255, 255, 0.2);
  border-color: rgba(0, 255, 255, 0.6);
}

.brand-logo img {
  position: relative;
  z-index: 1;
}

.logo-glow-ring {
  position: absolute;
  inset: -4px;
  background: radial-gradient(circle, 
    rgba(0, 255, 255, 0.3),
    transparent 70%
  );
  border-radius: 10px;
  animation: logoGlowPulse 2s ease-in-out infinite;
}

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

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: Orbitron, Inter, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00ffff, #0077ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.brand-tagline {
  font-size: 0.65rem;
  color: rgba(159, 211, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Navigation Links */
.nav-links-modern {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--c-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(0, 255, 255, 0.08),
    rgba(0, 119, 255, 0.05)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-link:hover::before {
  opacity: 1;
}

.link-text {
  position: relative;
  z-index: 1;
}

.link-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 70%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent,
    #00ffff,
    transparent
  );
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover .link-indicator {
  transform: translateX(-50%) scaleX(1);
}

.nav-link:hover {
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* CTA Link (Contact) */
.nav-link-cta {
  background: linear-gradient(135deg, 
    rgba(0, 119, 255, 0.3),
    rgba(0, 255, 255, 0.2)
  );
  border: 1px solid rgba(0, 255, 255, 0.4);
  padding: 10px 20px;
  margin-left: 8px;
}

.nav-link-cta::before {
  display: none;
}

.cta-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, 
    rgba(0, 255, 255, 0.5),
    rgba(0, 119, 255, 0.3)
  );
  border-radius: 8px;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-link-cta:hover {
  background: linear-gradient(135deg, 
    rgba(0, 119, 255, 0.5),
    rgba(0, 255, 255, 0.3)
  );
  border-color: rgba(0, 255, 255, 0.6);
  box-shadow: 0 4px 20px rgba(0, 255, 255, 0.3);
}

.nav-link-cta:hover .cta-glow {
  opacity: 1;
}

/* Navigation Actions */
.nav-actions-modern {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle-modern {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.theme-toggle-modern::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(0, 255, 255, 0.1),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.theme-toggle-modern:hover {
  border-color: rgba(0, 255, 255, 0.5);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.theme-toggle-modern:hover::before {
  opacity: 1;
}

.theme-icon {
  position: absolute;
  color: #9fd3ff;
  transition: all 0.3s ease;
}

.theme-icon-sun {
  opacity: 0;
  transform: rotate(180deg) scale(0.5);
}

.theme-icon-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme='light'] .theme-icon-sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme='light'] .theme-icon-moon {
  opacity: 0;
  transform: rotate(-180deg) scale(0.5);
}


/* Mobile Navigation Toggle */
.nav-toggle-modern {
  display: none;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
}

.nav-toggle-modern:hover {
  border-color: rgba(0, 255, 255, 0.6);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.toggle-line {
  width: 20px;
  height: 2px;
  background: #00ffff;
  border-radius: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 0 4px rgba(0, 255, 255, 0.5);
}

.nav-toggle-modern[aria-expanded="true"] .toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle-modern[aria-expanded="true"] .toggle-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.nav-toggle-modern[aria-expanded="true"] .toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .nav-toggle-modern {
    display: flex;
  }
  
  .nav-links-modern {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: linear-gradient(135deg, 
      rgba(12, 43, 78, 0.98),
      rgba(6, 25, 45, 0.99)
    );
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 255, 255, 0.15);
    border-bottom: 1px solid rgba(0, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    padding: 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s ease;
  }
  
  .nav-links-modern.open {
    max-height: 500px;
    padding: 20px 16px;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    width: 100%;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
  }
  
  .nav-link-cta {
    margin-left: 0;
    margin-top: 8px;
    border-bottom: none;
  }
  
  .nav-actions-modern {
    gap: 8px;
  }
  
  .brand-tagline {
    display: none;
  }
  
  .nav-modern {
    padding: 12px 16px;
  }
}

/* Switch */
.switch { position: relative; display: inline-block; width: 46px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top:0; left:0; right:0; bottom:0; background: var(--c-bg-soft); transition: .2s; border-radius: 999px; }
.slider:before { content: ""; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px; background: var(--c-text); transition: .2s; border-radius: 50%; }
input:checked + .slider { background: var(--c-accent); }
input:checked + .slider:before { transform: translateX(22px); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; justify-items: start; text-align: left; overflow: hidden; padding: 0; width: 100vw; }
.hero-bg { position: absolute; inset: 0; background: url('/assets/img/abir4.jpg') center 30% / cover no-repeat; filter: saturate(108%); }
.hero-content { position: relative; z-index: 1; padding: 24px; max-width: 640px; margin-left: clamp(16px, 6vw, 100px); margin-bottom: clamp(12px, 8vh, 80px); align-self: end; justify-self: start; animation: fadeIn 1s ease both; }
.subtitle { font-size: clamp(1rem, 2.6vw, 1.5rem); color: var(--c-muted); min-height: 1.5em; }
.subtitle #typewriter {
  color: #f4f4f4;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45), 0 0 2px rgba(0,0,0,0.75);
  -webkit-text-stroke: 0.25px rgba(0,0,0,0.25);
  font-family: Orbitron, Inter, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media (max-width: 600px) {
  .hero { padding: 0; }
  .hero-content { padding: 20px; margin-left: clamp(12px, 5vw, 40px); margin-bottom: clamp(14px, 12vh, 100px); }
  .hero-bg { background: url('/assets/img/abir4.jpg') center 42% / cover no-repeat; }
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.project-card.neo { opacity: 0; transform: translateY(10px); }
.project-card.neo.reveal { opacity: 1; transform: none; animation: slideUp .35s ease both; }

/* Buttons */
.btn { background: var(--c-accent); color: #fff; border: 0; padding: 10px 16px; border-radius: 10px; text-decoration: none; cursor: pointer; box-shadow: var(--shadow); transition: transform .1s ease, box-shadow .2s ease, filter .2s ease; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
.btn:active { transform: translateY(0); filter: brightness(0.97); }
.btn-sm { padding: 6px 10px; border-radius: 8px; }

/* Cards, grids */
.card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); backdrop-filter: blur(6px); }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-grid.pro { grid-template-columns: 1.1fr 1.9fr; align-items: stretch; }
.avatar { width: 100%; height: 260px; border-radius: 14px; background: url('/assets/img/abir2.jpg') center 52% / cover no-repeat; box-shadow: var(--shadow); border: 3px solid #9fd3ff; transition: transform .2s ease; will-change: transform; }
.avatar.large { height: 360px; }
.avatar:hover { transform: scale(1.01); }
@media (max-width: 900px) {
  .about-grid.pro { grid-template-columns: 1fr; }
  .avatar { height: 240px; }
}
.skills-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; list-style: none; }
.pro-card { position: relative; overflow: hidden; }
.pro-card::after { content: ""; position: absolute; inset: -1px; border-radius: 16px; padding: 1px; background: linear-gradient(135deg, rgba(159,211,255,0.35), rgba(255,255,255,0)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; animation: borderGlow 6s linear infinite; }
@keyframes borderGlow { 0% { opacity: .8; } 50% { opacity: .35; } 100% { opacity: .8; } }
.about-name { margin: 10px 0 4px; }
.tagline { color: var(--c-muted); margin-top: -6px; }
.quick-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.social-mini { display: flex; gap: 10px; margin-top: 10px; padding: 0; list-style: none; }
.social-mini a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); color: #9fd3ff; text-decoration: none; transition: transform .12s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.social-mini a:hover { transform: translateY(-2px); background: rgba(159,211,255,0.12); border-color: #9fd3ff; color: #fff; }
.social-mini svg { width: 18px; height: 18px; display: block; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 12px 0; }
.stat { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 10px; text-align: center; transition: transform .15s ease, box-shadow .2s ease; }
.stat:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.stat .num { font-weight: 800; font-size: 1.1rem; }
.stat .lbl { color: var(--c-muted); font-size: 12px; }
.ticks { padding: 0; margin: 8px 0; list-style: none; display: grid; gap: 6px; }
.ticks li { position: relative; padding-left: 18px; }
.ticks li::before { content: "✔"; position: absolute; left: 0; color: #9fd3ff; }
.stack { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pill { padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); transition: transform .12s ease, background .2s ease, border-color .2s ease; }
.pill:hover { transform: translateY(-2px); background: rgba(159,211,255,0.12); border-color: #9fd3ff; }
.tile { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); padding: 12px; border-radius: 12px; transform: perspective(600px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transform-style: preserve-3d; transition: transform .12s ease, box-shadow .2s ease, background .3s ease, border-color .2s ease; }
.tile:hover, .tile.hover { transform: perspective(600px) translateY(-4px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 20px rgba(159,211,255,.25); background: rgba(255,255,255,0.08); border-color: #9fd3ff; }
.timeline-list { margin: 0; padding-left: 18px; }
.timeline-list li { margin: 8px 0; }
.timeline-list time { color: var(--c-muted); font-weight: 600; margin-right: 6px; }

/* About tabs */
.about-tabs { display: flex; gap: 8px; margin: 10px 0 6px; flex-wrap: wrap; }
.tab { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); color: var(--c-text); padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.tab.active { background: #1d546c; border-color: #1d546c; }
.about-tabpanes { margin-top: 8px; display: grid; gap: 10px; }
.pane { display: none; }
.pane.active { display: block; }

/* Skills section (programmer) */
.skills-section { overflow: hidden; }
.skills-section .muted { color: var(--c-muted); margin-top: -6px; margin-bottom: 12px; }
.skills-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
 .skill-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: clamp(16px, 2vw, 22px); box-shadow: var(--shadow); min-width: 0; }
/* Bars */
.bar-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.bar-row { display: grid; grid-template-columns: minmax(150px, 36%) minmax(0, 1fr); column-gap: 20px; row-gap: 8px; align-items: center; }
.bar-row label { color: #9fd3ff; font-weight: 600; overflow-wrap: anywhere; }
.bar-col { display: grid; gap: 8px; min-width: 0; }
.bar { position: relative; height: 14px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); overflow: hidden; min-width: 0; }
.bar-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #1A3D64, #1D546C); box-shadow: 0 0 8px rgba(159,211,255,0.35) inset; border-right: 1px solid rgba(255,255,255,0.25); border-radius: 999px; transition: width 1.6s ease-out; position: relative; }
.bar-fill em { position: absolute; right: 8px; top: -22px; font-size: 12px; color: var(--c-muted); }
.bar-desc { font-size: 12px; color: var(--c-muted); }
.bar-row + .bar-row { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 12px; }
@media (max-width: 700px){ .bar-row { grid-template-columns: 1fr; row-gap: 10px; } .bar-row label { margin-bottom: 2px; } }
/* Circles */
.circles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.circle { position: relative; display: grid; place-items: center; gap: 6px; padding: 8px; border-radius: 12px; min-width: 0; }
.circle svg { transform: rotate(-90deg); width: clamp(88px, 28vw, 120px); height: auto; margin-bottom: 2px; }
.circle-track { fill: none; stroke: rgba(255,255,255,0.15); stroke-width: 10; }
.circle-progress { fill: none; stroke: #9fd3ff; filter: drop-shadow(0 0 2px rgba(159,211,255,0.25)); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.6s ease-out; }
.circle-val { position: static; display: block; font-weight: 800; color: var(--c-text); text-shadow: 0 1px 4px rgba(0,0,0,0.35); font-size: clamp(12px, 2.6vw, 16px); line-height: 1; white-space: nowrap; }
.circle-meta { text-align: center; margin-top: 2px; }
.circle-meta strong { display: block; }
.circle-meta span { font-size: 12px; color: var(--c-muted); }

/* Journey Section - Modern Timeline */
.journey-section-modern {
  position: relative;
  background: linear-gradient(135deg, 
    rgba(12, 43, 78, 0.95) 0%, 
    rgba(26, 61, 100, 0.98) 50%, 
    rgba(9, 32, 58, 0.95) 100%),
    radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(0, 119, 255, 0.08) 0%, transparent 50%);
  overflow: hidden;
  padding: 80px 20px;
}

.journey-header {
  text-align: center;
  margin-bottom: 80px;
}

.journey-title {
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  background: linear-gradient(135deg, #00ffff, #0077ff, #9fd3ff, #00ffff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 4s ease-in-out infinite;
  text-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
  margin-bottom: 16px;
}

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

.journey-subtitle {
  color: var(--c-muted);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

/* Timeline Container */
.journey-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 80px;
  padding: 40px 0;
}

/* Center Line */
.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: rgba(159, 211, 255, 0.15);
  border-radius: 4px;
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #00ffff, #0077ff);
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  transition: height 0.6s ease;
}

/* Milestone Cards */
.milestone {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.milestone.visible {
  opacity: 1;
  transform: translateY(0);
}

.milestone-left .milestone-content {
  grid-column: 1;
  text-align: right;
}

.milestone-left .milestone-dot {
  grid-column: 2;
}

.milestone-right .milestone-content {
  grid-column: 3;
  text-align: left;
}

.milestone-right .milestone-dot {
  grid-column: 2;
}

/* Milestone Content Card */
.milestone-content {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(159, 211, 255, 0.2);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

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

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

.milestone:hover .milestone-content {
  transform: scale(1.02);
  border-color: rgba(0, 255, 255, 0.5);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4),
              0 0 30px rgba(0, 255, 255, 0.2);
}

/* Milestone Icon */
.milestone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 119, 255, 0.2));
  border: 2px solid rgba(0, 255, 255, 0.5);
  border-radius: 50%;
  margin-bottom: 20px;
  color: #00ffff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.milestone-left .milestone-icon {
  float: right;
}

.milestone-icon svg {
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Milestone Date */
.milestone-date {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  font-family: Orbitron, Inter, sans-serif;
}

.milestone-left .milestone-date {
  justify-content: flex-end;
}

.milestone-date .year {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.milestone-date .month {
  font-size: 0.9rem;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Milestone Title & Description */
.milestone-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.milestone-desc {
  color: var(--c-text);
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Milestone Tags */
.milestone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.milestone-left .milestone-tags {
  justify-content: flex-end;
}

.milestone-tags .tag {
  padding: 6px 12px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  color: #9fd3ff;
  transition: all 0.3s ease;
}

.milestone-tags .tag:hover {
  background: rgba(0, 255, 255, 0.2);
  border-color: #00ffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

/* Milestone Stats */
.milestone-stats {
  display: flex;
  gap: 20px;
}

.milestone-left .milestone-stats {
  justify-content: flex-end;
}

.milestone-stats .stat {
  text-align: center;
}

.milestone-stats .stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.milestone-stats .stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Center Dot */
.milestone-dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.dot-inner {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #00ffff, #0077ff);
  border-radius: 50%;
  border: 3px solid var(--c-bg);
  box-shadow: 0 0 0 4px rgba(0, 255, 255, 0.3),
              0 0 20px rgba(0, 255, 255, 0.5);
  z-index: 2;
  transition: all 0.3s ease;
}

.milestone:hover .dot-inner {
  transform: scale(1.3);
  box-shadow: 0 0 0 6px rgba(0, 255, 255, 0.5),
              0 0 30px rgba(0, 255, 255, 0.8);
}

.dot-pulse {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(0, 255, 255, 0.5);
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}

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

/* Current Milestone (Special Styling) */
.milestone-current .milestone-content {
  background: linear-gradient(135deg, 
    rgba(0, 255, 255, 0.1),
    rgba(0, 119, 255, 0.05)
  );
  border: 2px solid rgba(0, 255, 255, 0.5);
}

.milestone-current .dot-inner {
  animation: currentPulse 2s ease-in-out infinite;
}

@keyframes currentPulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(0, 255, 255, 0.3),
                0 0 20px rgba(0, 255, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 255, 255, 0.5),
                0 0 40px rgba(0, 255, 255, 0.8);
  }
}

/* Journey Stats at Bottom */
.journey-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-card {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(159, 211, 255, 0.2);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

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

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

.stat-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 255, 255, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
              0 0 30px rgba(0, 255, 255, 0.3);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: inline-block;
  animation: statIconBounce 2s ease-in-out infinite;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: Orbitron, Inter, sans-serif;
  background: linear-gradient(135deg, #00ffff, #0077ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  color: var(--c-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .journey-timeline {
    padding: 20px 0;
  }
  
  .timeline-line {
    left: 30px;
  }
  
  .milestone {
    grid-template-columns: auto 1fr;
    gap: 20px;
    margin-bottom: 50px;
  }
  
  .milestone-left .milestone-content,
  .milestone-right .milestone-content {
    grid-column: 2;
    text-align: left;
  }
  
  .milestone-left .milestone-dot,
  .milestone-right .milestone-dot {
    grid-column: 1;
  }
  
  .milestone-left .milestone-icon {
    float: none;
  }
  
  .milestone-left .milestone-date,
  .milestone-left .milestone-tags,
  .milestone-left .milestone-stats {
    justify-content: flex-start;
  }
  
  .milestone-content {
    padding: 20px;
    max-width: 100%;
    overflow: hidden;
  }
  
  .milestone-title {
    font-size: 1.3rem;
    line-height: 1.4;
  }
  
  .milestone-desc {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .milestone-tags {
    gap: 6px;
    flex-wrap: wrap;
  }
  
  .milestone-tags .tag {
    padding: 4px 8px;
    font-size: 0.7rem;
  }
  
  .milestone-stats {
    gap: 12px;
    flex-wrap: wrap;
  }
  
  .milestone-stats .stat {
    min-width: auto;
  }
  
  .milestone-stats .stat-value {
    font-size: 1.2rem;
  }
  
  .milestone-stats .stat-label {
    font-size: 0.65rem;
  }
  
  .journey-stats {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
  }
  
  .stat-card {
    padding: 24px 16px;
  }
  
  .stat-icon {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

/* Projects */
.filters { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.chip { background: transparent; border: 1px solid var(--c-accent); color: var(--c-text); padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.chip.active { background: var(--c-accent); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .grid { grid-template-columns: 1fr; } }
.projects-grid { gap: 18px; }
/* Card v2 — modern, layered */
.project-card.neo { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); border: 1px solid rgba(159,211,255,0.16); box-shadow: 0 18px 40px rgba(0,0,0,0.45); overflow: hidden; transform-style: preserve-3d; transition: transform .18s ease, box-shadow .28s ease, border-color .2s ease, background .3s ease; isolation: isolate; }
.project-card.neo::before { content:""; position:absolute; inset:-1px; border-radius: 20px; padding:1px; background: linear-gradient(135deg, rgba(159,211,255,0.35), rgba(255,255,255,0)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events:none; }
.project-card.neo::after { content:""; position:absolute; inset:auto -20% -40% -20%; height:120px; background: radial-gradient(60% 120% at 50% 100%, rgba(0,255,255,0.12), rgba(0,0,0,0)); filter: blur(18px); opacity: .5; pointer-events:none; z-index:0; }
.project-card.neo:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(0,0,0,.58); }
.project-card .rank { position:absolute; top:8px; right:8px; background: rgba(0,0,0,0.45); border:1px solid rgba(255,255,255,0.12); color:#9fd3ff; font-weight:700; font-size:12px; padding:4px 8px; border-radius:999px; backdrop-filter: blur(4px); z-index: 2; }
.project-card .shot { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 16px; contain: paint; }
.project-card .shot .img { position:absolute; inset:0; background: var(--bg, linear-gradient(135deg,#1a3d64,#1d546c)); background-size: cover; background-position:center; filter:saturate(1.05) contrast(1.02); transform: scale(1.02); transition: transform .5s ease, background-position .2s ease; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05); }
.project-card .shot .img::before { content:""; position:absolute; inset:0; border-radius:16px; pointer-events:none; background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0) 30%), radial-gradient(600px 220px at 0% 0%, rgba(159,211,255,0.16), transparent 60%); mix-blend-mode: screen; }
.project-card .shot .overlay { position:absolute; inset:0; border-radius:16px; background: radial-gradient(900px 360px at 20% 10%, rgba(0,255,255,0.10), transparent 60%), linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.35)); pointer-events:none; }
.project-card .shot::after { content:""; position:absolute; top:0; bottom:0; left:0; width:40%; background: linear-gradient(120deg, rgba(255,255,255,0), rgba(255,255,255,0.18), rgba(255,255,255,0)); transform: translateX(-120%); pointer-events:none; }
@keyframes sheen { from { transform: translateX(-120%);} to { transform: translateX(120%);} }
.project-card.neo:hover .shot::after { animation: sheen 1.2s ease; }
.project-card.neo:hover .shot .img { transform: scale(1.06); }
/* Quick actions overlay */
.quick-actions { position: absolute; inset: auto 10px 10px 10px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; transform: translateY(10px); opacity: 0; transition: .2s ease; z-index: 2; }
.project-card:focus-within .quick-actions, .project-card:hover .quick-actions { transform: translateY(0); opacity: 1; }
.qa-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(11,37,68,0.85); border: 1px solid rgba(255,255,255,0.14); color: #cfe9ff; backdrop-filter: blur(6px); box-shadow: 0 6px 18px rgba(0,0,0,0.35); cursor: pointer; }
.qa-btn:hover { color: #fff; border-color: #9fd3ff; transform: translateY(-1px); }
.qa-btn svg { width: 16px; height: 16px; }
/* Body */
.project-card .body { display: grid; gap: 10px; padding: 16px; position: relative; z-index: 1; min-width: 0; }
.project-card .head { display:flex; align-items:center; justify-content: space-between; gap: 10px; min-width: 0; }
.project-card .name { margin:0; font-size: 1.08rem; background: linear-gradient(90deg,#f4f4f4,#9fd3ff); -webkit-background-clip:text; background-clip:text; color: transparent; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; min-width: 0; }
.badges li { background: rgba(255,255,255,0.06); padding: 2px 8px; border-radius: 999px; font-size: 11.5px; border: 1px solid rgba(255,255,255,0.12); }
.icon-btn { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: #9fd3ff; width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn:hover { border-color: #9fd3ff; color: #fff; }
.fav-btn[aria-pressed=\"true\"] { background: rgba(159,211,255,0.16); color: #ff8da1; border-color: rgba(255,255,255,0.25); }
.favorited .fav-btn .heart { fill: currentColor; }
.project-card .desc { margin: 0; color: var(--c-text); opacity: .9; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.project-card .meta { font-size: 12px; color: var(--c-muted); display:flex; gap:6px; align-items:center; }
.project-card .actions { display:flex; gap:8px; }
.btn.ghost { background: transparent; border:1px solid rgba(255,255,255,0.25); }
.bullets { list-style: none; padding:0; margin:0; display:grid; gap:4px; color: var(--c-muted); font-size: 12px; }
.bullets li { overflow-wrap: anywhere; }
.bullets li::before { content:\"• \"; color:#9fd3ff; }
.stack-icons { display:flex; gap:8px; align-items:center; opacity:.9; }
.stack-icons svg { width:16px; height:16px; display:block; }
.feature-chips { display:flex; flex-wrap:wrap; gap:6px; min-width: 0; }
.feature-chips .chip { border-color: rgba(255,255,255,0.18); color: #cfe9ff; padding:3px 8px; backdrop-filter: blur(2px); font-size: 12px; }
.case { margin-top: 8px; }
.case { margin-top: 8px; }

/* Blog */
.blog-controls { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 12px; }
.blog-actions { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.blog-search input { width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: var(--c-text); padding: 10px 12px; border-radius: 10px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { background: rgba(255,255,255,0.04); border: 1px solid rgba(159,211,255,0.5); color: #cfe9ff; border-radius: 999px; padding: 6px 10px; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.tag:hover { background: rgba(159,211,255,0.12); border-color: #9fd3ff; color: #fff; }
.tag.active { background: #9fd3ff; color: #0c2b4e; }
.view { display: inline-flex; gap: 6px; }
.view-btn { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); color: var(--c-text); padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.view-btn.active { background: var(--c-accent); color: #fff; }
#blogSort { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: var(--c-text); padding: 6px 10px; border-radius: 8px; }
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.post-list.list { grid-template-columns: 1fr; }
.post-card { position: relative; display: grid; grid-template-rows: auto 1fr; background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .2s ease, background .3s ease, border-color .2s ease; }
.post-card::before { content:""; position:absolute; inset:-1px; border-radius: 16px; padding:1px; background: linear-gradient(135deg, rgba(159,211,255,0.25), rgba(255,255,255,0)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events:none; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.45); }
.post-card .thumb { position: relative; aspect-ratio: 16/9; background: conic-gradient(from 0deg, hsl(var(--h,210),70%,55%), hsl(calc(var(--h,210) + 60),70%,45%), hsl(calc(var(--h,210) + 120),70%,50%)); filter: saturate(1.1); overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.06); transition: transform .25s ease, box-shadow .3s ease, filter .25s ease; cursor: pointer; }
.post-card .thumb::after { content:""; position:absolute; inset:0; background: radial-gradient(600px 220px at 0% 0%, rgba(159,211,255,0.2), transparent 60%); mix-blend-mode: screen; pointer-events: none; }
.post-card .thumb::before { content:""; position:absolute; top:0; bottom:0; left:0; width:40%; background: linear-gradient(120deg, rgba(255,255,255,0), rgba(255,255,255,0.18), rgba(255,255,255,0)); transform: translateX(-120%); pointer-events:none; }
.post-card .thumb:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 28px rgba(0,0,0,0.35); }
.post-card .thumb:hover::before { animation: sheen 1.1s ease; }
.post-card .thumb:focus-visible { outline: 2px solid #9fd3ff; outline-offset: 2px; transform: translateY(-2px) scale(1.02); }
.post-card .thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.05) contrast(1.02); transition: transform .25s ease; }
.post-card .thumb:hover .thumb-img, .post-card .thumb:focus-visible .thumb-img { transform: scale(1.03); }
.post-card .pc-body { display: grid; gap: 8px; padding: 12px; }
.post-card .pc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.post-card .pc-head-actions { display: inline-flex; align-items: center; gap: 6px; }
.post-card .pc-title { margin: 0; font-size: 1rem; background: linear-gradient(90deg,#fff,#cfe9ff); -webkit-background-clip:text; background-clip:text; color: transparent; }
.post-card .pc-date { font-size: 12px; color: var(--c-muted); }
.post-card .remove-btn { width: 28px; height: 28px; border-radius: 8px; }
.post-card .pc-excerpt { margin: 0; color: var(--c-text); opacity: .9; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.post-card .pc-meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; color: var(--c-muted); font-size: 12px; }
.post-card .pill { padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); }
.post-card.reveal { animation: slideUp .3s ease both; }
mark.hl { background: rgba(159,211,255,0.25); color: inherit; padding: 0 2px; border-radius: 3px; }

/* Resume */
.resume-viewer { display: grid; gap: 10px; }
.resume-viewer iframe { width: 100%; height: min(80vh, 800px); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; background: #000; }

/* Contact Sci-Fi Section */
.contact-sci {
  position: relative;
  background: linear-gradient(135deg, 
    rgba(12, 43, 78, 0.9) 0%, 
    rgba(26, 61, 100, 0.95) 50%, 
    rgba(9, 32, 58, 0.9) 100%),
    radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(0, 119, 255, 0.12) 0%, transparent 60%);
  border-top: 1px solid rgba(159, 211, 255, 0.15);
  border-bottom: 1px solid rgba(159, 211, 255, 0.15);
  overflow: hidden;
}

.contact-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(159, 211, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 211, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridShift 20s linear infinite;
  pointer-events: none;
}

@keyframes gridShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header h2 {
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, #00ffff, #0077ff, #9fd3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.contact-subtitle {
  color: var(--c-muted);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.contact-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: start;
}

/* Sidebar with Hologram & Social Links */
.contact-sidebar {
  position: relative;
}

.contact-hologram {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
  border: 2px solid rgba(159, 211, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: holoRotate 10s linear infinite;
}

@keyframes holoRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.holo-circle {
  position: absolute;
  border: 1px solid rgba(0, 255, 255, 0.4);
  border-radius: 50%;
  animation: holoRing 8s ease-in-out infinite;
}

.holo-circle:nth-child(1) {
  width: 120px;
  height: 120px;
  animation-delay: 0s;
}

.holo-circle:nth-child(2) {
  width: 140px;
  height: 140px;
  animation-delay: -2s;
}

.holo-circle:nth-child(3) {
  width: 160px;
  height: 160px;
  animation-delay: -4s;
}

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

.holo-avatar {
  width: 80px;
  height: 80px;
  background: url('/assets/img/abir2.jpg') center/cover;
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 255, 0.6);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
  z-index: 2;
}

.contact-info {
  text-align: center;
}

.info-title {
  font-family: Orbitron, Inter, sans-serif;
  font-size: 1.5rem;
  color: var(--c-text);
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(159, 211, 255, 0.3);
}

.info-text {
  color: var(--c-muted);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

/* Social Links Grid */
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.social-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(159, 211, 255, 0.2);
  border-radius: 12px;
  color: var(--c-text);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

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

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

.social-link:hover {
  transform: translateY(-2px);
  background: rgba(0, 255, 255, 0.08);
  border-color: rgba(0, 255, 255, 0.5);
  box-shadow: 0 10px 25px rgba(0, 255, 255, 0.2);
}

.social-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9fd3ff;
  transition: color 0.3s ease;
}

.social-link:hover .social-icon {
  color: #00ffff;
}

.social-label {
  font-weight: 500;
  font-size: 0.9rem;
  flex: 1;
  text-align: left;
}

.social-pulse {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  transform: translateY(-50%);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(0, 255, 136, 0); }
}

/* Response Time Indicator */
.response-time {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(159, 211, 255, 0.15);
  border-radius: 8px;
  padding: 12px;
}

.response-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #00ff88;
  border-radius: 50%;
  animation: statusPulse 3s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.status-text {
  color: var(--c-muted);
}

/* Contact Form */
.contact-main {
  position: relative;
}

.contact-form-sci {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(159, 211, 255, 0.15);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.form-header {
  margin-bottom: 30px;
}

.form-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(0, 255, 255, 0.08);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--c-text);
}

.status-icon {
  font-size: 1.2rem;
  animation: iconGlow 2s ease-in-out infinite alternate;
}

@keyframes iconGlow {
  from { text-shadow: 0 0 5px rgba(0, 255, 255, 0.5); }
  to { text-shadow: 0 0 15px rgba(0, 255, 255, 0.8); }
}

.status-label {
  font-weight: 500;
  letter-spacing: 0.02em;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-field {
  position: relative;
}

.form-field-full {
  grid-column: 1 / -1;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--c-text);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.label-required {
  color: #ff4444;
  font-weight: 700;
}

.field-wrapper {
  position: relative;
}

.contact-form-sci input,
.contact-form-sci select,
.contact-form-sci textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(159, 211, 255, 0.2);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--c-text);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

.contact-form-sci input:focus,
.contact-form-sci select:focus,
.contact-form-sci textarea:focus {
  border-color: #00ffff;
  background: rgba(0, 255, 255, 0.05);
  box-shadow: 0 0 0 2px rgba(0, 255, 255, 0.2);
}

.field-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00ffff, #0077ff);
  transition: width 0.3s ease;
}

.contact-form-sci input:focus + .field-line,
.contact-form-sci select:focus + .field-line,
.contact-form-sci textarea:focus + .field-line {
  width: 100%;
}

.char-count {
  text-align: right;
  font-size: 0.8rem;
  color: var(--c-muted);
  margin-top: 6px;
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

/* Custom Checkbox */
.consent-check {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.consent-check input {
  display: none;
}

.check-box {
  position: relative;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(159, 211, 255, 0.4);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-icon {
  width: 12px;
  height: 12px;
  color: #00ffff;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

.consent-check input:checked + .check-box {
  background: rgba(0, 255, 255, 0.2);
  border-color: #00ffff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.consent-check input:checked + .check-box .check-icon {
  opacity: 1;
  transform: scale(1);
}

.check-label {
  color: var(--c-text);
  font-size: 0.9rem;
}

/* Neon Button */
.btn-neon {
  position: relative;
  background: transparent;
  border: 2px solid #00ffff;
  border-radius: 50px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  align-self: center;
  outline: none;
}

.btn-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(0, 119, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-neon:hover .btn-bg {
  opacity: 1;
}

.btn-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  color: #00ffff;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 1;
}

.btn-icon {
  transition: transform 0.3s ease;
}

.btn-neon:hover .btn-icon {
  transform: translateX(4px);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent
  );
  transition: left 0.6s ease;
}

.btn-neon:hover {
  box-shadow: 
    0 0 20px rgba(0, 255, 255, 0.5),
    inset 0 0 20px rgba(0, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-neon:hover .btn-shine {
  left: 100%;
}

.btn-neon:active {
  transform: translateY(0);
}

.form-message {
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.form-message.success {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: #00ff88;
  opacity: 1;
  transform: translateY(0);
}

.form-message.error {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.3);
  color: #ff4444;
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-sidebar {
    order: 2;
  }
  
  .contact-main {
    order: 1;
  }
  
  .social-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-sci {
    padding: 30px 20px;
  }
  
  .contact-inner {
    padding: 60px 20px;
  }
}

@media (max-width: 600px) {
  .contact-header h2 {
    font-size: 2rem;
  }
  
  .contact-hologram {
    width: 140px;
    height: 140px;
  }
  
  .holo-avatar {
    width: 60px;
    height: 60px;
  }
  
  .btn-content {
    padding: 14px 24px;
    font-size: 0.9rem;
  }
}

/* Futuristic AI Bot Assistant */
.bot-toggle-sci {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 255, 0.4);
  background: linear-gradient(135deg, 
    rgba(0, 119, 255, 0.85),
    rgba(0, 255, 255, 0.65)
  );
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 255, 255, 0.25),
              inset 0 0 12px rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: visible;
}

.bot-toggle-sci:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 255, 255, 0.4),
              inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.bot-toggle-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bot-icon {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
  animation: botIconPulse 2s ease-in-out infinite;
}

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

.bot-pulse-ring {
  display: none;
}

.bot-panel-sci {
  position: fixed;
  right: 24px;
  bottom: 100px;
  width: min(420px, calc(100vw - 48px));
  max-height: min(70vh, 600px);
  display: none;
  flex-direction: column;
  background: linear-gradient(135deg, 
    rgba(11, 37, 68, 0.98),
    rgba(6, 25, 45, 0.98)
  );
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6),
              0 0 40px rgba(0, 255, 255, 0.2),
              inset 0 0 30px rgba(0, 255, 255, 0.05);
  overflow: hidden;
  z-index: 60;
  backdrop-filter: blur(20px);
}

.bot-panel-sci.open {
  display: flex;
  animation: botSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.bot-header-sci {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, 
    rgba(0, 119, 255, 0.15),
    rgba(0, 255, 255, 0.1)
  );
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
  position: relative;
}

.bot-header-sci::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent,
    rgba(0, 255, 255, 0.6),
    transparent
  );
}

.bot-header-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bot-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  color: #00ff88;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.8);
  animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.bot-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  font-family: Orbitron, Inter, sans-serif;
}

.bot-title svg {
  filter: drop-shadow(0 0 4px rgba(0, 255, 255, 0.6));
}

.bot-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #9fd3ff;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bot-close:hover {
  background: rgba(255, 68, 68, 0.2);
  border-color: rgba(255, 68, 68, 0.5);
  color: #ff4444;
  transform: rotate(90deg);
}

.bot-body-sci {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  flex: 1;
  min-height: 200px;
  max-height: 400px;
}

.bot-body-sci::-webkit-scrollbar {
  width: 6px;
}

.bot-body-sci::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.bot-body-sci::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 255, 0.3);
  border-radius: 3px;
}

.bot-body-sci::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 255, 0.5);
}

.bot-welcome {
  text-align: center;
  padding: 20px;
  color: var(--c-text);
}

.welcome-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.bot-welcome p {
  margin: 8px 0;
  color: #9fd3ff;
}

.welcome-hint {
  font-size: 0.85rem;
  color: var(--c-muted);
  font-style: italic;
}

.bot-msg {
  background: linear-gradient(135deg, 
    rgba(0, 255, 255, 0.08),
    rgba(0, 119, 255, 0.06)
  );
  border: 1px solid rgba(0, 255, 255, 0.2);
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--c-text);
  font-size: 0.9rem;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: messageSlideIn 0.3s ease;
}

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

.bot-form-sci {
  display: flex;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  background: linear-gradient(135deg, 
    rgba(0, 119, 255, 0.05),
    rgba(0, 255, 255, 0.03)
  );
}

.bot-input-wrapper {
  flex: 1;
  position: relative;
}

.bot-input-wrapper input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 255, 255, 0.3);
  color: var(--c-text);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.bot-input-wrapper input:focus {
  outline: none;
  border-color: rgba(0, 255, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3),
              inset 0 0 10px rgba(0, 255, 255, 0.1);
}

.input-scan-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, 
    transparent,
    rgba(0, 255, 255, 0.8),
    transparent
  );
  transition: width 0.3s ease;
}

.bot-input-wrapper input:focus ~ .input-scan-line {
  width: 100%;
}

.bot-send-btn {
  background: linear-gradient(135deg, 
    rgba(0, 119, 255, 0.8),
    rgba(0, 255, 255, 0.6)
  );
  border: 1px solid rgba(0, 255, 255, 0.5);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 255, 255, 0.3);
}

.bot-send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 255, 0.5);
  background: linear-gradient(135deg, 
    rgba(0, 119, 255, 1),
    rgba(0, 255, 255, 0.8)
  );
}

.bot-send-btn:active {
  transform: translateY(0);
}

/* Professional Sci-Fi Footer */
.site-footer-sci {
  position: relative;
  padding: 60px 20px 30px;
  background: linear-gradient(180deg, 
    rgba(6, 20, 35, 0.95),
    rgba(11, 37, 68, 0.98)
  );
  border-top: 2px solid rgba(0, 255, 255, 0.2);
  overflow: hidden;
}

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

.footer-grid-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  pointer-events: none;
}

.footer-inner-sci {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.footer-logo {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, 
    rgba(0, 119, 255, 0.2),
    rgba(0, 255, 255, 0.1)
  );
  border: 2px solid rgba(0, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.footer-logo img {
  position: relative;
  z-index: 1;
}

.logo-glow {
  position: absolute;
  inset: -4px;
  background: radial-gradient(circle, 
    rgba(0, 255, 255, 0.4),
    transparent 70%
  );
  border-radius: 12px;
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.footer-brand-text h4 {
  margin: 0 0 8px 0;
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00ffff, #0077ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: Orbitron, Inter, sans-serif;
}

.footer-brand-text p {
  margin: 0;
  color: var(--c-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h5 {
  margin: 0 0 16px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #00ffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column li {
  font-size: 0.9rem;
}

.footer-column a,
.footer-link-btn {
  color: var(--c-text);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
  position: relative;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  text-align: left;
}

.footer-column a::before,
.footer-link-btn::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    #00ffff,
    #0077ff
  );
  transition: width 0.3s ease;
}

.footer-column a:hover,
.footer-link-btn:hover {
  color: #00ffff;
  transform: translateX(4px);
}

.footer-column a:hover::before,
.footer-link-btn:hover::before {
  width: 100%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 255, 255, 0.15);
}

.footer-copyright {
  color: var(--c-muted);
  font-size: 0.85rem;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-indicator-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #00ff88;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.status-dot-footer {
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
  animation: statusBlink 2s ease-in-out infinite;
}

.footer-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(0, 255, 255, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(0, 255, 255, 0.8);
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation: particleFloat 8s ease-in-out infinite;
}

.particle:nth-child(2) {
  top: 60%;
  left: 30%;
  animation: particleFloat 10s ease-in-out infinite 2s;
}

.particle:nth-child(3) {
  top: 40%;
  left: 70%;
  animation: particleFloat 12s ease-in-out infinite 4s;
}

.particle:nth-child(4) {
  top: 80%;
  left: 50%;
  animation: particleFloat 9s ease-in-out infinite 1s;
}

.particle:nth-child(5) {
  top: 30%;
  left: 90%;
  animation: particleFloat 11s ease-in-out infinite 3s;
}

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(50px);
    opacity: 0;
  }
}

/* Footer Mobile Responsive */
@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .site-footer-sci {
    padding: 40px 20px 20px;
  }
  
  .bot-toggle-sci {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
  
  .bot-panel-sci {
    right: 16px;
    bottom: 84px;
  }
}

/* Project modal */
.proj-modal { position: fixed; inset: 0; display: none; z-index: 70; }
.proj-modal.open { display: grid; place-items: center; }
.proj-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); z-index: 0; }
.proj-dialog { position: relative; width: min(900px, 94vw); background: rgba(11,37,68,0.96); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; z-index: 1; }
@media (max-width: 900px){ .proj-dialog { grid-template-columns: 1fr; } }
.proj-close { position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: var(--c-text); border-radius: 8px; padding: 6px 8px; cursor: pointer; z-index: 1; }
.proj-media { min-height: 260px; background: radial-gradient(800px 300px at 20% 10%, rgba(0,255,255,0.08), transparent 60%); background-size: cover; background-position:center; }
.proj-content { padding: 16px; display: grid; gap: 10px; }
.proj-title { margin: 0; }
.proj-bullets, .proj-badges { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.proj-badges { grid-auto-flow: column; justify-content: start; gap: 8px; }
.proj-badges li { background: rgba(255,255,255,0.06); padding: 3px 8px; border-radius: 999px; font-size: 12px; border: 1px solid rgba(255,255,255,0.12); }
.proj-actions { display: flex; gap: 8px; margin-top: 4px; }

/* Blog modal */
.blog-modal { position: fixed; inset: 0; display: none; z-index: 70; }
.blog-modal.open { display: grid; place-items: center; }
.blog-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); z-index: 0; }
.blog-dialog { position: relative; width: min(820px, 94vw); background: rgba(11,37,68,0.96); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; z-index: 1; }
.blog-close { position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: var(--c-text); border-radius: 8px; padding: 6px 8px; cursor: pointer; z-index: 1; }
.blog-article { display: grid; gap: 12px; padding: 16px; }
.blog-header { display: grid; gap: 6px; }
.blog-title { margin: 0; font-size: 1.25rem; background: linear-gradient(90deg,#fff,#cfe9ff); -webkit-background-clip:text; background-clip:text; color: transparent; }
.blog-meta { color: var(--c-muted); font-size: 12px; display: flex; gap: 8px; align-items: center; }
.blog-tags { display: inline-flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.blog-tags li { background: rgba(255,255,255,0.06); padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); }
.blog-thumb { min-height: 220px; background: radial-gradient(800px 300px at 20% 10%, rgba(0,255,255,0.08), transparent 60%); background-size: cover; background-position:center; border-radius: 12px; }
.blog-thumb.has-img { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.blog-body { line-height: 1.75; }
.blog-body h4 { margin: 10px 0 4px; }
.blog-body ul { margin: 6px 0; padding-left: 18px; }
.blog-body code { background: rgba(255,255,255,0.06); padding: 0 4px; border-radius: 4px; }
.blog-body pre { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); padding: 10px; border-radius: 10px; overflow: auto; }

/* Responsive */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; background: transparent; border: 0; color: var(--c-text); font-size: 22px; }
.nav-links { position: absolute; right: 10px; top: 60px; background: transparent; padding: 10px; border-radius: 10px; display: none; flex-direction: column; }
  .nav-links.open { display: flex; }
}

/* High contrast mode */
:root.contrast { --c-bg: #000; --c-bg-soft: #111; --c-accent: #00e0ff; --c-text: #fff; --c-muted: #e0e0e0; }
