
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
.ks-services-section {
    background: #F9FAFB;
}
.ks-services-box {
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 20px 0;
}
.ks-services-box ul li a:visited,
.ks-services-box ul li a:link {
    /* color: #E4B946; */
    color: #6B7280;
}
.ks-services-wraper {
    margin-top: 30px;
}
.ks-services-wraper .card-title {
    color: #1C0F13;
    font-family: 'Poppins',sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: capitalize;
}
.hdg_subtitle {
    color:  #374151;
    font-family: 'Poppins',sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}
.ks-services-wraper .card-text {
margin:8px 0;
color:  #6B7280;
font-family: Poppins;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 24px; /* 150% */
}

.ks-toggle-btn{
    background-color: #fff;
    display: flex;
    padding: 6px 12px 6px 16px;
    align-items: center;
    gap: 6px;
    border: 1px solid #1C0F13;
}
.ks-toggle-btn span{
    color:  #1C0F13;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}
.ks-toggle-btn .explore-text {
    display: inline-block; /* Hoặc inline */
    
}
.ks-toggle-btn .collapse-text {
    display: none;
}


.ks-toggle-btn {
    transition: all 0.25s ease;
}

.ks-services-section .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0px;
    margin: 0;
    background-color: #fff;
    border-radius: 0px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.ks-services-section .right-section {
    display: flex;
    align-items: center;
    margin-left: auto;
}
.ks-services-section .content {
    display: none;
    color:#6B7280;
    padding: 24px 0px;
    font-family: "Poppins", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease; 
}
.ks-services-section .content.show {
    position: relative;
    display: block;
    max-height: 300px; 
    height: auto;
    margin-top: 0px;
    padding: 0px;
}

.ks-services-section .arrow {
margin-top: 2px;
width: 10px;
height: 10px;
display: inline-block;
background-image: url('../images/icon_off_svg.svg');
background-size: cover;
background-position: center;

}
    
.ks-service-card {
    position: relative;
    overflow: visible; 
}
.ks-service-card  img {
    min-height: 208px;
    border:0;

}
.ks-service-card .content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s ease;
    z-index: 30;
}

.ks-service-card .content.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ks-toggle-btn .arrow {
    transition: transform .25s ease;
}

.ks-toggle-btn .arrow.open {
    transform: rotate(180deg);
}

/* ============================= */
.ks-wrp-desktop {
    display: flex;
    flex-wrap: wrap;
}

.ks-wrp-desktop > .col-lg-3 {
    display: flex;
}

.ks-wrp-desktop .ks-service-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 1px solid #eee; 
}

.ks-wrp-desktop .ks-services-box {
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
    padding: 20px;
}

.ks-wrp-desktop .card-title {
    display: flex;
    align-items: flex-start;
}

.ks-wrp-desktop .card-text {
    flex-grow: 1; 
    margin-bottom: 20px;
}