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

:root {
  /* Upwork palette */
  --uw-green:       #14a800;
  --uw-green-dark:  #108a00;
  --uw-green-light: #e1f5dc;
  --uw-bg:          #f7faf7;
  --uw-white:       #ffffff;
  --uw-border:      #d5e0d5;
  --uw-text-dark:   #1d1d1b;
  --uw-text-mid:    #5e6d55;
  --uw-text-light:  #8a9a8a;

  /* LinkedIn palette */
  --li-blue:        #0a66c2;
  --li-bg:          #f3f2ef;
  --li-white:       #ffffff;
  --li-border:      #e0dfdc;
  --li-text-dark:   #191919;
  --li-text-mid:    #666666;
  --li-text-light:  #929292;

  /* Transitions */
  --t-fast: 0.15s ease;
  --t-med:  0.25s ease;
  --t-slow: 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: #e8e8e8;
  min-height: 100vh;
  padding-top: 70px;
}

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--li-text-dark);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--li-text-mid);
  text-decoration: none;
  border-radius: 6px;
  transition: background var(--t-fast), color var(--t-fast);
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  background: var(--li-bg);
  color: var(--li-text-dark);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--li-text-dark);
  padding: 8px;
  line-height: 1;
}

/* ═══════════════════════════════════════════
   SECTIONS & LAYOUT
═══════════════════════════════════════════ */
.platform-section { padding: 64px 0; }

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.heading-divider {
  width: 1px;
  height: 44px;
  opacity: 0.2;
  flex-shrink: 0;
}

.heading-text h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.heading-text p {
  font-size: 13.5px;
  margin-top: 4px;
}

.slide-counter {
  font-size: 13px;
  font-weight: 500;
  margin-left: auto;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════
   SLIDER
═══════════════════════════════════════════ */
.slider-wrap { position: relative; overflow: hidden; }

.slider-track {
  display: flex;
  transition: transform var(--t-slow);
  will-change: transform;
}

.slide { flex: 0 0 100%; }

.slide-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  }

#projects .slide-2col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}

.slider-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  justify-content: center;
}

.nav-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
  flex-shrink: 0;
}

.nav-btn:active { transform: scale(0.92); }

.nav-btn:disabled {
  opacity: 0.32;
  cursor: not-allowed;
  transform: none !important;
}

.nav-btn svg { width: 18px; height: 18px; pointer-events: none; }

.dots {
  display: flex;
  gap: 6px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: background var(--t-med), width var(--t-med), border-radius var(--t-med);
  padding: 0;
}

.dot.active { width: 22px; border-radius: 4px; }

/* ═══════════════════════════════════════════
   AVATAR HELPER (shared)
═══════════════════════════════════════════ */
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

/* ═══════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════ */
.about-section { background: var(--li-bg); border-bottom: 1px solid var(--li-border); }
.about-section .heading-divider { background: var(--li-text-dark); }
.about-section .heading-text h2 { color: var(--li-text-dark); }
.about-section .heading-text p  { color: var(--li-text-mid); }

.about-content {
  background: var(--li-white);
  border: 1px solid var(--li-border);
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.07), 0 4px 12px rgba(0,0,0,.06);
  padding: 32px 28px;
}

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.about-profile { text-align: center; }

.about-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--li-blue) 0%, #0a4d8f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  font-weight: 700;
  color: #fff;
  border: 4px solid var(--li-white);
  box-shadow: 0 0 0 1px var(--li-border), 0 8px 24px rgba(0,0,0,.12);
  position: relative;
  overflow: hidden;
}

.about-avatar .initials { position: relative; z-index: 1; }

.status-badge {
  position: absolute;
  bottom: 12px; right: 12px;
  background: var(--uw-green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  border: 3px solid var(--li-white);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.pulse-dot {
  width: 7px; height: 7px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.about-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--li-text-dark);
  margin-bottom: 6px;
}

.about-title {
  font-size: 15px;
  color: var(--li-text-mid);
  margin-bottom: 16px;
  line-height: 1.4;
}

.about-location {
  font-size: 13px;
  color: var(--li-text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--li-border);
}

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

.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--li-blue);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 11.5px;
  color: var(--li-text-mid);
  margin-top: 4px;
  display: block;
}

.about-intro {
  font-size: 15px;
  line-height: 1.72;
  color: var(--li-text-dark);
  margin-bottom: 24px;
}

