@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

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

:root, :root[data-theme="dark"] {
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f1629;
  --glass-bg: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --glass-hover: rgba(255,255,255,0.08);
  --text-primary: rgba(255,255,255,0.95);
  --text-secondary: rgba(255,255,255,0.65);
  --text-muted: rgba(255,255,255,0.4);
  --accent-cyan: #00d4ff;
  --accent-purple: #a855f7;
  --accent-pink: #ec4899;
  --accent-blue: #3b82f6;
  --glow-cyan: 0 0 30px rgba(0,212,255,0.3);
  --glow-purple: 0 0 30px rgba(168,85,247,0.3);
  --navbar-bg: rgba(10,14,26,0.6);
  --navbar-scrolled: rgba(10,14,26,0.85);
  --nav-menu-bg: rgba(10,14,26,0.97);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

:root[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --glass-bg: rgba(255,255,255,0.7);
  --glass-border: rgba(0,0,0,0.1);
  --glass-hover: rgba(255,255,255,1);
  --text-primary: rgba(15,23,42,0.95);
  --text-secondary: rgba(15,23,42,0.75);
  --text-muted: rgba(15,23,42,0.5);
  --accent-cyan: #008eb3;
  --accent-purple: #8621e2;
  --accent-pink: #d91c6e;
  --accent-blue: #2563eb;
  --glow-cyan: 0 0 30px rgba(0,142,179,0.2);
  --glow-purple: 0 0 30px rgba(134,33,226,0.2);
  --navbar-bg: rgba(248,250,252,0.7);
  --navbar-scrolled: rgba(248,250,252,0.95);
  --nav-menu-bg: rgba(248,250,252,0.97);
}

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

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ═══ BG ORBS ═══ */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 20s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,212,255,0.35), transparent 70%); top: -10%; left: -5%; animation-duration: 25s; }
.orb-2 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(168,85,247,0.3), transparent 70%); top: 30%; right: -10%; animation-duration: 30s; animation-delay: -5s; }
.orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(236,72,153,0.25), transparent 70%); bottom: 10%; left: 10%; animation-duration: 22s; animation-delay: -10s; }
.orb-4 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(59,130,246,0.3), transparent 70%); top: 60%; left: 50%; animation-duration: 28s; animation-delay: -15s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  25% { transform: translate(50px,-30px) scale(1.1); }
  50% { transform: translate(-30px,50px) scale(0.9); }
  75% { transform: translate(30px,30px) scale(1.05); }
}

/* ═══ NAVBAR ═══ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--navbar-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}
.navbar.scrolled { padding: 10px 40px; background: var(--navbar-scrolled); }
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; z-index: 1001; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); transition: var(--transition); border-radius: 2px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ═══ SECTIONS ═══ */
section { position: relative; z-index: 1; padding: 100px 40px; max-width: 1200px; margin: 0 auto; }
.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent-cyan); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--accent-cyan); }
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px,4vw,42px); font-weight: 700;
  margin-bottom: 50px; line-height: 1.2;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ═══ GLASS CARD ═══ */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}
.glass:hover {
  background: var(--glass-hover);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  padding-top: 80px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 50px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  font-size: 13px; color: var(--accent-cyan); font-weight: 500;
  margin-bottom: 24px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(42px,7vw,80px); font-weight: 800;
  line-height: 1.05; margin-bottom: 20px; letter-spacing: -1px;
}
.hero-subtitle {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 24px; max-width: 800px;
}
.hero-tag {
  padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 500;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  color: var(--text-secondary); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}
.hero-tag:hover { color: var(--text-primary); border-color: rgba(0,212,255,0.3); transform: translateY(-2px); }
.hero-tagline { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto 40px; line-height: 1.7; }
.hero-stats {
  display: flex; gap: 40px; margin-bottom: 40px;
  padding: 24px 40px; border-radius: var(--radius);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}
.stat { text-align: center; }
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; border: none;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #fff; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 25px rgba(0,212,255,0.3);
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(0,212,255,0.5); }
.hero-cta svg { width: 18px; height: 18px; }
.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); animation: scrollBounce 2s infinite; }
.scroll-indicator span { display: block; width: 24px; height: 38px; border: 2px solid var(--text-muted); border-radius: 12px; position: relative; }
.scroll-indicator span::after { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--accent-cyan); border-radius: 2px; animation: scrollDot 2s infinite; }
@keyframes scrollBounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
@keyframes scrollDot { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 20px; } }

