/* Upward-pointing chat bubble pointer */
.chat-card-pointer-up {
  position: absolute;
  left: 50%;
  top: -16px;
  transform: translateX(-50%) rotate(180deg);
  width: 32px;
  height: 16px;
  pointer-events: none;
  z-index: 2;
}
.chat-card-pointer-up::after {
  content: "";
  display: block;
  width: 32px;
  height: 16px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}
/* Chat bubble timeline card styles */
.chat-card.timeline-card {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.12);
  max-width: 240px;
  min-width: 200px;
  margin: 0 auto;
  border: none;
  z-index: 3;
  text-align: start;
  padding: 5px;
}
.chat-card-content {
  padding: 1.3rem 1.1rem 1.1rem 1.1rem;
}
.chat-card-pointer {
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  width: 32px;
  height: 16px;
  pointer-events: none;
  z-index: 2;
}
.chat-card-pointer::after {
  content: "";
  display: block;
  width: 32px;
  height: 16px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}
.chat-card .card-title {
  color: #d7b937;
  font-weight: 600;
  font-size: 1.08rem;
  margin-bottom: 0.7rem;
}
.chat-card .card-text strong {
  font-weight: 600;
  color: #222;
}
.process-hero {
  background: #fff;
  padding: 0;
}
.process-hero-img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.process-wave1 {
  width: 100%;
  height: 35px;
  background: url("/public/assets/img/horticulture/Wave1.png") center
    center/cover no-repeat;
  position: relative;
  margin-bottom: -32px;
  z-index: 2;
}
.process-wave2 {
  width: 100%;
  height: 35px;
  background: url("/public/assets/img/horticulture/Wave2.png") center
    center/cover no-repeat;
  position: relative;
  margin-top: -32px;
  z-index: 2;
}

.process-maint {
  background: url("/public/assets/img/horticulture/darkBG.jpg") center
    center/cover no-repeat;
  color: #fff;
  padding: 3rem 0 2rem 0;
  position: relative;
  min-height: 750px;
}

.process-learn {
  background: #d7b835;
  padding: 2.5rem 0 2rem 0;
  text-align: center;
}
.process-learn .card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: none;
  padding: 1.5rem 1rem;
  margin: 0 1rem;
  min-width: 260px;
  max-width: 340px;
  display: inline-block;
  text-align: left;
}
.process-learn .hort-btn {
  margin-left: 0;
  margin-top: 1rem;
}

.timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 9rem 0px 9rem;
  min-height: 400px;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 88%;
  height: 2px;
  background-color: #ccc;
  z-index: 0;
  transform: translateY(-2px);
  margin-left: 80px;
}

.timeline-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
  height: 100%;
  justify-content: center;
}

.timeline-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: white;
  /* border: 3px solid #939393; */
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  background: url("/public/assets/img/our-process/RockCircle.png") center
    center/cover no-repeat;
}

.timeline-step .card {
  width: 200px;
  border-radius: 10px;
  position: absolute;
  z-index: 3;
  border: none !important;
  height: auto;
}

/* Cards above timeline (steps 1, 3, 5, 7) - positioned at same height */
.timeline-step:nth-child(2) .card,
.timeline-step:nth-child(4) .card,
.timeline-step:nth-child(6) .card,
.timeline-step:nth-child(8) .card {
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
}

