/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&display=swap');

/* ===========================
   CSS Variables - Design System
   =========================== */
:root {
  /* Gradient */
  --gradient: linear-gradient(
    180deg,
    #FBFBFB 0%,
    #E8F9FF 33%,
    #C4D9FF 66%,
    #C5BAFF 100%
  );
  --gradient-h: linear-gradient(135deg, #C4D9FF, #C5BAFF);
  --gradient-warm: linear-gradient(135deg, #E8F9FF, #C4D9FF);

  /* Backgrounds */
  --bg-0: #fbfbf8;
  --bg-1: #f4f4f0;
  --bg-2: #f0f2fa;
  --bg-3: #faf0f8;

  /* Text */
  --text: #1a1a1a;
  --muted: #666666;
  --subtle: #999999;

  /* Accents */
  --blue: #C4D9FF;
  --purple: #C5BAFF;
  --pink: #D5CAFF;
  --red: #B8A8FF;

  /* UI */
  --border: rgba(0,0,0,0.08);
  --card-bg: #ffffff;
  --card-shadow: 0 4px 24px rgba(0,0,0,0.06);

  /* Typography */
  --font-head: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --section-padding: 6rem 4rem;
  --section-padding-mobile: 4rem 1.5rem;
  --max-width: 1100px;
  --card-radius: 1rem;
  --card-padding: 2rem;
}

/* ===========================
   Reset & Base Styles
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  background: var(--bg-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===========================
   Utility Classes
   =========================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.gradient-text {
  background: linear-gradient(135deg, #7A98D5, #8B7ABD, #9B89D0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: brightness(0.85);
}

.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #8BA8E0;
  margin-bottom: 0.6rem;
  font-weight: 500;
}

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

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

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

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===========================
   Components
   =========================== */

/* Eyebrow Badge */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #4a4a4a;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(74, 74, 74, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hero-left .eyebrow {
  margin: 0 auto;
}

.eyebrow::before {
  content: '';
  width: 5px;
  height: 5px;
  background: #4a4a4a;
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.6rem;
  border-radius: 2rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, #C4D9FF, #C5BAFF);
  color: #1a1a1a;
  box-shadow: 0 4px 20px rgba(196,217,255,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196,217,255,0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: #999;
}

.btn-small {
  padding: 0.6rem 1.2rem;
  font-size: 0.82rem;
}

.btn-block {
  width: 100%;
  margin-top: 1rem;
}

/* Cards */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: var(--card-padding);
  box-shadow: var(--card-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.09);
}

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

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Tags */
.tag {
  font-size: 0.72rem;
  padding: 0.22rem 0.65rem;
  border-radius: 2rem;
  font-weight: 500;
  background: rgba(196,217,255,0.3);
  color: #5A7BB0;
  border: 1px solid rgba(196,217,255,0.5);
  display: inline-block;
  margin-right: 0.3rem;
  margin-bottom: 0.3rem;
}

.tag.pink {
  background: rgba(213,202,255,0.3);
  color: #8B7ABD;
  border-color: rgba(213,202,255,0.5);
}

.tag.purple {
  background: rgba(197,186,255,0.3);
  color: #7E6CB5;
  border-color: rgba(197,186,255,0.5);
}

/* ===========================
   Navigation
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 4rem;
  background: rgba(251,251,248,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.nav-links a {
  font-size: 0.88rem;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
  color: var(--blue);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-0);
  padding: var(--section-padding);
  padding-top: 8rem;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: linear-gradient(
    180deg,
    #FBFBFB 0%,
    #E8F9FF 33%,
    #C4D9FF 66%,
    #C5BAFF 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.stat-item:hover {
  animation-play-state: paused;
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.stat-item:nth-child(1) {
  background: rgba(196, 217, 255, 0.15);
  animation-delay: 0s;
}

.stat-item:nth-child(2) {
  background: rgba(197, 186, 255, 0.15);
  animation-delay: 0.5s;
}

.stat-item:nth-child(3) {
  background: rgba(213, 202, 255, 0.15);
  animation-delay: 1s;
}

.stat-item:nth-child(4) {
  background: rgba(196, 217, 255, 0.15);
  animation-delay: 1.5s;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  border-radius: 0 0 3px 3px;
}

.stat-item:nth-child(1)::before {
  background: linear-gradient(90deg, #C4D9FF, #7A98D5);
}

.stat-item:nth-child(2)::before {
  background: linear-gradient(90deg, #C5BAFF, #8B7ABD);
}

.stat-item:nth-child(3)::before {
  background: linear-gradient(90deg, #D5CAFF, #9B89D0);
}

.stat-item:nth-child(4)::before {
  background: linear-gradient(90deg, #C4D9FF, #7A98D5);
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.4;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Profile Photo */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.profile-wrap {
  position: relative;
  display: inline-block;
}

.profile-wrap {
  position: relative;
  display: inline-block;
}

.profile-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C4D9FF, #C5BAFF, #E8F9FF);
  z-index: -1;
}

