/* ══════════════════════════════════════════════════════════════════
   PIYUSH TRIPATHI — DEVELOPER PORTFOLIO
   Design System + Complete Styles
   ══════════════════════════════════════════════════════════════════ */

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

/* ── CSS Custom Properties ─────────────────────────────────────── */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg-dark: #0b0b0b;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --accent-purple: #a855f7;
  --accent-purple-dark: #7c3aed;
  --accent-purple-deeper: #4c1d95;
  --text-white: #ffffff;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  --text-dark: #6b7280;
  --grid-color: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.15);
  --border-top-light: rgba(255, 255, 255, 0.3);
  --purple-glow-sm: 0 0 20px rgba(168, 85, 247, 0.2);
  --purple-glow-md: 0 0 30px rgba(168, 85, 247, 0.5);
  --purple-border-half: rgba(168, 85, 247, 0.5);
  --purple-border-third: rgba(168, 85, 247, 0.3);
  --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  --font-primary: 'Inter', sans-serif;
  --font-display: 'VALORANT', sans-serif;
}

/* ── Reset & Base ──────────────────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-dark);
  color: var(--text-white);
  overflow-y: auto;
  overflow-x: hidden;
  height: auto;
  display: block;
  position: relative;
}

a { text-decoration: none; cursor: none; }
button { cursor: none; }
ul { list-style: none; }

/* ══════════════════════════════════════════════════════════════════
   CUSTOM CURSOR
   ══════════════════════════════════════════════════════════════════ */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 99999;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-purple);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.cursor-outline.hovered {
  width: 55px;
  height: 55px;
  border-color: var(--accent-purple);
  background-color: rgba(168, 85, 247, 0.1);
}

/* ══════════════════════════════════════════════════════════════════
   SCROLL PROGRESS BAR
   ══════════════════════════════════════════════════════════════════ */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-purple-dark), var(--accent-purple), #c084fc);
  box-shadow: 0 0 10px var(--accent-purple), 0 0 20px rgba(168, 85, 247, 0.3);
  z-index: 100000;
  transition: width 0.05s linear;
  border-radius: 0 2px 2px 0;
}

/* ══════════════════════════════════════════════════════════════════
   3D BACKGROUND CANVAS
   ══════════════════════════════════════════════════════════════════ */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -15;
  pointer-events: none;
}

/* ── Grid Overlay ──────────────────────────────────────────────── */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
  z-index: -10;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════════
   PRELOADER
   ══════════════════════════════════════════════════════════════════ */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 100001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.preloader-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 4px;
  color: var(--accent-purple);
  opacity: 0.8;
}

.preloader-bar-container {
  width: 280px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.preloader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-purple), #c084fc);
  border-radius: 10px;
  box-shadow: 0 0 15px var(--accent-purple);
  transition: width 0.1s linear;
}

.preloader-percentage {
  font-size: 3.5rem;
  font-weight: 900;
  font-family: var(--font-primary);
  color: var(--text-white);
  letter-spacing: -2px;
}

.preloader-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-purple);
  border-radius: 50%;
  opacity: 0;
  animation: preloaderParticleFloat 3s ease-in infinite;
}

@keyframes preloaderParticleFloat {
  0% { transform: translateY(0) scale(1); opacity: 0.6; }
  100% { transform: translateY(-100vh) scale(0); opacity: 0; }
}

/* ══════════════════════════════════════════════════════════════════
   FLOATING NAVBAR
   ══════════════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  z-index: 9990;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.site-nav.btn-submit:hover i {
  transform: translateX(5px) translateY(-2px);
}

.contact-status-msg {
  margin-top: 15px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 12px;
  display: none;
  transition: all 0.4s ease;
}

.contact-status-msg.success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.contact-status-msg.error {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

.site-nav.nav-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.nav-indicator {
  position: absolute;
  height: calc(100% - 12px);
  top: 6px;
  left: 10px;
  width: 40px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(124, 58, 237, 0.15));
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 50px;
  transition: left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.15), inset 0 0 8px rgba(168, 85, 247, 0.1);
  z-index: 0;
  pointer-events: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-radius: 50px;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.nav-link .nav-icon {
  font-size: 0.75rem;
  display: none;
}

.nav-link:hover { color: rgba(255, 255, 255, 0.85); }
.nav-link.active { color: #fff; }

/* ══════════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════════ */
.hero {
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  padding: 0 20px;
}