/* Cards below timeline (steps 2, 4, 6) - positioned at same height */
.timeline-step:nth-child(3) .card,
.timeline-step:nth-child(5) .card,
.timeline-step:nth-child(7) .card {
  top: 55px;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-step .card .card-title {
  color: #d7b937; /* yellowish title */
  font-weight: 600;
  font-size: 1rem;
}

.consoltation {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: url("/public/assets/img/our-process/ROCKBG.jpg") center
    center/cover no-repeat;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consoltation-circle {
  width: 220px;
  height: 220px;
  border: 2px solid #d7b937;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.04);
}

.consoltation-text {
  font-size: 1.25rem;
  color: #222;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 1px;
}

/* Toggle visibility helpers and button styles for Home/Architects toggle */
.is-hidden {
  display: none !important;
}

/* sensible defaults for no-JS: show home, hide arch */
.home-only {
  display: block;
}
.arch-only {
  /* display: none; */
}

.process-toggle-btn {
  background: #fff;
  color: #222;
  border: none;
  outline: none;
  padding: 0.8rem 2.5rem;
  font-size: 1.05rem;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background 0.2s;
}
.process-toggle-btn.active {
  background: #d7b937;
  color: #222;
}

/* Toggle button base styles (scoped to this page) */
.process-toggle-btn {
  background: #fff;
  color: #222;
  border: none;
  outline: none;
  padding: 0.8rem 2.5rem;
  font-size: 1.05rem;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.process-toggle-btn.active {
  background: #d7b937;
  color: #222;
}
.process-toggle-btn:focus {
  box-shadow: 0 0 0 3px rgba(215, 183, 55, 0.18);
  border-radius: 8px;
}
/* Keep container appearance consistent */
#process-toggle {
  display: flex;
  border: 2px solid #d7b937;
  border-radius: 16px;
  overflow: hidden;
}

/* Mobile responsive styles for hero section */
@media (max-width: 768px) {
  .process-hero {
    min-height: 600px !important;
    margin-top: 30px;
  }

  .process-hero > div > section {
    justify-content: center !important;
    align-items: center !important;
    padding: 2rem 1rem !important;
  }

  .process-hero .hero-content {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  .process-hero .hero-content > div {
    padding: 2rem 1.5rem 1.8rem 1.5rem !important;
    margin: 0 1rem !important;
  }

  .process-hero .hero-content h2 {
    font-size: 1.8rem !important;
    margin-bottom: 1rem !important;
  }

  .process-hero .hero-content .subtitle {
    font-size: 1rem !important;
    margin-bottom: 2rem !important;
  }

  .process-hero .button-container {
    flex-direction: column !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
  }

  .process-hero .button-container .btn {
    width: 100% !important;
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
  }

  .process-hero .badges-container {
    gap: 1.5rem !important;
  }

  .process-hero .badges-container > div {
    min-width: 80px !important;
  }

  .process-hero .badges-container img {
    max-width: 90px !important;
    height: auto !important;
  }

  /* Mobile toggle button styles */
  .process-toggle-wrapper {
    margin: 2rem 0 !important;
  }

  .process-toggle-wrapper > div {
    flex-direction: column !important;
    gap: 0 !important;
  }

  .process-toggle-wrapper > div > div:first-child,
  .process-toggle-wrapper > div > div:last-child {
    display: none !important;
  }

  #process-toggle {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 350px !important;
    margin: 0 auto !important;
    border-radius: 25px !important;
  }

  .process-toggle-btn {
    width: 100% !important;
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
    letter-spacing: 1px !important;
    border-radius: 0 !important;
  }

  .process-toggle-btn:first-child {
    border-radius: 23px 23px 0 0 !important;
  }

  .process-toggle-btn:last-child {
    border-radius: 0 0 23px 23px !important;
  }

  /* Mobile timeline styles */
  .process-steps-section h2 {
    font-size: 1.8rem !important;
  }

  .process-steps-section > div > div:first-child > div > div:last-child {
    font-size: 1.1rem !important;
  }

  .timeline {
    flex-direction: column !important;
    margin: 2rem 0 !important;
    min-height: auto !important;
    gap: 0 !important;
    position: relative !important;
  }

  .timeline::before {
    content: "" !important;
    position: absolute !important;
    left: 19px !important;
    top: 70px !important;
    bottom: 86px !important;
    width: 2px !important;
    background-color: #ccc !important;
    z-index: 0 !important;
  }

  .timeline-line {
    display: none !important;
  }

  .timeline-step {
    position: relative !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    height: auto !important;
    justify-content: flex-start !important;
    margin-bottom: 1.5rem !important;
  }

  .timeline-step:last-child {
    margin-bottom: 0 !important;
  }

  .timeline-circle {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin-right: 1.5rem !important;
    margin-top: 0 !important;
    flex-shrink: 0 !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
    z-index: 2 !important;
  }

  .timeline-step .card {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    border-radius: 12px !important;
  }

  .chat-card-pointer,
  .chat-card-pointer-up {
    display: none !important;
  }

  .chat-card-content {
    padding: 1rem !important;
  }

  .timeline-step .card .card-title {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
  }

  .timeline-step .card .card-text {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
  }
}
