/* ================= BODY ================= */
body {
  --primary: #0f172a;
  --accent: #b3e0dc;
  --darker-accent: #44d7ca;
  --highlight: #efe558;
  --text-muted: #64748b;
  --border-light: #e5e7eb;
  --bg-soft: #f8fafc;
  font-family: Arial, Helvetica, sans-serif;
}

.logo {
  font-weight: 700;
  letter-spacing: 2px;
}

.how-it-works-section {
  width: 85%;
  margin: 0 auto;
  padding-bottom: 70px;
}

.title {
  text-align: center;
  margin-top: 30px;
  font-size: 34px;
}

.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 600;
  background: #fff;
  margin-top: 0;
  margin-bottom: 10px;
}

/* Cards */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.card {
  background: var(--accent);
  border: 1px solid #ddd;
  border-radius: 15px;
  width: 300px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.card img {
  max-width: 120px;
  height: 80px;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9rem;
  color: #555;
}

/* Working Process */
.working-process-header {
  max-width: 800px;
  padding: 18px 12px;
  margin: 40px auto 20px;
  border-radius: 8px;
  text-align: left;
  font-size: 22px;
  font-weight: bold;
}

.working-process-header .highlight {
  background-color: var(--highlight);
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
}

/* Accordion */
.accordion {
  max-width: 800px;
  margin: 20px auto;
}

.accordion-item {
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.accordion-header {
  background: var(--bg-soft);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.25s ease, color 0.25s ease;
}

.accordion-header.active {
  background: var(--accent);
}

.accordion-content {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 15px 20px;
  background: #fff;
  font-size: 0.95rem;
  color: #555;
}

.accordion-content.show {
  display: flex;
}

.accordion-image img {
  max-width: 170px;
  max-height: 200px;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.accordion-list {
  list-style-type: disc;
  padding-left: 30px;
  margin: 0;
  text-align: left;
  width: 100%;
}

.accordion-list li {
  margin-bottom: 10px;
  color: #555;
}

.accordion-sublist {
  padding-left: 40px;
  margin-top: 8px;
  list-style: lower-alpha;
}

.accordion-sublist li {
  margin-bottom: 6px;
}

.toggle-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: inherit;
}

@media (max-width: 768px) {
  .about-wrapper {
    width: 90%;
    padding-bottom: 60px;
  }

  .title {
    font-size: 28px;
    margin-top: 28px;
  }

  .hero-section {
    flex-direction: column;
    padding: 25px 30px;
    gap: 30px;
    text-align: center;
  }

  .hero-text {
    width: 90%;
    font-size: 16px;
  }

  .hero-img {
    width: 90%;
  }

  .hero-img img {
    max-height: 280px;
  }

  .section-row {
    flex-direction: column;
    gap: 35px;
  }

  .box {
    width: 100%;
    padding: 0 10px;
  }

  .card {
    width: 95%;
    padding: 25px 30px;
    font-size: 16px;
  }

  .simple-tools-section {
    padding: 50px 50px;
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .accordion-content {
    gap: 12px;
  }

  .accordion-image img {
    width: 80px;
    max-height: 80px;
  }

  .accordion-list {
    padding-left: 20px;
  }

  .accordion-sublist {
    padding-left: 30px;
  }
}

/* ----------------- SMALL DESKTOP / LARGE TABLET ----------------- */
@media (max-width: 1024px) {
  .about-wrapper {
    width: 88%;
  }

  .hero-section {
    gap: 40px;
    padding: 30px 30px;
  }

  .hero-text {
    width: 45%;
    font-size: 16px;
  }

  .hero-img {
    width: 45%;
  }

  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
