/* --- MODAL OVERLAY --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    z-index: 10;
}

.close-modal-btn:hover {
    opacity: 1;
}

/* --- CUSTOM FORM STYLES --- */
.custom-form-container {
    background-color: #1a2a40; /* Dark blue from the image */
    width: 100%;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.custom-form-title {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

.custom-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.custom-form-group {
    flex: 1;
}

.custom-input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.custom-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.custom-input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.custom-textarea {
    min-height: 150px;
    resize: vertical;
    margin-bottom: 20px;
}

.custom-submit-btn {
    background-color: #b91c1c; /* Red color */
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
}

.custom-submit-btn:hover {
    background-color: #991b1b;
}

@media (max-width: 600px) {
    .custom-form-row {
        flex-direction: column;
    }
}

:root {
    --primary-color: #C8102E; /* Premium Corporate Red */
    --secondary-color: #0A2540; /* Deep Premium Navy */
    --accent-blue: #1E3A8A;
    --text-color: #1e293b;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --nav-bg: #ffffff;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Consultation Banner Section */
.consultation-banner {
    background-color: #f0f4f8; /* 改为与第二张图一致的浅灰色背景 */
    background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.01) 0px, rgba(0,0,0,0.01) 2px, transparent 2px, transparent 10px); /* 细微的斜线条纹 */
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.consultation-banner::before {
    content: '';
    position: absolute;
    top: -20%; right: 10%; width: 200px; height: 200px;
    background-color: #a8e6cf; /* 添加右侧浅蓝色菱形装饰 */
    transform: rotate(45deg);
    opacity: 0.8;
    z-index: 0;
}

.consultation-banner::after {
    content: '';
    position: absolute;
    top: 5%; right: 14%; width: 50px; height: 50px;
    background-image: radial-gradient(#fff 20%, transparent 20%), radial-gradient(#fff 20%, transparent 20%);
    background-size: 15px 15px;
    background-position: 0 0, 7.5px 7.5px; /* 右侧菱形上的点阵装饰 */
    opacity: 0.5;
    z-index: 1;
}

.consultation-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding-top: 20px;
}

@keyframes floatIcon {
    0% { transform: translateY(0px) rotate(40deg); }
    50% { transform: translateY(-15px) rotate(45deg); }
    100% { transform: translateY(0px) rotate(40deg); }
}

.consultation-icon {
    position: absolute;
    top: -40px;
    right: 10px;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
    animation: floatIcon 6s ease-in-out infinite;
}

.consultation-icon svg {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.consultation-text {
    color: var(--secondary-color);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 40px;
    margin-top: 0;
    max-width: 900px;
    line-height: 1.6;
    text-align: center;
    position: relative;
    z-index: 2;
}

.consultation-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    background-color: #11324c; /* 左侧深色背景 */
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.3s;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
}

.consultation-btn:hover {
    transform: translateY(-2px);
}

.consultation-btn .btn-text {
    padding: 15px 30px;
    font-size: 14px;
    font-weight: 500;
}

.consultation-btn .btn-arrow {
    background-color: #00c4cc; /* 右侧亮蓝色箭头背景 */
    padding: 15px 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .consultation-text {
        font-size: 28px;
        max-width: 80%;
    }
    .consultation-icon {
        top: -30px;
        right: 10%;
    }
    .consultation-icon svg {
        width: 120px;
    }
}

/* Advantages Section */
.advantages-section {
    padding: 60px 0;
    background-color: #f4f4f4;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.advantage-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-blue));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.advantage-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-icon {
    margin-bottom: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #f8fafc;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.advantage-card:hover .advantage-icon {
    background: var(--primary-color);
    transform: rotateY(180deg);
}

.advantage-icon img {
    transition: all 0.4s ease;
}

.advantage-card:hover .advantage-icon img {
    filter: brightness(0) invert(1);
}

.advantage-card h3 {
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: flex-start; /* 改为 flex-start 以便控制间距 */
    align-items: center;
    height: 100px;
    gap: 30px; /* 进一步缩小 Logo 和导航菜单之间的距离 */
    padding-left: 0; /* 移除容器默认的左侧内边距，让整体更靠左 */
    margin-left: 0; /* 移除居中对齐的 margin，使其紧贴左侧 */
    max-width: 100%; /* 解除最大宽度限制，以便完全靠左 */
    padding-right: 20px; /* 保留右侧内边距 */
}

/* Logo Styles */
.logo-container {
    margin-left: 20px; /* 给左侧留出一点点边距，避免完全贴边 */
}

.logo-container a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-full {
    height: 85px; /* 在不改变 100px 导航栏高度的前提下，放大 Logo */
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transform: scale(1.15); /* 使用 scale 进一步放大，突破原本的内边距限制 */
    transform-origin: left center; /* 保持左对齐放大 */
}

/* Navigation Styles (Desktop) */
.nav-menu {
    display: none;
    flex: 1; /* 让导航菜单占据剩余空间，但内容靠左 */
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding: 10px 0;
    transition: var(--transition);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-list a:hover::after {
    width: 100%;
}

/* Header Actions (Language & Mobile Toggle) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Header Phone */
.header-phone {
    display: none; /* Hide on mobile by default */
    align-items: center;
    font-weight: 600;
    color: var(--text-color);
    font-size: 15px;
}

.header-phone .icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    color: var(--primary-color);
}

/* Header Appointment Button */
.header-appointment-btn {
    display: none; /* Hide on mobile by default */
    align-items: center;
    text-decoration: none;
    color: #fff;
    background-color: #11324c; /* 深色背景 */
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
}

.header-appointment-btn:hover {
    transform: translateY(-2px);
}

.header-appointment-btn .btn-text {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
}

.header-appointment-btn .btn-arrow {
    background-color: #00c4cc; /* 亮蓝色箭头背景 */
    padding: 10px 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Language Switcher */
.lang-switcher {
    display: none; /* Hidden on mobile by default */
    background-color: var(--bg-light);
    border-radius: 30px;
    padding: 4px;
    border: 1px solid rgba(0,0,0,0.05);
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    border-radius: 20px;
    transition: var(--transition);
}

.lang-btn:hover {
    color: var(--secondary-color);
}

.lang-btn.active {
    background-color: #fff;
    color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s;
}

/* Mobile Navigation Drawer */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px; /* Hidden off-screen */
    width: 280px;
    height: 100%;
    background-color: #fff;
    z-index: 999;
    padding: 60px 20px 20px;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
}

.mobile-nav.active {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
}

.mobile-nav-list {
    list-style: none;
    margin-bottom: 30px;
}

.mobile-nav-list li {
    margin-bottom: 20px;
}

.mobile-nav-list a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 18px;
    font-weight: 500;
    display: block;
}

.mobile-lang-switcher {
    display: flex;
    justify-content: center;
    gap: 10px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* Responsive Breakpoints */
@media (min-width: 769px) {
    .nav-menu {
        display: flex;
        align-items: center;
        flex: 1; /* 占据剩余空间 */
    }

    .nav-list {
        display: flex;
        gap: 30px;
        margin: 0;
        padding: 0;
        list-style: none;
        justify-content: flex-start; /* 改为向左对齐（靠近 Logo） */
    }

    .nav-list li {
        margin: 0;
    }

    .nav-list a {
        font-size: 16px;
        padding: 10px 0;
    }

    .header-phone {
        display: flex;
    }

    .header-appointment-btn {
        display: inline-flex;
    }

    .lang-switcher {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .mobile-nav, .mobile-nav-overlay {
        display: none;
    }
}

/* Hero Section */
.hero-section {
    background-color: var(--secondary-color);
    background: linear-gradient(135deg, #0A2540 0%, #1E3A8A 100%);
    color: #fff;
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    animation: slowRotate 30s linear infinite;
    pointer-events: none;
}

@keyframes slowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease forwards;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .hero-section {
        padding: 150px 0;
    }
    .hero-title {
        font-size: 48px;
    }
    .hero-subtitle {
        font-size: 20px;
    }
}

/* Intro Block Section */
.intro-block-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-blue) 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.intro-block-section::before {
    content: '"';
    position: absolute;
    font-size: 350px;
    color: rgba(255,255,255,0.03);
    font-family: Georgia, serif;
    top: -80px;
    left: 20%;
    z-index: 0;
    line-height: 1;
    transform: rotate(-10deg);
}

.intro-block-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(200, 16, 46, 0.15) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    border-radius: 50%;
    z-index: 0;
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 1; }
}

