/* Ví dụ: Chuyển các style inline thành class, giữ nguyên giao diện */

.dichvucong-container {
    width: 1440px;
    margin: 0 auto;
    background: #fff;
}

.dichvucong-contact-bar {
    background-color: #ffffff;
    color: #000;
    padding: 8px 0;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    height: 39px;
    margin-right: 20px;
    margin-bottom: 10px;
}

.dichvucong-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dichvucong-header {
    width: 1440px;
    height: 1113px;
    margin: 178px auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background: #fff;
}

.dichvucong-header-inner {
    width: 1440px;
    height: 802px;
    margin: -45px auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background: #f5f5f5;
    border-radius: 20px;
}

.dichvucong-title-row {
    width: 1225px;
    height: 128px;
    margin: 31px auto 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.dichvucong-title {
    color: #000;
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    /* 54px */
    width: 616px;
    height: 108px;
    display: flex;
    align-items: center;
    font-weight: bold;
    text-align: center;
}

.dichvucong-desc {
    width: 546px;
    height: 128px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    line-height: 200%;
    text-align: left;
}

.dichvucong-banner {
    width: 1225px;
    height: 491px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 60px;
    margin-top: 96px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.dichvucong-banner img {
    width: 1225px;
    height: 491px;
    object-fit: cover;
    border-radius: 20px;
}

.dichvucong-solutions-row {
    width: 1376px;
    height: 250px;
    margin: 20px auto 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.dichvucong-solution-box {
    width: 196px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border-radius: 20px;
    background: #fff;
    transition: all 0.3s ease-out;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.2);
}

.dichvucong-solution-box:hover,
.dichvucong-solution-box.hovered {
    background: #D5D5D5;
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.25);
}

.dichvucong-solution-number {
    width: 205px;
    margin: 0 auto 12px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    font-family: Inter, sans-serif;
}

.dichvucong-solution-title {
    width: 187px;
    color: #000;

    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 12px;
}

.dichvucong-solution-desc {
    width: 173px;
    margin: 0 auto 12px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
}

.dichvucong-solution-note {
    width: 187px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
}

/* --- Section chung --- */
.dvc-section {
    width: 100%;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background: #fff;
}

/* --- Section A7: Nhu cầu các nhóm giải pháp --- */
.dvc-section-a7 {
    width: 1272px;
    height: 779px;
    background: #fff;
    margin-top: 80px;
}

.dvc-section-title {
    width: 1272px;
    height: 54px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.dvc-section-grid {
    width: 1272px;
    height: 693px;
    margin: 32px auto 0 auto;
    display: grid;
    grid-template-columns: 607px 607px;
    grid-template-rows: 137px 137px 137px;
    gap: 141px 58px;
    justify-content: center;
    align-items: center;
}

.dvc-grid-item {
    width: 607px;
    height: 137px;
    border-radius: 10px;
    border-top: 4px solid #D72323;
    border-right: 1px solid #D72323;
    border-bottom: 4px solid #D72323;
    border-left: 1px solid #D72323;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.dvc-grid-item-title {
    width: 585px;
    height: 30px;
    margin-top: 15px;
    font-size: 20px;
    font-weight: 700;
    color: #000;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.dvc-grid-item-list {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

.dvc-grid-item-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #000;
    font-weight: 600;
}

.dvc-grid-item-list-item img {
    width: 24px;
    height: 24px;
}

/* --- Section Network --- */
.dvc-section-network {
    width: 1356px;
    height: 748px;
    margin: 50px auto 0 auto;
    background: none;
    border-radius: 32px;
}

.dvc-network-title {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 40px;
    line-height: 200%;
    text-align: center;
    margin-bottom: 40px;
}

.dvc-network-title-red {
    height: 66px;
    flex-shrink: 0;
    align-self: stretch;
    color: #D72323;

    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 900;
    line-height: 200%;
    /* 80px */
}

.dvc-network-title-black {
    height: 66px;
    flex-shrink: 0;
    align-self: stretch;
    color: #000;
    font-family: Inter, sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 200%;
}

.dvc-network-row {
    width: 1348px;
    height: 285px;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 40px;
}

.dvc-network-card {
    box-sizing: border-box;
    width: 415px;
    height: 265px;
    border-radius: 20px;
    border-top: 1px solid #D5D5D5;
    border-bottom: 1px solid #D5D5D5;
    border-left: 1px solid #D5D5D5;
    border-right: none;
    position: relative;
    flex-direction: row;
    align-items: center;
    background: #fff;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
}

.dvc-network-card-title {
    margin-left: -50px;
    margin-top: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 24px;
    color: #000;
    line-height: 36px;
    text-align: center;
    white-space: nowrap;
}

.dvc-network-card-desc {
    width: 325px;
    margin: 24px auto 24px 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 200%;
    text-align: center;
    color: #000;
}

.dvc-network-card-list {
    width: 100%;
    max-width: 325px;
    height: 110px;
    overflow-y: auto;
    margin: 0 auto 0 0;
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0;
    color: #000;
    justify-content: flex-start;
    align-items: flex-start;
    box-sizing: border-box;
    padding-bottom: 8px;
}

.dvc-network-card-list-item {
    margin: 0;
    padding: 0;
    text-align: left;
    box-sizing: border-box;
    word-break: break-word;
}

.dvc-network-card-list-item span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #000;
    margin-right: 8px;
}

.dvc-network-card-img-bg {
    width: 76px;
    height: 265px;
    background: #D72323;
    border-radius: 0 20px 20px 0;
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dvc-network-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
    background: transparent;
    border-radius: 0;
}

/* --- Section B: Tabs & Image --- */
.dvc-section-b {
    width: 1250px;
    height: 1002px;
    margin: 40px auto 0 auto;
    background: #fff;
}

.dvc-b-title {
    width: 879px;
    height: 54px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.dvc-b-tabs {
    width: 879px;
    height: 67px;
    margin: 32px auto 0 auto;
    border-radius: 60px;
    border: 1px solid #D5D5D5;
    background: #FFF;
    box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.dvc-b-tab {
    display: flex;

    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 44px;
    border-radius: 60px;
    background: #d9d9d9;
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    width: 114px;

    cursor: pointer;
    border: none;
    text-align: center;
    transition: all 0.3s ease;
}

.dvc-b-tab-active,
.dvc-b-tab:hover {
    background: #D72323;
    color: #fff;
}

.dvc-b-image-wrap {
    width: 1205px;
    height: 777px;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 32px;
}

.dvc-b-image {
    width: 1205px;
    height: 777px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

/* Tổng thể khung G */
.frame-g {
    position: relative;
    /* Cần thiết để định vị các mũi tên */
    /* Thêm khoảng đệm để mũi tên không bị dính sát lề */
    border-radius: 8px;
    overflow: hidden;
}

.frame-g31,
.frame-g32,
.frame-g33,
.frame-g34,
.frame-g35,
.frame-g36,
.frame-g37 {
    display: grid;
    width: 299.46px;
    height: 407.96px;
    border-radius: 43.4px 0 43.4px 0;
    grid-template-rows: 1fr 44.27px;
    grid-template-columns: 1fr;
    row-gap: 8.68px;
    column-gap: 20px;
    background: #fff;
    overflow: hidden;
    box-shadow: none;
    border: none;
    align-items: center;
    justify-items: center;
}

/* Tiêu đề */
.frame-g1 {
    text-align: center;
    margin-bottom: 30px;
}

.frame-g1 h2 {
    color: #000;

    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    /* 54px */
    height: 54px;
    align-self: stretch;
}

/* Các mũi tên */
.g-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}



.g-arrow:hover svg path {
    fill: #7D7D7D;
}


.g-arrow-left {
    left: 100px;
}

.g-arrow-right {
    right: 100px;
}

.g-arrow-img {
    display: block;
}



/* Container cho các dịch vụ */
.frame-g2 {
    display: flex;
    justify-content: center;
}

/* Dùng chung cho cả 2 nhóm dịch vụ */
#initial-services,
#alt-services {
    display: flex;
    justify-content: space-around;
    /* Căn đều các mục */
    align-items: flex-start;
    gap: 20px;
    /* Khoảng cách giữa các mục */
    width: 100%;
}

/* Kiểu cho từng mục dịch vụ (g31, g32, ...) */
.frame-g31,
.frame-g32,
.frame-g33,
.frame-g34,
.frame-g35,
.frame-g36 {
    text-align: center;
    flex: 1;
    /* Để các mục có chiều rộng bằng nhau */
    max-width: 300px;
    /* Giới hạn chiều rộng tối đa */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.g3-image {
    width: 299.46px;
    height: 330px;
    border-radius: 43.4px 0px;
}

.g3-label {
    color: #000;

    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    /* 24px */
    width: 261px;
}

/* --- Section C: Giá trị mang lại --- */
.dvc-section-c {
    width: 1440px;
    height: 718px;
    margin: 40px auto 0 auto;
    margin-bottom: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    position: relative;
}

.dvc-c-title {
    align-self: stretch;
    color: #000;

    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    /* 54px */
    margin-bottom: 32px;
}

.dvc-c-content {
    display: flex;
    padding: 67px 104px 67px 105px;
    justify-content: center;
    align-items: center;
    background: #D5D5D5;
    width: 1440px;
    height: 589px;
    gap: 128px;
}

.dvc-c-card {
    display: flex;
    width: 325px;
    height: 450px;
    padding: 58px 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 4px 4px 15px 0px #505050;

}

.dvc-c-card-img {
    width: 101px;
    height: 101px;
    object-fit: contain;
    margin-bottom: 24px;
}

.dvc-c-card-title {
    color: #000;
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    /* 30px */
    align-self: stretch;



}

.dvc-c-card-desc {
    width: 256px;
    height: 128px;
    color: #000;
    margin-top: 24px;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
    line-height: 32px;
    /* 200% */
    align-self: stretch;
    margin-left: auto;
    margin-right: auto;
    /* text-align: left mặc định */
}

/* --- Tab hover --- */
.dichvucong-tab {
    display: flex;
    padding: 10px 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 44px;
    border-radius: 60px;
    background: #d9d9d9;
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    width: auto;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: all 0.3s ease;
}

.dichvucong-tab.hovered {
    background: #D72323;
    color: #fff;
}

.frame-g31,
.frame-g32,
.frame-g33,
.frame-g34,
.frame-g35,
.frame-g36,
.frame-g37 {
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.frame-g31:hover,
.frame-g32:hover,
.frame-g33:hover,
.frame-g34:hover,
.frame-g35:hover,
.frame-g36:hover,
.frame-g37:hover {
    background: #D72323 !important;
    color: #fff !important;
}

.frame-g31:hover .g3-label,
.frame-g32:hover .g3-label,
.frame-g33:hover .g3-label,
.frame-g34:hover .g3-label,
.frame-g35:hover .g3-label,
.frame-g36:hover .g3-label,
.frame-g37:hover .g3-label {
    color: #fff !important;
}