.about-intro p + p { margin-top: 14px; }
.about-intro strong { font-weight: 600; }
.highlight { color: var(--li-blue); font-weight: 600; }

.skills-section { margin-top: 28px; }

.skills-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--li-text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.skills-grid { display: flex; flex-wrap: wrap; gap: 8px; }

.skill-tag {
  background: var(--li-bg);
  border: 1px solid var(--li-border);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--li-text-dark);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  cursor: default;
}

.skill-tag:hover {
  background: #dce9f9;
  border-color: var(--li-blue);
  color: var(--li-blue);
}

.cta-buttons {
  display: none;
  gap: 12px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--li-border);
}

.btn {
  padding: 10px 24px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--t-fast);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary { background: var(--li-blue); color: #fff; border: 1px solid var(--li-blue); }
.btn-primary:hover { background: #084d8f; border-color: #084d8f; }

.btn-secondary { background: transparent; color: var(--li-text-dark); border: 1px solid var(--li-border); }
.btn-secondary:hover { background: var(--li-bg); border-color: var(--li-text-mid); }

/* ═══════════════════════════════════════════
   EXPERIENCE / TIMELINE
═══════════════════════════════════════════ */
.experience-section { background: var(--li-bg); border-bottom: 1px solid var(--li-border); }
.experience-section .heading-divider { background: var(--li-text-dark); }
.experience-section .heading-text h2 { color: var(--li-text-dark); }
.experience-section .heading-text p  { color: var(--li-text-mid); }

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px; top: 16px; bottom: 0;
  width: 1px;
  background: var(--li-border);
}

.timeline-item {
  background: var(--li-white);
  border: 1px solid var(--li-border);
  border-radius: 8px;
  padding: 24px 26px;
  margin-bottom: 16px;
  position: relative;
  box-shadow: 0 0 0 1px rgba(0,0,0,.07), 0 2px 8px rgba(0,0,0,.04);
  transition: box-shadow var(--t-fast);
}

.timeline-item:hover {
  box-shadow: 0 0 0 1px rgba(0,0,0,.1), 0 4px 16px rgba(0,0,0,.08);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px; top: 0px;
  width: 8px; height: 8px;
  background: var(--li-white);
  border: 2px solid var(--li-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--li-white);
  z-index: 1;
}

.exp-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.exp-logo {
  width: 56px; height: 56px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  /* border: 1px solid var(--li-border); */
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.exp-logo .initials { position: relative; z-index: 1; }

.exp-details { flex: 1; min-width: 0; }

.exp-position {
  font-size: 17px;
  font-weight: 600;
  color: var(--li-text-dark);
  /* margin-bottom: 4px; */
}

.exp-company {
  font-size: 14px;
  color: var(--li-text-mid);
  /* margin-bottom: 6px; */
}

.exp-duration {
  font-size: 12.5px;
  color: var(--li-text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.exp-type {
  display: inline-flex;
  align-items: center;
  background: var(--li-bg);
  border: 1px solid var(--li-border);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  color: var(--li-text-mid);
}

.exp-description {
  font-size: 14px;
  line-height: 1.72;
  color: var(--li-text-dark);
  margin-bottom: 16px;
}

.exp-achievements { list-style: none; padding: 0; }

.exp-achievements li {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--li-text-mid);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.exp-achievements li::before {
  content: '▸';
  position: absolute;
  left: 4px;
  color: var(--li-blue);
  font-weight: 700;
}

.exp-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--li-border);
}

.exp-skill-tag {
  background: var(--li-bg);
  border: 1px solid var(--li-border);
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--li-text-dark);
}

/* ═══════════════════════════════════════════
   PROJECTS
═══════════════════════════════════════════ */
.projects-section { background: var(--uw-bg); border-bottom: 1px solid #dde8dd; }
.projects-section .heading-divider { background: var(--uw-text-dark); }
.projects-section .heading-text h2 { color: var(--uw-text-dark); }
.projects-section .heading-text p  { color: var(--uw-text-mid); }
.projects-section .slide-counter   { color: var(--uw-text-mid); }
.projects-section .nav-btn { background: var(--uw-white); border: 1.5px solid var(--uw-border); color: var(--uw-text-dark); }
.projects-section .nav-btn:hover:not(:disabled) { background: var(--uw-green); border-color: var(--uw-green); color: #fff; }
.projects-section .dot { background: var(--uw-border); }
.projects-section .dot.active { background: var(--uw-green); }

.project-card {
  background: var(--uw-white);
  border: 1px solid var(--uw-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(29,29,27,.07), 0 4px 16px rgba(29,29,27,.05);
  transition: box-shadow var(--t-fast), transform var(--t-fast);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.project-card:hover {
  box-shadow: 0 2px 8px rgba(29,29,27,.1), 0 8px 24px rgba(29,29,27,.08);
  transform: translateY(-2px);
}

.project-image {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: rgba(255,255,255,0.9);
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.project-image .emoji {
  position: relative;
  z-index: 1;
}

.project-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.15) 100%);
  z-index: 2;
  pointer-events: none;
}

.project-title {
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--uw-text-dark);
  padding: 20px 0px;
  line-height: 1.4;
  transition: color var(--t-fast);
}

.project-card:hover .project-title { color: var(--uw-green); }

/* ═══════════════════════════════════════════
   PROJECT MODAL
═══════════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
  animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-content {
  background: var(--uw-white);
  border-radius: 12px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideUp 0.3s ease;
  position: relative;
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), transform var(--t-fast);
  z-index: 10;
}

.modal-close:hover { background: rgba(0, 0, 0, 0.85); transform: rotate(90deg); }

.modal-image {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.modal-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.modal-image .emoji { position: relative; z-index: 1; }

.modal-body { padding: 32px; }

.modal-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--uw-text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.modal-client {
  font-size: 15px;
  color: var(--uw-text-mid);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-section { margin-bottom: 28px; }

.modal-section-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--uw-text-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-description { font-size: 14.5px; line-height: 1.75; color: #3a3a38; }

.modal-role-list { list-style: none; padding: 0; }

.modal-role-list li {
  font-size: 14px;
  line-height: 1.65;
  color: var(--uw-text-mid);
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.modal-role-list li::before {
  content: '▸';
  position: absolute;
  left: 4px;
  color: var(--uw-green);
  font-weight: 700;
}

.modal-tech { display: flex; flex-wrap: wrap; gap: 8px; }

.modal-tech-tag {
  background: var(--uw-green-light);
  color: var(--uw-green-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 16px;
  border: 1px solid rgba(20, 168, 0, 0.18);
}

.modal-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  padding: 20px;
  background: var(--uw-bg);
  border-radius: 8px;
}

.modal-meta-label {
  font-size: 11.5px;
  color: var(--uw-text-mid);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.modal-meta-value { font-size: 15px; font-weight: 600; color: var(--uw-text-dark); }

.modal-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--uw-green);
  color: #fff;
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.modal-link:hover {
  background: var(--uw-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 168, 0, 0.3);
}

.modal-link svg { width: 16px; height: 16px; }

/* ═══════════════════════════════════════════
   UPWORK TESTIMONIALS
═══════════════════════════════════════════ */
.upwork-section { background: var(--uw-bg); border-bottom: 1px solid #dde8dd; }
.upwork-section .heading-divider { background: var(--uw-text-dark); }
.upwork-section .heading-text h2 { color: var(--uw-text-dark); }
.upwork-section .heading-text p  { color: var(--uw-text-mid); }
.upwork-section .slide-counter   { color: var(--uw-text-mid); }
.upwork-section .nav-btn { background: var(--uw-white); border: 1.5px solid var(--uw-border); color: var(--uw-text-dark); }
.upwork-section .nav-btn:hover:not(:disabled) { background: var(--uw-green); border-color: var(--uw-green); color: #fff; }
.upwork-section .dot { background: var(--uw-border); }
.upwork-section .dot.active { background: var(--uw-green); }

.uw-card {
  background: var(--uw-white);
  border: 1px solid var(--uw-border);
  border-radius: 8px;
  padding: 26px 26px 20px;
  box-shadow: 0 1px 4px rgba(29,29,27,.07), 0 4px 16px rgba(29,29,27,.05);
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.uw-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.uw-user { display: flex; align-items: center; gap: 12px; }

.uw-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.uw-avatar .initials { position: relative; z-index: 1; }

.online-dot {
  position: absolute;
  bottom: 1px; right: 1px;
  width: 12px; height: 12px;
  background: var(--uw-green);
  border-radius: 50%;
  border: 2px solid var(--uw-white);
  z-index: 2;
}

.uw-name { font-size: 15px; font-weight: 600; color: var(--uw-text-dark); }

.uw-loc {
  font-size: 12px;
  color: var(--uw-text-mid);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.uw-rating-block { text-align: right; flex-shrink: 0; }
.uw-rating-num { font-size: 22px; font-weight: 700; color: var(--uw-text-dark); line-height: 1; }

.uw-star { font-size: 15px; }
.uw-rating-label { font-size: 11px; color: var(--uw-text-mid); }
/* SVG stars */
.uw-stars {
  display: flex;
  align-items: center;
}

.uw-star-svg {
  width: 22px;
  height: 26px;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(20,168,0,0.2));
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.uw-card:hover .uw-star-svg {
  transform: scale(1.12);
}
.uw-review {
  font-size: 14px;
  color: #3a3a38;
  line-height: 1.72;
  flex: 1;
  border-left: 3px solid var(--uw-green-light);
  padding-left: 14px;
  margin-bottom: 20px;
}

.uw-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--uw-border);
  flex-wrap: wrap;
  gap: 8px;
}

.uw-project-name { font-size: 13px; font-weight: 600; color: var(--uw-text-dark); }
.uw-project-sub  { font-size: 11.5px; color: var(--uw-text-mid); margin-top: 1px; }

.uw-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--uw-green-light);
  color: var(--uw-green-dark);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(20, 168, 0, 0.22);
  white-space: nowrap;
}

.uw-badge::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--uw-green);
  border-radius: 50%;
  display: inline-block;
}