/* ═══ ABOUT ═══ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.about-card { padding: 32px; }
.about-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; margin-bottom: 16px; color: var(--text-primary); }
.about-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; }
.about-highlight { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: var(--radius-sm); background: rgba(0,212,255,0.06); border: 1px solid rgba(0,212,255,0.15); margin-top: 16px; }
.about-highlight .icon { font-size: 24px; }
.about-highlight .text { font-size: 14px; color: var(--accent-cyan); font-weight: 500; }
.about-highlight a { color: var(--accent-cyan); text-decoration: underline; }

/* ═══ EXPERIENCE ═══ */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 14px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-purple), transparent); }
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-dot {
  position: absolute; left: -33px; top: 28px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0,212,255,0.5);
  border: 2px solid var(--bg-primary);
}
.timeline-card { padding: 28px; }
.timeline-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.timeline-company { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; color: var(--text-primary); }
.timeline-role { font-size: 14px; color: var(--accent-cyan); font-weight: 500; margin-top: 4px; }
.timeline-date {
  font-size: 13px; color: var(--accent-purple); font-weight: 500;
  padding: 4px 14px; border-radius: 50px;
  background: rgba(168,85,247,0.1); border: 1px solid rgba(168,85,247,0.2);
  white-space: nowrap;
}
.timeline-sectors { display: flex; flex-direction: column; gap: 12px; }
.sector-item { padding-left: 16px; border-left: 2px solid rgba(0,212,255,0.2); }
.sector-name { font-size: 13px; font-weight: 600; color: var(--accent-cyan); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.sector-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ═══ SECTOR CARDS (Experience) ═══ */
.sectors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.sector-card {
  padding: 20px; display: flex; align-items: flex-start; gap: 14px;
  border-radius: var(--radius-sm); cursor: default;
}
.sector-card:hover { transform: translateY(-3px); }
.sector-icon { font-size: 28px; min-width: 36px; text-align: center; line-height: 1; }
.sector-content { flex: 1; }
.sector-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 600; color: var(--accent-cyan);
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px;
}
.sector-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ═══ EDUCATION ═══ */
.edu-timeline { display: flex; justify-content: space-between; position: relative; padding-top: 40px; margin-top: 20px; gap: 30px; overflow-x: auto; padding-bottom: 20px; }
.edu-timeline::-webkit-scrollbar { height: 6px; }
.edu-timeline::-webkit-scrollbar-track { background: transparent; }
.edu-timeline::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 3px; }
.edu-timeline::before { content: ''; position: absolute; top: 14px; left: 0; right: 0; height: 2px; background: linear-gradient(to right, var(--accent-cyan), var(--accent-purple)); }
.edu-timeline-item { position: relative; flex: 1; min-width: 250px; display: flex; flex-direction: column; }
.edu-timeline-dot { position: absolute; top: -33px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--accent-purple); box-shadow: var(--glow-purple); border: 2px solid var(--bg-primary); z-index: 2; }
.edu-card { padding: 24px; position: relative; overflow: hidden; text-align: center; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.edu-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple)); }
.edu-degree { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.edu-school { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.edu-date-tag { font-size: 12px; color: var(--accent-purple); font-weight: 500; padding: 4px 12px; border-radius: 50px; background: rgba(168,85,247,0.1); display: inline-block; border: 1px solid rgba(168,85,247,0.2); margin-top: auto; }

/* ═══ CERTIFICATIONS ═══ */
.cert-hall { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.cert-award { padding: 20px 24px; display: flex; flex-direction: row; align-items: center; text-align: left; gap: 16px; position: relative; overflow: hidden; cursor: default; }
.cert-award::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-purple)); opacity: 0; transition: var(--transition); }
.cert-award:hover::before { opacity: 1; }
.cert-medal {
  width: 52px; height: 52px; min-width: 52px; border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: box-shadow 0.4s;
}
.cert-prefix { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 800; letter-spacing: -0.5px; }