.intro-container {
    max-width: 800px; /* Constrain width for better readability */
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.intro-container:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    background: rgba(255, 255, 255, 0.08);
}

.intro-text {
    font-size: 22px;
    line-height: 1.9;
    margin-bottom: 40px;
    font-style: italic;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Steps Section */
.steps-section {
    padding: 60px 0;
    background-color: #f4f4f4; /* Match body bg */
}

.steps-card {
    background-color: var(--bg-color);
    border-radius: 24px;
    padding: 50px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.steps-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-blue));
}

.steps-title {
    color: var(--secondary-color);
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #d0e3f0;
    text-align: left;
}

.step-item {
    display: flex;
    align-items: center; /* 确保所有子元素垂直居中 */
    padding: 15px 25px; /* 减小上下内边距 */
    border-bottom: 1px dashed #d0e3f0;
    border-radius: 16px;
    transition: all 0.3s ease;
    margin-bottom: 5px; /* 减小下外边距 */
}

.step-item:hover {
    background-color: #fff;
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: transparent;
    z-index: 2;
    position: relative;
}

.step-content {
    flex: 1; /* 让内容占据剩余空间，把按钮挤到右边 */
    padding-right: 20px;
}

.step-action-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border: 1px solid #b0bec5; /* 淡蓝色边框 */
    border-radius: 30px; /* 胶囊形状 */
    overflow: hidden;
    background-color: transparent; /* 透明背景 */
    transition: all 0.3s ease;
    height: 36px; /* 控制高度 */
}

