html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 6rem;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.company-name {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8rem;
    flex-grow: 1;
    justify-content: flex-end;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #3498db;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 150px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(44, 62, 80, 0.2), rgba(44, 62, 80, 0.2));
    z-index: 1;
}

.slide .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.slide h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: rgb(244, 248, 5);
    font-family: "STXingkai", "Xingkai SC", "华文行楷", "行楷", "LiSu", "STLiti", "隶书", "华文隶书", "YouYuan", "幼圆", "方正舒体", "方正姚体", "华文琥珀", "华文新魏", cursive, serif;
}

.slide .btn {
    position: relative;
    z-index: 2;
    margin-top: 4rem;
}

.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.2), rgba(44, 62, 80, 0.2)), url('../images/hero-bg.jpg') center/cover no-repeat;
    color: white;
    padding: 150px 0;
    text-align: center;
    min-height: 800px;
    display: flex;
    align-items: center;
}

.hero .container {
    width: 100%;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: #2980b9;
}

.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.page-header {
    background: #3498db;
    color: white;
    padding: 60px 0;
    text-align: center;
    scroll-margin-top: 80px;
}

.page-header h1 {
    font-size: 2.5rem;
}

.about-content {
    padding: 80px 0;
    scroll-margin-top: 80px;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-section ul {
    list-style: none;
    padding-left: 0;
}

.about-section li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: #555;
}

.about-section li:before {
    content: "✓ ";
    color: #3498db;
    font-weight: bold;
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-reverse {
    direction: rtl;
}

.about-reverse .about-text,
.about-reverse .about-image {
    direction: ltr;
}

.about-text {
    padding-right: 2rem;
}

.about-text h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.about-text h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: #3498db;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.about-text ul {
    list-style: none;
    padding-left: 0;
}

.about-text li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    color: #555;
    border-bottom: 1px solid #eee;
}

.about-text li:before {
    content: "✓ ";
    color: #3498db;
    font-weight: bold;
    font-size: 1.2rem;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.services-content {
    padding: 80px 0;
    background: #f8f9fa;
    scroll-margin-top: 80px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-card p {
    color: #555;
    line-height: 1.6;
}

.service-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 5rem;
}

.service-reverse {
    direction: rtl;
}

.service-reverse .service-text,
.service-reverse .service-image {
    direction: ltr;
}

.service-text {
    padding-right: 2rem;
}

.service-text h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.service-text h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: #3498db;
}

.service-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.service-subsection {
    background: #f8f9fa;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #3498db;
}

.service-subsection h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.service-subsection p {
    color: #555;
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

.service-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

.contact-content {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    scroll-margin-top: 80px;
}

.contact-content .container {
    max-width: 1200px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.contact-card p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

.qrcode-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qrcode-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode-wrapper img {
    max-width: 200px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.qrcode-wrapper img:hover {
    transform: scale(1.1);
}

.qrcode-wrapper p {
    margin-top: 1rem;
    color: #667eea;
    font-size: 0.95rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
}

footer p {
    margin: 0.5rem 0;
}

.icp {
    font-size: 0.9rem;
    color: white;
}
.icp a{
    color: white;
    text-decoration: none;
    !important;
    display:inline;
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 2rem;
    }

    .contact-content .container {
        grid-template-columns: 1fr;
    }
}
