/* ==========================================================================
   ABDIRAHMAN OSMAN PORTFOLIO - DESIGN SYSTEM & CSS STYLES
   Professional App Developer, Full-Stack Web Developer, UI/UX Designer & Lecturer
   ========================================================================== */

:root {
  --bg-color: #070a12;
  --bg-surface: rgba(15, 23, 42, 0.7);
  --bg-surface-hover: rgba(22, 33, 62, 0.85);
  --bg-card: rgba(15, 23, 42, 0.6);
  --bg-card-border: rgba(255, 255, 255, 0.12);

  --color-primary: #8b5cf6;
  --color-primary-light: #a78bfa;
  --color-primary-glow: rgba(139, 92, 246, 0.35);

  --color-accent: #06b6d4;
  --color-accent-light: #67e8f9;
  --color-accent-glow: rgba(6, 182, 212, 0.35);

  --color-secondary: #3b82f6;
  --color-amber: #f59e0b;
  --color-emerald: #10b981;
  --color-youtube: #ff0000;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-heading: #ffffff;

  --font-family-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-title: 'Outfit', sans-serif;

  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.3);

  --glass-backdrop: blur(14px);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Custom Sleek Dark Modern Scrollbar (Removes White Edge Scrollbar) */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(5, 7, 18, 0.6);
}

::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.4);
  border-radius: 99px;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.8);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 92, 246, 0.4) rgba(5, 7, 18, 0.6);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-family-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-title);
  color: var(--text-heading);
  line-height: 1.25;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   CRYSTAL CLEAR FULL-OPACITY VIDEO BACKGROUND ENGINE
   ========================================================================== */
.video-background-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.video-background-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: none;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(7, 10, 18, 0.1) 0%, rgba(7, 10, 18, 0.45) 100%),
              linear-gradient(180deg, rgba(7, 10, 18, 0.15) 0%, rgba(7, 10, 18, 0.6) 100%);
  pointer-events: none;
}

.particle-canvas-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#particle-canvas {
  width: 100%;
  height: 100%;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  z-index: 1000;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* Text & Helper Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary-light);
  margin-bottom: 0.5rem;
  background: rgba(139, 92, 246, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-primary-glow);
  backdrop-filter: blur(8px);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow: 0 10px 20px -5px var(--color-primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px var(--color-primary-glow);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.4);
  color: var(--text-primary);
  border: 1px solid var(--bg-card-border);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: var(--bg-surface);
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  border: 1px solid var(--bg-card-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.btn-nav-cta {
  padding: 0.65rem 1.35rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  box-shadow: 0 4px 12px var(--color-primary-glow);
}

.btn-admin-link {
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--bg-card-border);
  color: var(--text-muted);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  backdrop-filter: blur(8px);
}

.btn-admin-link:hover {
  color: var(--text-primary);
  border-color: var(--color-primary-light);
}

.btn-youtube {
  background: #ff0000;
  color: #ffffff;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}

.btn-youtube:hover {
  background: #cc0000;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 18px;
  height: 18px;
}

/* NAVBAR (CLEAN & SIMPLE DESKTOP LAYOUT) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* Modern Subtle Glassmorphism / Mirror effect when scrolled */
.navbar.scrolled {
  background: rgba(10, 15, 30, 0.75) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.brand-badge {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--color-primary-glow);
}

.brand-name {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
}

.brand-tagline {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  white-space: nowrap;
}

/* ─── NAV LINK & ACTIVE HIGHLIGHT (CLEAN TEXT + GRADIENT UNDERLINE) ─── */
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.4rem 0.2rem;
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  background: transparent !important;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.active {
  color: #ffffff !important;
  font-weight: 700 !important;
  background: transparent !important;
}

/* Glowing Indicator Underline beneath active text */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, #8b5cf6 0%, #06b6d4 100%);
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.8), 0 0 16px rgba(6, 182, 212, 0.5);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.nav-link:hover::after {
  transform: scaleX(0.4);
  opacity: 0.4;
}

.nav-link.active::after {
  transform: scaleX(1) !important;
  opacity: 1 !important;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  position: relative;
  z-index: 1001;
  transition: background 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: #8b5cf6;
}

.mobile-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: #8b5cf6;
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: min(320px, 85vw);
  height: 100vh;
  background: rgba(10, 14, 28, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 999;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.drawer-close-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
  transform: rotate(90deg);
}

.mobile-drawer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.drawer-link:hover {
  color: var(--color-primary-light);
}

/* HERO SECTION */
.hero-section {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 5rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.status-badge-wrapper {
  margin-bottom: 1.25rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-emerald);
  backdrop-filter: blur(8px);
}

.status-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--color-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  max-width: 640px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-role-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.role-pill {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-highlights {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bg-card-border);
}

