/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ─── UTILITY CLASSES ─── */
.badge-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(194, 52, 77, 0.08);
  border: 1px solid rgba(194, 52, 77, 0.15);
  color: #c2344d;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #c2344d 0%, #9f2639 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(194, 52, 77, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(194, 52, 77, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* ─── INPUT FIELDS ─── */
.input-field {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #f0d0d9;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #1e2d3d;
  background: #fffaf8;
  transition: all 0.2s ease;
  outline: none;
}
.input-field::placeholder { color: #c4a8b0; }
.input-field:focus {
  border-color: #c2344d;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(194, 52, 77, 0.1);
}

/* ─── SERVICE CARDS ─── */
.service-card { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.service-card.visible { opacity: 1; transform: translateY(0); }

/* ─── TECH CARDS ─── */
.tech-card { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.tech-card.visible { opacity: 1; transform: translateY(0); }

/* ─── NAVBAR SCROLL ─── */
#navbar.scrolled {
  box-shadow: 0 2px 20px rgba(108, 28, 42, 0.08);
}

/* ─── MOBILE MENU ANIMATION ─── */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
#mobile-menu.open {
  max-height: 500px;
  padding: 0;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-animate { animation: fadeInUp 0.8s ease forwards; }
.hero-animate-delay { animation: fadeInUp 0.8s ease 0.2s forwards; opacity: 0; }
.hero-animate-delay-2 { animation: fadeInUp 0.8s ease 0.4s forwards; opacity: 0; }

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

/* ─── BACK TO TOP ─── */
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
