/* ===================================================================
   IMRANUL H CHOWDHURY — Portfolio Stylesheet
   =================================================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --blue: #3B82F6;
  --blue-glow: #60A5FA;
  --blue-deep: #1D4ED8;
  --blue-subtle: rgba(59, 130, 246, 0.15);
  --gold: #F59E0B;
}

[data-theme="dark"] {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a25;
  --bg-card-hover: #22222f;
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b5;
  --text-muted: #6a6a80;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(59, 130, 246, 0.3);
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --mesh-1: radial-gradient(ellipse at 20% 50%, rgba(59,130,246,0.08) 0%, transparent 50%);
  --mesh-2: radial-gradient(ellipse at 80% 20%, rgba(96,165,250,0.05) 0%, transparent 50%);
  --mesh-3: radial-gradient(ellipse at 50% 80%, rgba(29,78,216,0.06) 0%, transparent 50%);
  --nav-bg: rgba(10,10,15,0.85);
  --hero-overlay: linear-gradient(180deg, rgba(10,10,15,0.3) 0%, rgba(10,10,15,0.85) 60%, #0a0a0f 100%);
}

[data-theme="light"] {
  --bg-primary: #fafbff;
  --bg-secondary: #f0f2f8;
  --bg-card: #ffffff;
  --bg-card-hover: #f5f7fc;
  --text-primary: #1a1a2e;
  --text-secondary: #555570;
  --text-muted: #8888a0;
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(59, 130, 246, 0.4);
  --shadow: 0 8px 32px rgba(0,0,0,0.08);
  --mesh-1: radial-gradient(ellipse at 20% 50%, rgba(59,130,246,0.06) 0%, transparent 50%);
  --mesh-2: radial-gradient(ellipse at 80% 20%, rgba(96,165,250,0.04) 0%, transparent 50%);
  --mesh-3: radial-gradient(ellipse at 50% 80%, rgba(29,78,216,0.05) 0%, transparent 50%);
  --nav-bg: rgba(250,251,255,0.85);
  --hero-overlay: linear-gradient(180deg, rgba(250,251,255,0.1) 0%, rgba(250,251,255,0.7) 60%, #fafbff 100%);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.5s ease, color 0.5s ease;
}

/* ===== GRADIENT MESH BACKGROUND ===== */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--mesh-1), var(--mesh-2), var(--mesh-3);
  animation: meshShift 20s ease-in-out infinite alternate;
  pointer-events: none;
  transition: background 0.5s ease;
}

@keyframes meshShift {
  0%   { background-position: 0% 0%, 100% 0%, 50% 100%; }
  33%  { background-position: 30% 20%, 70% 40%, 20% 60%; }
  66%  { background-position: 60% 40%, 40% 60%, 80% 30%; }
  100% { background-position: 100% 100%, 0% 100%, 50% 0%; }
}

/* ===== SCROLL PROGRESS BAR ===== */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue), var(--blue-glow));
  z-index: 10001;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--blue), 0 0 5px var(--blue-glow);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s ease;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--blue-glow);
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s;
}
.theme-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: rotate(180deg);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
  border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: 
    linear-gradient(135deg, #0a0a1a 0%, #0f1429 30%, #0a0a1a 60%, #0d1020 100%);
  background-size: 400% 400%;
  animation: heroGradient 15s ease infinite;
}

