/* ==========================================================================
   NAHOM WOSENU - PROFESSIONAL PORTFOLIO STYLESHEET
   Mobile-First, High-Performance, Accessible & Modern Design
   ========================================================================== */

/* --- CSS Variables & Theme Foundations --- */
:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Color Palette - Cyber & Deep Space */
  --bg-dark: #07090e;
  --bg-darker: #040508;
  --bg-surface: #0e131d;
  --bg-card: rgba(14, 20, 32, 0.72);
  --bg-card-hover: rgba(22, 30, 48, 0.85);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glass-hover: rgba(255, 255, 255, 0.22);

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-cyan: #00f0ff;
  --accent-cyan-dim: rgba(0, 240, 255, 0.15);
  --accent-pink: #f43f5e;
  --accent-pink-dim: rgba(244, 63, 94, 0.15);
  --accent-green: #10b981;
  --accent-green-dim: rgba(16, 185, 129, 0.15);
  --accent-amber: #f59e0b;
  --accent-amber-dim: rgba(245, 158, 11, 0.15);
  --accent-purple: #8b5cf6;
  --accent-purple-dim: rgba(139, 92, 246, 0.15);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow-cyan: 0 0 35px rgba(0, 240, 255, 0.25);
  --shadow-glow-pink: 0 0 35px rgba(244, 63, 94, 0.25);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-med: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Variables */
body.theme-light {
  --bg-dark: #f8fafc;
  --bg-darker: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-glass-hover: rgba(0, 0, 0, 0.16);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.09);
  --shadow-glow-cyan: 0 0 25px rgba(0, 180, 216, 0.18);
  --shadow-glow-pink: 0 0 25px rgba(225, 29, 72, 0.18);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  transition: background-color var(--transition-med), color var(--transition-med);
}

/* Accessible outline */
:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

/* --- Container Utility --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 640px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* --- Ambient Glowing Mesh Orbs --- */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  transition: opacity var(--transition-med);
}

.glow-1 {
  top: -100px;
  right: -50px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.4) 0%, rgba(14, 165, 233, 0.05) 70%);
}

.glow-2 {
  top: 40%;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.35) 0%, rgba(168, 85, 247, 0.05) 70%);
}

.glow-3 {
  bottom: 5%;
  right: 5%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, rgba(6, 182, 212, 0.05) 70%);
}

body.theme-light .ambient-glow {
  opacity: 0.25;
}

/* --- Utility Text Colors & Gradients --- */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-alt {
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-cyan { color: var(--accent-cyan) !important; }
.text-pink { color: var(--accent-pink) !important; }
.text-green { color: var(--accent-green) !important; }
.text-amber { color: var(--accent-amber) !important; }
.text-purple { color: var(--accent-purple) !important; }
.text-muted { color: var(--text-muted) !important; }

/* --- Top Announcement Bar --- */
.top-banner {
  background: linear-gradient(90deg, rgba(14, 20, 32, 0.95), rgba(20, 28, 48, 0.95));
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.85rem;
  position: relative;
  z-index: 20;
}

body.theme-light .top-banner {
  background: linear-gradient(90deg, #e2e8f0, #f1f5f9);
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
}

.banner-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse-ring 2s infinite ease-out;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.banner-link {
  color: var(--accent-cyan);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 0.82rem;
}

.banner-link:hover {
  text-decoration: underline;
}

@media (max-width: 680px) {
  .banner-status span:last-child {
    font-size: 0.76rem;
  }
  .banner-link {
    display: none;
  }
}

/* --- Sticky Glass Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 14, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: background-color var(--transition-med);
}

body.theme-light .site-header {
  background: rgba(248, 250, 252, 0.82);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
  color: #000;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 240, 255, 0.35);
}

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

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  padding: 8px 4px;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-tag {
  background: var(--accent-cyan);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  margin-right: 4px;
  text-transform: uppercase;
  vertical-align: middle;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  transition: all var(--transition-fast);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-cyan);
}

.btn.nav-resume-btn {
  display: none;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  z-index: 101;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
@media (max-width: 991px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(7, 9, 14, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 24px;
    gap: 20px;
    overflow-y: auto;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    z-index: 99;
  }

  body.theme-light .nav-menu {
    background: rgba(248, 250, 252, 0.98);
  }

  .nav-menu.is-open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-menu .nav-link {
    font-size: 1.25rem;
    font-weight: 700;
    width: 100%;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 14px;
  }
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
  }
  .btn.nav-resume-btn {
    display: inline-flex;
  }
  .mobile-toggle {
    display: none;
  }
}

/* --- Common Button Styles --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 10px 20px;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #0284c7 100%);
  color: #000;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(0, 240, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 240, 255, 0.5);
  color: #000;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--border-glass-hover);
  color: var(--text-main);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* --- Glass Panels & Cards --- */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.glass-panel:hover {
  border-color: var(--border-glass-hover);
  background: var(--bg-card-hover);
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  padding: 40px 0 60px;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 70px 0 90px;
  }
}

.hero-grid {
  display: flex;
  flex-direction: column-reverse;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
  }
}