.highlight-item {
  display: flex;
  flex-direction: column;
}

.highlight-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary-light);
}

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

.highlight-divider {
  width: 1px;
  height: 35px;
  background: var(--bg-card-border);
}

/* Hero Showcase Widget (Clean, Compact, No Photo, Shifted Down) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 4.5rem;
  margin-top: 1rem;
}

.hero-showcase-container {
  position: relative;
  width: 100%;
  max-width: 310px;
}

.showcase-ambient-glow {
  position: absolute;
  inset: -12px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, rgba(6, 182, 212, 0.2) 60%, transparent 80%);
  filter: blur(25px);
  border-radius: 24px;
  z-index: 0;
  pointer-events: none;
}

.showcase-main-card {
  position: relative;
  z-index: 1;
  background: rgba(10, 14, 28, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.showcase-main-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 24px 48px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(139, 92, 246, 0.25);
}

.card-status-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.status-dot-blue {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 8px #60a5fa;
  animation: pulse 2s infinite;
}

.status-header-text {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: -0.01em;
}

.card-stack-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.tech-app-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flutter-box {
  background: linear-gradient(135deg, rgba(2, 86, 155, 0.3) 0%, rgba(1, 117, 194, 0.15) 100%);
  border: 1px solid rgba(41, 182, 246, 0.4);
  box-shadow: 0 6px 14px -3px rgba(1, 117, 194, 0.4);
}

.tech-stack-details {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.tech-stack-name {
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  font-family: var(--font-family-title);
}

.tech-stack-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.card-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #a5b4fc;
  transition: all 0.2s ease;
  text-decoration: none;
}

.card-action-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* Floating Secondary Card: PHP & MySQL */
.showcase-floating-card {
  position: absolute;
  z-index: 2;
  background: rgba(12, 17, 34, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

.card-bottom-offset {
  bottom: -20px;
  left: -20px;
  animation: float 4.5s ease-in-out infinite;
}

/* Floating Pill: Full-Stack & Mobile */
.showcase-pill-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 2;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(6, 182, 212, 0.35);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  animation: float 4s ease-in-out infinite 2s;
}

.badge-dot-cyan {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #06b6d4;
  box-shadow: 0 0 8px #06b6d4;
}

.badge-pill-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.tech-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: white;
}

.php-box { background: linear-gradient(135deg, #777BB4, #4F5B93); }

.tech-info {
  display: flex;
  flex-direction: column;
}

.tech-name {
  font-weight: 700;
  font-size: 0.82rem;
}

.tech-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
}

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

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: var(--glass-backdrop);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary-glow);
}

.card-header-icon {
  width: 48px;
  height: 48px;
  background: rgba(139, 92, 246, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-light);
  margin-bottom: 1.5rem;
}

.card-header-icon svg {
  width: 24px;
  height: 24px;
}

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.about-list {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.about-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-primary-light);
}

/* SKILLS SECTION */
.skills-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.skill-category-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: var(--glass-backdrop);
}

.skill-category-card.highlighted-stack {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.category-icon {
  font-size: 1.5rem;
}

.category-header h3 {
  font-size: 1.25rem;
}

.category-note {
  font-size: 0.85rem;
  color: var(--color-accent-light);
  margin-bottom: 1rem;
}

.skill-items-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--bg-card-border);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.skill-pill.active-pill {
  background: rgba(139, 92, 246, 0.25);
  border-color: var(--color-primary-light);
  color: #ffffff;
  font-weight: 600;
}

.skill-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
}

/* EXPERIENCE TIMELINE */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 2.5rem;
}

.timeline-marker {
  position: absolute;
  left: 12px;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-color);
  border: 3px solid var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary-glow);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  backdrop-filter: var(--glass-backdrop);
}

.timeline-period {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  display: block;
}

.timeline-role {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* PROJECTS SECTION */
.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  color: var(--text-muted);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: var(--glass-backdrop);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary-light);
}

.project-media {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: white;
}

.mobile-gradient { background: linear-gradient(135deg, rgba(79, 70, 229, 0.85) 0%, rgba(6, 182, 212, 0.85) 100%); }
.web-gradient { background: linear-gradient(135deg, rgba(139, 92, 246, 0.85) 0%, rgba(236, 72, 153, 0.85) 100%); }
.edu-gradient { background: linear-gradient(135deg, rgba(16, 185, 129, 0.85) 0%, rgba(59, 130, 246, 0.85) 100%); }
.uiux-gradient { background: linear-gradient(135deg, rgba(245, 158, 11, 0.85) 0%, rgba(239, 68, 68, 0.85) 100%); }
.software-gradient { background: linear-gradient(135deg, rgba(99, 102, 241, 0.85) 0%, rgba(139, 92, 246, 0.85) 100%); }

