.about-home {
    width: 100%;
    height: 50vh;
    background: url(../image/GemSpa09.png) no-repeat center;
    background-size: cover;
    background-position-y: -380px;
    background-attachment: fixed;
    /* 将背景图像固定不动 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-home h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 60px;
    color: white;
    font-weight: 900;
    letter-spacing: 5px;
    margin-top: 20px;
}

.about-home p {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.357);
    font-weight: 400;
    letter-spacing: 5px;
    text-align: center;
}

@media screen and (max-width: 720px) {
    .about-home h2 {
        font-family: 'Cormorant Garamond', serif;
        font-size: 50px;
        color: white;
        font-weight: 900;
        letter-spacing: 5px;
    }

    .about-home p {
        font-family: 'Poppins', sans-serif;
        font-size: 16px;
        color: rgba(255, 255, 255, 0.357);
        font-weight: 400;
        letter-spacing: 5px;
        text-align: center;
    }
}

/* About us intro*/

.container-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 50px;
    margin: 80px 30px 40px;
}

.about-text {
    position: relative;
    padding: 10px 0;
    max-width: 520px;
    align-self: center;
}

.about-text::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 4px;
    background-color: #c1b086;
}

.about-text h3 {
    font-size: 34px;
    color: white;
    letter-spacing: 1px;
    font-family: 'Cormorant Garamond', serif;
    margin-top: 15px;
    margin-bottom: 10px;
}

.about-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: white;
    letter-spacing: 2px;
    text-align: justify;
    line-height: 30px;
    margin-top: 15px;
}

.about-img {
    width: 100%;
    position: relative;
}

.about-img .img-bg {
    position: absolute;
    top: -30px;
    right: 60px;
    width: 420px;
    height: 500px;
    background-color: rgba(255, 255, 255, 0.098);
    border-radius: 10px;
    z-index: -1;
}

.about-img img {
    width: 100%;
    border: 1px solid white;
    border-radius: 10px;
    box-shadow: 5px 5px 5px rgba(85, 85, 85, 0.541);
}

@media screen and (max-width: 1080px) {
    .about-text {
        position: relative;
        padding: 10px 0;
        max-width: 500px;
        align-self: center;
    }

    .about-text::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 80px;
        height: 4px;
        background-color: #c1b086;
    }

    .about-text h3 {
        font-size: 32px;
        color: white;
        letter-spacing: 1px;
        font-family: 'Cormorant Garamond', serif;
        margin-top: 15px;
    }

    .about-text p {
        font-family: 'Poppins', sans-serif;
        font-size: 14px;
        color: white;
        letter-spacing: 2px;
        text-align: justify;
        line-height: 30px;
        margin-top: 15px;
    }

    .about-img {
        width: 100%;
        position: relative;
    }

    .about-img .img-bg {
        position: absolute;
        top: -30px;
        right: 30px;
        width: 420px;
        height: 450px;
        background-color: rgba(255, 255, 255, 0.098);
        border-radius: 10px;
        z-index: -1;
    }

    .about-img img {
        width: 100%;
        border: 1px solid white;
        border-radius: 10px;
        box-shadow: 5px 5px 5px rgba(85, 85, 85, 0.541);
    }
}

@media screen and (max-width: 992px) {
    .about-text {
        position: relative;
        padding: 10px 0;
        max-width: 500px;
        align-self: center;
    }

    .about-text::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 80px;
        height: 4px;
        background-color: #c1b086;
    }

    .about-text h3 {
        font-size: 30px;
        color: white;
        letter-spacing: 1px;
        font-family: 'Cormorant Garamond', serif;
        margin-top: 15px;
    }

    .about-text p {
        font-family: 'Poppins', sans-serif;
        font-size: 14px;
        color: white;
        letter-spacing: 2px;
        text-align: justify;
        line-height: 30px;
        margin-top: 15px;
    }

    .about-img {
        width: 100%;
        position: relative;
    }

    .about-img .img-bg {
        position: absolute;
        top: -30px;
        right: 30px;
        width: 420px;
        height: 450px;
        background-color: rgba(255, 255, 255, 0.098);
        border-radius: 10px;
        z-index: -1;
    }

    .about-img img {
        width: 100%;
        border: 1px solid white;
        border-radius: 10px;
        box-shadow: 5px 5px 5px rgba(85, 85, 85, 0.541);
        margin-top: 15px;
    }
}