/* Hero Left Content */
.hero-content {
  width: 100%;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 640px;
}

/* Highlights List */
.hero-highlights-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 30px;
}

@media (min-width: 580px) {
  .hero-highlights-list {
    grid-template-columns: 1fr 1fr;
  }
}

.highlight-chip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.highlight-chip:hover {
  transform: translateY(-2px);
  border-color: var(--border-glass-hover);
}

.chip-icon {
  font-size: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.chip-text {
  display: flex;
  flex-direction: column;
}

.chip-text strong {
  font-size: 0.88rem;
  color: var(--text-main);
}

.chip-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Hero CTA Group */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

@media (max-width: 500px) {
  .hero-cta-group .btn {
    width: 100%;
  }
}

/* Hero Contact Details Strip */
.hero-contact-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.86rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  color: var(--text-muted);
}

.contact-pill a {
  color: var(--text-main);
  font-weight: 600;
}

.contact-pill a:hover {
  color: var(--accent-cyan);
}

.copy-btn {
  color: var(--accent-cyan);
  padding: 2px;
  display: inline-flex;
  align-items: center;
}

.copy-btn:hover {
  color: #fff;
}

.social-links-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 240, 255, 0.25);
}

/* --- Hero Right / Transparent Portrait & Badges --- */
.hero-visual {
  width: 100%;
  max-width: 480px;
  position: relative;
  display: flex;
  justify-content: center;
}

.portrait-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  max-height: 660px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Radiant Backdrops */
.portrait-halo {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.25) 0%, rgba(244, 63, 94, 0.2) 50%, transparent 75%);
  filter: blur(40px);
  z-index: 1;
}

.halo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}

.ring-1 {
  width: 88%;
  height: 88%;
  animation: spin-slow 40s linear infinite;
}

.ring-2 {
  width: 105%;
  height: 105%;
  border-color: rgba(0, 240, 255, 0.1);
  animation: spin-reverse 55s linear infinite;
}

@keyframes spin-slow {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}

@keyframes spin-reverse {
  from { transform: translateX(-50%) rotate(360deg); }
  to { transform: translateX(-50%) rotate(0deg); }
}

.image-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.65));
  transition: transform 0.4s ease;
}

.portrait-stage:hover .portrait-img {
  transform: scale(1.02);
}

/* Badges Container - Desktop default is display: contents so badges float relative to portrait-stage */
.portrait-badges-grid {
  display: contents;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 15, 26, 0.88);
  border: 1px solid var(--border-glass-hover);
  animation: float-gentle 4s ease-in-out infinite;
}

body.theme-light .floating-badge {
  background: rgba(255, 255, 255, 0.94);
}

