/* ============================================================
   KOMAL BHANDARI PORTFOLIO - MAIN STYLESHEET
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=DM+Sans:wght@300;400;500;600&family=JetBrains+Mono:wght@400;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --bg-card-hover: #1e1e2a;
  --accent: #c8a96e;
  --accent-2: #7c6ef5;
  --accent-3: #e05c8c;
  --text-primary: #f0ede8;
  --text-secondary: #9994a6;
  --text-muted: #5c5870;
  --border: rgba(200,169,110,0.12);
  --border-hover: rgba(200,169,110,0.35);
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
  --radius: 16px;
  --radius-sm: 8px;
  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body: 'DM Sans', sans-serif;
  --ff-mono: 'JetBrains Mono', monospace;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ---- Custom Cursor ---- */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 2px solid rgba(200,169,110,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform 0.15s ease, width 0.3s, height 0.3s;
}
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 50px; height: 50px;
  border-color: var(--accent);
}

/* ---- Noise Overlay ---- */
.noise-overlay {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
}

/* ---- Utility ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 0; position: relative; z-index: 1; }
.dark-section { background: var(--bg-secondary); }
.accent { color: var(--accent); }
.accent-text { color: var(--accent); font-style: italic; }

/* ---- Section Header ---- */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200,169,110,0.1);
  border: 1px solid rgba(200,169,110,0.2);
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 3rem;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  padding: 0.8rem 3rem;
  background: rgba(10,10,15,0.97);
}
.logo-text {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-primary);
}
.logo-text .dot { color: var(--accent); }
.nav-links { display: flex; gap: 2.5rem; }
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 100%; }
.nav-cta {
  padding: 0.6rem 1.5rem;
  background: var(--accent);
  color: var(--bg-primary);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200,169,110,0.3);
}
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); transition: all 0.3s; border-radius: 2px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(200,169,110,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(200,169,110,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.floating-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute; border-radius: 50%;
  opacity: 0.06; filter: blur(60px);
  animation: float 8s ease-in-out infinite;
}
.shape-1 { width: 400px; height: 400px; background: var(--accent); top: -10%; left: -5%; animation-delay: 0s; }
.shape-2 { width: 300px; height: 300px; background: var(--accent-2); bottom: 5%; right: 10%; animation-delay: 2s; }
.shape-3 { width: 200px; height: 200px; background: var(--accent-3); top: 40%; left: 30%; animation-delay: 4s; }
.shape-4 { width: 250px; height: 250px; background: var(--accent); bottom: 20%; left: 5%; animation-delay: 6s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  position: relative; z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 500;
  color: var(--accent);
  background: rgba(200,169,110,0.08);
  border: 1px solid rgba(200,169,110,0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 7px; height: 7px;
  background: #4ade80; border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.4)} }
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1rem;
}
.hero-title .line { display: block; }
.hero-title .italic-name { font-style: italic; color: var(--accent); }
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 400;
}
.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: var(--accent);
  color: var(--bg-primary);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.3s;
  border: none; cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(200,169,110,0.35);
}
.btn-outline {
  display: inline-flex; align-items: center;
  padding: 0.9rem 2rem;
  border: 1.5px solid var(--border-hover);
  color: var(--text-primary);
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s;
}
.btn-outline:hover {
  background: rgba(200,169,110,0.08);
  border-color: var(--accent);
  color: var(--accent);
}

.hero-stats { display: flex; align-items: center; gap: 2rem; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--ff-display); font-size: 2rem; font-weight: 900; color: var(--accent); }
.stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero Image */
.hero-image { display: flex; justify-content: center; align-items: center; }
.image-frame { position: relative; width: 380px; height: 420px; }
.image-glow {
  position: absolute; inset: -20px;
  background: radial-gradient(circle at center, rgba(200,169,110,0.15), transparent 70%);
  border-radius: 50%;
}
.avatar-container { position: relative; display: flex; justify-content: center; align-items: center; height: 100%; }
.avatar-placeholder {
  width: 240px; height: 240px;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
  border-radius: 50%;
  border: 3px solid var(--accent);
  display: flex; justify-content: center; align-items: center;
  position: relative; z-index: 2;
  box-shadow: 0 0 60px rgba(200,169,110,0.2);
}
.avatar-initials {
  font-family: var(--ff-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent);
  font-style: italic;
}
.avatar-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(200,169,110,0.15);
}
.ring-1 { width: 280px; height: 280px; animation: spin 15s linear infinite; }
.ring-2 { width: 320px; height: 320px; animation: spin 20s linear infinite reverse; border-style: dashed; }
.ring-3 { width: 370px; height: 370px; animation: spin 25s linear infinite; }
@keyframes spin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

