/* Header styles */
.header {
    display: flex;
    justify-content: space-between;
    max-width: 1280px;
    align-items: center;
    padding: 10px 20px;
    background-color: #00000000;
    color: #fff;
}

body {
    margin: 0;
    font-family: sans-serif;
    line-height: 1;
    color: #ffffff;
    background-color: #000000;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 80px;
    background-color: #00000000;
    color: #fff;
}
.logo {
    font-size: 16px;
    font-weight: normal;
}
.logo a {
    color: #fff;
    text-decoration: none;
}
.nav {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
.nav li {
    margin-left: 30px;
}
.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: normal;
}
.nav a:hover {
    text-decoration: underline;
}
/* Hero section styles */


.hero {
    background: url('/img/herobg.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* 固定背景图片 */
    height: 100vh; /* 设置为全屏高度 */
    position: relative;
    color: #fff;
    text-align: right;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 1;
}

.hero-content {
    max-width: 1280px;
    width: 100%;
    position: relative;
    z-index: 1; /* 确保文字内容在背景图片之上 */
}

.intro-text {
    position: relative;
    margin-top: -100px;
    margin-left: 0px;
    max-width: 500px;
    width: calc(100% - 40px);
    font-size: 16px;
    text-align: left;
}

.content {
    height: 2000px; /* 添加内容的高度，以便可以滚动 */
    background-color: #00000000; /* 内容背景色 */
    z-index: 0;
}

/* Scrolling keywords section styles */
.scrolling-keywords {
    overflow: hidden;
    white-space: nowrap;
    background-color: #000;
    color: #fff;
    padding: 20px 0;
    position: relative;
}

.keywords-container {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.keywords {
    display: flex;
    animation: scroll 40s linear infinite;
}

.keywords span {
    margin: 0 15px;
    font-size: 16px;
    white-space: nowrap;
}

.keywords .dot {
    margin: 0 5px;
}

/* Keyframes for the scrolling animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}




/* Profession section styles */
.profession-section {
    display: flex;
    justify-content: center;
    text-align: center;
    background-color: #000;
    margin-top: 120px;
    color: #fff;
    padding: 120px 20px;
}

.profession-section .container1 {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.profession-section .content1 {
    max-width: 500px;
}


h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}


/* Profession section styles */
.profession {
    display: flex;
    justify-content: center;
    background-color: #000;
    margin-top: 120px;
    color: #fff;
    padding: 40px 20px;
}

.container {
    display: flex;
    max-width: 1280px;
    width: 100%;
    gap: 80px; /* Add gap between the containers */
}

.image-container, .cards-container {
    flex: 1;
}

.image-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 0px;
}

.cards-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
}

.card {
    background-color: #000;
    border: 1px solid #fff;
    padding: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

.card h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.card p {
    margin: 0;
    font-size: 16px;
}





.footer {
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center;     /* 垂直居中 */
    height: 300px;           /* footer 高度 */
    background-color: #000;
    color: #fff;
}

.footer .container {
    justify-content: center; /* 水平居中 */


}
.footer p {
    margin: 0;


}



/* Adjust card width for smaller screens */
@media (max-width: 1024px) {
    .hero-content .intro-text {
        position: relative;
        margin-top: 100px;
        margin-left: 0px;
        max-width: 500px;
        width: calc(100% - 40px);
        font-size: 16px;
        text-align: left;
    }


    .testimonial-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav {
        flex-direction: column;
        width: 100%;
    }
    .nav li {
        margin-left: 20px;
        align-items: end;
        margin-bottom: 5px;
    }
    .nav a {
        font-size: 18px;
    }
    .nav-toggle {
        display: block;
    }
    .nav.open {
        display: flex;
    }
   /* 隐藏 img-container 在小屏幕上 */
   .image-container  {
    display: none;
}
}





@media (max-width: 768px) {
    .testimonial-container {
        grid-template-columns: 1fr;
    }
    /* 隐藏 img-container 在小屏幕上 */
    .image-container {
        display: none;
    }
}