.placeholder-icon { font-size: 2.5rem; }
.placeholder-tag { font-size: 0.85rem; font-weight: 600; opacity: 0.9; }

.project-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-type-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 0.5rem;
}

.project-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  flex: 1;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--bg-card-border);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.project-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--bg-card-border);
}

.btn-text {
  color: var(--color-primary-light);
  font-weight: 600;
  font-size: 0.85rem;
}

/* SPECIALIZED DEV SECTIONS */
.spec-section {
  padding: 5rem 0;
  background: rgba(15, 23, 42, 0.35);
  border-top: 1px solid var(--bg-card-border);
  border-bottom: 1px solid var(--bg-card-border);
}

.spec-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.reverse-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.spec-grid > * {
  min-width: 0;
  max-width: 100%;
}

.spec-info {
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.spec-visual {
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.spec-pill {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 0.75rem;
}

.spec-title {
  font-size: clamp(1.45rem, 4.5vw, 2.25rem);
  margin-bottom: 1rem;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.25;
}

.spec-lead {
  font-size: clamp(0.92rem, 2.5vw, 1.05rem);
  color: var(--text-primary);
  margin-bottom: 1rem;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.6;
}

.spec-info p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.6;
  font-size: clamp(0.85rem, 2.2vw, 0.95rem);
}

.spec-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spec-feature-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-secondary);
  word-break: break-word;
}

.feature-icon {
  color: var(--color-emerald);
  font-weight: 800;
  flex-shrink: 0;
}

/* Mockups */
.mobile-frame-mockup {
  width: 100%;
  max-width: 260px;
  height: 480px;
  margin: 0 auto;
  background: #000;
  border: 4px solid #334155;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
}

