@charset "UTF-8";
.banner {
  background: url("../img/service-items.webp") center 48%/cover;
  height: 400px;
}
.banner .text {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.banner h1 {
  margin-bottom: 3%;
}
.banner p {
  margin-bottom: 0;
}

#services-item {
  margin: 0 6.5%;
}
#services-item h2 {
  margin-bottom: 1.5%;
}
#services-item .services-item-box {
  display: flex;
  flex-direction: column;
  margin-top: 6%;
}
#services-item .item-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
#services-item .item-box img {
  display: none;
}
#services-item .item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#services-item .item h3 {
  margin-bottom: 0;
  color: #275A77;
  font-weight: bold;
}
#services-item .item img {
  display: block;
  width: 100%;
}
#services-item .item + .item {
  margin-top: 5%;
}
#services-item .title {
  display: flex;
  align-items: center;
  gap: 15px; /* 數字與標題間距 */
  margin-bottom: 15px;
}
#services-item .icon {
  background: #275A77;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(168, 168, 168, 0.3);
}
#services-item .fa-solid {
  color: #fff;
}
#services-item img {
  width: 50%;
}

@media (min-width: 700px) {
  .banner h1 {
    margin-bottom: 1%;
  }
}
@media (min-width: 700px) and (max-width: 900px) {
  .banner {
    height: 300px;
  }
  #services-item {
    margin: 0 5%;
  }
  #services-item h2 {
    text-align: center;
    margin-bottom: 1.5%;
  }
  #services-item .services-item-box {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 0;
  }
  #services-item .item-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  #services-item .item-box img {
    width: 35%;
    display: block;
  }
  #services-item .item-box:last-child .item {
    width: 60%;
  }
  #services-item .item {
    width: 28%;
    flex-direction: row;
    align-items: center;
  }
  #services-item .item h3 {
    margin-bottom: 0;
    color: #275A77;
    font-weight: bold;
  }
  #services-item .item p {
    text-align: left;
  }
  #services-item .item img {
    display: none;
  }
  #services-item .item + .item {
    margin-top: 0;
  }
  #services-item .title {
    display: flex;
    align-items: center;
    gap: 15px; /* 數字與標題間距 */
    margin-bottom: 15px;
  }
  #services-item .icon {
    background: #275A77;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
  }
  #services-item .fa-solid {
    color: #fff;
  }
  #services-item img {
    width: 50%;
  }
}
@media (min-width: 1200px) {
  #services-item {
    margin: 0 18%;
    padding-bottom: 1.5%;
  }
  #services-item h2, #services-item p {
    text-align: center;
  }
  #services-item h2 {
    margin-bottom: 1.5%;
  }
  #services-item .services-item-box {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 0;
  }
  #services-item .item-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 0;
  }
  #services-item .item-box img {
    width: 35%;
    display: block;
  }
  #services-item .item-box:last-child .item {
    width: 51%;
  }
  #services-item .item {
    width: 26%;
    flex-direction: row;
    align-items: center;
  }
  #services-item .item h3 {
    margin-bottom: 0;
    color: #275A77;
    font-weight: bold;
  }
  #services-item .item p {
    text-align: left;
  }
  #services-item .item img {
    display: none;
  }
  #services-item .item + .item {
    margin-top: 0;
  }
  #services-item .title {
    display: flex;
    align-items: center;
    gap: 15px; /* 數字與標題間距 */
    margin-bottom: 15px;
  }
  #services-item .icon {
    background: #275A77;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
  }
  #services-item .fa-solid {
    color: #fff;
  }
  #services-item img {
    width: 50%;
  }
}/*# sourceMappingURL=services.css.map */