/* 自定义样式 - 货运物流网站 */

.hero-gradient {
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service-card:hover .service-icon {
    transform: translateY(-5px) rotate(5deg);
}

.news-date {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
}

.partner-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.smooth-scroll {
    scroll-behavior: smooth;
}

/* 导航鼠标效果 */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #DC2626;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #DC2626;
    transform: translateY(-2px);
}

/* 轮播图样式 */
.carousel-slide {
    transition: opacity 0.8s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.carousel-slide.active {
    opacity: 1;
}

/* 合作伙伴轮播 */
.partner-track {
    display: flex;
    transition: transform 0.5s ease;
}

/* 表单输入动画 */
.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

/* 验证码样式 */
.captcha-code {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    letter-spacing: 4px;
    text-decoration: line-through;
    font-style: italic;
}

/* 动态效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-pulse-slow {
    animation: pulse 2s infinite;
}

/* 新闻项悬停效果 */
.news-item {
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateX(10px);
    background-color: rgba(255,255,255,0.15);
}

/* 按钮点击效果 */
.btn-click-effect {
    transition: all 0.1s;
}

.btn-click-effect:active {
    transform: scale(0.95);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-gradient h2 {
        font-size: 2.5rem;
    }
}

/* 打印样式优化 */
@media print {
    .glass-effect {
        background: white !important;
        backdrop-filter: none !important;
    }
    
    .news-item {
        break-inside: avoid;
    }
}

/* 公司发展历程：沿用参考页的固定滚动时间线布局 */
#company-history {
    --history-headh: 66px;
    --rate1: 0.8;
    --widtha: 7620px;
    --width1: calc(1170px * var(--rate1));
    --height1: calc(319px * var(--rate1));
    --width2: 0px;
    position: relative;
    z-index: 9;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-bottom: -80px;
    padding-bottom: 80px;
    overflow: visible;
    color: #333;
    font-size: 14px;
    line-height: 14px;
    background: linear-gradient(180deg, #fff 0%, #f2fffb 100%);
}

#company-history .energy-core {
    position: sticky;
    top: var(--history-headh);
    height: calc(100vh - var(--history-headh));
    overflow: hidden;
    padding-top: 57.6px;
    color: #333;
    font-size: 14px;
    line-height: 14px;
}

#company-history .ys-cont1600 {
    position: relative;
    z-index: 6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 85vw;
    max-width: 1600px;
    height: 100%;
    margin: 0 auto;
    --place: 7.5vw;
    --cont: 85vw;
}

#company-history .about-lead-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#company-history .mod-title3 .std-font48 {
    margin: 0 0 11.52px;
    color: #333;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 30.72px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    background: linear-gradient(90deg, #46cfa9 0%, #2890fb 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#company-history .mod-title3 .std-font24,
#company-history .mod-title3 .std-font24 p {
    color: #333;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 17.92px;
    line-height: 1.3;
}

#company-history .about-lead-btn {
    display: none;
}

#company-history .about-lead-cry {
    margin-right: calc(var(--place) * -1);
    margin-left: calc(var(--place) * -1);
    padding-right: var(--place);
    padding-left: var(--place);
    transform: translateY(-140px);
}

#company-history .about-lead-cry-add {
    position: relative;
    width: calc((var(--widtha) - 488px) * var(--rate1));
}

#company-history .about-lead-cry-img {
    position: absolute;
    bottom: calc(var(--height1) * 0.166 * 0.68);
    left: calc(-488px * var(--rate1));
    width: calc(var(--widtha) * var(--rate1));
    height: calc(940px * var(--rate1));
    pointer-events: none;
}

#company-history .about-lead-cry-img img {
    display: none;
}

#company-history .about-lead-cry-img > svg {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
}

#company-history .alci-zou {
    clip-path: polygon(0 0, var(--width2) 0, var(--width2) 100%, 0 100%);
}

#company-history .about-lead-box {
    position: relative;
    width: var(--width1);
    margin-left: 0;
    overflow: visible;
    touch-action: pan-y;
}

#company-history .about-lead-inof {
    display: flex;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    transform: translate3d(0, 0, 0);
    transition: transform 300ms cubic-bezier(0.39, 0.575, 0.565, 1);
}

#company-history .about-lead-inof-nub {
    position: relative;
    flex: 0 0 calc(var(--width1) / 3);
    width: calc(var(--width1) / 3);
    min-height: 241.56px;
    padding: 16.64px 19.2px 64px;
    box-sizing: border-box;
    list-style: none;
}

#company-history .about-lead-inof-nub:nth-of-type(1) {
    top: calc(var(--height1) * 0.2);
}

#company-history .about-lead-inof-nub:nth-of-type(2) {
    top: calc(var(--height1) * 0.013);
}

#company-history .about-lead-inof-nub:nth-of-type(3) {
    margin-top: calc(var(--height1) * -0.09);
}

#company-history .about-lead-inof-nub:nth-of-type(4) {
    margin-top: calc(var(--height1) * -0.16018);
}