.step-action-btn:hover {
    border-color: #00bcd4; /* 悬停时边框变色 */
    box-shadow: 0 2px 8px rgba(0, 188, 212, 0.2);
}

.step-action-btn .btn-text {
    padding: 0 15px;
    font-size: 12px;
    font-weight: 600;
    color: #546e7a; /* 灰蓝色文字 */
    text-transform: uppercase;
}

.step-action-btn .btn-icon {
    background-color: #00bcd4; /* 青色圆圈背景 */
    color: #fff;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 50%;
    margin-left: -5px; /* 让圆圈稍微覆盖一点左边，或者紧贴 */
}

.step-action-btn:hover .btn-text {
    color: #00bcd4;
}

.step-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.step-icon {
    flex-shrink: 0;
    margin-right: 20px;
    background: #f8fafc;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-item:hover .step-icon {
    transform: rotate(15deg) scale(1.2);
    background: #fff;
    box-shadow: 0 8px 20px rgba(200, 16, 46, 0.2);
}

.step-content h3 {
    color: var(--secondary-color);
    font-size: 18px;
    margin-bottom: 0; /* 移除底部间距 */
    font-weight: 500;
}

.step-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

/* Industries Section */
.industries-section {
    padding: 60px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 42px; /* 增大标题字号，更大气 */
    color: var(--secondary-color);
    margin-bottom: 70px;
    font-weight: 800; /* 加粗 */
    position: relative;
    display: block;
    letter-spacing: -1px;
    text-transform: capitalize;
}

