/* about-header */
.header {
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}

.header.active {
    background-color: #1a1a1a;
}

.header.scroll {
    background-color: #fff;
}

.main-navigation ul li>a {
    color: #fff;
}

.main-navigation ul li>a:hover {
    color: rgba(242, 195, 105, 1)
}

.header-action ul li a {
    color: #fff;
}

.header-action ul li a:hover {
    color: rgba(242, 195, 105, 1)
}

.nav-logo img {
    filter: brightness(0) invert(1);
}

.main-navigation ul li.ing>a {
    color: rgba(242, 195, 105, 1);
}

.main-navigation ul li.active>a {
    color: rgba(242, 195, 105, 1);
}

.dropdown-list-title:hover {
    color: rgba(242, 195, 105, 1);
}


.dropdown-menu {
    background-color: #1a1a1a;
}

.dropdown-list ul li a::after {
    background-color: rgba(242, 195, 105, 1);
}

.dropdown-list-title {
    color: rgba(255, 255, 255, 0.8);
}

.header.scroll .main-navigation ul li>a,
.header.scroll .header-action ul li a {
    color: #1a1a1a;
}

.header.scroll .nav-logo img {
    filter: none;
}

.header.scroll .dropdown-menu {
    background-color: #fff;
}

.header.scroll .dropdown-list-title {
    color: #1a1a1a;
    opacity: 0.8;
}

.header-action .header-language {
    color: #fff;
}

.header.scroll .header-action .header-language {
    color: var(--primary-color);
}

/* banner-section */
.banner-section {
    width: 100%;
    position: relative;
    height: 100vh;
}

.banner-container {
    height: 100%;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 隐藏 iOS 原生控件 */
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    pointer-events: none;
}

/* 确保视频控件完全隐藏 */
.background-video::-webkit-media-controls {
    display: none !important;
}

.background-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.background-video::-webkit-media-controls-panel {
    display: none !important;
}

.background-video::-webkit-media-controls-play-button {
    display: none !important;
}

.background-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

.banner-content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    top: 0;
    left: 0;
    padding: 0 48px;
    background-color: rgba(0, 0, 0, 0.4);
}

.banner-content .banner-title {
    font-size: 50px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
}

.banner-content .banner-txt {
    position: relative;
    overflow: hidden;
}

.banner-content .banner-txt span {
    font-size: 50px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    display: none;
}

.banner-content .banner-txt span.active {
    display: block;
    animation: banner-txt-animation 0.6s ease forwards;
}

@keyframes banner-txt-animation {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-content p {
    font-size: 15px;
    font-family: var(--family-font-secondary);
    color: #fff;
    margin-top: 30px;
    max-width: 46%;
}





/* why-choose-section */
.why-section {
    padding: 40px 0;
    /* max-width: 1560px; */
    margin: 0 48px;
}

.why-container {
    position: relative;
    height: 520px;
    border-radius: 20px;
}

.why-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/final-pic/about_pic/about-us-why-choose-rollll-design.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
}

.why-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.why-content {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding-right: 100px;
}

.why-content h1 {
    font-size: 40px;
    color: #1a1a1a;
    font-weight: 600;
    line-height: 1.2;
    width: 50%;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
}

.why-content p {
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 400;
    line-height: 1.5;
    width: 50%;
    font-family: var(--family-font-secondary);
    text-align: left;
}

/* irregular-section */
.irregular-section {
    padding: 80px 0;
}