.sub-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.page-loaded .sub-title {
  opacity: 1;
  transform: translateY(0);
}

.main-title {
  font-size: 6rem;
  font-weight: 900;
  margin: 15px 0 5px;
  line-height: 1.1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  min-height: 1.2em;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.page-loaded .main-title {
  opacity: 1;
  transform: translateY(0);
}

.purple-text {
  color: var(--accent-purple);
  font-family: var(--font-display);
  font-weight: 400;
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background-color: var(--accent-purple);
  margin-left: 4px;
  animation: blink 0.7s infinite;
  vertical-align: middle;
}

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

.hero-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-purple);
  border-radius: 50%;
  margin: 20px auto 15px;
  box-shadow: 0 0 15px var(--accent-purple), 0 0 30px rgba(168, 85, 247, 0.3);
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.6s ease 0.5s, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s;
}

.page-loaded .hero-dot {
  opacity: 1;
  transform: scale(1);
}

.hero-name {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 30px;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}

.page-loaded .hero-name {
  opacity: 1;
  transform: translateY(0);
}

.hero-separator {
  color: var(--accent-purple);
  margin: 0 8px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.8s, transform 0.8s ease 0.8s;
}

.page-loaded .hero-buttons {
  opacity: 1;
  transform: translateY(0);
}

/* ── CTA Buttons ───────────────────────────────────────────────── */
.btn-resume {
  background: var(--bg-card);
  border: 1px solid var(--purple-border-half);
  color: #fff;
  padding: 12px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-primary);
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--purple-glow-sm), inset 0 0 10px rgba(168, 85, 247, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
}

.btn-resume::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-15deg);
  animation: glowLine 3s infinite linear;
}

.btn-resume:hover {
  box-shadow: var(--purple-glow-md), inset 0 0 15px rgba(168, 85, 247, 0.2);
  border-color: var(--accent-purple);
  transform: translateY(-2px);
  background: rgba(168, 85, 247, 0.1);
}

@keyframes glowLine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

/* ── Floating Icons ────────────────────────────────────────────── */
.floating-icon {
  position: absolute;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(5px);
}

