/* ==========================================================================
   FURKAN AKCA - MODERN INTERACTIVE CV & PORTFOLIO STYLES
   Features:
   - Dark Mode by Default with Seamless Light Mode Toggle
   - CSS Custom Properties (Design Tokens)
   - Glassmorphism & Modern Developer Aesthetic
   - Smooth Interactive Animations & Transitions
   - Full Mobile Responsive Grid & Flex Layout
   - Print Ready Styling (A4 Clean Output)
   ========================================================================== */

/* --- CSS VARIABLES & THEMES --- */
:root {
  /* Fonts */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.25);
}

/* DARK THEME (DEFAULT) */
[data-theme="dark"],
#furkan-cv-root,
#furkan-cv-root[data-theme="dark"],
.furkan-cv-wrapper,
.furkan-cv-wrapper[data-theme="dark"] {
  --bg-body: #0a0e17;
  --bg-card: rgba(16, 23, 38, 0.75);
  --bg-card-hover: rgba(22, 32, 54, 0.9);
  --bg-card-alt: rgba(13, 19, 32, 0.95);
  --bg-input: rgba(10, 15, 26, 0.85);
  --bg-header: rgba(10, 14, 23, 0.95);

  --text-main: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-white: #ffffff;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(56, 189, 248, 0.35);
  --border-active: rgba(56, 189, 248, 0.6);

  --accent-primary: #38bdf8;
  --accent-hover: #0ea5e9;
  --accent-secondary: #818cf8;
  --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  --accent-gradient-alt: linear-gradient(135deg, #0284c7 0%, #6366f1 100%);

  --color-green: #34d399;
  --color-gold: #fbbf24;
  --color-blue: #60a5fa;

  --orb-1: rgba(56, 189, 248, 0.12);
  --orb-2: rgba(129, 140, 248, 0.1);
  --grid-line: rgba(255, 255, 255, 0.025);
}

/* LIGHT THEME */
[data-theme="light"],
#furkan-cv-root[data-theme="light"],
.furkan-cv-wrapper[data-theme="light"] {
  --bg-body: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: rgba(255, 255, 255, 1);
  --bg-card-alt: #f1f5f9;
  --bg-input: #ffffff;
  --bg-header: rgba(248, 250, 252, 0.95);

  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-white: #ffffff;

  --border-color: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(2, 132, 199, 0.4);
  --border-active: rgba(2, 132, 199, 0.7);

  --accent-primary: #0284c7;
  --accent-hover: #0369a1;
  --accent-secondary: #6366f1;
  --accent-gradient: linear-gradient(135deg, #0284c7 0%, #6366f1 50%, #9333ea 100%);
  --accent-gradient-alt: linear-gradient(135deg, #0284c7 0%, #4f46e5 100%);

  --color-green: #059669;
  --color-gold: #d97706;
  --color-blue: #2563eb;

  --orb-1: rgba(2, 132, 199, 0.08);
  --orb-2: rgba(99, 102, 241, 0.06);
  --grid-line: rgba(0, 0, 0, 0.035);
}

/* --- BASE & WORDPRESS ISOLATION STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body.furkan-cv-active {
  background-color: var(--bg-body) !important;
  background: var(--bg-body) !important;
}

/* SCOPED ROOT WRAPPER FOR WORDPRESS */
#furkan-cv-root,
.furkan-cv-wrapper {
  background-color: var(--bg-body) !important;
  color: var(--text-main) !important;
  width: 100%;
  min-height: 100vh;
  position: relative;
  display: block;
  isolation: isolate;
  overflow-x: hidden;
  font-family: var(--font-main) !important;
  line-height: 1.6 !important;
  letter-spacing: normal !important;
  text-align: left;
  box-sizing: border-box !important;
}

#furkan-cv-root h1,
#furkan-cv-root h2,
#furkan-cv-root h3,
#furkan-cv-root h4,
#furkan-cv-root h5,
#furkan-cv-root h6 {
  color: var(--text-main) !important;
  text-transform: none !important;
  font-family: var(--font-main) !important;
  letter-spacing: -0.02em !important;
}

#furkan-cv-root p {
  color: var(--text-secondary);
  font-family: var(--font-main) !important;
}

#furkan-cv-root strong {
  color: var(--text-main) !important;
  font-weight: 700 !important;
}

#furkan-cv-root a {
  text-decoration: none !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

#furkan-cv-root button {
  font-family: var(--font-main) !important;
  text-transform: none !important;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Ambient Background Lights */
.bg-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  transition: opacity var(--transition-slow);
}

.orb-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -100px;
  background: var(--orb-1);
}

.orb-2 {
  width: 600px;
  height: 600px;
  bottom: 10%;
  left: -150px;
  background: var(--orb-2);
}