/* ═══════════════════════════════════════════
   LINKEDIN RECOMMENDATIONS
═══════════════════════════════════════════ */
.linkedin-section { background: var(--li-bg); }
.linkedin-section .heading-divider { background: var(--li-text-dark); }
.linkedin-section .heading-text h2 { color: var(--li-text-dark); }
.linkedin-section .heading-text p  { color: var(--li-text-mid); }
.linkedin-section .slide-counter   { color: var(--li-text-mid); }
.linkedin-section .nav-btn { background: var(--li-white); border: 1px solid var(--li-border); color: var(--li-text-dark); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.linkedin-section .nav-btn:hover:not(:disabled) { background: var(--li-blue); border-color: var(--li-blue); color: #fff; }
.linkedin-section .dot { background: var(--li-border); }
.linkedin-section .dot.active { background: var(--li-blue); }

.li-card {
  background: var(--li-white);
  border: 1px solid var(--li-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 0 1px rgba(0,0,0,.07), 0 4px 12px rgba(0,0,0,.06);
  min-height: 300px;
}

.li-card-body   { padding: 20px 22px 0; flex: 1; display: flex; flex-direction: column; }
.li-card-footer { padding: 14px 22px; border-top: 1px solid var(--li-border); }

.li-header { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }

.li-avatar-wrap { position: relative; flex-shrink: 0; }

.li-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  border: 2px solid var(--li-white);
  box-shadow: 0 0 0 1.5px var(--li-border);
  overflow: hidden;
  position: relative;
}

.li-avatar .initials { position: relative; z-index: 1; }

.li-conn-badge {
  position: absolute;
  bottom: -2px; right: -2px;
  background: var(--li-blue);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid var(--li-white);
  z-index: 2;
}

.li-info { flex: 1; min-width: 0; }
.li-name { font-size: 15px; font-weight: 600; color: var(--li-text-dark); cursor: pointer; }
.li-name:hover { color: var(--li-blue); text-decoration: underline; }
.li-title    { font-size: 13px; color: var(--li-text-mid); line-height: 1.4; margin-top: 2px; }
.li-relation { font-size: 11.5px; color: var(--li-text-mid); font-style: italic; margin-top: 5px; }

.li-mutual-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #dce9f9;
  color: var(--li-blue);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 3px;
  margin-top: 6px;
}

.li-review {
  font-size: 14px;
  color: #3d3d3d;
  line-height: 1.72;
  flex: 1;
  margin-bottom: 16px;
}

.li-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.li-date { font-size: 12px; color: var(--li-text-light); }

.li-like-btn {
  display: none;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--li-border);
  border-radius: 16px;
  padding: 5px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--li-text-mid);
  cursor: pointer;
  transition: all var(--t-fast);
  font-family: inherit;
}