.icon-top-left { top: 20%; left: 10%; color: #4ade80; opacity: 0; }
.page-loaded .icon-top-left { animation: slideInTL 1.5s ease-out forwards, floatIcon 4s infinite ease-in-out 1.5s; }

.icon-top-right { top: 20%; right: 10%; color: #fc8eac; opacity: 0; }
.page-loaded .icon-top-right { animation: slideInTR 1.5s ease-out forwards, floatIcon 4s infinite ease-in-out 1.5s; }

.icon-bottom-left { bottom: 20%; left: 10%; color: #38bdf8; opacity: 0; }
.page-loaded .icon-bottom-left { animation: slideInBL 1.5s ease-out forwards, floatIcon 4s infinite ease-in-out 1.5s; }

.icon-bottom-right { bottom: 20%; right: 10%; color: #fbbf24; opacity: 0; }
.page-loaded .icon-bottom-right { animation: slideInBR 1.5s ease-out forwards, floatIcon 4s infinite ease-in-out 1.5s; }

@keyframes slideInTL { 0% { top: -20%; left: -20%; opacity: 0; } 100% { top: 20%; left: 10%; opacity: 1; } }
@keyframes slideInTR { 0% { top: -20%; right: -20%; opacity: 0; } 100% { top: 20%; right: 10%; opacity: 1; } }
@keyframes slideInBL { 0% { bottom: -20%; left: -20%; opacity: 0; } 100% { bottom: 20%; left: 10%; opacity: 1; } }
@keyframes slideInBR { 0% { bottom: -20%; right: -20%; opacity: 0; } 100% { bottom: 20%; right: 10%; opacity: 1; } }
@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* ══════════════════════════════════════════════════════════════════
   SECTION COMMON
   ══════════════════════════════════════════════════════════════════ */
.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #fff;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════════════════════════════ */
.about-section {
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: transparent;
  z-index: 2;
  position: relative;
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  padding: 60px;
  border-radius: 20px;
  max-width: 1200px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: perspective(1000px) rotateX(20deg) translateY(50px) scale(0.9);
  opacity: 0;
  filter: blur(10px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: conic-gradient(from var(--angle), transparent 30%, var(--accent-purple), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  opacity: 0.7;
  animation: rotateBorder 3s linear infinite;
}

@keyframes rotateBorder {
  to { --angle: 360deg; }
}

.scroll-reveal.expanded {
  transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
  opacity: 1;
  filter: blur(0);
}

.glass-card h2 {
  font-size: 2.2rem;
  margin-bottom: 24px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
  position: relative;
  z-index: 2;
}

.scroll-reveal.expanded h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.glass-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 90ch;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
  transform-style: preserve-3d;
  position: relative;
  z-index: 2;
}

.scroll-reveal.expanded p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

/* ══════════════════════════════════════════════════════════════════
   SKILLS SECTION
   ══════════════════════════════════════════════════════════════════ */
.skills-section {
  padding: 80px 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.skill-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  padding: 8px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-primary);
  border-radius: 50px;
  letter-spacing: 0.5px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-dark));
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
  border-radius: 50px;
}

.filter-btn:hover {
  border-color: var(--purple-border-half);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--purple-glow-sm);
}

.filter-btn.active {
  border-color: var(--accent-purple);
  color: #fff;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.35), inset 0 0 10px rgba(168, 85, 247, 0.15);
}

.filter-btn.active::before {
  opacity: 1;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.skill-card {
  width: auto;
  height: 130px;
  background: var(--bg-card);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  color: #fff;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 200%;
  background: linear-gradient(180deg, var(--accent-purple), var(--accent-purple-deeper));
  border-radius: 45% 55% 40% 60% / 55% 60% 35% 45%;
  z-index: 1;
  transition: top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.95;
}

.skill-card:hover::before {
  top: -50%;
  animation: wave 5s infinite linear;
}

@keyframes wave {
  0% { transform: translateX(-50%) rotate(0deg); }
  100% { transform: translateX(-50%) rotate(360deg); }
}

.skill-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: var(--accent-purple);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
  opacity: 0.7;
}

.skill-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-10px) scale(1.05) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.skill-card:hover::after {
  opacity: 1;
  box-shadow: 0 0 20px var(--accent-purple);
  filter: drop-shadow(0 0 5px var(--accent-purple));
}

.skill-card i {
  font-size: 2.2rem;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
}

.skill-card:hover i {
  transform: scale(1.15);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.6));
}

.skill-card span {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  opacity: 0.8;
  transition: all 0.3s;
  z-index: 2;
  position: relative;
  text-align: center;
}

.skill-card:hover span {
  opacity: 1;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  color: #fff;
  transform: scale(1.05);
}

.skill-card.filter-hide {
  opacity: 0 !important;
  transform: scale(0.8) !important;
  pointer-events: none;
}

