/**
 * About Us - All Sections Styles
 */

/* ============================================
   2. CORPORATE CULTURE
   ============================================ */

.corporate-culture-section {
    color: #ffffff;
    position: relative;
}

/* 背景图片作为真实 img，撑开容器高度，不裁切 */
.corporate-culture-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
}

/* 有背景图时，区块固定视口高度，背景图覆盖 */
.corporate-culture-section.has-bg-image {
    height: 90vh;
    min-height: 914px;
    overflow: hidden;
}

.corporate-culture-section.has-bg-image .corporate-culture-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.corporate-culture-section.has-bg-image .container {
    position: relative;
    width: 100%;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 150px;
}

/* 背景撑开容器，与页眉页脚对齐 */
.corporate-culture-section .container {
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box;
    width: 100%;
}

.corporate-culture-section .section-title-wrapper {
    text-align: center;
    margin-bottom: 100px;
}

.corporate-culture-section .section-title {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
}

/* 三列布局，竖线分隔 */
.corporate-culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    max-width: 1440px;
    align-items: baseline;
}

.corporate-culture-item {
    text-align: left;
    padding: 0px 100px;
    position: relative;
}

/* 竖线分隔（第1、2项右侧） */
.corporate-culture-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.25);
    height: 500px;
}

/* 第一项无左padding，最后一项无右padding */
.corporate-culture-item:first-child {
    padding-left: 0;
}

.corporate-culture-item:last-child {
    padding-right: 0;
}