.li-like-btn:hover { background: #f0f0f0; color: var(--li-text-dark); border-color: #bbb; }
.li-like-btn.liked { color: var(--li-blue); border-color: var(--li-blue); background: #dce9f9; }
.li-like-btn svg   { width: 14px; height: 14px; pointer-events: none; }

/* ═══════════════════════════════════════════
   METRICS / RESULTS BAR
═══════════════════════════════════════════ */
.metrics-section {
  background: var(--li-text-dark);
  border-bottom: 1px solid #111;
  padding: 52px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.metric-item {
  text-align: center;
  padding: 28px 24px;
  position: relative;
  transition: background var(--t-fast);
}

.metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}

.metric-item:hover { background: rgba(255,255,255,0.04); }

.metric-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #fff;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.metric-item:hover .metric-icon {
  background: rgba(20,168,0,0.2);
  border-color: rgba(20,168,0,0.4);
}

.metric-icon svg { width: 20px; height: 20px; }

.metric-number {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.metric-number .metric-suffix {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--uw-green);
}

.metric-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.2px;
  margin-top: 4px;
}

.metric-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.28);
  margin-top: 3px;
  font-weight: 400;
}

/* count-up animation trigger */
.metric-number[data-counted="false"] { opacity: 0; transform: translateY(6px); }
.metric-number.counted-in {
  opacity: 1; transform: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ═══════════════════════════════════════════
   SERVICES / WHAT I DO
═══════════════════════════════════════════ */
.services-section { background: var(--uw-bg); border-bottom: 1px solid #dde8dd; }
.services-section .heading-divider { background: var(--uw-text-dark); }
.services-section .heading-text h2 { color: var(--uw-text-dark); }
.services-section .heading-text p  { color: var(--uw-text-mid); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--uw-white);
  border: 1px solid var(--uw-border);
  border-radius: 8px;
  padding: 28px 26px 24px;
  box-shadow: 0 1px 4px rgba(29,29,27,.06), 0 4px 12px rgba(29,29,27,.04);
  transition: box-shadow var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--uw-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med);
}