.skill-card.d-none {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════════
   EXPERIENCE SECTION
   ══════════════════════════════════════════════════════════════════ */
.experience-section {
  padding: 80px 20px;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.experience-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  border-top: 1px solid var(--border-top-light);
  border-left: 1px solid var(--border-top-light);
  box-shadow: var(--card-shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.experience-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(168, 85, 247, 0.15), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.experience-card:hover::before { opacity: 1; }

.experience-card > * {
  position: relative;
  z-index: 1;
}

.experience-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(168, 85, 247, 0.1);
  border-color: var(--purple-border-third);
}

.experience-date {
  font-family: var(--font-display);
  color: var(--accent-purple);
  font-size: 0.95rem;
  position: absolute;
  top: 40px;
  right: 40px;
  letter-spacing: 1px;
}

.experience-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.experience-card .experience-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-purple);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.experience-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.experience-card ul {
  list-style: none;
  padding: 0;
}

.experience-card ul li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
}

.experience-card ul li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent-purple);
  font-size: 1.1rem;
}

/* ══════════════════════════════════════════════════════════════════
   PROJECTS SECTION (TIMELINE)
   ══════════════════════════════════════════════════════════════════ */
.projects-section {
  padding: 80px 20px;
  position: relative;
  max-width: 1150px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

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

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(-50%);
  border-radius: 4px;
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--accent-purple), var(--accent-purple-dark));
  box-shadow: 0 0 15px var(--accent-purple);
  transition: height 0.4s ease-out;
}

.timeline-progress::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 17px;
  height: 17px;
  background: var(--accent-purple);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent-purple), 0 0 40px var(--accent-purple);
  z-index: 3;
}

.timeline-item {
  padding: 90px 0;
  position: relative;
  width: 50%;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item.left {
  left: 0;
  padding-right: 80px;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  padding-left: 80px;
  text-align: left;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 30px;
  border-radius: 16px;
  position: relative;
  border: 1px solid var(--border-light);
  border-top: 1px solid var(--border-top-light);
  border-left: 1px solid var(--border-top-light);
  box-shadow: var(--card-shadow);
  transition: all 0.4s ease;
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.timeline-content:hover {
  transform: translateY(-10px);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(168, 85, 247, 0.1);
  border-color: var(--purple-border-third);
}

/* ── Company Badge & Card Layout ────────────────────────────────── */
.company-badge {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  padding: 6px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(168, 85, 247, 0.35);
  margin-bottom: 22px;
  display: inline-block;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.15);
}

.company-icon-box {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(168, 85, 247, 0.2);
  transition: transform 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.timeline-content:hover .company-icon-box {
  transform: scale(1.1) rotate(4deg);
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.role-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 25px;
  line-height: 1.3;
  text-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.experience-bullets {
  list-style: none;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.experience-bullets li {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  padding-left: 22px;
  position: relative;
}

.experience-bullets li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.2;
}

.timeline-number {
  position: absolute;
  top: 0;
  font-size: 6rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(168, 85, 247, 0.6);
  line-height: 1;
  opacity: 0.8;
  z-index: 0;
  font-family: var(--font-display);
}

.timeline-item.left .timeline-number { right: 20px; top: -20px; }
.timeline-item.right .timeline-number { left: 20px; top: -20px; }

.timeline-dot {
  position: absolute;
  top: 60px;
  width: 20px;
  height: 20px;
  background: transparent;
  border: 3px solid var(--accent-purple);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-dot.active {
  box-shadow: 0 0 20px var(--accent-purple);
  border-color: #fff;
  background: rgba(168, 85, 247, 0.2);
}

.timeline-item.left .timeline-dot { right: -10px; }
.timeline-item.right .timeline-dot { left: -10px; }

.timeline-date {
  position: absolute;
  top: 60px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-purple);
  font-family: var(--font-display);
  letter-spacing: 1px;
  width: 220px;
  line-height: 1.3;
}

.timeline-item.left .timeline-date { left: calc(100% + 50px); text-align: left; }
.timeline-item.right .timeline-date { right: calc(100% + 50px); text-align: right; }

/* ── Project Buttons ───────────────────────────────────────────── */
.project-links-wrapper {
  margin-top: auto;
  display: flex;
  gap: 15px;
  padding-top: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.project-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: #e5e7eb;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.project-btn:hover {
  box-shadow: var(--purple-glow-md), inset 0 0 15px rgba(168, 85, 247, 0.2);
  border-color: var(--accent-purple);
  transform: translateY(-2px);
  background: rgba(168, 85, 247, 0.1);
  color: #fff;
}

.project-btn i {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-btn:hover i {
  transform: rotate(-15deg) scale(1.2);
}

/* ── Projects Grid Cards ────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 35px 30px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  border-top: 1px solid var(--border-top-light);
  border-left: 1px solid var(--border-top-light);
  box-shadow: var(--card-shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(168, 85, 247, 0.15), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.project-card:hover::before { opacity: 1; }

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(168, 85, 247, 0.1);
  border-color: var(--purple-border-third);
}

.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.project-card-icon {
  font-size: 2.2rem;
  color: var(--accent-purple);
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.4));
  transition: transform 0.4s ease;
}

.project-card:hover .project-card-icon {
  transform: scale(1.15) rotate(5deg);
}

.project-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.project-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* ══════════════════════════════════════════════════════════════════
   CERTIFICATIONS SECTION
   ══════════════════════════════════════════════════════════════════ */
.certifications-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.cert-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid var(--border-light);
  border-top: 1px solid var(--border-top-light);
  border-left: 1px solid var(--border-top-light);
  box-shadow: var(--card-shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.cert-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: conic-gradient(from var(--angle), transparent 40%, var(--accent-purple), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  animation: rotateBorder 3s linear infinite;
  transition: opacity 0.4s ease;
}

.cert-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(168, 85, 247, 0.15);
  border-color: var(--purple-border-third);
}

.cert-card:hover::before { opacity: 1; }

.cert-banner {
  height: 180px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(76, 29, 149, 0.4));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.cert-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.9);
}

.cert-card:hover .cert-banner-img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.cert-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.cert-badge-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(10px);
  color: var(--accent-purple);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid rgba(168, 85, 247, 0.4);
  z-index: 2;
}

.cert-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 4;
}