/* Desktop coordinates: placed safely at shoulders & waist, leaving head/face (top 0-25%) 100% clear */
.badge-top-left {
  top: 28%;
  left: -32px;
  animation-delay: 0s;
}

.badge-top-right {
  top: 32%;
  right: -32px;
  animation-delay: 1s;
}

.badge-bottom-left {
  bottom: 12%;
  left: -22px;
  animation-delay: 2s;
}

.badge-bottom-right {
  bottom: 6%;
  right: -22px;
  animation-delay: 1.5s;
}

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

/* Mobile & Tablet layout (<992px): Dock badges in a clean 2x2 grid below photo so face is NEVER covered */
@media (max-width: 991px) {
  .hero-visual {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
  }

  .portrait-stage {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 2 / 3;
    max-height: 600px;
    margin: 0 auto;
  }

  .portrait-badges-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: calc(100% - 18px);
    max-width: 420px;
    margin-top: 0;
    position: absolute;
    left: 50%;
    bottom: clamp(42px, 9vw, 68px);
    transform: translateX(-50%);
    z-index: 4;
  }

  .portrait-badges-grid .floating-badge {
    position: static !important;
    animation: none !important;
    transform: none !important;
    padding: 9px 12px;
    gap: 8px;
    width: 100%;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
    min-width: 0;
    background: rgba(10, 15, 26, 0.7);
  }

  body.theme-light .portrait-badges-grid .floating-badge {
    background: rgba(255, 255, 255, 0.76);
  }

  .portrait-badges-grid .badge-icon-wrap {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  .portrait-badges-grid .badge-value {
    font-size: 0.82rem;
  }

  .portrait-badges-grid .badge-label {
    font-size: 0.7rem;
  }
}

.badge-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.icon-cyan { background: var(--accent-cyan-dim); color: var(--accent-cyan); }
.icon-pink { background: var(--accent-pink-dim); color: var(--accent-pink); }
.icon-green { background: var(--accent-green-dim); color: var(--accent-green); }
.icon-amber { background: var(--accent-amber-dim); color: var(--accent-amber); }
.icon-purple { background: var(--accent-purple-dim); color: var(--accent-purple); }

.badge-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.badge-value {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.badge-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* --- STATS STRIP --- */
.stats-strip {
  padding: 30px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  position: relative;
  z-index: 2;
}

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

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.stat-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  text-align: center;
  transition: transform var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-cyan);
}

