/* ============================================
   KALEB IAM PORTFOLIO — CLEAN & PROFESSIONAL
   ============================================ */

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

:root {
  --blue-900: #0a1628;
  --blue-800: #102040;
  --blue-700: #1a3260;
  --blue-600: #1e4080;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --blue-200: #bfdbfe;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-light: #60a5fa;
  --success: #10b981;
  --warning: #f59e0b;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .10), 0 2px 6px rgba(0, 0, 0, .07);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, .12), 0 4px 12px rgba(0, 0, 0, .08);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, .14), 0 8px 20px rgba(0, 0, 0, .08);
  --shadow-blue: 0 8px 32px rgba(37, 99, 235, .20);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --nav-h: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

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

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: .6;
  }

  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes badge-float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-6px) scale(1.03);
  }
}

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

  100% {
    background-position: 400px 0;
  }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.animate-fade-left {
  opacity: 0;
  animation: fadeLeft 0.7s ease forwards;
}

.delay-1 {
  animation-delay: .15s;
}

.delay-2 {
  animation-delay: .3s;
}

.delay-3 {
  animation-delay: .45s;
}

.delay-4 {
  animation-delay: .6s;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .9375rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37, 99, 235, .30);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: .875rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---- SECTION HEADERS ---- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-50);
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--blue-200);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--slate-500);
  font-size: 1.0625rem;
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-desc {
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-400) 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, .96);
  border-color: var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--slate-900);
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue);
}

.logo-dot {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  background: var(--blue-50);
  color: var(--accent);
}

.nav-cta {
  margin-left: 8px;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--nav-h) 0 0;
  background: linear-gradient(165deg, var(--white) 0%, var(--blue-50) 60%, #e0edff 100%);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('hero-bg.png');
  background-size: cover;
  background-position: center;
  opacity: .06;
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--blue-300);
  border-radius: 50%;
  opacity: .4;
  animation: float linear infinite;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 80px;
  min-height: calc(100vh - var(--nav-h));
  padding-top: 40px;
  padding-bottom: 80px;
}

.hero-content {
  max-width: 640px;
  padding-left: clamp(16px, 5vw, 64px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-ring 1.8s ease-out infinite;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .5);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-subtitle strong {
  color: var(--slate-800);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--slate-900);
}

.stat-plus {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: .8125rem;
  color: var(--slate-500);
  font-weight: 500;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--slate-200);
  flex-shrink: 0;
}

/* Avatar */
.hero-visual {
  position: relative;
}

.avatar-wrapper {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--blue-200);
  animation: spin-slow linear infinite;
}

.ring-1 {
  width: 340px;
  height: 340px;
  animation-duration: 30s;
  border-style: dashed;
}

.ring-2 {
  width: 290px;
  height: 290px;
  animation-duration: 20s;
  animation-direction: reverse;
  opacity: .6;
}

.ring-3 {
  width: 240px;
  height: 240px;
  animation-duration: 40s;
  opacity: .35;
}

.avatar-img-container {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, var(--blue-100), var(--blue-200));
  z-index: 2;
}

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

.avatar-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--slate-700);
  box-shadow: var(--shadow-md);
  z-index: 3;
  animation: badge-float 3s ease-in-out infinite;
}

.avatar-badge.top-right {
  top: 30px;
  right: -10px;
  color: var(--success);
  animation-delay: 0s;
}

.avatar-badge.bottom-left {
  bottom: 50px;
  left: -10px;
  color: var(--warning);
  animation-delay: 1.5s;
}

.avatar-badge svg {
  flex-shrink: 0;
}

.floating-tech {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--slate-700);
  box-shadow: var(--shadow-md);
  z-index: 3;
  white-space: nowrap;
}

#ft1 {
  top: 60px;
  left: -30px;
  animation: float 4s ease-in-out infinite;
}

#ft2 {
  bottom: 110px;
  right: -30px;
  animation: float 4s ease-in-out infinite 1s;
}

#ft3 {
  bottom: -15px;
  left: 160px;
  animation: float 4s ease-in-out infinite 2s;
}

.floating-tech img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.ft-icon {
  font-size: 1.125rem;
}

.scroll-down {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-500);
  box-shadow: var(--shadow-sm);
  animation: float 2s ease-in-out infinite;
  transition: all var(--transition);
}

.scroll-down:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* ================================================================
   ABOUT
   ================================================================ */