.profile-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 4px solid var(--bg-0);
  object-fit: cover;
  object-position: center 20%;
  display: block;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 40px rgba(196,217,255,0.3);
  animation: glowPulse 3s ease-in-out infinite;
  transition: filter 0.3s ease;
}

.profile-img:hover {
  filter: grayscale(100%);
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 12px 40px rgba(196,217,255,0.3);
  }
  50% {
    box-shadow: 0 12px 50px rgba(196,217,255,0.6), 0 0 30px rgba(197,186,255,0.4);
  }
}

.profile-placeholder {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(196,217,255,0.3), rgba(197,186,255,0.3));
  border: 4px solid var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 40px rgba(196,217,255,0.3);
}

.initials {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 800;
}

/* ===========================
   Timeline Section
   =========================== */
.timeline-section {
  background: var(--bg-2);
  padding: var(--section-padding);
}

.timeline-wrap {
  display: flex;
  justify-content: center;
  padding: 20px 20px 60px;
}

.timeline {
  position: relative;
  width: 100%;
  max-width: 680px;
}

.spine {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(139,122,189,0.15);
  z-index: 0;
}

.spine-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #7A98D5, #8B7ABD, #9B89D0);
  transition: height 0.06s linear;
}

.year-node {
  position: relative;
  display: flex;
  align-items: center;
  padding: 90px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.year-node.visible {
  opacity: 1;
  transform: translateY(0);
}

.spine-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(139,122,189,0.3);
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
}

.year-node.visible .spine-dot {
  border-color: #8B7ABD;
  box-shadow: 0 0 0 5px rgba(139,122,189,0.3);
  transform: translate(-50%, -50%) scale(1.2);
}

.branch-svg {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  overflow: visible;
}

.year-node:nth-child(even) .branch-svg {
  left: 50%;
}

.year-node:nth-child(odd) .branch-svg {
  right: 50%;
  transform: translateY(-50%) scaleX(-1);
}

.branch-svg line {
  stroke: #8B7ABD;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 0.55s 0.18s ease;
}

.year-node.visible .branch-svg line {
  stroke-dashoffset: 0;
}

.branch-svg circle {
  fill: #fff;
  stroke: #8B7ABD;
  stroke-width: 2;
  transition: filter 0.4s 0.55s ease;
}

.year-node.visible .branch-svg circle {
  filter: drop-shadow(0 0 5px rgba(139,122,189,0.4));
}

.timeline-card {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: calc(50% - 90px);
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.5);
  transition: border-color 0.4s 0.25s, background 0.4s 0.25s, box-shadow 0.4s 0.25s;
}

.year-node:nth-child(odd) .timeline-card {
  right: 0;
  text-align: right;
}

.year-node:nth-child(even) .timeline-card {
  left: 0;
  text-align: left;
}

.year-node.visible .timeline-card {
  border-color: rgba(139,122,189,0.25);
  background: rgba(197,186,255,0.12);
  box-shadow: 0 4px 16px rgba(139,122,189,0.1);
}

.timeline-card .year-label {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #7A98D5, #8B7ABD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.timeline-card .event-title {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--text);
  letter-spacing: 0.02em;
  font-weight: 600;
}

