/* ==========================================================================
   FERHAT MULAOĞLU PORTFOLIO - CYBER LUXURY DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Color Palette - Dark Cyber Theme */
  --bg-dark: #070b14;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-color: rgba(56, 189, 248, 0.15);
  --border-glow: rgba(0, 242, 254, 0.4);

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

  --accent-cyan: #00f2fe;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;

  --gradient-cyber: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --gradient-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.2) 0%, rgba(79, 172, 254, 0.2) 100%);
  --gradient-text: linear-gradient(135deg, #38bdf8 0%, #00f2fe 50%, #818cf8 100%);

  /* Typography */
  --font-sans: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Fira Code', monospace;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-neon: 0 0 25px rgba(0, 242, 254, 0.25);
  --shadow-glass: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Light Theme Overrides (if toggled) */
html.light {
  --bg-dark: #f0f4f8;
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --border-color: rgba(14, 165, 233, 0.2);
  --border-glow: rgba(14, 165, 233, 0.5);

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

  --gradient-text: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  --shadow-neon: 0 10px 30px rgba(14, 165, 233, 0.15);
}

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

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

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

/* Canvas & Glowing Background Overlay */
#cyber-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
}

.glow-bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 20%, rgba(0, 242, 254, 0.07) 0%, transparent 60%),
              radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

/* Aurora Ambient Orbs */
.aurora-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.aurora-orb.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #00f2fe 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.aurora-orb.orb-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  bottom: 10%;
  right: -100px;
  animation-delay: -4s;
}

.aurora-orb.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #10b981 0%, transparent 70%);
  top: 45%;
  left: 30%;
  animation-delay: -8s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.15); }
}

/* Glassmorphism Panel Class with Glowing Top Border */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--shadow-glass);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.4;
  transition: opacity var(--transition-smooth);
}

.glass-panel:hover::before {
  opacity: 1;
}

.glass-panel:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-neon);
}

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

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

a:hover {
  color: #38bdf8;
}

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

.text-link {
  color: var(--accent-cyan);
  border-bottom: 1px dashed var(--accent-cyan);
}

.text-link:hover {
  border-bottom-style: solid;
}

/* Section Header Structure */
.section {
  padding: 100px 20px;
  position: relative;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 6px 16px;
  border-radius: 30px;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 16px auto;
}

.section-divider {
  width: 70px;
  height: 4px;
  background: var(--gradient-cyber);
  border-radius: 2px;
  margin: 16px auto 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  transition: all var(--transition-smooth);
  font-family: var(--font-sans);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-cyber);
  color: #070b14;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.5);
  color: #070b14;
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.8);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
}

.btn-secondary:hover {
  background: rgba(0, 242, 254, 0.15);
  transform: translateY(-3px);
  box-shadow: var(--shadow-neon);
}

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

.btn-outline:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
  border-radius: 8px;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 11, 20, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-smooth);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon-box {
  width: 44px;
  height: 44px;
  background: var(--gradient-cyber);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #070b14;
  font-size: 1.25rem;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

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

.logo-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.logo-name .highlight {
  color: var(--accent-cyan);
}

.logo-tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 1px;
}

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

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast);
}

.nav-link i {
  font-size: 0.85rem;
  opacity: 0.7;
}

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

.nav-link.active i {
  opacity: 1;
}

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

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

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

.cta-terminal-btn {
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--accent-cyan);
  border-radius: 10px;
  transition: all var(--transition-fast);
}

.cta-terminal-btn:hover {
  background: var(--accent-cyan);
  color: #070b14;
  box-shadow: var(--shadow-neon);
}

.mobile-toggle-btn {
  display: none;
  font-size: 1.4rem;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  padding: 160px 20px 80px 20px;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 30px;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 242, 254, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

.badge-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 1px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.typewriter-box {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  min-height: 40px;
}

.type-prefix {
  color: var(--accent-purple);
  margin-right: 8px;
}

.type-cursor {
  animation: blink 0.8s infinite;
  color: var(--accent-cyan);
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 620px;
  line-height: 1.7;
}

.quote-italic {
  display: block;
  margin-top: 8px;
  font-style: italic;
  color: var(--accent-cyan);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.social-bar {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-smooth);
}

.social-icon:hover {
  transform: translateY(-4px);
}

.social-icon.youtube:hover { background: #ff0000; border-color: #ff0000; color: #fff; box-shadow: 0 0 20px rgba(255, 0, 0, 0.4); }
.social-icon.twitter:hover { background: #1da1f2; border-color: #1da1f2; color: #fff; box-shadow: 0 0 20px rgba(29, 161, 242, 0.4); }
.social-icon.facebook:hover { background: #1877f2; border-color: #1877f2; color: #fff; box-shadow: 0 0 20px rgba(24, 119, 242, 0.4); }
.social-icon.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: transparent; color: #fff; box-shadow: 0 0 20px rgba(220, 39, 67, 0.4); }

/* Hero Visual / Avatar Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.cyber-avatar-card {
  position: relative;
  width: 100%;
  max-width: 380px;
}

/* Cyber Radar Ring */
.cyber-radar-ring {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border-radius: 38px;
  border: 2px dashed rgba(0, 242, 254, 0.35);
  pointer-events: none;
  animation: rotateRadar 24s linear infinite;
}

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

/* Floating Tech Chips */
.tech-chip {
  position: absolute;
  padding: 6px 14px;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 12;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.tech-chip.chip-1 { top: -15px; left: 20px; animation-delay: 0.5s; }
.tech-chip.chip-2 { top: 40%; right: -30px; animation-delay: 1.5s; }
.tech-chip.chip-3 { bottom: -15px; right: 20px; animation-delay: 2.5s; }

.avatar-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid var(--border-glow);
  box-shadow: var(--shadow-neon);
}

.avatar-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) brightness(0.95);
  transition: transform var(--transition-smooth);
}

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

.cyber-overlay-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 11, 20, 0.9) 100%);
  pointer-events: none;
}