@media screen and (max-width: 965px) {
    .about-text {
        position: relative;
        padding: 10px 0;
        max-width: 500px;
        align-self: center;
    }

    .about-text::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 80px;
        height: 4px;
        background-color: #c1b086;
    }

    .about-text h3 {
        font-size: 28px;
        color: white;
        letter-spacing: 1px;
        font-family: 'Cormorant Garamond', serif;
        margin-top: 15px;
    }

    .about-text p {
        font-family: 'Poppins', sans-serif;
        font-size: 12px;
        color: white;
        letter-spacing: 2px;
        text-align: justify;
        line-height: 30px;
        margin-top: 15px;
    }

    .about-img {
        width: 100%;
        position: relative;
    }

    .about-img .img-bg {
        position: absolute;
        top: -10px;
        right: 30px;
        width: 370px;
        height: 400px;
        background-color: rgba(255, 255, 255, 0.098);
        border-radius: 10px;
        z-index: -1;
    }

    .about-img img {
        width: 100%;
        border: 1px solid white;
        border-radius: 10px;
        box-shadow: 5px 5px 5px rgba(85, 85, 85, 0.541);
        margin-top: 15px;
    }
}

@media screen and (max-width: 865px) {
    .about-text {
        position: relative;
        padding: 10px 0;
        max-width: 500px;
        align-self: center;
    }

    .about-text::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 80px;
        height: 4px;
        background-color: #c1b086;
    }

    .about-text h3 {
        font-size: 24px;
        color: white;
        letter-spacing: 1px;
        font-family: 'Cormorant Garamond', serif;
        margin-top: 15px;
    }

    .about-text p {
        font-family: 'Poppins', sans-serif;
        font-size: 12px;
        color: white;
        letter-spacing: 2px;
        text-align: left;
        line-height: 20px;
        margin-top: 15px;
    }

    .about-img {
        width: 100%;
        position: relative;
    }

    .about-img .img-bg {
        position: absolute;
        top: -10px;
        right: 30px;
        width: 300px;
        height: 350px;
        background-color: rgba(255, 255, 255, 0.098);
        border-radius: 10px;
        z-index: -1;
    }

    .about-img img {
        width: 100%;
        border: 1px solid white;
        border-radius: 10px;
        box-shadow: 5px 5px 5px rgba(85, 85, 85, 0.541);
        margin-top: 15px;
    }
}

@media screen and (max-width: 768px) {
    .about-text {
        position: relative;
        padding: 10px 0;
        max-width: 500px;
        align-self: center;
    }

    .about-text::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 80px;
        height: 4px;
        background-color: #c1b086;
    }

    .about-text h3 {
        font-size: 22px;
        color: white;
        letter-spacing: 1px;
        font-family: 'Cormorant Garamond', serif;
        margin-top: 15px;
    }

    .about-text p {
        font-family: 'Poppins', sans-serif;
        font-size: 12px;
        color: white;
        letter-spacing: 2px;
        text-align: left;
        line-height: 20px;
        margin-top: 15px;
    }

    .about-img {
        width: 100%;
        position: relative;
    }

    .about-img .img-bg {
        position: absolute;
        top: 5px;
        right: 15px;
        width: 300px;
        height: 320px;
        background-color: rgba(255, 255, 255, 0.098);
        border-radius: 10px;
        z-index: -1;
    }

    .about-img img {
        width: 100%;
        border: 1px solid white;
        border-radius: 10px;
        box-shadow: 5px 5px 5px rgba(85, 85, 85, 0.541);
        margin-top: 30px;
    }
}

