:root {
  --bg-main: #f6f7f9;
  --bg-section: #ffffff;
  --accent-dark: #111111;
}
body {
  background-color: var(--bg-main);
  color: var(--accent-dark);
  scroll-behavior: smooth;
}
section {
  background-color: var(--bg-section);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0));
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.06);
  font-size: 1.2rem;
}

/* Portfolio Lightbox */
.portfolio-img {
  cursor: pointer;
  transition: transform 0.25s ease;
}
.portfolio-img:hover {
  transform: scale(1.03);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  padding: 24px;
}
.lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox img {
  transform: scale(0.95);
  opacity: 0;
  transition: all 0.25s ease;
}

.lightbox.show img {
  transform: scale(1);
  opacity: 1;
}
/* FORCE lightbox image visible (override any earlier animation CSS) */
.lightbox img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