.status-pill {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 14px;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.floating-stat {
  position: absolute;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  padding: 12px 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 10;
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.floating-stat.stat-1 {
  bottom: 40px;
  left: -40px;
}

.floating-stat.stat-2 {
  top: 60px;
  left: -50px;
  animation-delay: 2s;
}

@keyframes floatAnim {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.stat-num {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}

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

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

.story-card {
  padding: 40px;
}

.card-header-icon {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--accent-cyan);
}

.card-header-icon i {
  font-size: 1.6rem;
}

.card-header-icon h3 {
  font-size: 1.5rem;
}

.story-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

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

.highlights-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.hl-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.stat-box {
  padding: 24px 20px;
  text-align: center;
}

.stat-box i {
  font-size: 2rem;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.stat-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
}

.stat-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.interests-card {
  padding: 28px;
}

.interests-card h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-cyan);
}

.interests-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.interest-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.inter-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.inter-info h4 {
  font-size: 1rem;
  color: var(--text-main);
}

.inter-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CAREER TIMELINE
   ========================================================================== */
.mt-60 { margin-top: 60px; }

.timeline-title-box h3 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 40px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.timeline-title-box h3 i {
  color: var(--accent-cyan);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple), var(--accent-green));
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}

.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

.timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: var(--bg-dark);
  border: 3px solid var(--accent-cyan);
  top: 24px;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 12px var(--accent-cyan);
}

.timeline-item.right::after {
  left: -8px;
}

.timeline-content {
  padding: 24px;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
}

.timeline-content h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .timeline::after { left: 31px; }
  .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
  .timeline-item.right { left: 0%; }
  .timeline-item.left::after, .timeline-item.right::after { left: 23px; }
}

/* ==========================================================================
   SKILLS SECTION
   ========================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.skill-category-card {
  padding: 32px;
}

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

.cat-icon {
  font-size: 1.8rem;
}

.cat-icon.cyber { color: var(--accent-cyan); }
.cat-icon.web { color: var(--accent-green); }
.cat-icon.db { color: var(--accent-purple); }

.skill-bars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.progress-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-fill.cyber-fill { background: linear-gradient(90deg, #00f2fe, #4facfe); }
.progress-fill.web-fill { background: linear-gradient(90deg, #10b981, #34d399); }
.progress-fill.db-fill { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }

.tech-tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tech-tag {
  padding: 8px 18px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.tech-tag:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.service-icon-box.highlight-box {
  background: var(--gradient-cyber);
  color: #070b14;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

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

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

.service-features li i {
  color: var(--accent-cyan);
  font-size: 0.8rem;
}



/* ==========================================================================
   BLOG SECTION
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}

.blog-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--accent-cyan);
}

.blog-thumb-placeholder.cyber-bg {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff;
}

.blog-category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  background: rgba(7, 11, 20, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  border-radius: 20px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
}

.blog-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.read-blog-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  margin-bottom: 40px;
}

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

.info-card {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.info-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.info-card-content h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.info-card-content p, .info-card-content a {
  font-size: 0.95rem;
  color: var(--text-main);

}

.info-card-content .subtext {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.contact-form-wrapper {
  padding: 36px;
}

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

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

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

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group label i {
  color: var(--accent-cyan);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.map-container {
  overflow: hidden;
  padding: 8px;
  border-radius: 20px;
}

.map-container iframe {
  border-radius: 14px;
  display: block;
}

/* ==========================================================================
   MODAL & FOOTER
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

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

.modal-card {
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: translateY(30px);
  transition: transform var(--transition-smooth);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--accent-cyan);
}

.modal-content h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.modal-content .modal-date {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 24px;
  display: block;
}

.modal-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 20px;
  background: rgba(7, 11, 20, 0.95);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

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

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

.scroll-top-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top-btn:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-neon);
}

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

  .hero-badge, .typewriter-box, .social-bar {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 20px;
  }

  .floating-stat.stat-1 { left: 0; }
  .floating-stat.stat-2 { left: auto; right: 0; }

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

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: rgba(7, 11, 20, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    clip-path: circle(0% at 100% 0%);
    transition: clip-path 0.4s ease-in-out;
  }

  .nav-menu.mobile-active {
    clip-path: circle(140% at 100% 0%);
  }

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

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

  .cta-terminal-btn {
    display: none;
  }
}