@media screen and (max-width: 700px) {
    .about-text {
        position: relative;
        padding: 10px 0;
        max-width: 500px;
        align-self: center;
    }

    .about-text::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 80px;
        height: 4px;
        background-color: #c1b086;
    }

    .about-text h3 {
        font-size: 20px;
        color: white;
        letter-spacing: 1px;
        font-family: 'Cormorant Garamond', serif;
        margin-top: 15px;
    }

    .about-text p {
        font-family: 'Poppins', sans-serif;
        font-size: 12px;
        color: white;
        letter-spacing: 2px;
        text-align: left;
        line-height: 18px;
        margin-top: 15px;
    }

    .about-img {
        width: 100%;
        position: relative;
    }

    .about-img .img-bg {
        position: absolute;
        top: 5px;
        right: 15px;
        width: 280px;
        height: 300px;
        background-color: rgba(255, 255, 255, 0.098);
        border-radius: 10px;
        z-index: -1;
    }

    .about-img img {
        width: 100%;
        border: 1px solid white;
        border-radius: 10px;
        box-shadow: 5px 5px 5px rgba(85, 85, 85, 0.541);
        margin-top: 30px;
    }
}

@media screen and (min-width: 664px) {
    .about-text div {
        display: none;
    }
}

@media screen and (max-width: 665px) {
    .about-text div {
        display: block;
    }

    .container-about {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0 50px;
        margin: 80px 30px 40px;
        justify-content: center;
    }

    .about-text {
        justify-self: center;
        padding: 10px 0;
        max-width: 500px;
    }

    .about-text::after {
        content: "";
        left: 42%;
        top: 0;
        width: 80px;
        height: 4px;
        background-color: #c1b086;
    }

    .about-text h3 {
        font-size: 24px;
        color: white;
        letter-spacing: 1px;
        font-family: 'Cormorant Garamond', serif;
        margin-top: 15px;
        text-align: center;
    }

    .about-text p {
        font-family: 'Poppins', sans-serif;
        font-size: 12px;
        color: white;
        letter-spacing: 2px;
        text-align: center;
        line-height: 18px;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .about-img {
        position: relative;
        height: 100%;
        /* 可选，如果父容器有固定高度，可以设置为100% */
    }

    .about-img .img-bg {
        position: absolute;
        width: 350px;
        height: 380px;
        background-color: rgba(255, 255, 255, 0.098);
        top: 20%;
        left: 50%;
        transform: translate(-50%, 0);
        border-radius: 10px;
        z-index: -1;
        margin-top: 5px;
    }

    .about-img img {
        width: 80%;
        border: 1px solid white;
        border-radius: 10px;
        box-shadow: 5px 5px 5px rgba(85, 85, 85, 0.541);
        position: absolute;
        top: 0%;
        left: 50%;
        transform: translate(-50%, 0);
        margin-bottom: 200px;
    }
}

@media screen and (max-width: 567px) {
    .container-about {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0 50px;
        margin: 80px 30px 40px;
        justify-content: center;
    }

    .about-text {
        justify-self: center;
        padding: 10px 0;
        max-width: 500px;
    }

    .about-text::after {
        content: "";
        left: 42%;
        top: 0;
        width: 80px;
        height: 4px;
        background-color: #c1b086;
    }

    .about-text h3 {
        font-size: 24px;
        color: white;
        letter-spacing: 1px;
        font-family: 'Cormorant Garamond', serif;
        margin-top: 15px;
        text-align: center;
    }

    .about-text p {
        font-family: 'Poppins', sans-serif;
        font-size: 12px;
        color: white;
        letter-spacing: 2px;
        text-align: center;
        line-height: 18px;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .about-img {
        position: relative;
        height: 100%;
        /* 可选，如果父容器有固定高度，可以设置为100% */
    }

    .about-img .img-bg {
        position: absolute;
        width: 280px;
        height: 315px;
        background-color: rgba(255, 255, 255, 0.098);
        top: 30%;
        left: 50%;
        transform: translate(-50%, 0);
        border-radius: 10px;
        z-index: -1;
        margin-top: 10px;
    }

    .about-img img {
        width: 80%;
        border: 1px solid white;
        border-radius: 10px;
        box-shadow: 5px 5px 5px rgba(85, 85, 85, 0.541);
        position: absolute;
        top: 0%;
        left: 50%;
        transform: translate(-50%, 0);
        margin-bottom: 200px;
    }
}

@media screen and (max-width: 445px) {
    .container-about {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0 50px;
        margin: 80px 30px 40px;
        justify-content: center;
    }

    .about-text {
        justify-self: center;
        padding: 10px 0;
        max-width: 500px;
    }

    .about-text::after {
        content: "";
        left: 42%;
        top: 0;
        width: 80px;
        height: 4px;
        background-color: #c1b086;
    }

    .about-text h3 {
        font-size: 20px;
        color: white;
        letter-spacing: 1px;
        font-family: 'Cormorant Garamond', serif;
        margin-top: 15px;
        text-align: center;
    }

    .about-text p {
        font-family: 'Poppins', sans-serif;
        font-size: 12px;
        color: white;
        letter-spacing: 2px;
        text-align: center;
        line-height: 18px;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .about-img {
        position: relative;
        height: 100%;
        /* 可选，如果父容器有固定高度，可以设置为100% */
    }

    .about-img .img-bg {
        position: absolute;
        width: 280px;
        height: 290px;
        background-color: rgba(255, 255, 255, 0.098);
        top: 30%;
        left: 50%;
        transform: translate(-50%, 0);
        border-radius: 10px;
        z-index: -1;
        margin-top: 10px;
    }

    .about-img img {
        width: 80%;
        border: 1px solid white;
        border-radius: 10px;
        box-shadow: 5px 5px 5px rgba(85, 85, 85, 0.541);
        position: absolute;
        top: 0%;
        left: 50%;
        transform: translate(-50%, 0);
        margin-bottom: 200px;
    }
}

@media screen and (max-width: 375px) {
    .container-about {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0 50px;
        margin: 80px 30px 40px;
        justify-content: center;
    }

    .about-text::after {
        content: "";
        left: 40%;
        top: 0;
        width: 60px;
        height: 4px;
        background-color: #c1b086;
    }

    .about-text h3 {
        font-size: 18px;
        color: white;
        letter-spacing: 1px;
        font-family: 'Cormorant Garamond', serif;
        margin-top: 15px;
        text-align: center;
    }

    .about-text p {
        font-family: 'Poppins', sans-serif;
        font-size: 10px;
        color: white;
        letter-spacing: 2px;
        text-align: center;
        line-height: 18px;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .about-img {
        position: relative;
        height: 100%;
        /* 可选，如果父容器有固定高度，可以设置为100% */
    }

    .about-img .img-bg {
        position: absolute;
        width: 230px;
        height: 290px;
        background-color: rgba(255, 255, 255, 0.098);
        top: 30%;
        left: 50%;
        transform: translate(-50%, 0);
        border-radius: 10px;
        z-index: -1;
        margin-top: 10px;
    }

    .about-img img {
        width: 100%;
        border: 1px solid white;
        border-radius: 10px;
        box-shadow: 5px 5px 5px rgba(85, 85, 85, 0.541);
        position: absolute;
        top: 0%;
        left: 50%;
        transform: translate(-50%, 0);
        margin-bottom: 200px;
    }
}

@media screen and (max-width: 315px) {
    .about-img .img-bg {
        position: absolute;
        width: 180px;
        height: 250px;
        background-color: rgba(255, 255, 255, 0.098);
        top: 30%;
        left: 50%;
        transform: translate(-50%, 0);
        border-radius: 10px;
        z-index: -1;
        margin-top: 10px;
    }

    .about-img img {
        width: 100%;
        border: 1px solid white;
        border-radius: 10px;
        box-shadow: 5px 5px 5px rgba(85, 85, 85, 0.541);
        position: absolute;
        top: 0%;
        left: 50%;
        transform: translate(-50%, 0);
        margin-bottom: 200px;
    }
}

@media screen and (max-width: 280px) {
    .about-img .img-bg {
        position: absolute;
        width: 180px;
        height: 220px;
        background-color: rgba(255, 255, 255, 0.098);
        top: 30%;
        left: 50%;
        transform: translate(-50%, 0);
        border-radius: 10px;
        z-index: -1;
        margin-top: 10px;
    }

    .about-img img {
        width: 100%;
        border: 1px solid white;
        border-radius: 10px;
        box-shadow: 5px 5px 5px rgba(85, 85, 85, 0.541);
        position: absolute;
        top: 0%;
        left: 50%;
        transform: translate(-50%, 0);
        margin-bottom: 200px;
    }
}

/* Treatment Type */
.container-type {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0 80px;
    margin: 120px 30px 40px;
    text-align: center;
    height: 100%;
}

.type-1 {
    width: 100%;
    height: 105%;
    background: url(../image/icon1.png) no-repeat;
    background-size: contain;
    background-position: 50%;
}

.container-type h3 {
    font-family: 'Cormorant Garamond', serif;
    color: white;
    font-size: 22px;
    padding-top: 120px;
    letter-spacing: 2px;
}

.container-type p {
    color: white;
    padding-top: 10px;
    font-size: 12px;
    margin: 0 10px;
    letter-spacing: 1px;
}

.type-2 {
    width: 100%;
    height: 105%;
    background: url(../image/icon2.png) no-repeat;
    background-size: contain;
    background-position: 50%;
}

.type-3 {
    width: 100%;
    height: 105%;
    background: url(../image/icon3.png) no-repeat;
    background-size: contain;
    background-position: 50%;
}

@media screen and (max-width: 768px) {
    .container-type {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0 80px;
        margin: 80px 30px 40px;
        text-align: center;
        height: 100%;
        background-position: 50%;
    }

    .type-2 {
        width: 100%;
        height: 105%;
        background: url(../image/icon2.png) no-repeat;
        background-size: contain;
        background-position: 50%;
    }
}

@media screen and (max-width: 900px) {
    .type-2 {
        width: 100%;
        height: 105%;
        background: url(../image/icon2.png) no-repeat;
        background-size: contain;
    }
}

@media screen and (max-width: 665px) {
    .container-type {
        display: grid;
        grid-template-columns: 1fr;
        gap: 60px 80px;
        margin: 550px 30px 40px;
        text-align: center;
        height: 100%;
    }

    .type-2 {
        width: 100%;
        height: 105%;
        background: url(../image/icon2.png) no-repeat;
        background-size: contain;
        background-position: 50%;
    }

    .container-type h3 {
        font-family: 'Cormorant Garamond', serif;
        color: white;
        font-size: 22px;
        padding-top: 80px;
        letter-spacing: 2px;
    }

    .container-type p {
        color: white;
        padding-top: 10px;
        font-size: 12px;
        margin: 0 10px;
        letter-spacing: 1px;
        padding: 10px 50px 0;
    }
}

@media screen and (max-width: 567px) {
    .container-type {
        display: grid;
        grid-template-columns: 1fr;
        gap: 60px 80px;
        margin: 420px 30px 40px;
        text-align: center;
        height: 100%;
    }

    .container-type h3 {
        font-family: 'Cormorant Garamond', serif;
        color: white;
        font-size: 20px;
        padding-top: 80px;
        letter-spacing: 2px;
    }

    .container-type p {
        color: white;
        padding-top: 10px;
        font-size: 12px;
        margin: 0 10px;
        letter-spacing: 1px;
        padding: 10px 50px 0;
    }
}

@media screen and (max-width: 445px) {
    .container-type {
        display: grid;
        grid-template-columns: 1fr;
        gap: 60px 80px;
        margin: 400px 30px 40px;
        text-align: center;
        height: 100%;
    }

    .container-type h3 {
        font-family: 'Cormorant Garamond', serif;
        color: white;
        font-size: 18px;
        padding-top: 80px;
        letter-spacing: 2px;
    }

    .container-type p {
        color: white;
        padding-top: 10px;
        font-size: 10px;
        margin: 0 10px;
        letter-spacing: 1px;
        padding: 10px 50px 0;
    }
}

@media screen and (max-width: 375px) {
    .container-type {
        display: grid;
        grid-template-columns: 1fr;
        gap: 60px 80px;
        margin: 400px 30px 40px;
        text-align: center;
        height: 100%;
    }

    .container-type h3 {
        font-family: 'Cormorant Garamond', serif;
        color: white;
        font-size: 16px;
        padding-top: 80px;
        letter-spacing: 2px;
    }
}

@media screen and (max-width: 315px) {
    .container-type {
        display: grid;
        grid-template-columns: 1fr;
        gap: 60px 80px;
        margin: 350px 30px 40px;
        text-align: center;
        height: 100%;
    }

    .container-type h3 {
        font-family: 'Cormorant Garamond', serif;
        color: white;
        font-size: 16px;
        padding-top: 80px;
        letter-spacing: 2px;
    }

    .container-type p {
        color: white;
        padding-top: 10px;
        font-size: 10px;
        margin: 0 10px;
        letter-spacing: 1px;
        padding: 10px 40px 0;
    }
}

@media screen and (max-width: 280px) {
    .container-type {
        display: grid;
        grid-template-columns: 1fr;
        gap: 60px 80px;
        margin: 300px 30px 40px;
        text-align: center;
        height: 100%;
    }

    .container-type h3 {
        font-family: 'Cormorant Garamond', serif;
        color: white;
        font-size: 16px;
        padding-top: 80px;
        letter-spacing: 2px;
    }

    .container-type p {
        color: white;
        padding-top: 10px;
        font-size: 10px;
        margin: 0 10px;
        letter-spacing: 1px;
        padding: 10px 40px 0;
    }
}

/* Gallery */

.container {
    max-width: 124rem;
    padding: 0 1rem;
    margin: 10px auto;
}

.text-center {
    text-align: center;
}

.section-subheading {
    font-size: 34px;
    color: white;
    letter-spacing: 1px;
    font-family: 'Cormorant Garamond', serif;
}

.section-paragraphy {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: white;
    letter-spacing: 2px;
    line-height: 30px;
    margin-top: 15px;
}

#tranding {
    padding: 4rem 0;
}

@media (max-width:1440px) {
    #tranding {
        padding: 7rem 0;
    }
}

#tranding .tranding-slider {
    height: 30rem;
    padding: 2rem 0;
    position: relative;
}

#tranding .container h3 {
    margin-bottom: 10px;
}