/* 图标 — 无背景、无hover圆圈 */
.corporate-culture-item .icon-wrapper {
    width: auto;
    height: auto;
    margin: 60px 0 66px -6px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

/* 不加任何 filter，保留原始颜色和清晰度 */
.corporate-culture-item .icon-wrapper img {
    max-width: 127px;
    max-height: 127px;
    width: auto;
    height: auto;
    filter: none;
    -webkit-filter: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: brightness(0) invert(1);
  /* 关键：只过渡 opacity，不让 filter 参与动画！ */
  transition: opacity 0.3s ease;
  position: relative;
}
.corporate-culture-item:hover .icon-wrapper img {
    transition: all 0.8s ease;
filter: brightness(0) saturate(100%) invert(29%) sepia(99%) saturate(2745%) hue-rotate(201deg);
  opacity: 1;
}  


.corporate-culture-item .item-title {
    font-size: 65px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px 0;
    text-transform: uppercase;
}

.corporate-culture-item .item-description {
    font-size: 20px;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
    font-weight: 700;
    width: auto;
    max-width: 374px;
}

/* ============================================
   3. EXHIBITION HALL
   ============================================ */

.exhibition-hall-section {
    color: #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.exhibition-hall-section .container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 80px;
    padding-bottom: 80px;
    box-sizing: border-box;
}

.exhibition-hall-section .section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.exhibition-hall-section .section-title {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
}

.exhibition-video-wrapper {
    max-width: 1440px;
    margin: 0 auto 40px;
    padding: 0 140px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.exhibition-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.exhibition-video-container video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

.exhibition-video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.exhibition-video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* 播放按钮 — 使用 play.png 图片 */
.exhibition-play-button {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.exhibition-play-button:hover {
    transform: scale(1.1);
}

.exhibition-play-button img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* 播放文字 — 白边圆角样式 */
.exhibition-play-text {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    padding: 3px 50px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    margin-top: 30px;
}

/* CTA 按钮 — 长条圆角蓝色 */
.exhibition-cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

.exhibition-cta-button {
    display: inline-block;
    padding: 10px 80px;
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    min-width: 320px;
}

.exhibition-cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(1,127,255,0.45);
    color: #ffffff;
}

/* ============================================
   展厅预约弹窗
   ============================================ */

.exhibition-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.65);
    z-index: 99990;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.exhibition-modal-overlay.active {
    display: flex;
}

.exhibition-modal {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 50px 40px;
    width: 100%;
    max-width: 700px;
    max-height: 92vh;
    overflow: hidden;
    position: relative;
    animation: modalFadeIn 0.3s ease;
    box-sizing: border-box;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.92) translateY(-20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.exhibition-modal-close {
    position: absolute;
    top: 18px; right: 22px;
    width: 32px; height: 32px;
    background: none;
    border: none;
    font-size: 26px;
    color: #888;
    cursor: pointer;
    line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: color 0.2s;
}

.exhibition-modal-close:hover { color: #333; }

/* 弹窗表单 */
.exhibition-modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* 三列布局行 */
.exhibition-modal-form .form-row.form-row-3col {
    grid-template-columns: 1fr 1fr 1fr;
}

.exhibition-modal-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.exhibition-modal-form .form-group.full-width {
    grid-column: 1 / -1;
}

.exhibition-modal-form label {
    font-size: 14px;
    font-weight: 600;
    color: #666666;
}

.exhibition-modal-form label .required {
    color: #e53e3e;
    margin-left: 2px;
}

.exhibition-modal-form input,
.exhibition-modal-form textarea {
    padding: 24px 22px;
    border: 1.5px solid #d0d0d0;
    border-radius: 50px;
    font-size: 14px;
    color: #333333;
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    width: 100%;
}

.exhibition-modal-form input::placeholder,
.exhibition-modal-form textarea::placeholder {
    color: #aaaaaa;
}

.exhibition-modal-form input:focus,
.exhibition-modal-form textarea:focus {
    background: #ffffff;
    border-color: #017fff;
    box-shadow: 0 0 0 2px rgba(1,127,255,0.15);
}

.exhibition-modal-form textarea {
    resize: none;
    min-height: 110px;
    border-radius: 16px;
}

/* 验证码行 */
.exhibition-modal-form .captcha-row {
    position: relative;
}

.exhibition-modal-form .captcha-row input {
    padding-right: 130px;
}

.exhibition-modal-form .captcha-img {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    height: 38px;
    border-radius: 6px 22px 22px 6px;
    cursor: pointer;
}

/* 提交按钮 */
.exhibition-modal-submit {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.exhibition-modal-submit button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 14px 60px;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    background: linear-gradient(90deg, #007eff 0%, #00469b 100%);
    border: 2px solid #ffffff;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
    min-width: 220px;
    outline: none;
}

.exhibition-modal-submit button:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(0,123,255,0.4);
}

.exhibition-modal-submit .modal-submit-arrow {
    display: inline-block;
    width: 20px; height: 20px;
    position: absolute;
    right: 30px;
    transform: rotate(-45deg);
}

.exhibition-modal-submit .modal-submit-arrow::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 20px; height: 20px;
    border-top: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
    transform: translate(-30%, -40%) rotate(45deg);
    box-sizing: border-box;
}

.exhibition-modal-submit .modal-submit-arrow::after {
    content: '';
    position: absolute;
    top: 54%; left: 0;
    width: 28px; height: 1.5px;
    background: #fff;
    transform: translateY(50%);
}

/* 弹窗消息 */
.exhibition-modal-messages { margin-bottom: 16px; }
.exhibition-modal-success {
    padding: 12px 16px;
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 8px;
    color: #065f46;
    font-size: 14px;
    display: none;
}
.exhibition-modal-error {
    padding: 12px 16px;
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    border-radius: 8px;
    color: #991b1b;
    font-size: 14px;
    display: none;
}

/* 强制覆盖：弹窗输入框不被全局 .form-group input 污染 */
.exhibition-modal .exhibition-modal-form input[type="text"],
.exhibition-modal .exhibition-modal-form input[type="email"],
.exhibition-modal .exhibition-modal-form textarea {
    background: #ffffff !important;
    border: 1.5px solid #d0d0d0 !important;
    border-radius: 50px !important;
    color: #333333 !important;
    padding: 24px 22px !important;
    box-shadow: none !important;
    height: auto !important;
    line-height: normal !important;
}
.exhibition-modal .exhibition-modal-form textarea {
    border-radius: 16px !important;
    min-height: 110px !important;
}
.exhibition-modal .exhibition-modal-form input[type="text"]:focus,
.exhibition-modal .exhibition-modal-form input[type="email"]:focus,
.exhibition-modal .exhibition-modal-form textarea:focus {
    background: #ffffff !important;
    border-color: #017fff !important;
    box-shadow: 0 0 0 2px rgba(1,127,255,0.15) !important;
}
.exhibition-modal .exhibition-modal-form .captcha-row input[type="text"] {
    padding-right: 130px !important;
}

/* ============================================
   4. STRATEGIC TECHNOLOGY PARTNERS
   ============================================ */

.partners-section {
    color: #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.partners-section .container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 80px;
    padding-bottom: 80px;
    box-sizing: border-box;
}

.partners-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.partners-section .section-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    margin: 0 0 15px 0;
    text-transform: uppercase;
}

.partners-section .section-subtitle {
    font-size: 18px;
    color: #b0b0b0;
    margin: 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.partner-card {
    border: none;
    border-radius: 16px;
    padding: 20px 28px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.partner-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* 顶部行：图片 + 名称，加圆角粗边框 */
.partner-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    border: 5px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    padding: 0;
    position: relative;
    overflow: visible;
}

.partner-logo {
    width: 95px;
    height: 95px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    margin: -4px 5px -4px -10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.partner-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; }

.partner-name {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.partner-description {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.75);
    margin: 0 0 22px 0;
}

/* 按钮 — 变窄，斜箭头缩小 */
.partner-button {
    display: inline-flex;
    align-items: center;
    padding: 3px 58px 3px 27px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.partner-button .partner-btn-arrow {
    display: inline-block;
    width: 9px;
    height: 9px;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    flex-shrink: 0;
}

.partner-button .partner-btn-arrow::after {
    content: '';
    position: absolute;
    top: 54%;
    left: 0;
    width: 12px;
    height: 1px;
    background: #ffffff;
    transform: translateY(50%);
}

.partner-button .partner-btn-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 8px;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    transform: translate(-30%, -40%) rotate(45deg);
    box-sizing: border-box;
}

.partner-button:hover { color: #ffffff; opacity: 0.9; }

/* ============================================
   5. CERTIFICATES
   ============================================ */

.certificates-section {
    color: #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* 背景撑开，不固定高度 */
}

.certificates-section .container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 80px;
    padding-bottom: 80px;
    box-sizing: border-box;
}

.certificates-section .section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.certificates-section .section-title {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
}

.certificates-carousel-wrapper {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 140px;
}

/* 轮播容器 — 不固定高度，由内容撑开 */
.certificates-carousel {
    position: relative;
    min-height: 400px;
    perspective: 1000px;
}

.certificate-item {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    transition: all 0.5s ease;
    cursor: pointer;
}

.certificate-item.active {
    z-index: 3;
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
}

.certificate-item.prev {
    z-index: 2;
    transform: translate(-150%, -50%) scale(0.85);
    opacity: 0.6;
}

.certificate-item.next {
    z-index: 2;
    transform: translate(50%, -50%) scale(0.85);
    opacity: 0.6;
}

.certificate-item.hidden {
    opacity: 0;
    pointer-events: none;
}

.certificate-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); */
    transition: all 0.3s ease;
}