/* Dynamic Themes for Medals */
.cert-pl .cert-medal { border-color: rgba(0,212,255,0.4); }
.cert-pl:hover .cert-medal { box-shadow: 0 12px 40px rgba(0,212,255,0.3); }
.cert-pl .cert-prefix { color: #00d4ff; text-shadow: 0 0 15px rgba(0,212,255,0.5); }
:root[data-theme="light"] .cert-pl .cert-prefix { color: var(--accent-cyan); text-shadow: none; }

.cert-dp .cert-medal { border-color: rgba(168,85,247,0.4); }
.cert-dp:hover .cert-medal { box-shadow: 0 12px 40px rgba(168,85,247,0.3); }
.cert-dp .cert-prefix { color: #a855f7; text-shadow: 0 0 15px rgba(168,85,247,0.5); }
:root[data-theme="light"] .cert-dp .cert-prefix { color: var(--accent-purple); text-shadow: none; }

.cert-az .cert-medal { border-color: rgba(59,130,246,0.4); }
.cert-az:hover .cert-medal { box-shadow: 0 12px 40px rgba(59,130,246,0.3); }
.cert-az .cert-prefix { color: #3b82f6; text-shadow: 0 0 15px rgba(59,130,246,0.5); }
:root[data-theme="light"] .cert-az .cert-prefix { color: var(--accent-blue); text-shadow: none; }

.cert-ai .cert-medal { border-color: rgba(236,72,153,0.4); }
.cert-ai:hover .cert-medal { box-shadow: 0 12px 40px rgba(236,72,153,0.3); }
.cert-ai .cert-prefix { color: #ec4899; text-shadow: 0 0 15px rgba(236,72,153,0.5); }
:root[data-theme="light"] .cert-ai .cert-prefix { color: var(--accent-pink); text-shadow: none; }

.cert-award:not(.cert-pl):not(.cert-dp):not(.cert-az):not(.cert-ai) .cert-medal { border-color: rgba(255,255,255,0.2); }
:root[data-theme="light"] .cert-award:not(.cert-pl):not(.cert-dp):not(.cert-az):not(.cert-ai) .cert-medal { border-color: rgba(0,0,0,0.2); }
.cert-award:not(.cert-pl):not(.cert-dp):not(.cert-az):not(.cert-ai) .cert-prefix { color: var(--text-primary); }

.cert-info { display: flex; flex-direction: column; gap: 8px; }
.cert-name { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--text-primary); }
.cert-meta { font-size: 13px; color: var(--accent-cyan); font-weight: 500; }

/* ═══ SKILLS ═══ */
.skills-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 30px; }
.skill-group { padding: 28px; display: flex; flex-direction: column; }
.skill-group-title { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.skill-group-title .icon { font-size: 20px; }
.skill-tags { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.skill-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 12px; border-radius: var(--radius-sm); text-align: center;
  background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border);
  transition: var(--transition); cursor: default;
}
.skill-card:hover { 
  background: var(--glass-hover); border-color: rgba(0,212,255,0.3); 
  transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); 
}
.skill-logo { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2)); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); }
.skill-card:hover .skill-logo { transform: scale(1.15) translateY(-2px); }
.skill-card span { font-size: 12px; font-weight: 500; color: var(--text-secondary); line-height: 1.3; transition: var(--transition); }
.skill-card:hover span { color: var(--text-primary); }
:root[data-theme="light"] .skill-card { background: rgba(0,0,0,0.02); }
:root[data-theme="light"] .skill-card:hover { background: #fff; }

/* ═══ PROJECTS ═══ */
.project-card { padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.project-info h3 { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; margin-bottom: 16px; }
.project-info p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }
.project-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.project-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-secondary); }
.project-features li::before { content: '✦'; color: var(--accent-cyan); font-size: 10px; }
.project-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  color: #fff; text-decoration: none; font-weight: 600; font-size: 14px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(168,85,247,0.3);
}
.project-link:hover { transform: translateY(-2px); box-shadow: 0 8px 35px rgba(168,85,247,0.5); }
.project-visual { display: flex; align-items: center; justify-content: center; width: 100%; }
.project-logo {
  width: 100%; max-width: 340px; height: auto; object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.3));
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), filter 0.5s;
}
.project-card:hover .project-logo { transform: scale(1.08) translateY(-6px); filter: drop-shadow(0 25px 35px rgba(168,85,247,0.4)); }