@media screen and (max-width: 992px) {
    #tranding .container h3 {
        font-size: 28px;
    }

    #tranding .container p {
        font-size: 14px;
        padding: 0 60px;
    }
}

@media screen and (max-width: 768px) {
    #tranding .container h3 {
        font-size: 26px;
    }

    #tranding .container p {
        font-size: 12px;
        padding: 0 60px;
    }
}

@media (max-width:680px) {
    .tranding-slide {
        width: 28rem !important;
        height: 20rem !important;
    }

    .tranding-slide .tranding-slide-img img {
        width: 28rem !important;
        height: 20rem !important;
    }
}

@media screen and (max-width: 567px) {
    .about-home h2 {
        font-family: 'Cormorant Garamond', serif;
        font-size: 40px;
        color: white;
        font-weight: 900;
        letter-spacing: 5px;
        text-align: center;
    }

    .about-home p {
        font-family: 'Poppins', sans-serif;
        font-size: 16px;
        color: rgba(255, 255, 255, 0.357);
        font-weight: 400;
        letter-spacing: 5px;
        text-align: center;
    }
}

@media (max-width:500px) {
    #tranding .tranding-slider {
        height: 20rem;
    }
}

.tranding-slide {
    width: 37rem;
    height: 20rem;
    position: relative;
}