.bg-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

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

strong {
  color: var(--text-main);
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: 76px;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo-badge {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

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

.logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 2px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }

[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 9px;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

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

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  height: calc(100vh - 76px);
  background: var(--bg-body);
  border-bottom: 1px solid var(--border-color);
  z-index: 999;
  display: none;
  overflow-y: auto;
  padding: 24px;
}

.mobile-drawer.active {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--accent-gradient-alt);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(2, 132, 199, 0.45);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(56, 189, 248, 0.05);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  font-weight: 600;
}

.btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 70px 0 40px;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-green);
}

.status-dot.pulse {
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.12;
  color: var(--text-main) !important;
  text-transform: none !important;
}

.typewriter-box {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--accent-primary);
  margin-bottom: 22px;
  min-height: 36px;
}

.typewriter-prefix {
  color: var(--text-muted);
  margin-right: 6px;
}

.typewriter-text {
  font-weight: 600;
}

.cursor {
  font-weight: 700;
  animation: blink 0.8s infinite;
  margin-left: 2px;
  color: var(--accent-primary);
}

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

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.chip-interactive {
  transition: all var(--transition-fast);
}

.chip-interactive:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-1px);
}

/* Hero Profile Card Visual */
.hero-image-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
}

.profile-card {
  position: relative;
  width: 320px;
}

.avatar-glow {
  position: absolute;
  inset: -15px;
  background: var(--accent-gradient);
  border-radius: var(--radius-xl);
  filter: blur(28px);
  opacity: 0.45;
  z-index: 1;
}

.profile-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 349 / 428;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.profile-card:hover .profile-img {
  transform: scale(1.03);
}

/* Floating Achievement Badges */
.floating-badge {
  position: absolute;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

.badge-top-right {
  top: -15px;
  right: -25px;
  animation-delay: 0s;
}

.badge-bottom-left {
  bottom: -20px;
  left: -25px;
  animation-delay: 2s;
}

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

.badge-icon {
  font-size: 1.4rem;
}

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

.badge-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

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

/* Hero Stats Bar */
.hero-stats-container {
  margin-top: 55px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
}

.stat-card {
  padding: 6px 12px;
  border-right: 1px solid var(--border-color);
}

.stat-card:last-child {
  border-right: none;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
}

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

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
}