.cert-hover-btn {
  background: linear-gradient(135deg, var(--accent-purple), #7e22ce);
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
  transform: translateY(10px) scale(0.95);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.cert-card:hover .cert-banner-overlay {
  opacity: 1;
}

.cert-card:hover .cert-hover-btn {
  transform: translateY(0) scale(1);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.9);
}

.cert-banner-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.85);
  filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.5));
  transition: transform 0.4s ease;
}

.cert-card:hover .cert-banner-icon {
  transform: scale(1.15) rotate(5deg);
  color: #fff;
}

.cert-content {
  padding: 25px 25px 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cert-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.cert-issuer {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-purple);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
  margin-top: -4px;
}

.cert-content p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.cert-btn-wrapper {
  margin-top: 5px;
}

.cert-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cert-link-btn:hover {
  background: var(--accent-purple);
  border-color: transparent;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════════════
   ACHIEVEMENTS SECTION
   ══════════════════════════════════════════════════════════════════ */
.achievements-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1150px;
  margin: 0 auto;
}

.achievement-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 35px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  border-top: 1px solid var(--border-top-light);
  border-left: 1px solid var(--border-top-light);
  box-shadow: var(--card-shadow);
  transition: all 0.4s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: relative;
  overflow: hidden;
}

.achievement-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: conic-gradient(from var(--angle), transparent 40%, var(--accent-purple), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  animation: rotateBorder 3s linear infinite;
  transition: opacity 0.4s ease;
}

.achievement-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(168, 85, 247, 0.1);
  border-color: var(--purple-border-third);
}

.achievement-card:hover::before {
  opacity: 1;
}

.achievement-icon {
  font-size: 2.8rem;
  color: #fbbf24;
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.3));
  transition: all 0.4s ease;
}