@media (max-width:500px) {
    .tranding-slide {
        width: 20rem !important;
        height: 15rem !important;
    }

    .tranding-slide .tranding-slide-img img {
        width: 20rem !important;
        height: 15rem !important;
    }

    .tranding-slider-control {
        position: relative;
        margin-top: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tranding-slider-control .slider-arrow {
        background: rgba(255, 255, 255, 0.324);
        width: 2rem;
        height: 2rem;
        border-radius: 50%;
        left: 40%;
        transform: translateX(-40%);
        filter: drop-shadow(0px 8px 24px rgba(18, 28, 53, 0.1));
    }

    .tranding-slider-control .slider-arrow ion-icon {
        font-size: 1.2rem;
        color: #ffffff;
    }

    #tranding .container h3 {
        font-size: 24px;
    }

    #tranding .container p {
        font-size: 12px;
        padding: 0 60px;
        line-height: 22px;
    }

}

@media screen and (max-width:450px) {
    #tranding .container h3 {
        font-size: 20px;
    }

    #tranding .container p {
        font-size: 10px;
        padding: 0 40px;
        line-height: 22px;
    }
}

@media screen and (max-width:400px) {
    .about-home h2 {
        font-family: 'Cormorant Garamond', serif;
        font-size: 30px;
        color: white;
        font-weight: 900;
        letter-spacing: 5px;
        text-align: center;
    }

    .about-home p {
        font-family: 'Poppins', sans-serif;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.357);
        font-weight: 400;
        letter-spacing: 4px;
        text-align: center;
    }
}