.section-alt {
  background: rgba(255, 255, 255, 0.015);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 55px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-line {
  width: 50px;
  height: 3px;
  background: var(--accent-gradient);
  margin: 0 auto 16px;
  border-radius: 3px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.about-text-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}

.quote-icon {
  font-size: 4rem;
  line-height: 1;
  color: var(--accent-primary);
  opacity: 0.15;
  position: absolute;
  top: 15px;
  right: 25px;
  pointer-events: none;
}

.about-p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-highlights {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.highlight-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.highlight-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.highlight-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* About Meta Card */
.about-meta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.meta-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.meta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.meta-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.meta-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.meta-val {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 600;
}

.badge-highlight {
  color: var(--accent-primary);
  font-weight: 700;
}

.copyable {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.copyable:hover {
  color: var(--accent-primary);
}

.meta-actions {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

/* ==========================================================================
   SKILLS SECTION
   ========================================================================== */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

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

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

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.skill-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.skill-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.skill-meta h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.skill-level {
  font-size: 0.78rem;
  color: var(--accent-primary);
  font-weight: 600;
}

.skill-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  flex-grow: 1;
  line-height: 1.55;
}

.progress-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.progress-bar-bg {
  flex-grow: 1;
  height: 6px;
  background: var(--border-color);
  border-radius: 6px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 6px;
  transition: width 1s ease-in-out;
}

.progress-percent {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.skill-tags span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: var(--bg-card-alt);
  color: var(--text-secondary);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   EXPERIENCE & EDUCATION TIMELINE
   ========================================================================== */
.timeline-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.timeline-column-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-color);
}

.timeline-col-icon {
  font-size: 1.6rem;
}

.timeline-column-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.timeline-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
}

.timeline-card.active-border {
  border-left: 4px solid var(--accent-primary);
}

.timeline-badge-year {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-card-alt);
  color: var(--accent-primary);
  border: 1px solid var(--border-color);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.timeline-card-header {
  margin-bottom: 12px;
}

.timeline-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.timeline-card-role {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.achievement-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.pill-gold {
  background: rgba(251, 191, 36, 0.15);
  color: var(--color-gold);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.pill-blue {
  background: rgba(96, 165, 250, 0.15);
  color: var(--color-blue);
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.pill-green {
  background: rgba(52, 211, 153, 0.15);
  color: var(--color-green);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.pill-accent {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-primary);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

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

.timeline-card-bullets {
  list-style: square;
  margin-left: 18px;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.timeline-card-bullets li {
  margin-bottom: 4px;
}

.timeline-meta-advisor {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.timeline-meta-advisor span {
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

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

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.project-card-banner {
  padding: 24px;
  position: relative;
  min-height: 110px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.banner-teknofest {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(239, 68, 68, 0.05) 100%);
  border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.banner-mola {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2) 0%, rgba(56, 189, 248, 0.05) 100%);
  border-bottom: 1px solid rgba(14, 165, 233, 0.2);
}

.banner-wp {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.project-status-tag {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  background: var(--bg-card-alt);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.project-card-icon {
  font-size: 2rem;
}

.project-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.project-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  background: var(--bg-card-alt);
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.feat-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.feat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  margin-top: 6px;
  flex-shrink: 0;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  margin-top: auto;
}

.project-tech-stack span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: var(--bg-body);
  color: var(--accent-primary);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.project-card-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

/* ==========================================================================
   REFERENCES SECTION
   ========================================================================== */
.references-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.reference-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
}

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

.ref-avatar-box {
  position: relative;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
}

.ref-avatar {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  background: var(--accent-gradient-alt);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
}

.ref-badge-icon {
  position: absolute;
  bottom: -4px;
  right: -6px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.ref-details {
  margin-bottom: 14px;
}

.ref-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.ref-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.ref-role {
  font-size: 0.8rem;
  color: var(--accent-primary);
}

.ref-quote {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.ref-contact-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.ref-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-primary);
  transition: color var(--transition-fast);
}

.ref-contact-link:hover {
  text-decoration: underline;
}

.btn-copy-icon {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy-icon:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.contact-box-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-box-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.email-bg { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.phone-bg { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.map-bg   { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }

.contact-detail {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.contact-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

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

.btn-copy-chip {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy-chip:hover {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
}

.quick-connect-cta {
  margin-top: 16px;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-main);
  font-size: 0.92rem;
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  font-weight: 600;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 6px 0 16px;
}

.modal-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.modal-body h4 {
  font-size: 1.05rem;
  margin: 16px 0 8px;
  color: var(--text-main);
}

.modal-body ul,
.modal-body ol {
  margin-left: 20px;
  margin-bottom: 16px;
}

.modal-body li {
  margin-bottom: 6px;
}

.modal-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-left: 3px solid var(--accent-primary);
  padding-left: 12px;
  margin-top: 16px;
}

.modal-footer {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

/* ==========================================================================
   TOAST & FLOATING SCROLL TOP
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card-alt);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 3000;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--transition-normal);
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-icon {
  background: var(--color-green);
  color: #ffffff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
  transform: translateY(-3px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 36px 0;
  background: var(--bg-card-alt);
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  display: block;
  margin-bottom: 4px;
}

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

.footer-status {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--accent-primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .typewriter-box {
    justify-content: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group,
  .hero-chips {
    justify-content: center;
  }

  .hero-image-wrapper {
    order: -1;
  }

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

  .stat-card:nth-child(2) {
    border-right: none;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
  }

  .timeline-container {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .nav-menu,
  .hide-mobile {
    display: none !important;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

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

  .stat-card {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
  }

  .stat-card:last-child {
    border-bottom: none;
  }

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

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

  .profile-card {
    width: 250px;
  }

  .floating-badge {
    display: none; /* Keep clean on small screens */
  }

  .footer-container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ==========================================================================
   PRINT / PDF STYLES (A4 CLEAN CV)
   ========================================================================== */
@media print {
  body {
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 11pt;
  }

  .bg-glow-orb,
  .bg-grid-overlay,
  .site-header,
  .theme-toggle-btn,
  .mobile-toggle,
  .mobile-drawer,
  .scroll-top-btn,
  .toast-notification,
  .hero-cta-group,
  .filter-bar,
  .open-modal-btn,
  .btn,
  .contact-form-wrapper,
  .site-footer {
    display: none !important;
  }

  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }

  .hero-section {
    padding: 0 0 20px 0 !important;
  }

  .hero-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 2px solid #000000 !important;
    padding-bottom: 15px !important;
  }

  .profile-card {
    width: 120px !important;
  }

  .avatar-glow {
    display: none !important;
  }

  .hero-title {
    font-size: 20pt !important;
    color: #000000 !important;
  }

  .gradient-text {
    -webkit-text-fill-color: initial !important;
    color: #000000 !important;
  }

  .section {
    padding: 15px 0 !important;
    page-break-inside: avoid;
  }

  .section-title {
    font-size: 14pt !important;
    border-bottom: 1px solid #d1d5db !important;
    padding-bottom: 4px !important;
    margin-bottom: 10px !important;
  }

  .card, .skill-card, .timeline-card, .project-card, .reference-card, .contact-card {
    background: transparent !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
}