.about-section {
  background: var(--white);
}

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

.about-text {
  color: var(--slate-600);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-text strong {
  color: var(--slate-800);
  font-weight: 600;
}

.about-text:last-of-type {
  margin-bottom: 32px;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--slate-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  transition: all var(--transition);
}

.highlight-item:hover {
  background: var(--blue-50);
  border-color: var(--blue-200);
  transform: translateX(4px);
}

.highlight-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-item h4 {
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 2px;
  font-size: .9375rem;
}

.highlight-item p {
  color: var(--slate-500);
  font-size: .875rem;
}

/* Profile Card */
.profile-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.profile-card-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--blue-200);
  background: linear-gradient(135deg, var(--blue-100), var(--blue-200));
}

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

.profile-card-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.profile-card-title {
  color: var(--slate-500);
  font-size: .875rem;
  margin-bottom: 12px;
}

.profile-card-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.stars {
  color: var(--warning);
  font-size: 1rem;
}

.profile-card-rating span {
  font-size: .875rem;
  color: var(--slate-600);
  font-weight: 500;
}

.profile-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}

.profile-card-stats>div {
  background: var(--slate-50);
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pc-stat-num {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
}

.pc-stat-label {
  font-size: .75rem;
  color: var(--slate-500);
  font-weight: 500;
}

.profile-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 20px;
}

.tag {
  background: var(--blue-50);
  color: var(--accent);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: .8125rem;
  font-weight: 500;
}

/* ================================================================
   EXPERTISE
   ================================================================ */
.expertise-section {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.expertise-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}

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

.expertise-card.featured {
  border-color: var(--blue-300);
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--white) 100%);
  grid-column: span 1;
}

.expertise-card.featured::before {
  opacity: 1;
}

.expertise-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}

.expertise-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.expertise-card p {
  color: var(--slate-500);
  font-size: .9rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.skill-bar {
  height: 6px;
  background: var(--slate-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 6px;
}

.skill-fill {
  height: 100%;
  width: 0;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-pct {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--accent);
}

/* Tech Stack */
.tech-stack {
  text-align: center;
}

.tech-stack-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 20px;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tech-pill {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: .875rem;
  font-weight: 500;
  background: var(--white);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  transition: all var(--transition);
  cursor: default;
}

.tech-pill:hover,
.tech-pill.primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

/* ================================================================
   SERVICES
   ================================================================ */
.services-section {
  background: var(--white);
}

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

.service-card {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.service-card:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue-100);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
  padding-right: 40px;
}

.service-card p {
  color: var(--slate-500);
  font-size: .9rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--slate-600);
  font-weight: 500;
}

.service-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ================================================================
   PROJECTS
   ================================================================ */
.projects-section {
  background: var(--slate-900);
  color: var(--white);
}

.projects-section .section-tag {
  background: rgba(37, 99, 235, .15);
  border-color: rgba(96, 165, 250, .3);
  color: var(--blue-300);
}

.projects-section .section-title {
  color: var(--white);
}

.projects-section .section-desc {
  color: var(--slate-400);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}

.project-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle at 0 0, rgba(96, 165, 250, .25), transparent 60%);
}

.project-card:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(96, 165, 250, .3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
}

.project-card.large {
  grid-column: span 2;
}

.project-tag {
  display: inline-block;
  background: rgba(37, 99, 235, .25);
  color: var(--blue-300);
  border: 1px solid rgba(96, 165, 250, .25);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.35;
}

.project-desc {
  color: var(--slate-400);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.project-tech span {
  background: rgba(255, 255, 255, .07);
  color: var(--slate-300);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: .8125rem;
  font-weight: 500;
}

.project-metrics {
  display: flex;
  gap: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-num {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--blue-300);
}

.metric span:last-child {
  font-size: .8125rem;
  color: var(--slate-500);
  font-weight: 500;
}

/* ================================================================
   CERTIFICATIONS & TESTIMONIALS
   ================================================================ */
.certs-section {
  background: var(--slate-50);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}

.cert-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition);
}

.cert-card:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.cert-logo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9375rem;
  flex-shrink: 0;
}

.cert-logo.aws {
  background: #FF9900;
  color: white;
}

.cert-logo.java {
  background: #E76F00;
  color: white;
  font-size: 1.5rem;
}

.cert-logo.security {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  color: white;
  font-size: 1.375rem;
}

.cert-logo.upwork {
  background: #14A800;
  color: white;
}