@media (max-width:390px) {
    .tranding-slide {
        width: 18rem !important;
        height: 15rem !important;
    }

    .tranding-slide .tranding-slide-img img {
        width: 18rem !important;
        height: 15rem !important;
    }

    .tranding-slider-control {
        position: relative;
        margin-top: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

}

@media (max-width:350px) {
    .tranding-slide {
        width: 14rem !important;
        height: 15rem !important;
    }

    .tranding-slide .tranding-slide-img img {
        width: 14rem !important;
        height: 15rem !important;
    }

    .tranding-slider-control {
        position: relative;
        margin-top: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #tranding .container h3 {
        font-size: 18px;
    }

    #tranding .container p {
        font-size: 10px;
        padding: 0 40px;
        line-height: 22px;
    }

}

.tranding-slide .tranding-slide-img img {
    position: relative;
    width: 37rem;
    height: 20rem;
    border-radius: 2rem;
    object-fit: cover;
}

.swiper-slide-shadow-left,
.swiper-slide-shadow-right {
    display: none;
}

.tranding-slider-control {
    position: relative;
    bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tranding-slider-control .swiper-button-next {
    left: 60% !important;
    transform: translateX(-60%) !important;
}

@media (max-width:990px) {
    .tranding-slider-control .swiper-button-next {
        left: 70% !important;
        transform: translateX(-70%) !important;
    }
}

@media (max-width:450px) {
    .tranding-slider-control .swiper-button-next {
        left: 80% !important;
        transform: translateX(-80%) !important;
    }
}

@media (max-width:990px) {
    .tranding-slider-control .swiper-button-prev {
        left: 30% !important;
        transform: translateX(-30%) !important;
    }
}

@media (max-width:450px) {
    .tranding-slider-control .swiper-button-prev {
        left: 20% !important;
        transform: translateX(-20%) !important;
    }
}

@media (max-width:380px) {
    .tranding-slider-control .swiper-button-prev {
        left: 15% !important;
        transform: translateX(-15%) !important;
    }
}

@media (max-width:380px) {
    .tranding-slider-control .swiper-button-next {
        left: 85% !important;
        transform: translateX(-85%) !important;
    }

    .tranding-slider-control .slider-arrow ion-icon {
        font-size: 1rem;
        color: #ffffff;
    }
}

@media screen and (max-width:320px) {
    .about-home h2 {
        font-family: 'Cormorant Garamond', serif;
        font-size: 26px;
        color: white;
        font-weight: 900;
        letter-spacing: 5px;
        text-align: center;
    }

    .about-home p {
        font-family: 'Poppins', sans-serif;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.357);
        font-weight: 400;
        letter-spacing: 2px;
        text-align: center;
    }

    #tranding .container h3 {
        font-size: 16px;
    }

    #tranding .container p {
        font-size: 10px;
        padding: 0 10px;
        line-height: 22px;
        margin-bottom: -20px;
    }
}

