@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Space+Grotesk:wght@500;600;700&display=swap');

*, ::before, ::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  background-color: #fafaf9;
  color: #1c1917;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  overflow-x: hidden;
}

::selection {
  background-color: #1c1917;
  color: #ffffff;
}

small, span, p, a, label, input, select, textarea, button, li, th, td, div {
  font-size: max(14px, 1em);
}

.font-heading {
  font-family: 'Space Grotesk', sans-serif;
}

.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.text-min, .text-xs {
  font-size: 14px !important;
  line-height: 20px !important;
}

.text-sm {
  font-size: 15px !important;
  line-height: 22px !important;
}

.text-base {
  font-size: 16px !important;
  line-height: 24px !important;
}

.text-lg {
  font-size: 18px !important;
  line-height: 26px !important;
}

.text-xl {
  font-size: 20px !important;
  line-height: 28px !important;
}

.text-2xl {
  font-size: 24px !important;
  line-height: 32px !important;
}

.text-3xl {
  font-size: 30px !important;
  line-height: 38px !important;
}

.text-4xl {
  font-size: 36px !important;
  line-height: 44px !important;
}

.text-5xl {
  font-size: 48px !important;
  line-height: 56px !important;
}

.text-balance {
  text-wrap: balance;
}

.badge-delivery {
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.service-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
}

@media (max-width: 1100px) {
  .service-card-header {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    gap: 8px;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .max-w-6xl {
    max-width: 960px;
  }
  .header-nav-link {
    font-size: 14px !important;
    gap: 16px !important;
  }
}

.project-image-box {
  position: relative;
  width: 100%;
  background-color: #f5f5f4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
}

.project-image-box img {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e7e5e4;
  display: block;
}

#mobile-drawer {
  transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
}

#mobile-drawer.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

#mobile-backdrop {
  transition: opacity 0.25s ease-in-out;
}

#mobile-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #fafaf9;
}

::-webkit-scrollbar-thumb {
  background: #d6d3d1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a29e;
}
