html {
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    font-family: 'PingFang SC', 'Microsoft Yahei', Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: #1e2022;
    text-align: left;
    background-color: #fff;
    position: relative;
}

p {
    color: rgba(0, 0, 0, 0.56);
    font-size: 0.8rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: MicrosoftYaHei, PingFangSC-Semibold;
    letter-spacing: 0;
    line-height: 1.3;
}
h1,
h2,
h3,
h4{
    font-weight: 600
}

h4 {
    font-size: 1.3rem;
}

a {
    color: #377dff;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    color: #0052ea;
    text-decoration: none;
}

.text-success {
    color: #00c9a7 !important;
}

.text-danger {
    color: #de4437 !important;
}

.text-primary {
    color: #377dff !important;
}


.btn-primary,
.btn-primary:hover {
    background-color: #377dff;
    border-color: #377dff;
}

.btn-primary[href]:hover,
.btn-primary[href]:focus,
.btn-primary[href]:active,
.btn-primary[type]:hover,
.btn-primary[type]:focus,
.btn-primary[type]:active {
    box-shadow: 0 4px 11px rgba(55, 125, 255, 0.35);
}

.btn-light,
.btn-light:hover {
    color: #377dff !important;
    background-color: #fff;
    border-color: #fff;
}

.btn-light[href]:hover,
.btn-light[href]:focus,
.btn-light[href]:active,
.btn-light[type]:hover,
.btn-light[type]:focus,
.btn-light[type]:active {
    box-shadow: 0 4px 11px rgba(255, 255, 255, 0.35);
}

.section-label {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    font-size: 0.8rem;
    border: 1px solid transparent;
    border-radius: 50rem;
    color: #007f6a;
    background: rgba(0, 201, 167, 0.1);
    border-color: transparent;
}

.btn-lg {
    font-size: 1rem;
    padding: 0.6rem 2rem;
}

.transition-3d-hover {
    transition: transform 0.2s ease-in-out;
}

.transition-3d-hover:hover,
.transition-3d-hover:focus {
    transform: translateY(-3px);
}

.fill-gray-100 {
    fill: #f8f9fa !important;
}

/*navbar*/
.navbar {
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    background-color: rgba(24, 26, 28, 0.92);
}

.navbar-brand {
    width: 68px;
}

.navbar-brand svg {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 52.51 / 27.36;
}

.site-header {
    top: 0;
    z-index: 1001;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1002;
    padding: 8px 16px;
    background: #fff;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

:where(a, button):focus-visible {
    outline: 3px solid #377dff;
    outline-offset: 4px;
}

#coverslider {
    padding-top: 72px;
    background: #242628 url(https://mtrstudio.oss-cn-shanghai.aliyuncs.com/img/main-banner.jpg) center / cover;
}

.client-toggle {
    min-width: 156px;
}

.client-toggle[aria-expanded="false"] .when-expanded,
.client-toggle[aria-expanded="true"] .when-collapsed {
    display: none;
}

.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
    color: #377dff;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
    padding: 1rem 1.3rem;
}



/*services*/
.company-intro {
    max-width: 720px;
    font-size: 1rem;
    line-height: 1.8;
}

#coverslider .carousel-item > div {
    min-height: 320px;
}

#coverslider h1 {
    font-size: 2rem;
}

#intro-ppt h2 {
    font-size: 1.3rem;
}

.services .square {
    height: 90px;
    width: 90px;
    margin: auto;
    text-align: center;
}

/*clients*/
.clientlogos .clientlogo {
    display: block;
    margin: auto;
    max-width: 160px;
    height: 80px;
}

.clientlogos img {
    display: block;
    width: 100%;
    height: 80px;
    object-fit: contain;
}

footer .container{
    border-top: 1px solid #e7eaf3;
    font-size: 0.9rem;
}

/*scroll-to-top*/
.scroll-to-top {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 100;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #377dff;
    color: #fff;
    font-size: 0.75rem;
    border-radius: 0.3125rem;
    opacity: 0.5;
    transition: 0.3s ease-out;
}
.scroll-to-top:hover {
    opacity: 1;
    color: #fff;
}

/*select text*/
*::selection {
    background-color: #060606;
    color: white;
}

@media screen and (min-width: 768px) {
    h2:not(.h1) {
        font-size: 2.2rem;
    }

}
@media screen and (max-width: 767px) {
    h1, .h1 {
        font-size: 2rem;
    }
    .btn-lg {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
    }
    #coverslider .mb-2{
        font-size: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .transition-3d-hover,
    .scroll-to-top {
        transition: none;
    }

    .transition-3d-hover:hover,
    .transition-3d-hover:focus {
        transform: none;
    }
}