/* ═══ LANGUAGES ═══ */
.lang-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 24px; }
.lang-card { padding: 28px; text-align: center; }
.lang-flag { font-size: 36px; margin-bottom: 12px; }
.lang-name { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.lang-level-text { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }
.lang-bar { width: 100%; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; }
.lang-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple)); transition: width 1.5s ease-out; width: 0; }

/* ═══ POLITICS ═══ */
.politics-timeline { position: relative; padding-left: 40px; }
.politics-timeline::before { content: ''; position: absolute; left: 14px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--accent-purple), var(--accent-pink), transparent); }
.pol-item { position: relative; margin-bottom: 28px; }
.pol-dot { position: absolute; left: -33px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent-purple); box-shadow: 0 0 12px rgba(168,85,247,0.5); border: 2px solid var(--bg-primary); }
.pol-year { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 700; color: var(--accent-purple); margin-bottom: 4px; }
.pol-text { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* ═══ CONTACT ═══ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-card { padding: 32px; }
.contact-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border);
  color: var(--text-primary); font-family: 'Inter', sans-serif; font-size: 14px;
  transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent-cyan); box-shadow: 0 0 0 3px rgba(0,212,255,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%; padding: 14px; border-radius: var(--radius-sm); border: none;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #fff; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: var(--transition);
}
.form-submit:hover { box-shadow: 0 8px 30px rgba(0,212,255,0.4); transform: translateY(-1px); }
.contact-link { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); margin-bottom: 12px; text-decoration: none; color: var(--text-primary); transition: var(--transition); }
.contact-link:hover { background: rgba(0,212,255,0.06); border-color: rgba(0,212,255,0.2); }
.contact-link .cl-icon { font-size: 22px; }
.contact-link .cl-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.contact-link .cl-value { font-size: 15px; font-weight: 500; }

/* ═══ FOOTER ═══ */
.footer { text-align: center; padding: 40px; border-top: 1px solid var(--glass-border); position: relative; z-index: 1; }
.footer p { font-size: 13px; color: var(--text-muted); }