.service-card:hover {
  box-shadow: 0 4px 16px rgba(29,29,27,.1), 0 12px 32px rgba(29,29,27,.07);
  transform: translateY(-3px);
  border-color: rgba(20,168,0,0.25);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 24px;
  flex-shrink: 0;
  border: 1px solid transparent;
  transition: transform var(--t-fast);
}

.service-card:hover .service-icon-wrap { transform: scale(1.08); }

.service-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--uw-text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-desc {
  font-size: 13.5px;
  color: var(--uw-text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 22px;
}

.service-features li {
  font-size: 12.5px;
  color: var(--uw-text-mid);
  padding: 5px 0 5px 18px;
  position: relative;
  border-bottom: 1px solid var(--uw-border);
  line-height: 1.5;
}

.service-features li:last-child { border-bottom: none; }

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--uw-green);
  font-weight: 700;
  font-size: 11px;
  top: 6px;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.service-tag.popular {
  background: var(--uw-green-light);
  color: var(--uw-green-dark);
  border: 1px solid rgba(20,168,0,0.2);
}

.service-tag.popular::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--uw-green);
  border-radius: 50%;
  display: inline-block;
}

.service-tag.available {
  background: #dce9f9;
  color: var(--li-blue);
  border: 1px solid rgba(10,102,194,0.2);
}

.service-tag.custom {
  background: #f3f0fa;
  color: #6b3fa0;
  border: 1px solid rgba(107,63,160,0.2);
}

/* ═══════════════════════════════════════════
   PROCESS / HOW I WORK
═══════════════════════════════════════════ */
.process-section { background: var(--li-bg); border-bottom: 1px solid var(--li-border); }
.process-section .heading-divider { background: var(--li-text-dark); }
.process-section .heading-text h2 { color: var(--li-text-dark); }
.process-section .heading-text p  { color: var(--li-text-mid); }

.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 40px;
}

/* connecting line behind steps */
.process-track::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(10% + 18px);
  right: calc(10% + 18px);
  height: 2px;
  background: var(--li-border);
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
  cursor: default;
}

