﻿.home-service {
    background: #F7F5F2;
    position: relative;
}

.service-top .title-service {
    color: #413024;
    font-size: 60px;
    margin: 0;
    font-family: 'BS-r';
    text-align: center;
    font-weight: normal; /* hoặc 400 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.service-list .service-item {
    border-radius: 20px;
    background: #FFFF;
    height: 103%;
}

    .service-list .service-item:last-child h2 {
        margin-top: 9px;
        margin-bottom: 5px;
    }

.service-item-descript {
    display: flex;
    flex-direction: column;
    /* Khoảng cách giữa các item-sv */
}

.service-list .service-item .service-item-title {
    font-family: 'BS-r';
    font-size: 40px;
    margin-left: 8px;
    color: #c19710;
    margin-bottom: 0px;
    margin-top: 20px;
    margin-left: 17px;
    font-weight: normal; /* hoặc 400 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.service-top {
    transform: translateY(-44px);
    position: relative;
    z-index: 2;
}

.service-list .service-item:first-child {
    grid-row: span 4 / span 4;
}

.service-list .service-item:nth-child(2) {
    grid-row: span 4 / span 4;
}

.service-list .service-item:nth-child(3) {
    grid-row: span 3 / span 3;
}

    .service-list .service-item:nth-child(3) .it-s {
        /* padding: 13px 17px; */
    }

    .service-list .service-item:nth-child(3) .it-r {
        margin: 0;
    }

    .service-list .service-item:nth-child(3) .it-r {
    }

.service-list .service-item:last-child .it-s {
    /* padding: 10px 17px; */
}

.service-list .service-item:last-child {
    grid-column-start: 3;
    grid-row-start: 4;
    height: 110%;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 23px;
    padding-bottom: 93px;
    position: relative;
    z-index: 9;
}

.service-top .descript-service {
    text-align: center;
    font-family: 'MonR';
    font-size: 19px;
    display: inline-block;
    padding: 11px 198px;
}

.it-r-item {
    margin-bottom: 8px;
    padding: 10px 15px;
    background-color: #f8f8f8;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

    .it-r-item:hover {
        background-color: #e0f7fa;
        transform: translateX(5px);
        color: #0073e6;
    }

.item-sv {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.it-r.active p:last-child {
}

.it-r {
    /* opacity: 0; */
    max-height: 0px;
    visibility: hidden;
    transition: all 0.4s ease;
    padding-left: 43px;
    background: #FFFF;
    transform: translateY(-5px);
    font-family: 'MonR';
}

    .it-r p {
        position: relative;
        margin: 10px 0;
    }

        .it-r p:before {
            position: absolute;
            content: ".";
            margin-left: -13px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 45px;
            top: -34px;
        }

.ssxf{
    width: 11%;
}
.ssxf{
    width: 13%;
    height: 100%;
}
.it-s {
    align-items: center;
    cursor: pointer;
    /* font-weight: bold; */
    padding: 13px 17px;
    /* padding-bottom: 0; */
    /* background-color: #e6f2ff; */
    border-radius: 4px;
    transition: background 0.3s;
    font-size: 16px;
    font-family: MonR;
    display: flex;
    justify-content: left;
    gap: 4px;
}

    .it-s:hover {
        background-color: var(--default-color-2);
    }

.et {
    position: absolute;
    right: 0;
    bottom: 0;
}

@media (max-width: 739px) {
    .service-top .title-service {
        font-size: 33px;
    }

    .service-top .descript-service {
        padding: 0;
        font-size: 14px;
        margin-top: 18px;
    }

    .service-list {
        grid-template-columns: repeat(2, 1fr); /* Hiển thị 2 cột */
        gap: 16px;
        padding: 0 12px 15px;
    }

        .service-list .service-item {
            grid-row: auto !important;
            grid-column: auto !important;
            padding: 15px 0;
            padding-top: 0px;
            max-height: 100%;
        }
.service-list .service-item:last-child h2{
    margin-top: 20px;
    margin-bottom: unset;
}
            .service-list .service-item .service-item-title {
                font-size: 20px;
                margin-left: 0;
                text-align: center;
            }

    .service-top .title-service {
        font-size: 28px;
    }

    .service-top .descript-service {
        font-size: 13px;
        padding: 0 20px;
    }

    .item-sv {
        margin-bottom: 0px;
    }
.service-list .service-item:last-child .it-s{
    padding: 10px 16px;
}
    .it-s {
        font-size: 12px;
        padding: 10px 8px !important;
        /* padding-bottom: 70px; */
    }

    .it-r {
        padding-left: 30px;
    }

        .it-r p {
            font-size: 12px;
        }

    .et img {
        width: 100%;
    }

    .et {
        width: 100%;
    }
}
