* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f97316;
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.card-hover {
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 40px;
  height: 40px;
  background: #2563eb;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.tech-card {
  background: #f9fafb;
  padding: 1.25rem;
  border-radius: 0.75rem;
  text-align: center;
  font-size: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.tech-card p {
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.gallery-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-item .placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.3s;
}

.gallery-item:hover .placeholder {
  transform: scale(1.05);
}

.gallery-item span {
  font-size: 0.75rem;
  font-weight: 500;
  color: #4b5563;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  padding: 1.5rem;
  transition: opacity 0.3s;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-box {
  width: min(900px, 100%);
  max-height: min(85vh, 100%);
  overflow: hidden;
}

#lightboxContent img {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 1rem;
}

.learning-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #f9fafb;
  padding: 1.25rem;
  border-radius: 0.75rem;
}

.learning-card svg {
  width: 20px;
  height: 20px;
  color: #22c55e;
  flex-shrink: 0;
  margin-top: 2px;
}

.learning-card p {
  font-size: 0.875rem;
  color: #374151;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  transition: background 0.3s;
  font-size: 0.875rem;
  font-weight: 500;
}

.contact-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.contact-btn svg {
  width: 16px;
  height: 16px;
}

.contact-email {
  background: #f97316;
}

.contact-email:hover {
  background: #ea580c;
}
