/* Quy trình sử dụng E-Class */
.stats-and-services {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  background-size: cover; /* ✅ phủ kín toàn bộ khung, không bị méo */
  padding: 4rem 2rem;
  min-height: 520px;
  border-radius: 12px;
  color: white;
  margin: 0 auto;
  align-items: center;
  gap: 20px;
  max-width: unset;
}

/* Chart */
.chart-wrapper {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 300px;
    max-width: 100%;
    margin: auto;
}

.chart-wrapper h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
    color: #1f2937;
}

canvas#systemChart {
    width: 100% !important;
}
.eclass-services {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
}

.service-subtitle {
    color: #e57373;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.service-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
    color: #1f2937;
}

.service-desc {
    margin: 10px 0 20px;
    color: #555;
    font-size: 15px;
    text-align: justify;
}

.service-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 30px;
}

.service-item {
    color: #333;
    text-align: justify;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    width: calc(50% - 15px); /* 2 cột trên màn hình lớn */
}

.service-item img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

/* Responsive: chuyển thành 1 cột trên điện thoại */
@media screen and (max-width: 1024px) {
    .chart-wrapper,
    .eclass-services {
        flex: 1 1 100%;
    }
}

@media screen and (max-width: 768px) {
        .service-item {
        width: 100%;
    }
}