.certificate-item.active .certificate-image-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(1,127,255,0.3);
}

.certificate-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* 左右箭头 — 使用图片 */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px; height: 50px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.85;
}

.carousel-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    filter: brightness(0) saturate(100%) invert(29%) sepia(99%) saturate(2745%) hue-rotate(201deg);
}

.carousel-arrow img {
    width: 50px; height: 50px;
    object-fit: contain;
    display: block;
}

.carousel-arrow.prev { left: 0; }
.carousel-arrow.next { right: 0; }

/* 证书放大模态框 */
.certificate-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.certificate-modal.active { display: flex; }

.certificate-modal-content {
    max-width: 90%; max-height: 90%;
    position: relative;
    animation: modalZoomIn 0.3s ease;
}

@keyframes modalZoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.certificate-modal-content img {
    max-width: 100%; max-height: 90vh;
    width: auto; height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.certificate-modal-close {
    position: absolute;
    top: -40px; right: 0;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.2);
    border: none; border-radius: 50%;
    color: #fff; font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.certificate-modal-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

/* ============================================
   响应式
   ============================================ */

@media (max-width: 1024px) {
    .corporate-culture-section .container,
    .exhibition-hall-section .container,
    .partners-section .container,
    .certificates-section .container { padding-top: 60px; padding-bottom: 60px; }

    .corporate-culture-section .section-title,
    .exhibition-hall-section .section-title,
    .partners-section .section-title,
    .certificates-section .section-title { font-size: 40px; }

    .corporate-culture-item { padding: 0 40px; }
    .certificates-carousel-wrapper { padding: 0 60px; }
}

@media (max-width: 768px) {
    .corporate-culture-section .container,
    .exhibition-hall-section .container,
    .partners-section .container,
    .certificates-section .container { padding-top: 40px; padding-bottom: 40px; }

    .corporate-culture-section .section-title,
    .exhibition-hall-section .section-title,
    .partners-section .section-title,
    .certificates-section .section-title { font-size: 32px; }

    .corporate-culture-grid { grid-template-columns: 1fr; gap: 40px; }
    .corporate-culture-item { padding: 0; }
    .corporate-culture-item:not(:last-child)::after { display: none; }

    .exhibition-play-button { width: 60px; height: 60px; }
    .exhibition-play-button img { width: 60px; height: 60px; }
    .exhibition-cta-button { padding: 14px 40px; font-size: 15px; min-width: 200px; }

    .partners-grid { grid-template-columns: 1fr; gap: 30px; }
    .partner-logo { width: 60px; height: 60px; }
    .partner-name { font-size: 18px; }

    .certificates-carousel-wrapper { padding: 0 50px; }
    .certificates-carousel { min-height: 320px; }
    .certificate-item { width: 280px; }
    .carousel-arrow { width: 40px; height: 40px; }
    .carousel-arrow img { width: 40px; height: 40px; }

    .exhibition-modal { padding: 36px 24px 28px; }
    .exhibition-modal-form .form-row { grid-template-columns: 1fr; }
    .exhibition-modal-form .form-row.form-row-3col { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .corporate-culture-section .section-title,
    .exhibition-hall-section .section-title,
    .partners-section .section-title,
    .certificates-section .section-title { font-size: 24px; }

    .corporate-culture-item .item-title { font-size: 20px; }
    .corporate-culture-item .item-description { font-size: 14px; }

    .certificates-carousel-wrapper { padding: 0 40px; }
    .certificates-carousel { min-height: 280px; }
    .certificate-item { width: 220px; }
}
