/* ===== BASE ===== */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  background: #f7f9fc;
  color: #0f172a;
}

a {
    color: #4c83fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.container.narrow {
  max-width: 800px;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.logo img {
  height: 60px;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  color: #475569;
  font-weight: 500;
  transition: 0.2s;
}

.nav a:hover {
  color: #2563eb;
}

.header-contact {
  font-size: 14px;
  color: #64748b;
}

/* ===== HERO ===== */
.hero {
  padding-top: 120px;
  padding-bottom: 100px;
  text-align: center;
  background: radial-gradient(circle at top, #e0f2fe, #f7f9fc);
}

.hero h1 {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 20px;
  color: #475569;
  margin-top: 20px;
}

/* ===== GRID ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ===== CARDS ===== */
.card {
  padding: 30px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  transition: 0.3s;
}

.card-no-hover {
  padding: 30px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  transition: 0.3s;
}

.card-no-hover h3 {
  margin-bottom: 10px;
}


.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.card h3 {
  margin-bottom: 10px;
}

/* ===== FEATURES ===== */
.features h2 {
  text-align: center;
  margin-bottom: 20px;
}

.feature {
  padding: 20px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  text-align: center;
  transition: 0.2s;
}

.feature img {
    filter: invert(1);
    width: 50px;
}

.feature:hover {
  border-color: #2563eb;
  color: #2563eb;
}

/* ===== ABOUT ===== */
.about {
  text-align: center;
}

.about p {
  color: #475569;
  line-height: 1.6;
}

/* ===== PROCESS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.step {
  text-align: center;
}

.step span {
  display: inline-block;
  font-size: 50px;
  font-weight: 600;
  color: #2563eb;
}

/* ===== CONTACT ===== */
.contact {
  text-align: center;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}

.contact p {
  color: #475569;
}


/* hide toggle on desktop */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #0f172a;
}

.hero {
    background: url(bg2.jpg);
    background-position: top;
    background-size: cover;
}

.hero-text {
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 16px 24px;
    border-radius: 12px;
}

.hero-text p {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 4px 12px rgba(0, 0, 0, 0.6);
}

.process .container h2 {
    text-align: center;
    margin-bottom: 40px;
}

.contact .container {
    padding: 40px 20px 20px 20px;
}

.hero-small {
  padding-top: 100px;
  padding-bottom: 60px;
}

.about-page p {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 20px;
}

.about-page {
  padding-top: 20px;
}

.component-page p {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 20px;
}

.component-page {
  padding-top: 20px;
}

.about-page .container {
    padding: 20px 20px;
}

.component-page .container {
    padding: 20px 20px;
}

.content-img {
  width: 100%;
  border-radius: 10px;
  margin: 10px 0 15px 0;
}

.services {
  padding-top: 20px;
}

.card p {
  color: #475569;
  line-height: 1.6;
}

.pcb-page p {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 20px;
}

.pcb-page {
  padding-top: 20px;
}

.pcb-page .container, .pcba-page .container {
    padding: 20px 20px;
}

.services .container {
    padding: 20px 20px 40px 20px;
}

.pcba-page .container { 
    max-width: 1300px;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .menu-toggle {
    display: block;
    margin-right: auto;
    margin-left: 20px;
  }

  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    gap: 12px;
  }

  .nav.open {
    display: flex;
  }
}