.tranding-slider-control .slider-arrow {
    background: rgba(255, 255, 255, 0.324);
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    left: 40%;
    transform: translateX(-40%);
    filter: drop-shadow(0px 8px 24px rgba(18, 28, 53, 0.1));
}

.tranding-slider-control .slider-arrow ion-icon {
    font-size: 1.5rem;
    color: #ffffff;
}

.tranding-slider-control .slider-arrow::after {
    content: '';
}

.tranding-slider-control .swiper-pagination {
    position: relative;
    width: 10rem;
    margin-top: 10px;
}

.tranding-slider-control .swiper-pagination .swiper-pagination-bullet {
    filter: drop-shadow(0px 8px 24px rgba(18, 28, 53, 0.1));
    background: rgb(149, 149, 149);
}

.tranding-slider-control .swiper-pagination .swiper-pagination-bullet-active {
    background: rgb(255, 255, 255);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
}

.tranding-slide-img:hover .overlay {
    opacity: 1;
}

/* rate */
.rate-top {
    width: 100%;
    margin-bottom: 50px;
}

.rate-bg {
    width: 100%;
    position: relative;
}

.rate-img {
    position: relative;
    width: 100%;
    height: 250px;
    background: url(../image/about2.png) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.rate-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 将每行分为四个部分 */
    gap: 0 40px;
    /* 可以调整每个部分之间的间距 */
    /* 设置背景颜色，使文本更易读 */
    padding: 40px;
    /* 可以添加内边距以调整整体样式 */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    cursor: pointer;
}