.stat-number {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1.1;
  margin-bottom: 6px;
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.stat-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* --- SECTION COMMON --- */
.section {
  padding: 60px 0;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .section {
    padding: 90px 0;
  }
}

.section-darker {
  background-color: var(--bg-darker);
}

.section-header {
  margin-bottom: 44px;
}

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

.section-subtitle {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  display: inline-block;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin-bottom: 14px;
}

.section-description {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.65;
  margin-left: auto;
  margin-right: auto;
}

.header-split {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 850px) {
  .header-split {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .header-split .section-description {
    margin: 0;
    max-width: 480px;
  }
}

/* --- ABOUT SECTION --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 850px) {
  .about-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-card {
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.highlight-border {
  border-color: rgba(244, 63, 94, 0.4);
  box-shadow: 0 10px 30px rgba(244, 63, 94, 0.1);
}

.card-icon-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.card-icon-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-main);
}

.check-list li i {
  color: var(--accent-green);
  margin-top: 4px;
  font-size: 0.8rem;
}

.army-quote {
  background: rgba(244, 63, 94, 0.08);
  border-left: 3px solid var(--accent-pink);
  padding: 12px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.quote-text {
  font-style: italic;
  font-size: 0.86rem;
  color: var(--text-main);
  line-height: 1.5;
  display: block;
}

.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.pill-sm {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-main);
}

/* --- FEATURED PROJECTS & FLAGSHIP --- */
.flagship-project {
  padding: 24px;
  margin-bottom: 40px;
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .flagship-project {
    padding: 36px;
  }
}

.flagship-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.flagship-tag {
  background: linear-gradient(90deg, #1877f2, #0082fb);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.flagship-tag-alt {
  background: rgba(0, 240, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
}

.flagship-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 992px) {
  .flagship-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
  }
}

.project-header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.project-logo {
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.flagship-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.flagship-subtitle {
  font-size: 0.95rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.flagship-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}

.flagship-spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 26px;
}

@media (min-width: 540px) {
  .flagship-spec-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.spec-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.spec-pill strong {
  color: var(--text-main);
  display: block;
  margin-bottom: 2px;
}

.flagship-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Flagship Gallery */
.flagship-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery-viewport {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.gallery-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 6, 12, 0.95) 90%);
  padding: 24px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.overlay-badge {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.gallery-overlay p {
  font-size: 0.84rem;
  color: #fff;
  line-height: 1.35;
  margin: 0;
}

.gallery-tab-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-tab img {
  width: 100%;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
}

.gallery-tab span {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
}

.gallery-tab.active, .gallery-tab:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
}

.gallery-tab.active span {
  color: var(--accent-cyan);
}

/* Projects Cards Grid */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 680px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.project-card:hover {
  transform: translateY(-4px);
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  align-self: flex-start;
}

.tag-cyan { background: var(--accent-cyan-dim); color: var(--accent-cyan); border: 1px solid rgba(0, 240, 255, 0.3); }
.tag-green { background: var(--accent-green-dim); color: var(--accent-green); border: 1px solid rgba(16, 185, 129, 0.3); }
.tag-amber { background: var(--accent-amber-dim); color: var(--accent-amber); border: 1px solid rgba(245, 158, 11, 0.3); }
.tag-pink { background: var(--accent-pink-dim); color: var(--accent-pink); border: 1px solid rgba(244, 63, 94, 0.3); }
.tag-purple { background: var(--accent-purple-dim); color: var(--accent-purple); border: 1px solid rgba(139, 92, 246, 0.3); }

.card-title {
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.tech-tags span {
  font-size: 0.74rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--text-muted);
}

.card-footer-action {
  padding-top: 12px;
  border-top: 1px solid var(--border-glass);
}

.inline-link {
  color: var(--accent-cyan);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.inline-link:hover {
  text-decoration: underline;
  gap: 10px;
}

.status-verified {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --- LIVE TELEMETRY LAB --- */
.telemetry-console {
  max-width: 960px;
  margin: 0 auto;
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.console-header {
  background: rgba(4, 8, 16, 0.9);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.console-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.console-title {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-ready { color: var(--accent-amber); }
.status-online { color: var(--accent-green); text-shadow: 0 0 10px var(--accent-green); }

.console-controls {
  display: flex;
  gap: 8px;
}

.telemetry-gauges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 20px;
  background: rgba(10, 15, 24, 0.6);
  border-bottom: 1px solid var(--border-glass);
}

@media (min-width: 768px) {
  .telemetry-gauges {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gauge-card {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
}

.gauge-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.gauge-value {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
  line-height: 1.2;
  margin: 4px 0 2px;
}

.gauge-sub {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.console-body {
  height: 260px;
  overflow-y: auto;
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.7;
  background: #04060a;
  color: #d1d5db;
}

.log-line {
  word-break: break-all;
}

.log-line.packet {
  color: #a7f3d0;
}

.log-line.alert {
  color: #fca5a5;
}

/* Custom Scrollbar for Terminal */
.console-body::-webkit-scrollbar {
  width: 6px;
}
.console-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

/* --- SKILLS MATRIX SECTION --- */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-cyan);
  color: #000;
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 14px rgba(0, 240, 255, 0.3);
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skill-item {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
}

.skill-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.skill-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.skill-meta h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.skill-exp {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}

.skill-item p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: auto;
}

.skill-level-bar {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
  border-radius: 999px;
}

/* --- EXPERIENCE TIMELINE --- */
.timeline-container {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  padding-left: 28px;
}

@media (min-width: 768px) {
  .timeline-container {
    padding-left: 40px;
  }
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 20px;
  left: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-pink) 50%, var(--accent-green) 100%);
}

@media (min-width: 768px) {
  .timeline-container::before {
    left: 14px;
  }
}

.timeline-node {
  position: relative;
  margin-bottom: 40px;
}

.timeline-node:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline-dot {
    left: -33px;
    width: 20px;
    height: 20px;
  }
}

.dot-green { border-color: var(--accent-green); box-shadow: 0 0 10px var(--accent-green); }
.dot-amber { border-color: var(--accent-amber); box-shadow: 0 0 10px var(--accent-amber); }
.dot-purple { border-color: var(--accent-purple); box-shadow: 0 0 10px var(--accent-purple); }
.dot-pink { border-color: var(--accent-pink); box-shadow: 0 0 10px var(--accent-pink); }

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.timeline-content {
  padding: 24px;
}

.role-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.role-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.company-name {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-muted);
}

.badge-role {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.role-current {
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
  border-color: rgba(0, 240, 255, 0.3);
}

.role-bullets {
  padding-left: 20px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.role-bullets li {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.role-tags span {
  font-size: 0.74rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--text-muted);
}

/* --- EDUCATION & CERTIFICATIONS --- */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 800px) {
  .edu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.edu-card {
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.edu-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-cyan);
}

.edu-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.edu-year {
  font-size: 0.76rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.edu-degree {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.edu-school {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 600;
}

.edu-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
  align-self: flex-start;
  margin: 6px 0;
}

.edu-note {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- CONTACT SECTION --- */
.contact-box {
  padding: 28px;
}

@media (min-width: 850px) {
  .contact-box {
    padding: 50px;
  }
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 992px) {
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
}

.contact-text {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.direct-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.direct-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.direct-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.direct-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
}

.direct-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.direct-val:hover {
  color: var(--accent-cyan);
}

.copy-email-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-copy-chip {
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid var(--border-glass);
}

.btn-copy-chip:hover {
  background: var(--accent-cyan);
  color: #000;
}

.resume-download-box {
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-top: 10px;
}

.resume-download-box p {
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Contact Form */
.contact-form-wrap {
  background: rgba(6, 9, 16, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

body.theme-light .form-group input,
body.theme-light .form-group select,
body.theme-light .form-group textarea {
  background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.09);
  outline: none;
}

.form-feedback {
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 20px;
}

.form-feedback.success {
  color: var(--accent-green);
}

/* --- FOOTER --- */
.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-glass);
  padding: 44px 0 30px;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  display: flex;
  flex-direction: column-reverse;
  gap: 16px;
  justify-content: space-between;
  border-top: 1px solid var(--border-glass);
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--accent-cyan);
  color: #000;
}

/* --- RESUME MODAL --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.is-active {
  opacity: 1;
  pointer-events: all;
}

.modal-window {
  width: 100%;
  max-width: 900px;
  height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass-hover);
  background: var(--bg-surface);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.is-active .modal-window {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-glass);
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-title-wrap h3 {
  font-size: 1.1rem;
  font-weight: 800;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  line-height: 1;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.modal-body {
  flex: 1;
  width: 100%;
  height: 100%;
  background: #2b2b2b;
}

.pdf-frame {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- TOAST NOTIFICATIONS --- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: rgba(14, 20, 32, 0.95);
  border: 1px solid var(--accent-cyan);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(20px);
  opacity: 0;
  animation: toast-in 0.3s forwards ease;
  pointer-events: all;
}

@keyframes toast-in {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.toast.toast-out {
  animation: toast-out 0.3s forwards ease;
}

@keyframes toast-out {
  to {
    transform: translateY(20px);
    opacity: 0;
  }
}
