 

.Box2 {
    margin-top: 100px;
}

.Box2 .container-md.row {
    margin: 0 auto;
}

.Box2 .box>div {
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.Box2 .box>div:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.Box2 .box .imgs {
    position: relative;
    height: 0;
    padding-top: 60%;
}

.Box2 .box .imgs img:nth-child(1) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.Box2 .box .imgs .logo {
    position: absolute;
    width: 100px;
    right: 5%;
    bottom: 3%;
    opacity: 0.3;
}

.Box2 .box .text {
    padding: 20px 20px;
    border: 1px solid #cccccc8e;
    margin-bottom: 50px;
    height: 300px;
    position: relative;
}
 
.Box2 .box .text h6 {
    font-weight: bold;
    font-size: 20px;
    padding-left: 15px;
    position: relative;
    color: #333;
}

.Box2 .box .text h6::before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 99px;
    background-color: #333;
}

.Box2 .box .text p {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    max-height: 10.5em; /* 7行 * 1.5行高 */
    overflow: auto;
    padding-right: 5px;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #c1c1c1 #f5f5f5; /* Firefox */
}
 
.Box2 .box .text p::-webkit-scrollbar {
    width: 6px;
}

.Box2 .box .text p::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 3px;
}

.Box2 .box .text p::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.Box2 .box .text p::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
} 
.Box2 .box .text  button.custom-button {
    background: linear-gradient(135deg, #428CCC, #428ccc9d);
    padding: 10px 20px;
    color: white;
    border: none;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.Box2 .box .text button.custom-button::before {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    top: 5px;
    right: 5px;
    border: 2px solid white;
    border-left: none;
    border-bottom: none;
    transition: all .3s ease;
    z-index: 3;
}

.Box2 .box .text button.custom-button::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background-color: #000;
    top: 0;
    left: -100%;
    transition: 0.3s;
}

.Box2 .box .text button.custom-button:hover::after {
    left: 0;
}

.Box2 .box .text button.custom-button .button-text {
    position: relative;
    z-index: 4;
}




@media screen and (max-width:991px) {
    .Box1{
        margin-top: 30px;
    }
    .Box1 .b41{
        font-size: 22px;
    }
    .Box1 .b42{
        font-size: 34px;
    }
    .Box1 .col-lg-8 {
        margin-top: 40px;
    }
    .Box1 .b43{
        font-size: 14px;
    }
    .Box1 .b8 div>h6{
        font-size: 30px;
    }
    .Box1 .b8 div{
        font-size: 14px;
    }
    .Box2 .box .text a h6 {
        font-size: 18px;
    }

    .Box2 .box .text a.aa button.custom-button .button-text {
        font-size: 14px;
    }

   
}
@media screen and (max-width:768px) {
 
    .Box1 .b8{
        padding: 15px 30px;
    }
    .Box1 .b8{
        margin-bottom: 20px;
    }
}
@media screen and (max-width:576px) {
    .Box1 .b8 div>h6{
        font-size: 22px;
    }
    .Box1 .b8{
        padding: 15px 25px;
    }
 
}