@font-face {
    font-family: 'Noto Sans SC';
    src: url('../fonts/NotoSansSC-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans SC';
    src: url('../fonts/NotoSansSC-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans SC';
    src: url('../fonts/NotoSansSC-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans SC';
    src: url('../fonts/NotoSansSC-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: #f9fafb;
    overflow-x: hidden;
}

/* 导航栏 */
.navbar {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #2563eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.logo-highlight {
    color: #2563eb;
}

/* CTA按钮样式 */
.nav-cta {
    background: #2563eb;
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: #1d4ed8 !important;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}
/* 移动端菜单样式更新 */
.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 0.5rem 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    border-bottom: 1px solid #f3f4f6;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.mobile-menu a:hover {
    background: #eff6ff;
    color: #2563eb;
}

.mobile-menu ul ul {
    background: #f9fafb;
    padding-left: 1rem;
}

.mobile-menu ul ul a {
    font-size: 0.9rem;
    color: #6b7280;
    padding: 0.6rem 1rem;
    border-bottom: none;
}

.mobile-menu ul ul a:hover {
    color: #2563eb;
}

/* 轮播循环修复 */
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
}

/* 响应式显示 */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }
}
/* Hero区域 */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.hero-shape-1 {
    position: absolute;
    top: 5rem;
    left: 2.5rem;
    width: 18rem;
    height: 18rem;
    background: white;
    border-radius: 50%;
    filter: blur(3rem);
}

.hero-shape-2 {
    position: absolute;
    bottom: 5rem;
    right: 2.5rem;
    width: 24rem;
    height: 24rem;
    background: #93c5fd;
    border-radius: 50%;
    filter: blur(3rem);
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    color: white;
    animation: fadeIn 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: #bfdbfe;
}

.hero-desc {
    font-size: 1.25rem;
    color: #dbeafe;
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 32rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: white;
    color: #2563eb;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #eff6ff;
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 2px solid white;
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: #dbeafe;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-image-area {
    display: none;
    position: relative;
}

.hero-image-wrapper {
    animation: float 6s ease-in-out infinite;
}

.hero-image {
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    display: block;
}

.hero-stats-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hero-stats-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-stats-icon {
    width: 3rem;
    height: 3rem;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
    font-size: 1.25rem;
}

.hero-stats-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.hero-stats-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.hero-bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8rem;
    background: linear-gradient(to top, #f9fafb, transparent);
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* 特色卡片区域 */
.features-section {
    padding: 5rem 0;
    background: white;
}

.features-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.features-grid {
    display: grid;
    gap: 2rem;
    margin-top: -8rem;
    position: relative;
    z-index: 20;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
}

.feature-icon-wrapper {
    width: 4rem;
    height: 4rem;
    background: #dbeafe;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon-wrapper {
    background: #2563eb;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.feature-desc {
    color: #6b7280;
}

/* 服务轮播区域 */
.services-section {
    padding: 5rem 0;
    background: #f9fafb;
}

.services-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: #6b7280;
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto;
}

/* 轮播样式 */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.carousel-container {
    overflow: hidden;
    margin: 0 -1rem;
    padding: 1rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
}

.service-card {
    flex: 0 0 calc(100% - 2rem);
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.service-image-wrapper {
    height: 14rem;
    position: relative;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.service-icon-float {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: white;
    font-size: 2rem;
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.service-list i {
    color: #22c55e;
    font-size: 0.875rem;
}

.service-btn {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #2563eb;
    color: #2563eb;
    background: transparent;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.service-btn:hover {
    background: #2563eb;
    color: white;
}

/* 轮播控制按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    font-size: 1.25rem;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: #2563eb;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.carousel-btn.prev {
    left: -1rem;
}

.carousel-btn.next {
    right: -1rem;
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 轮播指示器 */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: #2563eb;
    width: 2rem;
    border-radius: 9999px;
}

/* 关于我们 */
.about-section {
    padding: 5rem 0;
    background: white;
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.about-image-area {
    position: relative;
}

.about-image-bg-1 {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 6rem;
    height: 6rem;
    background: #dbeafe;
    border-radius: 50%;
    opacity: 0.5;
}

.about-image-bg-2 {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 8rem;
    height: 8rem;
    background: #bfdbfe;
    border-radius: 50%;
    opacity: 0.3;
}

.about-image {
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 10;
    width: 100%;
}

.about-experience-badge {
    position: absolute;
    bottom: -1.5rem;
    right: 1.5rem;
    background: #2563eb;
    color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 20;
}

.about-content {
    space: 1.5rem;
}

.about-text {
    color: #6b7280;
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.about-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.about-feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-icon.blue {
    background: #dbeafe;
    color: #2563eb;
}

.about-feature-icon.green {
    background: #dcfce7;
    color: #16a34a;
}

.about-feature-icon.purple {
    background: #f3e8ff;
    color: #9333ea;
}

.about-feature-icon.orange {
    background: #ffedd5;
    color: #ea580c;
}

.about-feature-title {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.about-feature-desc {
    color: #6b7280;
    font-size: 0.875rem;
}

/* 统计区域 */
.stats-section {
    padding: 5rem 0;
    background: #2563eb;
    color: white;
}

.stats-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    space: 0.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
}

.stat-label {
    color: #bfdbfe;
    font-size: 1.125rem;
}

/* 联系我们 */
.contact-section {
    padding: 5rem 0;
    background: #f9fafb;
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-grid {
    display: grid;
    gap: 3rem;
}

.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.form-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-label {
    color: #374151;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-textarea {
    resize: vertical;
    min-height: 6rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4);
}

.contact-info-wrapper {
    space: 2rem;
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item-icon.blue {
    background: #dbeafe;
    color: #2563eb;
}

.contact-item-icon.green {
    background: #dcfce7;
    color: #16a34a;
}

.contact-item-icon.purple {
    background: #f3e8ff;
    color: #9333ea;
}

.contact-item-content p:first-child {
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.contact-item-content p:last-child {
    font-weight: 700;
    color: #1f2937;
    font-size: 1.125rem;
}

.emergency-card {
    background: #2563eb;
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.emergency-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.emergency-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.emergency-desc {
    color: #bfdbfe;
    margin-bottom: 1.5rem;
}

.emergency-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: white;
    color: #2563eb;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.emergency-btn:hover {
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* 页脚 */
.footer {
    background: #111827;
    color: white;
    padding: 3rem 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    grid-column: 1 / -1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #2563eb;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-desc {
    color: #9ca3af;
    line-height: 1.75;
    max-width: 28rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-copyright {
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: #1f2937;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: #2563eb;
}

/* 响应式设计 */
@media (min-width: 640px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .service-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-image-area {
        display: block;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .service-card {
        flex: 0 0 calc(33.333% - 1.33rem);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .carousel-btn.prev {
        left: -3rem;
    }

    .carousel-btn.next {
        right: -3rem;
    }

    .service-card {
        flex: 0 0 calc(33.333% - 1.33rem);
    }
}

@media (min-width: 1280px) {
    .service-card {
        flex: 0 0 calc(25% - 1.5rem);
    }
}

/* 隐藏类 */
.hidden {
    display: none !important;
}

/* ============================================
   新增：导航下拉菜单样式 + 轮播循环修复
   ============================================ */

/* 导航链接和下拉菜单样式 - 新增 */
.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-links ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: block;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: #2563eb;
}

/* 下拉菜单样式 */
.nav-links ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border: 1px solid #f3f4f6;
    flex-direction: column;
    gap: 0;
    z-index: 100;
}

.nav-links li:hover > ul {
    display: block;
    animation: fadeInDown 0.2s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA按钮样式调整 */
.nav-cta {
    background: #2563eb;
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: #1d4ed8 !important;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

/* 移动端菜单样式更新 */
.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 0.5rem 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    border-bottom: 1px solid #f3f4f6;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.mobile-menu a:hover {
    background: #eff6ff;
    color: #2563eb;
}

.mobile-menu ul ul {
    background: #f9fafb;
    padding-left: 1rem;
}

.mobile-menu ul ul a {
    font-size: 0.9rem;
    color: #6b7280;
    padding: 0.6rem 1rem;
    border-bottom: none;
}

.mobile-menu ul ul a:hover {
    color: #2563eb;
}

/* 响应式显示调整 */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }
}


/* ============================================
   底部联系信息样式优化
   ============================================ */

.footer-contact-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #374151;
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #9ca3af;
}

.footer-contact-icon {
    width: 2rem;
    height: 2rem;
    background: #1f2937;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 0.875rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-contact-content {
    flex: 1;
}

.footer-contact-label {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-contact-value {
    color: #e5e7eb;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-value.phone {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

.footer-qr-code {
    margin-top: 1.5rem;
    text-align: center;
}

.footer-qr-placeholder {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 0.5rem;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    font-size: 0.75rem;
}

.footer-qr-text {
    font-size: 0.75rem;
    color: #6b7280;
}

/* 备案信息 */
.footer-beian {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #374151;
    text-align: center;
}

.footer-beian p {
    color: #6b7280;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.footer-beian a {
    color: #6b7280;
    text-decoration: none;
}

.footer-beian a:hover {
    color: #9ca3af;
}

/* 响应式调整 */
@media (min-width: 640px) {
    .footer-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .footer-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* 导航栏基础 */
.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-links ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: -20px;
}

.nav-links a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: block;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: #2563eb;
}

/* 下拉菜单 - 关键修复 */
.nav-links ul ul {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    margin-top: 0;
    border: 1px solid #f3f4f6;
    flex-direction: column;
    gap: 0;
    z-index: 100;

    /* 使用opacity代替display，支持过渡 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    pointer-events: none; /* 隐藏时不可点击 */
}

/* 显示状态 */
.nav-links li:hover > ul,
.nav-links ul ul:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* 鼠标桥梁 - 防止间隙断开 */
.nav-links li::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
    z-index: 99;
}

.nav-links ul ul li {
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
}

.nav-links ul ul a {
    padding: 0.75rem 1.5rem;
    color: #4b5563;
    font-size: 0.95rem;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.nav-links ul ul a:hover {
    background: #eff6ff;
    color: #2563eb;
    border-left-color: #2563eb;
    padding-left: 1.75rem;
}

/* 小三角 */
.nav-links ul ul::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-left: 1px solid #f3f4f6;
    border-top: 1px solid #f3f4f6;
}

/* 响应式 */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

/* ============================================
   联系我们 - 简化横向布局
   ============================================ */

.contact-grid-simple {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-card-simple {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-info-title i {
    color: #2563eb;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-list-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-list-icon.blue { background: #dbeafe; color: #2563eb; }
.contact-list-icon.green { background: #dcfce7; color: #16a34a; }
.contact-list-icon.purple { background: #f3e8ff; color: #9333ea; }
.contact-list-icon.orange { background: #ffedd5; color: #ea580c; }

.contact-list-content {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

/* 紧急救援卡片 */
.emergency-card-simple {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.emergency-icon-big {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.emergency-title-big {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.emergency-desc-big {
    font-size: 1rem;
    color: #fee2e2;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 300px;
}

.emergency-phone-big {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.emergency-phone-big a {
    color: white;
    text-decoration: none;
}

.emergency-time {
    font-size: 0.875rem;
    color: #fecaca;
}

/* ============================================
   Footer - 两列简化布局
   ============================================ */

.footer-grid-simple {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #374151;
}

.footer-brand-simple {
    max-width: 400px;
}

.footer-desc-simple {
    color: #9ca3af;
    line-height: 1.75;
    margin: 1rem 0 1.5rem;
}

.footer-contact-mini {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact-mini p {
    color: #d1d5db;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact-mini i {
    color: #2563eb;
    width: 1.25rem;
}

.footer-links-simple {
    justify-self: end;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-links-col {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-col li {
    margin-bottom: 0.75rem;
}

.footer-links-col a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    display: block;
    padding: 0.25rem 0;
}

.footer-links-col a:hover {
    color: #2563eb;
}

/* 底部版权栏 */
.footer-bottom-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
}

.footer-bottom-simple p {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.footer-social-simple {
    display: flex;
    gap: 1rem;
}

.footer-social-simple a {
    width: 2.5rem;
    height: 2.5rem;
    background: #1f2937;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social-simple a:hover {
    background: #2563eb;
}

/* 响应式 */
@media (max-width: 768px) {
    .contact-grid-simple {
        grid-template-columns: 1fr;
    }

    .emergency-card-simple {
        padding: 2rem;
    }

    .emergency-phone-big {
        font-size: 1.5rem;
    }

    .footer-grid-simple {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links-simple {
        justify-self: start;
    }

    .footer-bottom-simple {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}