.achievement-card:hover .achievement-icon {
  transform: scale(1.15) rotate(5deg);
}

.achievement-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.achievement-rank {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent-purple);
  letter-spacing: 2px;
}

.achievement-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════
   CODING PROFILES SECTION
   ══════════════════════════════════════════════════════════════════ */
.profiles-section {
  padding: 80px 20px 120px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
  gap: 20px;
}

.profile-img-main {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  position: relative;
  padding: 4px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  box-shadow: var(--purple-glow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatProfile 6s infinite ease-in-out;
}

@keyframes floatProfile {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); box-shadow: 0 15px 40px rgba(168, 85, 247, 0.4); }
}

.profile-img-main::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from var(--angle), transparent 20%, var(--accent-purple), transparent 80%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  animation: rotateBorder 4s linear infinite;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 3;
  transition: all 0.4s ease;
}

.profile-img-main:hover .profile-avatar {
  transform: scale(1.08) rotate(3deg);
  border-color: var(--accent-purple);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.profile-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 5px;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.profile-text p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent-purple);
  letter-spacing: 2px;
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(15px);
  padding: 24px 16px;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  gap: 12px;
  text-align: center;
}

.profile-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: conic-gradient(from var(--angle), transparent 40%, var(--accent-purple), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  animation: rotateBorder 3s linear infinite;
  transition: opacity 0.4s ease;
}

.profile-card:hover {
  transform: translateY(-8px) !important;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--purple-border-third);
}

.profile-card:hover::before { opacity: 1; }

.profile-icon {
  font-size: 2rem;
  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.9s ease;
}