#company-history .about-lead-inof-nub:nth-of-type(5) {
    margin-top: calc(var(--height1) * -0.2303);
}

#company-history .about-lead-inof-nub:nth-of-type(6) {
    margin-top: calc(var(--height1) * -0.2763);
}

#company-history .about-lead-inof-nub:nth-of-type(7) {
    margin-top: calc(var(--height1) * -0.3223);
}

#company-history .about-lead-inof-nub:nth-of-type(8) {
    margin-top: calc(var(--height1) * -0.3763);
}

#company-history .about-lead-inof-nub:nth-of-type(9) {
    margin-top: calc(var(--height1) * -0.448);
}

#company-history .about-lead-inof-nub:nth-of-type(10) {
    margin-top: calc(var(--height1) * -0.5243);
}

#company-history .about-lead-inof-nub:nth-of-type(11) {
    margin-top: calc(var(--height1) * -0.573063);
}

#company-history .about-lead-inof-nub .std-font24 {
    margin: 0 0 10.88px;
    color: #00c689;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 17.92px;
    font-weight: 700;
    line-height: 1.5;
    opacity: 0;
    transform: translate3d(60px, 0, 0);
    transition: all 0.8s cubic-bezier(0.39, 0.575, 0.565, 1);
}

#company-history .about-lead-inof-nub .std-text16,
#company-history .about-lead-inof-nub .std-text16 p {
    min-height: 8.75em;
    width: 16.68em;
    max-width: 100%;
    color: #333;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14.08px;
    line-height: 1.75;
}

#company-history .about-lead-inof-nub .std-text16 {
    opacity: 0;
    transform: translate3d(60px, 0, 0);
    transition: all 0.8s cubic-bezier(0.39, 0.575, 0.565, 1);
}

#company-history .alin-point {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    opacity: 1;
}

#company-history .alin-point::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 10px;
    height: 10px;
    content: "";
    background: #e0e6e4;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

#company-history .alin-point::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 0;
    content: "";
    border-left: 1px dashed #00c689;
}

#company-history.on .about-lead-inof-nub.act .alin-point::after,
#company-history.on .about-lead-inof-nub.act1 .alin-point::after {
    height: 100%;
}

#company-history.on .about-lead-inof-nub.act .std-font24,
#company-history.on .about-lead-inof-nub.act .std-text16,
#company-history.on .about-lead-inof-nub.act1 .std-font24,
#company-history.on .about-lead-inof-nub.act1 .std-text16 {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

#company-history.on .about-lead-inof-nub.act .alin-point::before,
#company-history.on .about-lead-inof-nub.act1 .alin-point::before {
    background: #00c689;
}

#company-history .about-lead-zhan,
#company-history .about-lead-zhan-end {
    display: none;
}

#company-history::after {
    display: block;
    content: "";
}

@media (min-width: 1681px) {
    #company-history {
        --width1: calc(1560px * var(--rate1));
    }
    #company-history .about-lead-inof-nub {
        flex-basis: calc(var(--width1) / 4);
        width: calc(var(--width1) / 4);
    }
}

@media (max-width: 992px) {
    #company-history {
        margin-bottom: -60px;
        padding-bottom: 60px;
    }
}

@media (max-width: 767px) {
    #company-history {
        --history-headh: 56px;
        --rate1: 0.6;
        --width1: calc(390px * var(--rate1));
    }
    #company-history .energy-core {
        padding-top: 42px;
    }
    #company-history .ys-cont1600 {
        width: 100%;
        max-width: none;
        padding: 0 20px;
        --place: 20px;
        --cont: calc(100vw - 40px);
    }
    #company-history .about-lead-title {
        align-items: center;
        width: 100%;
        text-align: center;
    }
    #company-history .about-lead-cry {
        transform: translateY(-150px);
    }
    #company-history .mod-title3 {
        width: 100%;
    }
    #company-history .mod-title3::after {
        display: block;
        height: 41px;
        content: "";
    }
    #company-history .mod-title3 .std-font48 {
        margin-bottom: 8px;
        font-size: 24px;
        line-height: 1.4;
    }
    #company-history .mod-title3 .std-font24,
    #company-history .mod-title3 .std-font24 p {
        font-size: 14px;
    }
    #company-history .about-lead-inof-nub {
        flex-basis: var(--width1);
        width: var(--width1);
        min-height: 211.5px;
        padding: 15.6px 18px 60px;
    }
    #company-history .alin-point {
        top: 9px;
    }
    #company-history .about-lead-box,
    #company-history .about-lead-inof {
        height: 219.47px;
    }
    #company-history .about-lead-inof-nub .std-font24 {
        font-size: 16.8px;
        line-height: 1.5;
    }
    #company-history .about-lead-inof-nub .std-text16,
    #company-history .about-lead-inof-nub .std-text16 p {
        font-size: 14px;
        line-height: 1.75;
    }
    #company-history .about-lead-cry-img {
        bottom: calc(var(--height1) * 0.166 * 1.6);
    }
}

@media (max-width: 576px) {
    #company-history {
        margin-bottom: -40px;
        padding-bottom: 40px;
    }
}