.section-title::before {
    content: attr(data-title-bg); /* 使用自定义属性作为背景大字 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%);
    font-size: 100px;
    color: rgba(0,0,0,0.03);
    z-index: -1;
    white-space: nowrap;
    pointer-events: none;
    font-weight: 900;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-blue));
    margin: 25px auto 0;
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.section-title:hover::after {
    width: 150px; /* 悬停时线条变长 */
}

/* Background Patterns */
.medical-services-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(200, 16, 46, 0.03) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(30, 58, 138, 0.03) 0%, transparent 20%);
    pointer-events: none;
}

.steps-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><g fill="%23000" fill-opacity="0.02" fill-rule="evenodd"><circle cx="3" cy="3" r="3"/></g></svg>');
    pointer-events: none;
}

.industries-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.industry-card {
    display: flex;
    background: linear-gradient(145deg, var(--secondary-color), var(--accent-blue));
    border-radius: 20px;
    border: 3px solid #00bcd4;
    overflow: hidden;
    min-height: 280px;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.industry-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover), 0 15px 30px rgba(10, 37, 64, 0.2);
}

.industry-card:hover::before {
    transform: scale(1.5) translate(20px, 20px);
}

.card-content {
    flex: 1;
    padding: 30px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.card-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 500;
}

.card-content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #e0e0e0;
}

.more-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), #A00D23);
    color: #fff;
    text-decoration: none;
    border-radius: 30px; /* 调整为和立即免费咨询一样 */
    font-size: 14px;
    font-weight: bold;
    width: fit-content;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
    position: relative;
}

.more-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
    transition: all 0.6s ease;
}

.more-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(200, 16, 46, 0.5);
}

.more-btn:hover::before {
    left: 150%;
}

.more-btn .btn-text {
    padding: 15px 30px; /* 调整为和立即免费咨询一样 */
    font-size: 14px;
    font-weight: 500;
}

.more-btn .btn-arrow {
    background-color: #00bcd4; /* Cyan arrow bg */
    padding: 15px 20px; /* 调整为和立即免费咨询一样 */
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image {
    width: 40%;
    background-color: #00bcd4; /* Fallback cyan */
    background-size: cover;
    background-position: center;
    position: relative;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
}

/* Teal overlay effect (disabled to match the screenshot) */
/* .card-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 188, 212, 0.4);
} */

/* Background images for industry cards */
.bg-img-1 { background: url('images/adv1.jpg') center/cover no-repeat; }
.bg-img-2 { background: url('images/adv2.jpg') center/cover no-repeat; }
.bg-img-3 { background: url('images/adv3.jpg') center/cover no-repeat; }
.bg-img-4 { background: url('images/adv4.jpg') center/cover no-repeat; }

/* Desktop Layout */
@media (min-width: 992px) {
    .industries-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Update container for general use if needed, but we override it in sections */

/* Global Section Refinements */
section {
    position: relative;
    overflow: hidden;
}

.medical-services-section {
    padding: 100px 0;
    background-color: #fff;
    background-image: radial-gradient(var(--bg-light) 1.5px, transparent 1.5px);
    background-size: 40px 40px; /* 极细微的点状背景 */
}

.medical-services-section .container {
    display: flex;
    flex-direction: column;
}

.services-content {
    width: 100%;
    margin-bottom: 40px;
}

.services-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.services-list li {
    font-size: 18px;
    margin-bottom: 20px;
    padding-left: 45px;
    position: relative;
    color: var(--text-color);
    font-weight: 500;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
    display: flex;
    align-items: center;
    min-height: 32px;
    cursor: pointer;
}

.services-list li:hover {
    transform: translateX(12px) scale(1.02);
    color: var(--primary-color);
}

.services-list li::before {
    content: "✓";
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), #A00D23);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(200, 16, 46, 0.3);
    transition: all 0.4s ease;
}

.services-list li:hover::before {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 5px 15px rgba(200, 16, 46, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--primary-color), #A00D23);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px rgba(200, 16, 46, 0.5);
    background: linear-gradient(135deg, #A00D23, var(--primary-color));
}

.img-responsive {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-image:hover .img-responsive {
    transform: scale(1.03) rotate(-1deg);
}

.services-image {
    width: 100%;
    position: relative;
}

.services-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
    transition: all 0.5s ease;
}

.services-image:hover::after {
    bottom: -10px;
    right: -10px;
    opacity: 0.8;
}

/* Steps Section Refinement */
.steps-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    background-image: linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

.steps-card {
    background-color: #fff;
    border-radius: 32px;
    padding: 60px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.steps-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.08);
}

.steps-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-blue));
    border-radius: 32px 32px 0 0;
}