.step-bubble {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--li-white);
  border: 2px solid var(--li-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  transition: border-color var(--t-med), box-shadow var(--t-med), background var(--t-med);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.step-bubble svg { width: 26px; height: 26px; color: var(--li-text-mid); transition: color var(--t-med); }

.process-step:hover .step-bubble {
  border-color: var(--li-blue);
  background: var(--li-blue);
  box-shadow: 0 4px 16px rgba(10,102,194,0.3);
}

.process-step:hover .step-bubble svg { color: #fff; }

.step-number {
  position: absolute;
  top: -6px; right: -6px;
  width: 20px; height: 20px;
  background: var(--li-blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--li-white);
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

.step-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--li-text-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.step-desc {
  font-size: 12px;
  color: var(--li-text-mid);
  line-height: 1.55;
}

/* detail cards below */
.process-details {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.process-detail-card {
  background: var(--li-white);
  border: 1px solid var(--li-border);
  border-radius: 8px;
  padding: 20px 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  transition: box-shadow var(--t-fast);
}

.process-detail-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.09); }

.pdc-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--li-blue);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.pdc-items {
  list-style: none;
  padding: 0;
}

.pdc-items li {
  font-size: 12px;
  color: var(--li-text-mid);
  padding: 3px 0 3px 14px;
  position: relative;
  line-height: 1.5;
}

.pdc-items li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--li-blue);
  font-weight: 700;
  font-size: 14px;
  top: 1px;
}

.pdc-duration {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--li-border);
  font-size: 11px;
  color: var(--li-text-light);
  display: flex;
  align-items: center;
  gap: 5px;
}

.pdc-duration svg { width: 11px; height: 11px; flex-shrink: 0; }

/* ═══════════════════════════════════════════
   CONTACT / CTA SECTION
═══════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════ */
.contact-section {
  background: var(--li-text-dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Ambient background glows */
.contact-section::before,
.contact-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.contact-section::before {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(10,102,194,0.1) 0%, transparent 65%);
  top: -300px; left: -200px;
}

.contact-section::after {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(20,168,0,0.07) 0%, transparent 65%);
  bottom: -150px; right: -100px;
}

/* centered content column */
.contact-wrap {
  /* max-width: 660px; */
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* eyebrow pill */
.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--uw-green);
  background: rgba(20,168,0,0.1);
  border: 1px solid rgba(20,168,0,0.2);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.contact-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--uw-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

/* title */
.contact-title {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin-bottom: 18px;
}

/* description */
.contact-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  margin-bottom: 56px;
}

/* ── 3-column card grid ── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px 30px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition:
    transform    0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    background   0.25s ease,
    box-shadow   0.25s ease;
}

/* top accent line — draws in on hover */
.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 18px 18px 0 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-card:hover { transform: translateY(-8px); }
.contact-card:hover::before { transform: scaleX(1); }

/* icon tile */
.contact-card__icon {
  width: 68px; height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
  transition:
    transform  0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease;
}

.contact-card:hover .contact-card__icon { transform: scale(1.1); }

/* platform name */
.contact-card__platform {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.2px;
  margin-bottom: 6px;
}

/* sub label */
.contact-card__label {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  font-weight: 400;
  margin-bottom: 28px;
  flex: 1;
}