.timeline-card .event-desc {
  margin-top: 6px;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===========================
   Expertise Section
   =========================== */
.expertise {
  background: var(--bg-1);
  padding: var(--section-padding);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* ===========================
   Tech Stack Section
   =========================== */
.tech-stack {
  background: var(--bg-0);
  padding: var(--section-padding);
}

.tech-stack-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.tech-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.tech-row:last-child {
  border-bottom: none;
}

.tech-category {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-left: 1rem;
  border-left: 2px solid rgba(139, 122, 189, 0.3);
}

.tech-tools {
  display: flex;
  gap: 3rem;
  align-items: center;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.tech-tools-scroll {
  display: flex;
  gap: 3rem;
  align-items: center;
  animation: scrollLeft 12s linear infinite;
}

.tech-row:nth-child(even) .tech-tools-scroll {
  animation: scrollRight 12s linear infinite;
}

.tech-tools-scroll:hover {
  animation-play-state: paused;
}

.tool-logo-static {
  height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  filter: grayscale(10%);
  transition: opacity 0.2s, filter 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.tool-logo-static:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.08);
}

/* Specific logos that need to be larger */
.tool-logo-static[alt="Monday"] {
  height: 80px;
}

.tool-logo-static[alt="Jira"],
.tool-logo-static[alt="Teams"] {
  height: 65px;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ===========================
   Impact Stories Section
   =========================== */
.impact-stories {
  background: var(--bg-3);
  padding: var(--section-padding);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.impact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.impact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.09);
}

.impact-accent {
  height: 4px;
  background: #C4D9FF;
}

.impact-card[data-accent="purple"] .impact-accent {
  background: #C5BAFF;
}

.impact-card[data-accent="pink"] .impact-accent {
  background: #D5CAFF;
}

.impact-card[data-accent="blue"] .impact-accent {
  background: #C4D9FF;
}

.impact-header {
  padding: 1.5rem 2rem 1rem;
}

.impact-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.impact-card p {
  padding: 0 2rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

.impact-card p:last-child {
  padding-bottom: 1.5rem;
}

/* ===========================
   Projects Section
   =========================== */
.projects {
  background: var(--bg-1);
  padding: var(--section-padding);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
}

.project-card {
  padding: 2rem;
}

.project-status {
  font-size: 0.82rem;
  color: #8BA8E0;
  margin-bottom: 0.5rem;
}

.project-logo-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.project-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.project-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.project-header p {
  margin-bottom: 1rem;
}

.project-tags {
  margin-bottom: 1.5rem;
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: var(--card-shadow);
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.video-wrap iframe,
.video-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.75rem;
}

.video-play-link {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.video-play-link:hover {
  opacity: 0.85;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
}

.project-video {
  object-fit: cover;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(196,217,255,0.3), rgba(197,186,255,0.3));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.play-icon {
  font-size: 3rem;
  color: #8BA8E0;
}

.video-placeholder p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
  position: relative;
  background: var(--bg-0);
  padding: var(--section-padding);
  overflow: hidden;
}

.contact::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(232,249,255,0.5) 40%,
    rgba(196,217,255,0.6) 70%,
    rgba(197,186,255,0.7) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact-form-centered {
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Form */
.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--bg-1);
  padding: 2rem 4rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.footer-linkedin-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  text-align: center;
}

.footer-linkedin-row span {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-linkedin {
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.footer-linkedin:hover {
  opacity: 0.7;
}

.footer-linkedin-logo {
  height: 24px;
  width: auto;
}

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

/* ===========================
   Responsive Styles
   =========================== */
@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 1.5rem;
  }

  .nav {
    padding: 1rem 1.5rem;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .hero {
    padding-top: 6rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-left {
    order: -1;
  }

  .hero-right {
    text-align: center;
  }

  .profile-img,
  .profile-placeholder {
    width: 180px;
    height: 180px;
  }

  .initials {
    font-size: 2.8rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-item {
    text-align: center;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .tech-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tech-category {
    text-align: left;
    font-size: 0.7rem;
    padding-left: 0.8rem;
  }

  .tool-logo-static {
    height: 36px;
  }

  .tool-logo-static[alt="Monday"] {
    height: 65px;
  }

  .tool-logo-static[alt="Jira"],
  .tool-logo-static[alt="Teams"] {
    height: 50px;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .timeline-card {
    width: calc(50% - 70px);
    padding: 10px 12px;
  }

  .timeline-card .year-label {
    font-size: 1.05rem;
  }
}

@media (max-width: 560px) {
  .contact-form {
    padding: 1.5rem 1.25rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 1rem; /* prevents iOS zoom on focus */
    padding: 0.875rem 1rem;
  }

  .form-button-wrapper {
    margin-top: 1rem;
  }

  .form-button-wrapper .btn {
    width: 100%;
    justify-content: center;
  }

  .spine {
    left: 24px;
  }

  .year-node {
    padding: 36px 0;
  }

  .spine-dot {
    left: 24px;
  }

  .branch-svg {
    display: none;
  }

  .timeline-card {
    position: relative;
    top: auto;
    left: 56px !important;
    right: auto !important;
    width: calc(100% - 68px) !important;
    transform: none;
    text-align: left !important;
    padding: 12px 14px;
  }

  .year-node:nth-child(odd) .timeline-card,
  .year-node:nth-child(even) .timeline-card {
    left: 56px !important;
    right: auto !important;
    text-align: left !important;
  }

  .timeline-card .year-label {
    font-size: 1rem;
  }

  .timeline-card .event-title {
    font-size: 0.78rem;
  }

  .timeline-card .event-desc {
    font-size: 0.72rem;
  }
}