.cert-info h4 {
  font-weight: 700;
  font-size: .9375rem;
  color: var(--slate-800);
  margin-bottom: 2px;
  line-height: 1.3;
}

.cert-info p {
  font-size: .8125rem;
  color: var(--slate-500);
  margin-bottom: 6px;
}

.cert-badge {
  display: inline-block;
  background: var(--success);
  color: white;
  font-size: .75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.cert-badge.verified {
  background: #14A800;
}

/* Testimonials */
.testimonials-title {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--slate-900);
  text-align: center;
  margin-bottom: 32px;
}

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

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testimonial-stars {
  color: var(--warning);
  font-size: 1.125rem;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: .9375rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .875rem;
}

.testimonial-author strong {
  display: block;
  font-size: .9375rem;
  color: var(--slate-800);
}

.testimonial-author span {
  font-size: .8125rem;
  color: var(--slate-500);
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact-section {
  background: linear-gradient(165deg, var(--white) 0%, var(--blue-50) 100%);
  border-top: 1px solid var(--slate-200);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: start;
}

.contact-desc {
  color: var(--slate-600);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  color: var(--slate-700);
}

.contact-channel:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
  color: var(--slate-900);
}

.contact-channel>svg {
  margin-left: auto;
  color: var(--slate-400);
  flex-shrink: 0;
}

.contact-channel:hover>svg {
  color: var(--accent);
}

.contact-channel strong {
  display: block;
  font-size: .9375rem;
  margin-bottom: 2px;
}

.contact-channel span {
  font-size: .8125rem;
  color: var(--slate-500);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9375rem;
  flex-shrink: 0;
}

.upwork-icon {
  background: #14A800;
  color: white;
}

.email-icon {
  background: var(--accent);
  color: white;
}

.linkedin-icon {
  background: #0077B5;
  color: white;
  font-size: 1rem;
  font-style: italic;
}

/* Form */
.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: .9375rem;
  color: var(--slate-800);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
  resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--slate-400);
}

/* Form feedback */
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  color: var(--success);
}

.form-success.show {
  display: block;
}

.form-success svg {
  margin: 0 auto 12px;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-brand .logo-dot {
  color: var(--blue-400);
}

.footer-brand p {
  color: var(--slate-500);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.footer-socials a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--slate-400);
  transition: all var(--transition);
}

.footer-socials a:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.footer-links h4 {
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--slate-500);
  font-size: .9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--blue-300);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: .8125rem;
  color: var(--slate-600);
  flex-wrap: wrap;
}

/* ================================================================
   CAPABILITIES & GOOD FIT SECTION
   ================================================================ */
.capabilities-section {
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.capabilities-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 72px;
  align-items: start;
}

.capabilities-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.capabilities-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--slate-700);
  font-weight: 500;
  line-height: 1.5;
  padding: 14px 18px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.capabilities-list li:hover {
  background: var(--blue-50);
  border-color: var(--blue-200);
  color: var(--slate-900);
  transform: translateX(4px);
}

.capabilities-list li svg {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Good Fit Card */
.good-fit-card {
  background: linear-gradient(145deg, var(--slate-900) 0%, var(--blue-900) 100%);
  border-radius: var(--radius-xl);
  padding: 36px;
  color: var(--white);
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  box-shadow: var(--shadow-xl);
}

.good-fit-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.good-fit-icon {
  width: 44px;
  height: 44px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.good-fit-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.good-fit-intro {
  color: var(--slate-400);
  font-size: .9375rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.good-fit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.good-fit-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9375rem;
  color: var(--slate-300);
  line-height: 1.5;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.good-fit-list li:hover {
  background: rgba(37, 99, 235, .2);
  border-color: rgba(96, 165, 250, .3);
  color: var(--white);
}

.quote-mark {
  color: var(--blue-400);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  margin-top: -2px;
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .capabilities-inner {
    grid-template-columns: 1fr;
  }

  .good-fit-card {
    position: static;
  }
}

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

.reveal-delay-4 {
  transition-delay: .4s;
}

.reveal-delay-5 {
  transition-delay: .5s;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    position: static;
    max-width: 480px;
    margin: 0 auto;
  }

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

  .contact-form-wrapper {
    max-width: 560px;
  }

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

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

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

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

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

  .project-card.large {
    grid-column: span 1;
  }

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

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

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

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

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

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-divider {
    display: none;
  }
}