/* ========== Font Face Inter Lokal ========== */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/inter-v19-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/inter-v19-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ========== Variable & Reset ========== */
:root {
  --clr-primary: #1e40af;
  --clr-secondary: #fbbf24;
  --clr-dark: #0f172a;
  --clr-light: #f8fafc;
  --radius: 1rem;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--clr-dark);
  background-color: var(--clr-light);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ========== Header/Navbar ========== */
header {
  background: var(--clr-light);
  position: sticky; top: 0; z-index: 999;
  box-shadow: 0 2px 4px rgb(0 0 0 / .05);
}
.brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--clr-primary);
}
.container {
  width: min(90%, 1200px);
  margin-inline: auto;
}
.flex { display: flex; align-items: center; }
.justify-between { justify-content: space-between; }
.nav-links a {
  margin-left: 2rem;
  font-weight: 600;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--clr-primary); }

/* ========== Button ========== */
.btn {
  display: inline-block;
  background: var(--clr-primary);
  color: #fff;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background .25s ease;
  font-size: 1.25rem;
}
.btn:hover { background: #172554; }

/* ========== Hero ========== */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../images/hero.jpeg') center/cover no-repeat;
  color: #fff;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.6);
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(2rem,5vw,3.5rem);
  font-weight: 700;
}
.hero p {
  margin-block: 1rem 2rem;
  font-size: 1.125rem;
}

/* ========== Sections ========== */
section { padding-block: 5rem; }
h2.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--clr-primary);
}

/* ========== About ========== */
.about-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.about-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgb(0 0 0 / .05);
}
.about-card i {
  font-size: 2rem;
  color: var(--clr-secondary);
  margin-bottom: 1rem;
}

/* ========== Services ========== */
.services-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgb(0 0 0 / .05);
}
.service-card h3 {
  margin-bottom: .5rem;
  font-size: 1.25rem;
  color: var(--clr-primary);
}

/* ========== Workflow ========== */
.steps {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  counter-reset: step;
}
.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  box-shadow: 0 4px 12px rgb(0 0 0 / .05);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -1rem;
  left: -1rem;
  background: var(--clr-primary);
  color: #fff;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}

/* ========== Testimonials ========== */
.testimonials {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.testimonial {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgb(0 0 0 / .05);
}
.testimonial h4 {
  margin-bottom: .25rem;
  color: var(--clr-primary);
}

/* ========== Contact CTA ========== */
.contact-center {
  text-align: center;
}
#contact .btn {
  margin-top: 2rem;
}

/* ========== Footer ========== */
footer {
  background: var(--clr-dark);
  color: #fff;
  padding-block: 2rem;
  text-align: center;
}
footer a { color: var(--clr-secondary); }

/* ========== Responsive ========== */
@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .container { width: 96%; }
  section { padding-block: 2.5rem; }
}

/* ——— helper for CSP-safe toggle ——— */
.u-hide   { display:none !important; }
.u-flex   { display:flex !important; }
.u-block  { display:block !important; }