.irregular-box {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.irregular-item {
    width: 32%;
    padding: 30px;
    border-radius: 20px;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    position: relative;
    box-shadow: 0 0px 4px rgba(47, 61, 115, 0.12);
}

.irregular-item:last-child {
    width: 66%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.irregular-item:last-child img {
    width: 43%;
}

.irregular-item svg {
    width: 60px;
    height: 60px;
}

.irregular-item .irregular-item-icon {
    width: 60%;
    height: auto;
}

.irregular-item h5 {
    font-family: var(--family-font-secondary);
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.5;
}

.irregular-item-1,
.irregular-item-2 {
    justify-content: flex-start;
}

.irregular-item-1 img,
.irregular-item-2 img {
    position: absolute;
    bottom: 10px;
    right: 30px;
    width: 55%;
    z-index: -1;
}

.irregular-item-1 h5,
.irregular-item-2 h5 {
    font-size: 16px;
    margin-top: 10px;
}

.irregular-item-1 {
    background-color: #f1f0fc;
}

.irregular-item-2 {
    background-color: #f7f7fb;
}

.irregular-item-3 {
    background-color: #fff4e4;
    align-items: flex-end;
    gap: 30px;
}

.irregular-item-4 {
    background-color: #eef7ff;
}

.irregular-item-5 {
    background-color: #e9f4f3;
}



/* card-section */
.card-section {
    padding: 30px 0 100px 0;
}

.card-title {
    font-size: 40px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 40px;
}

.card-content {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-image: url('/static/images/banner-2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 40px 30px;
}

.content-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 20px;
    width: 50%;
}

.content-box h3 {
    font-size: 23px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.5;
    font-family: var(--family-font-secondary);
}

.content-bottom {
    margin-top: 80px;
    display: flex;
    align-items: center;
}

.bottom-left {
    width: 55%;
}

.star-customer {
    margin-bottom: 30px;
}

.star-customer h5 {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.5;
    margin-bottom: 12px;
}

.star-customer p {
    font-size: 17px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--primary-color);
    line-height: 1.5;
    font-family: var(--family-font-secondary);
    text-decoration: underline;
}

.website-feature h5 {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.5;
}

.website-feature ul {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.website-feature ul li {
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.5;
    font-family: var(--family-font-secondary);
    display: flex;
    align-items: flex-start;
    gap: 5px;
    position: relative;
    padding-left: 25px;
}

.website-feature ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
}

.website-feature ul li span svg {
    width: 15px;
    height: 20px;
}

.website-feature ul li span svg path {
    fill: var(--primary-color);
}

.bottom-right {
    width: 45%;
}

.bottom-right img {
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* reveal animations */
[data-reveal] {
    --reveal-delay: 0s;
    --reveal-duration: 0.6s;
    --reveal-distance: 64px;
    --reveal-ease: cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
    transform: translate3d(0, var(--reveal-distance), 0);
    transition:
        opacity var(--reveal-duration) var(--reveal-ease),
        transform var(--reveal-duration) var(--reveal-ease),
        filter var(--reveal-duration) var(--reveal-ease);
    transition-delay: var(--reveal-delay);
    will-change: opacity, transform, filter;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
}

[data-reveal="fade-up"] {
    transform: translate3d(0, var(--reveal-distance), 0);
}

[data-reveal="fade-right"] {
    transform: translate3d(calc(var(--reveal-distance) * -1), 0, 0);
}

[data-reveal="fade-left"] {
    transform: translate3d(var(--reveal-distance), 0, 0);
}

[data-reveal="zoom-in"] {
    transform: scale(0.9);
}

[data-reveal="zoom-in"].is-visible {
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        transition: none;
        opacity: 1;
        transform: none;
        filter: none;
    }
}


/* timeline-section */
.timeline-section {
    padding: 100px 0;
    background-color: var(--section-bg);
}

.timeline-container {
    margin: 0 auto;
    max-width: 85%;
}

.timeline-title {
    font-size: 40px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 40px;
    text-align: center;
}

.timeline-swiper {
    overflow: visible;
}

.timeline-swiper .swiper-wrapper {
    align-items: stretch;
}

.timeline-swiper .swiper-slide {
    height: auto;
}

.timeline-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
    height: 100%;
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    box-shadow: 0 0 4px rgba(29, 45, 94, 0.12);
    color: #1a1a1a;
}

.timeline-card:hover {
    transform: translateY(-6px);
}

