/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #0078d4;
    transition: all 0.3s ease;
}

a:hover {
    color: #005a9e;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #0078d4;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: #005a9e;
    color: #fff;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0078d4;
}

.section-desc {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo h1 {
    font-size: 24px;
    color: #0078d4;
    margin: 0;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #333;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: #0078d4;
}

nav ul li a.active:after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0078d4;
}

/* Banner样式 */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 5px;
    width: 80%;
    max-width: 600px;
}

.banner-text h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.banner-text p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* 页面Banner样式 */
.page-banner {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px 40px;
    border-radius: 5px;
}

.page-title h2 {
    font-size: 32px;
    margin: 0;
}

/* 特色区域样式 */
.features {
    padding: 60px 0;
    background-color: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

/* 关于我们预览样式 */
.about-preview {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.about-preview .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-title:after {
    left: 0;
    transform: none;
}

.about-content p {
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 服务预览样式 */
.services-preview {
    padding: 60px 0;
    background-color: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.service-item {
    text-align: center;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

/* 新闻预览样式 */
.news-preview {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-item {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.news-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.news-item p {
    margin-bottom: 15px;
    color: #666;
}

.read-more {
    color: #0078d4;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-info, .footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-info h3, .footer-links h3, .footer-contact h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-info h3:after, .footer-links h3:after, .footer-contact h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #0078d4;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-links ul li {
    margin-bottom: 10px;
    margin-left: 0;
}

.footer-links ul li a {
    color: #ccc;
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom a {
    color: #ccc;
}

.footer-bottom a:hover {
    color: #fff;
}

/* 关于页面样式 */
.about-section {
    padding: 60px 0;
    background-color: #fff;
}

.about-content {
    margin-bottom: 40px;
}

.about-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
    list-style-type: disc;
}

.about-content ul li {
    margin-bottom: 10px;
}

.company-info {
    margin-top: 40px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.info-table th, .info-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.info-table th {
    background-color: #f8f8f8;
    font-weight: bold;
    width: 30%;
}

/* 案例页面样式 */
.cases-section {
    padding: 60px 0;
    background-color: #fff;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.case-item {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.case-item:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 20px;
}

.case-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.case-category {
    color: #0078d4;
    font-size: 14px;
    margin-bottom: 10px;
}

/* 文化页面样式 */
.culture-section {
    padding: 60px 0;
    background-color: #fff;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.culture-item {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.culture-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.culture-icon {
    height: 200px;
    overflow: hidden;
}

.culture-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.culture-content {
    padding: 20px;
}

.culture-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.culture-philosophy, .culture-team {
    margin-top: 60px;
}

.philosophy-content, .team-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.philosophy-image, .team-image {
    flex: 1;
    min-width: 300px;
}

.philosophy-image img, .team-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.philosophy-text, .team-text {
    flex: 1;
    min-width: 300px;
}

.philosophy-text p, .team-text p {
    margin-bottom: 15px;
}

/* 服务页面样式 */
.services-section {
    padding: 60px 0;
    background-color: #fff;
}

.service-detail {
    margin-top: 40px;
}

.service-item-large {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 5px;
}

.service-image {
    flex: 1;
    min-width: 300px;
}

.service-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-content {
    flex: 1;
    min-width: 300px;
}

.service-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.service-content p {
    margin-bottom: 15px;
}

.service-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
    list-style-type: disc;
}

.service-content ul li {
    margin-bottom: 10px;
}

.service-contact {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 5px;
}

.service-contact h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-contact p {
    margin-bottom: 20px;
}

/* 新闻页面样式 */
.news-section {
    padding: 60px 0;
    background-color: #fff;
}

.news-filter {
    margin-bottom: 30px;
}

.news-filter ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.news-filter ul li {
    margin: 0 10px;
}

.news-filter ul li a {
    display: block;
    padding: 8px 15px;
    border-radius: 20px;
    color: #333;
    transition: all 0.3s ease;
}

.news-filter ul li a:hover,
.news-filter ul li a.active {
    background-color: #0078d4;
    color: #fff;
}

.news-list {
    margin-bottom: 40px;
}

.news-item-full {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    background-color: #f8f8f8;
    border-radius: 5px;
    overflow: hidden;
}

.news-image {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    flex: 2;
    min-width: 300px;
    padding: 20px;
}

.news-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #333;
}

.news-meta {
    display: flex;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.news-date, .news-category {
    margin-right: 20px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 3px;
    background-color: #f8f8f8;
    color: #333;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background-color: #0078d4;
    color: #fff;
}

/* 加入我们页面样式 */
.join-section {
    padding: 60px 0;
    background-color: #fff;
}

.join-advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.advantage-item {
    text-align: center;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advantage-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.job-openings {
    margin-top: 60px;
}

.job-item {
    margin-bottom: 30px;
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 5px;
}

.job-item h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.job-info {
    flex: 1;
    min-width: 250px;
}

.job-info p {
    margin-bottom: 10px;
}

.job-description {
    flex: 2;
    min-width: 300px;
}

.job-description h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.job-description ul {
    margin-left: 20px;
    margin-bottom: 20px;
    list-style-type: disc;
}

.job-description ul li {
    margin-bottom: 5px;
}

.application-process {
    margin-top: 60px;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: #0078d4;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.process-step h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.contact-info {
    margin-top: 60px;
    text-align: center;
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 5px;
}

.contact-info h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info .btn {
    margin-top: 20px;
}

/* 在线留言页面样式 */
.message-section {
    padding: 60px 0;
    background-color: #fff;
}

.message-form-container {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 5px;
}

.message-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 1 0 calc(50% - 10px);
}

.full-width {
    flex: 1 0 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.required {
    color: #f00;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

.captcha-container {
    display: flex;
    gap: 10px;
}

.captcha-container input {
    flex: 1;
}

.captcha-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.captcha-image img {
    width: 100%;
    height: 40px;
    object-fit: contain;
    margin-bottom: 5px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

.message-tips {
    max-width: 800px;
    margin: 0 auto 60px;
}

.message-tips h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.message-tips ul {
    margin-left: 20px;
    list-style-type: disc;
}

.message-tips ul li {
    margin-bottom: 10px;
}

.common-questions {
    max-width: 800px;
    margin: 0 auto;
}

.common-questions h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.question-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f8f8f8;
    cursor: pointer;
}

.question h4 {
    font-size: 16px;
    margin: 0;
    color: #333;
}

.toggle-icon {
    font-size: 20px;
    font-weight: bold;
    color: #0078d4;
}

.answer {
    padding: 15px;
    display: none;
}

.answer p {
    margin-bottom: 10px;
}

/* 联系我们页面样式 */
.contact-section {
    padding: 60px 0;
    background-color: #fff;
}

.contact-info-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #0078d4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: #fff;
    font-size: 20px;
}

.contact-detail h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.contact-map {
    flex: 1;
    min-width: 300px;
}

.contact-map h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.map-container {
    height: 300px;
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 5px;
}

.contact-form-container h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.social-media {
    text-align: center;
}

.social-media h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background-color: #0078d4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #005a9e;
    transform: translateY(-5px);
}

/* 响应式样式 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .banner {
        height: 400px;
    }
    
    .banner-text {
        width: 90%;
    }
    
    .banner-text h2 {
        font-size: 28px;
    }
    
    .page-banner {
        height: 200px;
    }
    
    .page-title h2 {
        font-size: 26px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .about-preview .container,
    .philosophy-content,
    .team-content,
    .service-item-large {
        flex-direction: column;
    }
    
    .about-content .section-title,
    .about-content .section-title:after {
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .news-item-full {
        flex-direction: column;
    }
    
    .news-image {
        max-width: none;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-step {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .banner-text h2 {
        font-size: 24px;
    }
    
    .banner-text p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .form-group {
        flex: 1 0 100%;
    }
}