/* ═══ REVEAL ANIMATION ═══ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══ RESPONSIVE — TABLET ═══ */
@media (max-width: 900px) {
  section { padding: 80px 24px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .project-card { grid-template-columns: 1fr; }
  .project-visual { order: -1; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 24px; padding: 24px; }
  .sectors-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--nav-menu-bg);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    flex-direction: column; align-items: center; justify-content: center; gap: 28px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 20px; }
  .hamburger { display: flex; }
  .navbar { padding: 14px 20px; }
  .timeline, .politics-timeline { padding-left: 30px; }
  .timeline::before, .politics-timeline::before { left: 9px; }
  .timeline-dot, .pol-dot { left: -27px; width: 10px; height: 10px; }
  .cert-hall { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
  .lang-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══ RESPONSIVE — SMARTPHONE ═══ */
@media (max-width: 600px) {
  html { scroll-padding-top: 65px; }
  section { padding: 60px 16px; }

  /* Hero mobile */
  .hero { padding: 60px 16px 40px; min-height: 100svh; }
  .hero h1 { font-size: clamp(32px,10vw,48px); letter-spacing: -0.5px; }
  .hero-subtitle { font-size: 16px; }
  .hero-tagline { font-size: 14px; line-height: 1.6; margin-bottom: 28px; padding: 0 8px; }
  .hero-badge { font-size: 11px; padding: 6px 14px; }
  .hero-stats { flex-direction: column; gap: 16px; padding: 20px 16px; border-radius: 12px; }
  .stat-number { font-size: 26px; }
  .stat-label { font-size: 10px; }
  .hero-cta { padding: 12px 28px; font-size: 14px; }
  .scroll-indicator { display: none; }

  /* Section titles mobile */
  .section-label { font-size: 11px; letter-spacing: 2px; }
  .section-title { font-size: 24px; margin-bottom: 32px; }

  /* Navbar mobile */
  .navbar { padding: 12px 16px; }
  .nav-logo { font-size: 18px; }

  /* Cards mobile */
  .glass { border-radius: 12px; }
  .about-card { padding: 24px 20px; }
  .about-card h3 { font-size: 16px; }
  .about-card p { font-size: 14px; }
  .about-highlight { padding: 12px 14px; flex-direction: column; gap: 8px; text-align: center; }

  /* Experience mobile */
  .timeline { padding-left: 24px; }
  .timeline::before { left: 6px; }
  .timeline-dot { left: -23px; width: 8px; height: 8px; top: 24px; }
  .timeline-card { padding: 20px 16px; }
  .timeline-company { font-size: 17px; }
  .timeline-role { font-size: 12px; }
  .timeline-date { font-size: 11px; align-self: flex-start; }
  .sector-card { padding: 14px; gap: 10px; }
  .sector-icon { font-size: 22px; min-width: 28px; }
  .sector-name { font-size: 12px; }
  .sector-desc { font-size: 12px; line-height: 1.6; }

  /* Education mobile */
  .edu-timeline { flex-direction: column; padding-top: 0; padding-left: 30px; margin-top: 0; gap: 24px; overflow-x: visible; }
  .edu-timeline::before { top: 0; bottom: 0; left: 14px; width: 2px; height: auto; background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-purple), transparent); }
  .edu-timeline-item { min-width: 0; }
  .edu-timeline-dot { top: 24px; left: -22px; transform: none; width: 10px; height: 10px; }
  .edu-card { text-align: left; padding: 20px 16px; align-items: flex-start; }
  .edu-degree { font-size: 15px; }
  .edu-school { font-size: 13px; }
  .edu-date-tag { margin-top: 8px; }

  /* Certifications mobile */
  .cert-hall { grid-template-columns: 1fr; gap: 14px; }
  .cert-award { padding: 16px; gap: 14px; }
  .cert-medal { width: 44px; height: 44px; min-width: 44px; }
  .cert-prefix { font-size: 15px; }
  .cert-name { font-size: 13px; }
  .cert-meta { font-size: 11px; }
  .cert-name { font-size: 13px; }
  .cert-meta { font-size: 11px; }

  /* Skills mobile */
  .skills-groups { grid-template-columns: 1fr; gap: 16px; }
  .skill-group { padding: 20px 16px; }
  .skill-group-title { font-size: 14px; }
  .skill-tags { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; }
  .skill-card { padding: 12px 8px; gap: 10px; }
  .skill-logo { width: 28px; height: 28px; }
  .skill-card span { font-size: 11px; }

  /* Project mobile */
  .project-card { padding: 24px 20px; gap: 24px; }
  .project-info h3 { font-size: 22px; }
  .project-info p { font-size: 14px; }
  .project-features li { font-size: 13px; }
  .project-logo { max-width: 250px; }

  /* Languages mobile */
  .lang-grid { grid-template-columns: 1fr; gap: 16px; }
  .lang-card { padding: 20px; }
  .lang-flag { font-size: 30px; }
  .lang-name { font-size: 16px; }

  /* Politics mobile */
  .politics-timeline { padding-left: 24px; }
  .politics-timeline::before { left: 6px; }
  .pol-dot { left: -23px; width: 8px; height: 8px; }
  .pol-year { font-size: 13px; }
  .pol-text { font-size: 13px; line-height: 1.6; }

  /* Contact mobile */
  .contact-grid { gap: 20px; }
  .contact-card { padding: 24px 20px; }
  .contact-card h3 { font-size: 18px; }
  .form-group input, .form-group textarea { padding: 10px 14px; font-size: 14px; }
  .form-submit { padding: 12px; font-size: 14px; }
  .contact-link { padding: 12px 14px; gap: 10px; }
  .contact-link .cl-icon { font-size: 18px; }
  .contact-link .cl-label { font-size: 10px; }
  .contact-link .cl-value { font-size: 13px; }

  /* Footer mobile */
  .footer { padding: 28px 16px; }
  .footer p { font-size: 12px; }

  /* Orbs smaller on mobile */
  .orb-1 { width: 250px; height: 250px; }
  .orb-2 { width: 300px; height: 300px; }
  .orb-3 { width: 200px; height: 200px; }
  .orb-4 { width: 180px; height: 180px; }
}

/* ═══ RESPONSIVE — SMALL PHONES ═══ */
@media (max-width: 380px) {
  .hero h1 { font-size: 30px; }
  .hero-stats { padding: 16px 12px; }
  .stat-number { font-size: 22px; }
  section { padding: 50px 12px; }
  .about-card { padding: 20px 16px; }
  .timeline-card { padding: 16px 12px; }
  .sector-card { padding: 12px 10px; }
}