/* Industries Section Refinement */
.industries-section {
    padding: 120px 0;
    background-color: #fff;
}

.industries-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px; /* 增加间距 */
}

@media (min-width: 769px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr); /* 强制在桌面端显示为 2 列 */
    }
}

.industry-card {
    display: flex;
    background: linear-gradient(145deg, var(--secondary-color), #1a365d);
    border-radius: 24px;
    border: 3px solid #00bcd4;
    overflow: hidden;
    min-height: 300px;
    box-shadow: 0 15px 35px rgba(10, 37, 64, 0.15);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.industry-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(225deg, transparent 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.industry-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(10, 37, 64, 0.25);
}
@media (min-width: 769px) {
    .intro-text {
        font-size: 22px;
    }

    .medical-services-section .container {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }

    .services-content {
        width: 50%;
        margin-bottom: 0;
    }

    .services-image {
        width: 50%;
    }

    .services-list li {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

/* Contact Form Section */
.contact-form-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a365d 100%);
    padding: 120px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.03);
    padding: 60px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.contact-subheading {
    color: #e53935; /* Red color from image */
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-heading {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.3;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    width: 100%;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid transparent;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-control:focus {
    outline: none;
    border-color: #00bcd4;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.3);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), #A00D23);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    width: fit-content;
    overflow: hidden;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

.submit-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px rgba(200, 16, 46, 0.5);
    background: linear-gradient(135deg, #A00D23, var(--primary-color));
}

.submit-btn .btn-text {
    padding: 12px 20px 12px 25px;
    text-transform: uppercase;
}

.submit-btn .btn-arrow {
    background-color: #fff;
    color: #e53935;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 6px;
    font-weight: bold;
}

/* Footer Section */
.site-footer {
    background-color: #f0f4f8; /* 改为与免费咨询版块一致的浅灰色背景 */
    background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.01) 0px, rgba(0,0,0,0.01) 2px, transparent 2px, transparent 10px); /* 保持一致的斜线条纹 */
    color: var(--text-color); /* 改为深色文字，以便在浅色背景上清晰显示 */
    padding: 0; /* Remove top padding completely */
    font-size: 14px;
    font-family: Arial, sans-serif;
}

/* New Footer Layout */
.footer-container {
    display: flex;
    justify-content: center; /* 改回居中对齐，通过 gap 控制间距最稳妥 */
    align-items: flex-start;
    padding: 45px 0 35px;
    max-width: 1200px; /* 调整为更协调的宽度 */
    margin: 0 auto;
    gap: 120px; /* 增加列与列之间的固定间距，确保不显得空旷也不显得拥挤 */
}

.footer-nav-col {
    flex: 0 0 auto;
    width: 180px; /* 给第一列固定宽度 */
}

.footer-services {
    flex: 0 0 auto;
}

.service-col {
    flex: 0 0 auto;
    width: 280px; /* 给右侧两列固定且一致的宽度，确保对齐协调 */
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-nav li {
    margin-bottom: 14px;
}

.footer-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 15px; /* 恢复为 15px，显得更稳重 */
    font-weight: 500; /* 恢复为 500，增加可读性 */
    opacity: 0.9; /* 稍微增加透明度，看起来更清晰 */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 0.8px; /* 稍微增加字间距 */
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 6px 0;
}

/* 服务列表特有样式 */
.service-link {
    display: inline-flex !important;
    align-items: center;
}

.service-icon {
    color: var(--primary-color);
    font-size: 12px;
    margin-right: 8px; /* 图标与文字的间距 */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-nav a:hover .service-icon {
    opacity: 1;
    transform: rotate(90deg) scale(1.2); /* 悬停时图标旋转放大 */
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; /* 贴近文字底部 */
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-blue));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--primary-color);
    transform: translateX(8px);
}

.footer-nav a:hover::after {
    width: 100%;
}

/* Footer Bottom Section (New Bar) */
.footer-bottom {
    background-color: #0b1f35; /* 改为与第二张图一致的深蓝色，移除渐变 */
    padding: 25px 0 15px; /* 调整底部区域的上下内边距 */
    margin-top: 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-container {
    display: flex;
    flex-direction: column; /* 改为垂直排列 */
    gap: 20px; /* 增加一点间距 */
}

.footer-bottom-top-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 40px; /* 控制 Logo、联系方式整体之间的间距 */
    padding-left: 0; /* 确保不产生额外偏移 */
}

.footer-bottom-logo img {
    height: 60px; /* 适当增加底部Logo的高度以便更清晰 */
    max-height: 100%;
    width: auto;
    object-fit: contain;
    /* filter: brightness(0) invert(1); */ /* 移除反色滤镜 */
    display: block;
}

.footer-bottom-contacts {
    display: flex;
    align-items: center;
    gap: 30px; /* 电话和邮箱之间的间距 */
}

.bottom-contact-item {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.6); /* 与版权信息一致的颜色 */
    font-size: 13px; /* 与版权信息一致的字号 */
    text-transform: uppercase; /* 与版权信息一致的大写字母 */
    letter-spacing: 0.5px; /* 与版权信息一致的字间距 */
    font-family: Arial, sans-serif; /* 确保字体家族一致 */
    transition: all 0.3s ease; /* 添加平滑过渡效果 */
    cursor: pointer; /* 鼠标移上去变成小手 */
}