.timeline-card-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.timeline-year {
    font-size: 45px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.timeline-card p {
    font-size: 16px;
    font-family: var(--family-font-secondary);
    line-height: 1.6;
}

.timeline-card-image {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-top: 32px;
}

.timeline-card-image img {
    max-width: 70%;
    height: auto;
    object-fit: contain;
}

/* .timeline-card-image.small-image img {
    max-width: 72%;
} */

.timeline-card-2020 {
    background: #01b3b4;
    color: #ffffff;
}

.timeline-card-2020 {
    background: linear-gradient(180deg, #06b5bb 0%, #049ca1 100%);
    color: #ffffff;
}

.timeline-card-2021 {
    background: #f4f6fb;
    color: #1d2d5e;
}

.timeline-card-2022 {
    background: linear-gradient(180deg, #2f3f6e 0%, #1d2d5e 100%);
    color: #ffffff;
}

.timeline-card-2023 {
    background: #e4ecf4;
    color: #1a1a1a;
}

.timeline-card-2024 {
    background: linear-gradient(180deg, #f2c369 0%, #e3a84b 100%);
    color: #1d2d5e;
}

.timeline-card-2025 {
    background: #ffffff;
    color: #1a1a1a;
    border: 1px solid rgba(29, 45, 94, 0.08);
}

.timeline-card-2020 .timeline-card-image img,
.timeline-card-2022 .timeline-card-image img {
    filter: drop-shadow(0 16px 36px rgba(6, 20, 46, 0.3));
}

.timeline-controls {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: flex-end;
    padding-right: 100px;
}

.timeline-navigation {
    display: flex;
    align-items: center;
    gap: 16px;
}

.timeline-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.timeline-button svg {
    width: 22px;
    height: 22px;
}

.timeline-button:hover {
    background-color: rgba(242, 195, 105, 1);
    transform: translateY(-2px);
}

.timeline-button:disabled {
    cursor: not-allowed;
    background-color: rgba(17, 18, 25, 0.2);
}

.timeline-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: rgba(17, 18, 25, 0.2);
    opacity: 1;
    margin: 0 6px !important;
}

.timeline-pagination .swiper-pagination-bullet-active {
    background-color: rgba(242, 195, 105, 1);
}

@media screen and (max-width: 1200px) {
    .mobile-index-contact svg {
        color: #fff;
    }

    body.show_mobile_menu .mobile-index-contact svg {
        color: var(--primary-color);
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .irregular-item {
        width: 45%;
        flex: 1 auto;
    }
}

@media (max-width: 992px) {
    .timeline-section {
        padding: 30px 0;
    }

    .timeline-title {
        font-size: 32px;
    }

    .timeline-card {
        min-height: 420px;
        padding: 36px 28px 28px;
    }

    .timeline-year {
        font-size: 36px;
    }

    .timeline-card p {
        font-size: 16px;
    }

    .timeline-controls {
        margin-top: 32px;
    }

    .timeline-button {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 568px) {
    .timeline-card {
        min-height: 360px;
        padding: 32px 24px 24px;
    }

    .timeline-card-image {
        margin-top: 24px;
    }

    .timeline-button {
        width: 44px;
        height: 44px;
    }
}

.mobile-card-img {
    display: none;
}

.mobile-why-img {
    display: none;
}

@media (min-width: 993px) and (max-width: 1200px) {
    .banner-content p {
        font-size: 14px;
    }

    .why-content {
        padding-right: 40px;
    }

    .why-content h1 {
        width: 60%;
        font-size: 32px;
    }

    .why-content p {
        width: 60%;
    }

    .irregular-section {
        padding: 40px 0;
    }

    .card-title {
        font-size: 36px;
    }

    .card-section {
        padding: 30px 0;
    }

    .timeline-section {
        padding: 40px 0;
    }

    .content-box h3 {
        font-size: 20px;
    }

    .content-box {
        width: 60%;
    }

    .alt-logo-menu-mobile .navi-trigger,
    .alt-logo-menu-mobile .portfolio-icon {
        fill: #fff !important;
    }

    body.show_mobile_menu .navi-trigger-out .navi-trigger {
        fill: var(--primary-color) !important;
    }

    body.show_mobile_menu .nav-logo img {
        filter: none;
    }
}


@media screen and (max-width: 992px) {
    .mobile-card-img {
        display: block;
        width: 100%;
    }

    .banner-content .banner-title {
        font-size: 36px;
        text-align: center;
    }

    .banner-content .banner-txt span {
        font-size: 36px;
        text-align: center;
    }

    .banner-content p {
        max-width: 100%;
        font-size: 13px;
        margin-top: 20px;
        text-indent: 2em;
    }

    .banner-content {
        padding: 0 15px;
    }

    .why-section {
        margin: 0 15px;
    }

    .why-container {
        height: auto;
        border-radius: 10px;
        padding: 15px;
        overflow: hidden;
        background-color: #f5f5f5;
    }

    .why-content {
        padding-right: 0;
        padding: 0;
        position: relative;
        background-color: #f5f5f5;
    }

    .why-content h1 {
        width: 100%;
        font-size: 20px;
    }

    .why-content p {
        font-size: 14px;
        width: 100%;
    }

    .why-container img.mobile-why-img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 10px 10px 0 0;
        margin-bottom: 20px;
    }

    .why-container::before {
        display: none;
    }

    .irregular-item {
        width: 100%;
        height: auto;
    }

    .irregular-item:last-child {
        width: 100%;
        flex-direction: column;
    }

    .irregular-item-1 img,
    .irregular-item-2 img {
        position: relative;
        bottom: 0;
        right: 0;
        width: 70%;
        margin-left: auto;
    }

    .irregular-item:last-child img {
        width: 65%;
    }

    .irregular-section {
        padding: 30px 0 10px 0;
    }

    .card-title {
        font-size: 32px;
    }

    .content-box {
        width: 100%;
        padding: 20px;
        background-color: #f5f7f8;
        border-radius: 0;
    }

    .card-content {
        padding: 0px;
        flex-direction: column;
        background-image: none;
        overflow: hidden;
        border-radius: 16px;
    }

    .content-bottom {
        margin-top: 40px;
        flex-direction: column;
        gap: 10px;
    }

    .bottom-left,
    .bottom-right {
        width: 100%;
    }

    .bottom-right {
        display: none;
    }

    .card-section {
        padding: 30px 0;
    }

    .card-title {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .timeline-title {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .timeline-container {
        max-width: 100%;
    }

    .timeline-controls {
        padding-right: 0;
    }


    .alt-logo-menu-mobile .navi-trigger,
    .alt-logo-menu-mobile .portfolio-icon {
        fill: #fff !important;
    }

    body.show_mobile_menu .navi-trigger-out .navi-trigger {
        fill: var(--primary-color) !important;
    }

    body.show_mobile_menu .nav-logo img {
        filter: none;
    }


    .header.scroll .navi-trigger-out .navi-trigger {
        fill: var(--primary-color) !important;
    }

    .irregular-item h5 {
        font-size: 17px;
    }

    .irregular-item-1 h5,
    .irregular-item-2 h5 {
        font-size: 17px;
    }

    .service-scope-section {
        padding: 30px 0;
    }
}