.profile-card .fa-linkedin { color: #0077b5; filter: drop-shadow(0 0 10px rgba(0, 119, 181, 0.3)); }
.profile-card .fa-github { color: #fff; filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3)); }
.profile-card .fa-instagram { color: #e4405f; filter: drop-shadow(0 0 10px rgba(228, 64, 95, 0.3)); }
.profile-card .fa-youtube { color: #ff0000; filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.3)); }
.profile-card .fa-code { color: #ffa116; filter: drop-shadow(0 0 10px rgba(255, 161, 22, 0.3)); }

.profile-card:hover .profile-icon {
  transform: scale(1.2) rotateY(360deg);
  transition: transform 1.1s ease;
}

.profile-info h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 5px;
  font-weight: 700;
}

.profile-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  transition: all 0.3s;
}

.profile-card:hover .profile-info p {
  color: var(--accent-purple);
  opacity: 1;
}

.profile-note {
  text-align: center;
  margin-top: 30px;
  font-size: 1.05rem;
  font-weight: 500;
  background: linear-gradient(to right, #9ca3af 40%, #ffffff 50%, #9ca3af 60%);
  background-size: 200% auto;
  color: var(--text-muted);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ══════════════════════════════════════════════════════════════════
   CONTACT SECTION
   ══════════════════════════════════════════════════════════════════ */
.contact-section {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.contact-container .section-title { margin-bottom: 0; }

.contact-note {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(to right, #9ca3af 40%, #ffffff 50%, #9ca3af 60%);
  background-size: 200% auto;
  color: var(--text-muted);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
  opacity: 1;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

.contact-card {
  background: #0f0f0f;
  padding: 50px;
  border-radius: 20px;
  width: 100%;
  max-width: 750px;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(168, 85, 247, 0.1);
  border: 1px solid #1f1f1f;
  overflow: hidden;
}

.contact-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: linear-gradient(45deg, var(--accent-purple), var(--accent-purple-deeper), #0f0f0f, #0f0f0f, var(--accent-purple));
  background-size: 400%;
  z-index: -1;
  animation: neonGlow 10s linear infinite;
  opacity: 0.8;
}

.contact-card::before {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--bg-dark);
  border-radius: 23px;
  z-index: -1;
}

@keyframes neonGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 0;
  font-size: 1.1rem;
  color: #fff;
  background: transparent;
  border: none;
  border-bottom: 2px solid #333;
  outline: none;
  transition: border-color 0.4s ease;
  font-family: var(--font-primary);
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
  border-bottom-color: var(--accent-purple);
}

.form-group label {
  position: absolute;
  top: 15px;
  left: 0;
  font-size: 1.1rem;
  color: var(--text-dark);
  pointer-events: none;
  transition: all 0.4s ease;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -20px;
  font-size: 0.9rem;
  color: var(--accent-purple);
  font-family: var(--font-display);
  letter-spacing: 1px;
}

.input-icon {
  position: absolute;
  right: 0;
  top: 15px;
  font-size: 1.2rem;
  color: #333;
  transition: all 0.4s ease;
}

.form-group input:focus ~ .input-icon,
.form-group textarea:focus ~ .input-icon {
  color: var(--accent-purple);
  transform: translateY(-5px);
}

.btn-submit {
  background: var(--bg-card);
  border: 1px solid var(--purple-border-half);
  color: #fff;
  padding: 15px 40px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-primary);
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: var(--purple-glow-sm), inset 0 0 10px rgba(168, 85, 247, 0.1);
  backdrop-filter: blur(5px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-15deg);
  animation: glowLine 3s infinite linear;
}

.btn-submit:hover {
  box-shadow: var(--purple-glow-md), inset 0 0 15px rgba(168, 85, 247, 0.2);
  border-color: var(--accent-purple);
  transform: translateY(-2px);
  background: rgba(168, 85, 247, 0.1);
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
.footer {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  z-index: 10;
  margin-top: 60px;
  padding: 40px 20px 20px;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
  opacity: 0.6;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  text-align: center;
}

.footer-brand { margin-bottom: 10px; }

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  background: linear-gradient(to right, #fff, var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  background: linear-gradient(to right, #9ca3af 40%, #ffffff 50%, #9ca3af 60%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
  opacity: 0.9;
}

.footer-nav-links {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav-links li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 5px;
  position: relative;
}

.footer-nav-links li a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.footer-nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 1px;
  background: var(--accent-purple);
  transition: width 0.3s ease;
}

.footer-nav-links li a:hover::after { width: 80%; }

.footer-socials {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--border-subtle);
  font-size: 1rem;
}

.social-link:hover {
  transform: translateY(-5px);
  border-color: transparent;
}

.social-link.linkedin:hover { background: #0077b5; box-shadow: 0 5px 20px rgba(0, 119, 181, 0.4); }
.social-link.github:hover { background: #333; box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2); }
.social-link.email:hover { background: #ea4335; box-shadow: 0 5px 20px rgba(234, 67, 53, 0.4); }
.social-link.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); box-shadow: 0 5px 20px rgba(225, 48, 108, 0.4); }
.social-link.youtube:hover { background: #ff0000; box-shadow: 0 5px 20px rgba(255, 0, 0, 0.4); }

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-dark);
  font-size: 0.85rem;
  position: relative;
}

.back-to-top {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--accent-purple);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  position: absolute;
  right: 0;
}

.back-to-top:hover {
  background: var(--accent-purple);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
  border-color: transparent;
}

.back-to-top.bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* ══════════════════════════════════════════════════════════════════
   SCROLL REVEAL (GSAP targets)
   ══════════════════════════════════════════════════════════════════ */
.scroll-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-fade-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .experience-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .achievements-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* General */
  section { padding: 60px 20px !important; }

  /* Projects & Certs */
  .projects-grid, .certs-grid { grid-template-columns: 1fr; }

  /* Cursor — hide on mobile/touch */
  .cursor-dot, .cursor-outline { display: none; }
  * { cursor: auto; }
  a, button { cursor: pointer; }

  /* Hero */
  .main-title { font-size: 3.5rem; flex-direction: column; line-height: 1.1; gap: 0; }
  .sub-title { font-size: 0.95rem; padding: 0 10px; margin-bottom: 15px; }
  .hero-name { font-size: 1.1rem; margin-bottom: 25px; }
  .hero-buttons { gap: 15px; flex-direction: column; align-items: center; }
  .btn-resume { padding: 12px 25px; font-size: 0.9rem; }
  .floating-icon { display: none; }

  /* About */
  .glass-card { padding: 30px 20px; margin: 0 10px; }
  .glass-card h2 { font-size: 1.8rem; }
  .glass-card p { font-size: 1rem; }

  /* Skills */
  .skill-grid { grid-template-columns: repeat(3, 1fr); gap: 15px; }
  .skill-card { height: 120px; padding: 15px; }
  .skill-card i { font-size: 2.2rem; }
  .skill-card span { font-size: 0.8rem; }

  /* Experience */
  .experience-date { position: static; margin-bottom: 15px; }

  /* Projects Timeline */
  .timeline-line { left: 20px; transform: translateX(0); }
  .timeline-item { width: 100%; padding-left: 70px; padding-right: 0; text-align: left; margin-bottom: 30px; }
  .timeline-item.left, .timeline-item.right { left: 0; text-align: left; transform: none; }
  .timeline-item { transform: translateY(30px); }
  .timeline-item.left .timeline-dot, .timeline-item.right .timeline-dot { left: 12px; right: auto; }
  .timeline-number { font-size: 4rem; opacity: 0.5; }
  .timeline-item.left .timeline-number { right: 10px; top: 0; }
  .timeline-item.right .timeline-number { right: 10px; left: auto; top: 0; }
  .timeline-date { position: relative; inset: auto !important; text-align: left !important; margin-bottom: 10px; display: block; margin-left: 0; font-size: 1.2rem; }
  .timeline-content { padding: 30px 20px; min-height: auto; width: 100%; box-sizing: border-box; }
  .timeline-content h3 { font-size: 1.5rem; }

  /* Achievements */
  .achievements-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Profiles */
  .profiles-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .profile-card { padding: 20px 15px; }
  .profile-img-main { width: 120px; height: 120px; }
  .profile-text h2 { font-size: 1.8rem; }

  /* Contact */
  .contact-card { padding: 30px 20px; }

  /* Footer */
  .footer-container { gap: 30px; }
  .footer-nav-links { gap: 15px 25px; }
  .footer-bottom { flex-direction: column-reverse; gap: 20px; text-align: center; }
  .back-to-top { position: static; margin-top: 20px; }

  /* Navbar — bottom tab bar */
  .site-nav { top: auto; bottom: 0; left: 0; right: 0; transform: translateX(0) translateY(100px); width: 100%; border-radius: 0; }
  .site-nav.nav-visible { transform: translateX(0) translateY(0); }
  .nav-pill { border-radius: 20px 20px 0 0; padding: 8px 6px 12px; gap: 2px; justify-content: space-around; border-bottom: none; background: rgba(10, 10, 10, 0.9); border: 1px solid rgba(255, 255, 255, 0.06); }
  .nav-indicator { height: calc(100% - 20px); top: 8px; border-radius: 14px; }
  .nav-link { flex-direction: column; padding: 6px 8px; gap: 3px; font-size: 0; }
  .nav-link .nav-icon { display: block; font-size: 1rem; }
  .nav-link .nav-label { font-size: 0.6rem; opacity: 0.7; }
  .nav-link.active .nav-label { opacity: 1; }
}

@media (max-width: 480px) {
  .main-title { font-size: 2.2rem; }
  .skill-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .skill-card { height: 110px; padding: 12px; }
  .skill-card i { font-size: 2rem; }
  .skill-card span { font-size: 0.75rem; }
  .profiles-grid { grid-template-columns: 1fr; }
}