.bottom-contact-item:hover {
    color: var(--primary-color); /* 悬停时文字变为红色 */
    transform: translateY(-2px); /* 悬停时轻微上浮 */
}

.bottom-contact-item:hover .icon-circle svg {
    fill: var(--primary-color); /* 悬停时图标也变红 */
    transform: scale(1.1); /* 图标轻微放大 */
    transition: all 0.3s ease;
}

.bottom-contact-item span:not(.icon-circle) {
    margin-left: 10px; /* 图标和文字之间的间距 */
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: transparent; /* 移除之前的背景色，保持简洁 */
    margin-right: 5px;
}

.icon-circle svg {
    fill: rgba(255,255,255,0.6); /* 将图标颜色也改为与文字一致的半透明白色 */
    width: 16px;
    height: 16px;
}

.footer-bottom-copyright {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.1); /* 添加分割线 */
    padding-top: 15px; /* 调整版权信息上方的间距 */
    text-align: left; /* 版权信息左对齐 */
    padding-left: 0; /* 确保左对齐 */
}

.copyright {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 移除旧的 footer-bottom-left 和 footer-bottom-right 样式 */
.footer-bottom-left, .footer-bottom-right {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    .footer-services {
        justify-content: center;
    }
    .footer-bottom-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .footer-bottom-contacts {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .footer-container {
        gap: 30px;
    }
    .footer-bottom-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .contact-heading {
        font-size: 30px;
    }
    .form-row {
        flex-direction: column;
    }
    .footer-container {
        grid-template-columns: 1fr; /* 移动端单列显示 */
        gap: 30px;
        align-items: flex-start;
    }
}