.mockup-header {
  height: 20px;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.notch {
  width: 90px;
  height: 12px;
  background: #334155;
  border-radius: 0 0 10px 10px;
}

.mockup-screen {
  background: #0f172a;
  height: calc(100% - 30px);
  border-radius: 24px;
  overflow: hidden;
  padding: 1rem;
}

.app-bar {
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  margin-bottom: 1rem;
  text-align: center;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.app-card {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 0.85rem;
  margin-bottom: 0.75rem;
}

.app-card .badge {
  font-size: 0.65rem;
  background: var(--color-primary);
  color: white;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.app-card h4 {
  font-size: 0.85rem;
  margin: 0.3rem 0;
}

.app-card p {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.web-code-mockup {
  background: #0d1117;
  border: 1px solid var(--bg-card-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 100%;
}

.code-header {
  background: #161b22;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
  white-space: nowrap;
}

.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.code-title {
  font-size: 0.8rem;
  color: #8b949e;
  margin-left: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.code-content {
  padding: 0.85rem 1rem;
  font-family: 'Fira Code', Consolas, Monaco, monospace;
  font-size: clamp(0.7rem, 2.2vw, 0.82rem);
  line-height: 1.5;
  color: #c9d1d9;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  box-sizing: border-box;
}

.code-content pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.code-content code {
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  display: block;
}

.code-keyword { color: #ff7b72; font-weight: 600; }
.code-class { color: #ffa657; }
.code-func { color: #d2a8ff; }
.code-var { color: #79c0ff; }
.code-str { color: #a5d6ff; }

.spec-stack-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
  width: 100%;
}

.stack-badge {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.82rem;
  white-space: nowrap;
}

.stack-badge.php { background: rgba(119, 123, 180, 0.2); color: #a5b4fc; border: 1px solid #777BB4; }
.stack-badge.mysql { background: rgba(0, 117, 143, 0.2); color: #67e8f9; border: 1px solid #00758F; }
.stack-badge.js { background: rgba(247, 223, 30, 0.15); color: #fde047; border: 1px solid #f7df1e; }
.stack-badge.html { background: rgba(227, 76, 38, 0.15); color: #fdba74; border: 1px solid #e34c26; }

/* UI/UX SECTION */
.uiux-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.uiux-pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  backdrop-filter: var(--glass-backdrop);
}

.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.uiux-pillar-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.uiux-pillar-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* TEACHING SECTION */
.teaching-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.teaching-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: var(--glass-backdrop);
}

.card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(139, 92, 246, 0.15);
  color: var(--color-primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.teaching-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.teaching-card p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.teaching-topics {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.teaching-topics li {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.platform-contribution-box {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid var(--color-primary-glow);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  backdrop-filter: blur(8px);
}

.contribution-icon {
  font-size: 2.5rem;
}

.contribution-text h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.contribution-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* COURSES SECTION */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: var(--glass-backdrop);
  transition: transform var(--transition-fast);
}

.course-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary-light);
}

.course-icon-badge {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.course-topic {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 0.5rem;
}

.course-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.course-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.course-tech {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.course-btn {
  width: 100%;
}

/* EDUCATION SECTION */
.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.education-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  gap: 1.5rem;
  backdrop-filter: var(--glass-backdrop);
}

.edu-icon {
  font-size: 2.5rem;
}

.edu-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-emerald);
  margin-bottom: 0.4rem;
}

.future-card .edu-status {
  color: var(--color-amber);
}

.degree-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.degree-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* YOUTUBE SECTION */
.youtube-card {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.12) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(255, 0, 0, 0.4);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  backdrop-filter: var(--glass-backdrop);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.youtube-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 0, 0, 0.2);
  color: #ff4d4d;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.youtube-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.youtube-slogan {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent-light);
  margin-bottom: 1.5rem;
}

.youtube-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 2rem;
}

.yt-topics {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.yt-topics span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--bg-card-border);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* CONTACT SECTION */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.5rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: var(--glass-backdrop);
}

.contact-info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info-card p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.detail-icon {
  font-size: 1.5rem;
}

.contact-detail-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-detail-item span {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: var(--glass-backdrop);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.required {
  color: #ef4444;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

/* Alerts & Toasts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.alert-success {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.alert-error {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* Spinner */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.hidden { display: none !important; }

/* MODAL */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal-container {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
}

/* FOOTER */
.footer {
  background: rgba(7, 10, 18, 0.95);
  border-top: 1px solid var(--bg-card-border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .brand-name {
  font-size: 1.35rem;
}

.footer-bio {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 0.95rem;
  max-width: 400px;
}

.footer-social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-card-border);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

.tiktok-btn:hover {
  background: linear-gradient(135deg, #00f2fe 0%, #fe2c55 100%);
  border-color: transparent;
}

.github-btn:hover {
  background: #24292e;
  border-color: #404448;
}

.youtube-btn:hover {
  background: #ff0000;
  border-color: #ff0000;
}

.linkedin-btn:hover {
  background: #0a66c2;
  border-color: #0a66c2;
}

.footer-links-col h4 {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links-col a:hover {
  color: var(--color-primary-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--bg-card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.tech-note {
  color: var(--color-accent-light);
  font-family: monospace;
}

/* ==========================================================================
   100% FULL RESPONSIVE DESIGN SYSTEM (DESKTOP, TABLET, MOBILE)
   ========================================================================== */

/* Fluid Typography & Container Limits */
.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

@media (max-width: 1100px) {
  .nav-list {
    gap: 1.2rem;
  }
  .container {
    padding: 0 1.25rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid, 
  .spec-grid, 
  .reverse-grid, 
  .about-grid, 
  .contact-wrapper, 
  .education-grid, 
  .teaching-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 1.5rem;
    padding-top: 0;
    margin-top: 0;
  }

  .hero-showcase-container {
    max-width: 270px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .reverse-grid .spec-visual {
    order: -1;
  }
}

@media (max-width: 900px) {
  .nav-menu, 
  .btn-nav-cta {
    display: none;
  }

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

  .hero-description {
    font-size: 1.05rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .hero-section {
    padding-top: calc(var(--nav-height) + 1.5rem);
    padding-bottom: 3.5rem;
  }

  .hero-highlights {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .highlight-divider {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .about-card,
  .contact-info-card,
  .contact-form-card,
  .teaching-card,
  .course-card,
  .education-card {
    padding: 1.5rem;
  }

  .youtube-card {
    padding: 2rem 1.25rem;
  }

  .yt-topics {
    gap: 0.5rem;
  }

  .yt-topics span {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
  }

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

  .modal-container {
    width: 94%;
    padding: 1.5rem;
    max-height: 88vh;
    overflow-y: auto;
  }
}

@media (max-width: 500px) {
  .brand-tagline {
    display: none;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-badge {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .hero-showcase-container {
    max-width: 260px;
  }

  .spec-title {
    font-size: 1.5rem;
    line-height: 1.25;
  }

  .spec-lead {
    font-size: 0.95rem;
  }

  .spec-info p {
    font-size: 0.88rem;
  }

  .spec-stack-badges {
    gap: 0.4rem;
    margin-top: 1rem;
  }

  .stack-badge {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
  }

  .web-code-mockup {
    border-radius: 12px;
  }

  .code-header {
    padding: 0.6rem 0.75rem;
  }

  .code-content {
    padding: 0.75rem;
    font-size: 0.75rem;
  }

  .filter-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }

  .btn-youtube {
    width: 100%;
    padding: 0.8rem 1.25rem;
  }

  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 360px) {
  .hero-showcase-container {
    max-width: 240px;
  }
  .container {
    padding: 0 0.85rem;
  }
  .spec-title {
    font-size: 1.35rem;
  }
}