[data-theme="light"] .hero-video-bg {
  background: 
    linear-gradient(135deg, #e8ecf8 0%, #d4ddf5 30%, #e8ecf8 60%, #dce3f5 100%);
  background-size: 400% 400%;
  animation: heroGradient 15s ease infinite;
}

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

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--blue);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--hero-overlay);
  transition: background 0.5s ease;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-greeting {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-name .highlight {
  background: linear-gradient(135deg, var(--blue), var(--blue-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease 0.9s forwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease 1.1s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  box-shadow: 0 4px 20px rgba(59,130,246,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,130,246,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.5s forwards;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50%      { opacity: 1; transform: scaleY(1); }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTIONS ===== */
section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo-frame {
  width: 280px;
  height: 350px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 2px solid var(--border);
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

.about-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(59,130,246,0.2);
  pointer-events: none;
}

.about-photo-accent {
  position: absolute;
  width: 280px;
  height: 350px;
  border: 2px solid var(--blue);
  border-radius: 16px;
  top: 15px;
  left: 15px;
  z-index: -1;
  opacity: 0.3;
}

.about-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.about-tag {
  padding: 0.4rem 1rem;
  background: var(--blue-subtle);
  color: var(--blue-glow);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(59,130,246,0.15);
}

/* ===== STATS / COUNTERS ===== */
.stats-section {
  padding: 4rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.5s ease;
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number .counter { display: inline; }
.stat-number .suffix { font-size: 2rem; }

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

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--blue), var(--blue), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 3rem 3rem;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 4rem;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
  padding-left: 4rem;
}

.timeline-dot {
  position: absolute;
  top: 0.5rem;
  width: 16px;
  height: 16px;
  background: var(--blue);
  border: 3px solid var(--bg-primary);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 4px var(--blue-subtle), 0 0 20px rgba(59,130,246,0.3);
  transition: border-color 0.5s ease;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}
.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-glow));
  opacity: 0;
  transition: opacity 0.3s;
}

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

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

.timeline-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.timeline-company {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.timeline-item:nth-child(odd) .timeline-company {
  justify-content: flex-end;
}

.company-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--text-muted);
  flex-shrink: 0;
  overflow: hidden;
}

.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.timeline-role {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.timeline-company-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.timeline-industry {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.timeline-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.timeline-highlight {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.3rem 0.8rem;
  background: var(--blue-subtle);
  color: var(--blue-glow);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 50px;
}

/* ===== SKILLS RADAR ===== */
.skills-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.radar-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.radar-chart {
  width: 380px;
  height: 380px;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.skill-bar-item {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-bar-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.skill-bar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.skill-bar-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.skill-bar-pct {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--blue);
}

.skill-bar-track {
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 3px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue), var(--blue-glow));
  border-radius: 3px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== EDUCATION FLIP CARDS ===== */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.flip-card {
  perspective: 1000px;
  height: 260px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-card);
  transition: border-color 0.3s;
}

.flip-card:hover .flip-card-front,
.flip-card:hover .flip-card-back {
  border-color: var(--border-hover);
}

.flip-card-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
}

.flip-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.flip-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.flip-card-org {
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 500;
}

.flip-card-status {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  padding: 0.3rem 0.8rem;
  background: var(--blue-subtle);
  color: var(--blue-glow);
  border-radius: 50px;
  display: inline-block;
  align-self: flex-start;
}

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

.flip-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: auto;
  text-align: center;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
}

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

.testimonial-quote {
  font-size: 2.5rem;
  color: var(--blue);
  opacity: 0.4;
  font-family: 'Playfair Display', serif;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.65rem;
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== CONTACT ===== */
.contact-section {
  text-align: center;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.4s ease;
}

.contact-link:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59,130,246,0.15);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-value {
  font-weight: 600;
  font-size: 0.95rem;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer .heart { color: var(--blue); }

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .about-photo { display: flex; justify-content: center; }
  .about-photo-accent { left: 50%; transform: translateX(-48%); }
  .about-tags { justify-content: center; }

  .skills-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

@media (max-width: 768px) {
  .nav-links { 
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .timeline::before { left: 20px; }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    left: 0;
    text-align: left;
    padding-left: 3.5rem;
    padding-right: 0;
  }

  .timeline-item:nth-child(odd) .timeline-company {
    justify-content: flex-start;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 12px;
    right: auto;
  }

  .contact-links { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-number { font-size: 2.2rem; }
  section { padding: 4rem 1.2rem; }
  .hero-name { font-size: 2rem; }
}