.tech-badges-floating { position: absolute; inset: 0; }
.tech-float {
  position: absolute;
  width: 44px; height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
  box-shadow: var(--shadow);
  animation: floatBadge 4s ease-in-out infinite;
}
.t1 { top: 5%; left: 10%; animation-delay: 0s; }
.t2 { top: 20%; right: 5%; animation-delay: 0.8s; }
.t3 { bottom: 25%; right: 0%; animation-delay: 1.6s; }
.t4 { bottom: 5%; left: 15%; animation-delay: 2.4s; }
.t5 { top: 55%; left: 5%; animation-delay: 3.2s; }
@keyframes floatBadge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.image-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.8rem;
  box-shadow: var(--shadow);
  z-index: 10;
}
.image-card i { color: var(--accent); font-size: 1.1rem; }
.card-title { display: block; font-weight: 600; font-size: 0.85rem; }
.card-sub { display: block; color: var(--text-muted); font-size: 0.72rem; }
.card-institute { top: 5%; left: -8%; }
.card-location { bottom: 15%; right: -5%; }

.scroll-indicator {
  position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--text-muted); font-size: 0.75rem; letter-spacing: 0.1em;
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim { 0%,100%{opacity:0.3;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.1)} }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-intro {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}
.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}
.about-highlights {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-top: 2rem;
}
.highlight {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.8rem 1rem;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: border-color 0.3s;
}
.highlight:hover { border-color: var(--accent); color: var(--text-primary); }
.highlight i { color: var(--accent); width: 16px; }

.about-card-stack { display: flex; flex-direction: column; gap: 1.2rem; }
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.info-card:hover {
  transform: translateX(8px);
  border-color: var(--accent);
  box-shadow: -4px 0 20px rgba(200,169,110,0.15);
}
.card-accent {
  border-color: rgba(200,169,110,0.3);
  background: linear-gradient(135deg, var(--bg-card), rgba(200,169,110,0.05));
}
.info-card-icon {
  width: 44px; height: 44px;
  background: rgba(200,169,110,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.info-card h4 { font-family: var(--ff-display); font-size: 1.1rem; margin-bottom: 0.4rem; }
.info-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ============================================================
   SKILLS
   ============================================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: border-color 0.3s, transform 0.3s;
  animation-delay: var(--delay, 0s);
}
.skill-category:hover { border-color: var(--accent); transform: translateY(-4px); }
.skill-cat-header {
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.skill-cat-header i { color: var(--accent); font-size: 1.2rem; }
.skill-cat-header h3 { font-size: 1rem; font-weight: 600; }
.skill-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.skill-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: rgba(200,169,110,0.08);
  border: 1px solid rgba(200,169,110,0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.skill-pill:hover {
  background: rgba(200,169,110,0.15);
  border-color: var(--accent);
  color: var(--accent);
}
.skill-pill i { font-size: 0.9rem; color: var(--accent); }

/* Skill Bars */
.skill-bars { max-width: 700px; margin: 0 auto; }
.skill-bar-item { margin-bottom: 1.5rem; }
.skill-bar-label {
  display: flex; justify-content: space-between;
  font-size: 0.88rem; margin-bottom: 0.5rem;
  color: var(--text-secondary);
}
.skill-pct { color: var(--accent); font-family: var(--ff-mono); font-weight: 700; }
.skill-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #e0a840);
  border-radius: 100px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   PROJECTS
   ============================================================ */
.project-filters {
  display: flex; gap: 0.7rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.5rem 1.3rem;
  border: 1px solid var(--border);
  background: none;
  color: var(--text-secondary);
  border-radius: 100px;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-primary);
  font-weight: 600;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column; gap: 1.2rem;
}
.project-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}
.project-card:hover::before { opacity: 1; }

.featured-card {
  grid-column: span 1;
  background: linear-gradient(135deg, var(--bg-card), rgba(200,169,110,0.04));
  border-color: rgba(200,169,110,0.2);
}

.project-badge {
  position: absolute; top: 1.2rem; right: 1.2rem;
  padding: 0.3rem 0.8rem;
  background: rgba(200,169,110,0.15);
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.badge-blue {
  background: rgba(124,110,245,0.15);
  border-color: rgba(124,110,245,0.3);
  color: #9d8ffb;
}

.project-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(var(--c), 0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--c, var(--accent));
  border: 1px solid rgba(var(--c), 0.2);
  flex-shrink: 0;
}
.project-icon-wrap i { color: inherit; }

.project-content h3 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}
.project-content p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.project-tags span {
  padding: 0.25rem 0.7rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.72rem;
  font-family: var(--ff-mono);
  color: var(--text-muted);
}
.project-links { display: flex; gap: 0.8rem; margin-top: auto; }
.proj-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  transition: all 0.2s;
}
.proj-link:hover { color: var(--text-primary); border-color: var(--text-muted); }
.proj-demo { background: var(--accent); color: var(--bg-primary); border-color: var(--accent); }
.proj-demo:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,169,110,0.3); color: var(--bg-primary); }