.rate-info .rate-1:hover,
.rate-info .rate-2:hover,
.rate-info .rate-3:hover,
.rate-info .rate-4:hover {
    color: #fff;
    /* 将颜色更改为白色 */
}

.rate-info .rate-1,
.rate-info .rate-2,
.rate-info .rate-3,
.rate-info .rate-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 让内部元素垂直居中对齐 */
    justify-content: space-around;
    /* 让内部元素水平居中对齐 */
    text-align: center;
    width: 20%;
    color: rgba(255, 255, 255, 0.538);
    /* 每个部分的宽度为 25%，这样一行刚好显示 4 个部分 */
    transition: color 0.5s ease;
}

.rate-info i {
    font-size: 35px;
    padding-bottom: 30px;
}

.rate-info .rate-1 p,
.rate-info .rate-2 p,
.rate-info .rate-3 p,
.rate-info .rate-4 p,
.rate-info .rate-1 i,
.rate-info .rate-2 i,
.rate-info .rate-3 i,
.rate-info .rate-4 i {
    width: 150px;
    /* 设置固定的宽度，根据您的需求调整值 */
    margin: 0 auto;
    /* 水平居中文本 */
}

@media screen and (max-width: 992px) {
    .rate-info i {
        font-size: 30px;
        padding-bottom: 30px;
    }

    .rate-info .rate-1 p,
    .rate-info .rate-2 p,
    .rate-info .rate-3 p,
    .rate-info .rate-4 p {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .rate-info i {
        font-size: 26px;
        padding-bottom: 30px;
    }

    .rate-info .rate-1 p,
    .rate-info .rate-2 p,
    .rate-info .rate-3 p,
    .rate-info .rate-4 p {
        font-size: 12px;
        padding: 0 10px;
    }
}

@media screen and (max-width: 680px) {
    .rate-info {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        padding: 20px;
        gap: 30px;
    }

    .rate-info .rate-1,
    .rate-info .rate-2,
    .rate-info .rate-3,
    .rate-info .rate-4 {
        width: 35%;
    }

    .rate-info i {
        padding-bottom: 20px;
    }
}

@media screen and (max-width: 400px) {
    .rate-info {
        grid-template-columns: repeat(1, 1fr);
        width: 100%;
        padding: 20px;
        gap: 30px;
    }

    .rate-info .rate-1,
    .rate-info .rate-2,
    .rate-info .rate-3,
    .rate-info .rate-4 {
        width: 50%;
    }

    .rate-info i {
        padding-bottom: 20px;
    }

    .rate-img {
        position: relative;
        width: 100%;
        height: 500px;
        background: url(../image/about2.png) no-repeat center center;
        background-size: cover;
        background-attachment: fixed;
    }
}

/* animation */
.hide-animation svg {
    stroke-dashoffset: 788px;
}

.elementor-869 .elementor-element.elementor-element-7fe23aa .bdt-ep-advanced-divider {
    text-align: center;
    margin: 0 auto;
    margin-center: 0;
    max-width: 500px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.bdt-ep-advanced-divider {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bdt-ep-advanced-divider svg {
    width: 100%;
    max-width: 500px;
    /* Set the maximum width of the SVG */
    height: auto;
    /* Maintain aspect ratio */
}

.bdt-ep-advanced-divider svg path {
    stroke-dasharray: 788;
    stroke-dashoffset: 788;
    animation: draw 5s linear forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@media (max-width: 1024px) {
    .elementor-869 .elementor-element.elementor-element-7fe23aa {
        --ep-advanced-divider-rotate: 0deg;
    }
}

.elementor-869 .elementor-element.elementor-element-7fe23aa {
    --ep-advanced-divider-rotate: 0deg;
}