/* arrow chip */
.contact-card__arrow {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  transition:
    background    0.2s ease,
    color         0.2s ease,
    border-color  0.2s ease,
    transform     0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-card__arrow svg { width: 14px; height: 14px; }

.contact-card:hover .contact-card__arrow {
  color: #fff;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  transform: rotate(-45deg) scale(1.1);
}

/* ── Upwork ── */
.contact-card--upwork .contact-card__icon {
  background: #14a800;
  padding: 0 12px;
}
.contact-card--upwork .contact-card__icon svg {
  width: 80px; height: 22px;
  color: #fff;
}
.contact-card--upwork::before  { background: #14a800; }
.contact-card--upwork:hover {
  background: rgba(20,168,0,0.07);
  border-color: rgba(20,168,0,0.22);
  box-shadow: 0 24px 56px rgba(20,168,0,0.14);
}
.contact-card--upwork:hover .contact-card__icon {
  box-shadow: 0 10px 28px rgba(20,168,0,0.4);
}

/* ── LinkedIn ── */
.contact-card--linkedin .contact-card__icon {
  background: #0a66c2;
}
.contact-card--linkedin .contact-card__icon svg {
  width: 32px; height: 32px;
  color: #fff;
}
.contact-card--linkedin::before { background: #0a66c2; }
.contact-card--linkedin:hover {
  background: rgba(10,102,194,0.07);
  border-color: rgba(10,102,194,0.22);
  box-shadow: 0 24px 56px rgba(10,102,194,0.14);
}
.contact-card--linkedin:hover .contact-card__icon {
  box-shadow: 0 10px 28px rgba(10,102,194,0.4);
}

/* ── Gmail ── */
.contact-card--gmail .contact-card__icon {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.contact-card--gmail .contact-card__icon svg {
  width: 36px; height: 36px;
}
.contact-card--gmail::before {
  background: linear-gradient(90deg, #EA4335 0%, #FBBC05 33%, #34A853 66%, #4285F4 100%);
}
.contact-card--gmail:hover {
  background: rgba(234,67,53,0.06);
  border-color: rgba(234,67,53,0.18);
  box-shadow: 0 24px 56px rgba(234,67,53,0.1);
}
.contact-card--gmail:hover .contact-card__icon {
  box-shadow: 0 10px 28px rgba(66,133,244,0.25);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .contact-section  { padding: 72px 0; }
  .contact-title    { font-size: 30px; letter-spacing: -0.6px; }
  .contact-desc     { font-size: 14px; margin-bottom: 40px; }
  .contact-cards    { gap: 10px; }
  .contact-card     { padding: 28px 14px 22px; border-radius: 14px; }
  .contact-card__icon { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 16px; }
  .contact-card--upwork .contact-card__icon svg { width: 62px; height: 17px; }
  .contact-card--linkedin .contact-card__icon svg { width: 26px; height: 26px; }
  .contact-card--gmail .contact-card__icon svg { width: 28px; height: 28px; }
  .contact-card__platform { font-size: 14px; }
  .contact-card__label    { font-size: 11.5px; margin-bottom: 18px; }
  .contact-card__arrow    { width: 28px; height: 28px; }
  .contact-card__arrow svg { width: 12px; height: 12px; }
}

@media (max-width: 400px) {
  .contact-title { font-size: 24px; }
  .contact-card__label { display: none; }
  .contact-card { padding: 22px 10px 18px; }
}

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.uw-card,
.li-card,
.project-card,
.timeline-item {
  animation: fadeUp 0.35s ease both;
}
/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */

@media (max-width: 1060px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid .metric-item:nth-child(2)::after { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track  { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .process-details { grid-template-columns: repeat(3, 1fr); }
  .process-track::before { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-heading { font-size: 30px; }
}

@media (max-width: 968px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-profile { display: flex; flex-direction: column; align-items: center; }
  .about-avatar  { width: 160px; height: 160px; font-size: 56px; }

  .timeline { padding-left: 32px; }
  .timeline::before { left: 11px; }
  .timeline-item::before { left: -21px; }
  .exp-logo { width: 48px; height: 48px; font-size: 18px; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
  }
  .nav-menu.active { display: flex; }
  .nav-link { width: 100%; text-align: left; padding: 12px 16px; }
  .mobile-menu-btn { display: block; }
}

@media (max-width: 768px) {
  /* Layout */
  .platform-section { padding: 40px 0; }
  .section-inner { padding: 0 16px; }
  .heading-text h2 { font-size: 20px; }
  .section-heading { margin-bottom: 24px; gap: 8px; flex-wrap: wrap; }

  /* About */
  .about-content { padding: 20px 16px; }
  .cta-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }

  /* Metrics */
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-section { padding: 36px 0; }
  .metric-number { font-size: 32px; }
  .metric-number .metric-suffix { font-size: 22px; }
  .metric-item { padding: 20px 12px; }

  /* Services — 1 col on mobile */
  .services-grid { grid-template-columns: 1fr; }

  /* Process — 2 col on tablet */
  .process-track  { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .process-details { grid-template-columns: repeat(2, 1fr); }

  /* Projects — 1 card per slide on mobile (handled by JS rebuild) */
  #projects .slide-2col {
    grid-template-columns: 1fr;
  }
  .project-image { height: 180px; }

  /* Upwork cards — keep top row horizontal, don't collapse */
  .uw-card { padding: 18px 16px 16px; min-height: auto; }
  .uw-top {
    flex-direction: row;       /* KEEP horizontal */
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
  .uw-user { flex: 1; min-width: 0; }
  .uw-rating-block {
    text-align: right;
    flex-shrink: 0;
  }
  .uw-stars { justify-content: flex-end; }
  .uw-rating-num { font-size: 18px; }
  .uw-review { font-size: 13px; padding-left: 10px; margin-bottom: 14px; }
  .uw-footer { gap: 6px; }

  /* LinkedIn cards */
  .li-card { min-height: auto; }
  .li-card-body { padding: 16px 16px 0; }
  .li-card-footer { padding: 12px 16px; }
  .li-review { font-size: 13px; }
  .li-avatar { width: 48px; height: 48px; font-size: 16px; }

  /* Slider grid — 1 col for uw + li */
  .slide-2col { grid-template-columns: 1fr; }

  /* Section heading — wrap top-rated badge below on very small */
  .top-rated { margin-left: 0; }
  .slide-counter { margin-left: auto; }

  /* Contact */
  .form-row { grid-template-columns: 1fr; }
  .contact-channels { gap: 8px; }
  .contact-heading { font-size: 26px; }
  .contact-form-card { padding: 24px 18px; }
  .contact-section { padding: 56px 0; }

  /* Modal */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-content {
    border-radius: 16px 16px 0 0;
    max-height: 92vh;
  }
  .modal-image { height: 200px; }
  .modal-body { padding: 20px 18px 24px; }
  .modal-title { font-size: 20px; }
  .modal-close { top: 12px; right: 12px; width: 32px; height: 32px; font-size: 16px; }
}

@media (max-width: 480px) {
  /* Section headings — hide decorative elements */
  .heading-divider { display: none; }
  .slide-counter { font-size: 11px; }

  /* About stats */
  .about-stats { gap: 8px; }
  .stat-number { font-size: 20px; }

  /* Metrics — 2 col still fine */
  .metrics-grid { grid-template-columns: 1fr 1fr; }

  /* Process — 1 col */
  .process-track  { grid-template-columns: 1fr; }
  .process-details { grid-template-columns: 1fr; }

  /* Upwork — name may be long, allow wrap */
  .uw-name { font-size: 14px; }
  .uw-loc  { font-size: 11px; }

  /* LinkedIn */
  .li-name { font-size: 14px; }
  .li-title { font-size: 12px; }

  /* Section heading with logos — prevent overflow */
  .section-heading { gap: 6px; }
  .upwork-logo { height: 18px; }
  .top-rated { padding: 4px 8px 4px 4px; }
  .tp-text { font-size: 12px; }
  .tp-badge svg { width: 22px; height: 22px; }
}

@media (min-width: 991px) {
  #projectModal .modal-image{
    height: 375px;
  }
}

.modal-meta,.modal-section-title{
  display: none;
}

/* Top Rated badge — sits inline after the section heading */
.top-rated {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  background: #e8f0fe;
  border: 1px solid #c5d5f5;
  border-radius: 20px;
  padding: 5px 12px 5px 6px;
}

.tp-badge {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tp-badge svg {
  width: 30px;
  height: 30px;
}

.tp-text {
  font-size: 15px;
  font-weight: 700;
  color: black;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
/* Upwork wordmark logo */
.upwork-logo {
  height: 22px;
  width: auto;
  flex-shrink: 0;
}

.upwork-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.uw-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8f0fe;
  color: #1F57C3;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px 4px 6px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(31,87,195,0.2);
  white-space: nowrap;
}

/* remove the old green dot pseudo-element */
.uw-badge::before { display: none; }

.services-section .nav-btn { background: var(--uw-white); border: 1.5px solid var(--uw-border); color: var(--uw-text-dark); }
.services-section .nav-btn:hover:not(:disabled) { background: var(--uw-green); border-color: var(--uw-green); color: #fff; }
.services-section .dot { background: var(--uw-border); }
.services-section .dot.active { background: var(--uw-green); }
.services-section .slide-counter { color: var(--uw-text-mid); }

/* hide nav on desktop — grid already shows all 6 */
@media (min-width: 769px) {
  .services-section .slider-nav { display: none; }
  .services-section #svc-counter { display: none; }
}

.services-section .slide-2col {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1060px) {
  .services-section .slide-2col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-section .slide-2col {
    grid-template-columns: 1fr;
  }
}