/* ============================================================
   EXPERIENCE
   ============================================================ */
.timeline { max-width: 750px; margin: 0 auto; }
.timeline-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 2rem;
  position: relative;
  padding-bottom: 3rem;
}
.timeline-marker {
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg-secondary);
  outline: 2px solid var(--accent);
  margin-top: 6px;
  flex-shrink: 0;
}
.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s;
}
.timeline-content:hover { border-color: var(--border-hover); }
.timeline-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap; gap: 1rem;
}
.timeline-org { display: flex; align-items: center; gap: 1rem; }
.org-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.bsnl-icon {
  background: rgba(255, 100, 0, 0.1);
  border: 1px solid rgba(255, 100, 0, 0.2);
  color: #ff6400;
}
.timeline-org h3 { font-size: 1.1rem; font-weight: 600; }
.timeline-dept { font-size: 0.82rem; color: var(--accent); font-weight: 500; }
.timeline-date {
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  white-space: nowrap;
}
.timeline-content p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.2rem; }
.timeline-skills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.timeline-skills span {
  padding: 0.25rem 0.7rem;
  background: rgba(200,169,110,0.08);
  border: 1px solid rgba(200,169,110,0.15);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--accent);
}

/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex; gap: 1.2rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  animation-delay: var(--delay, 0s);
}
.cert-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.cert-icon {
  width: 50px; height: 50px; flex-shrink: 0;
  background: rgba(var(--cc), 0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--cc, var(--accent));
}
.cert-icon i { color: inherit; }
.cert-content { flex: 1; }
.cert-content h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.cert-issuer { display: block; font-size: 0.78rem; color: var(--accent); margin-bottom: 0.6rem; font-weight: 500; }
.cert-content p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0.8rem; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.72rem; font-weight: 600;
  color: #4ade80;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.2);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
}
.badge-gold { color: var(--accent); background: rgba(200,169,110,0.08); border-color: rgba(200,169,110,0.25); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-intro { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 2.5rem; }
.contact-links { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.contact-item:hover { border-color: var(--accent); transform: translateX(6px); }
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(200,169,110,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 0.2rem; }
.contact-value { font-size: 0.9rem; font-weight: 500; }

/* Contact Form */
.form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { position: relative; }
.form-input {
  width: 100%;
  padding: 1rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
  resize: none;
}
.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--text-muted); }
.form-textarea { min-height: 130px; }
.form-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 1rem; border-radius: var(--radius-sm); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  text-align: center;
}
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.footer-logo {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.footer p { color: var(--text-muted); font-size: 0.9rem; }
.footer-copy { font-size: 0.78rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 968px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-image { order: -1; }
  .image-frame { width: 280px; height: 320px; }
  .avatar-placeholder { width: 180px; height: 180px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .navbar { padding: 1rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-primary); padding: 1.5rem; border-bottom: 1px solid var(--border); gap: 1rem; }
  .about-highlights { grid-template-columns: 1fr; }
  .image-card { display: none; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 3rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .cert-card { flex-direction: column; }
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
}