.productHeader.nexcall_solutions .contents {
    background-image: url("../../images/about/queue-system/queue_system_integration_pc.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 530px;
}

/* 桌面版隱藏平板和手機圖片 */
@media only screen and (min-width: 1025px) {

    .mobile_bg,
    .tablet_bg {
        display: none;
    }
}

/* 平板電腦背景圖片樣式 */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .productHeader.nexcall_solutions .contents {
        background-image: url("../../images/about/queue-system/queue_system_integration_tablet.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        height: 530px;
    }

    .mobile_bg {
        display: none;
    }

    .tablet_bg {
        display: none;
    }
}

/* 手機版背景圖片樣式 */
@media only screen and (max-width: 768px) {
    .productHeader.nexcall_solutions .contents {
        background-image: none;
        height: auto;
    }

    .mobile_bg {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .tablet_bg {
        display: none;
    }
}

.slide_wrap {
    background-color: linear-gradient(135deg, #4b6bfcf2 0%, #2eaffaf2 100%);
    padding: 100px 0;
}

.nexcall_solutions {
    background: linear-gradient(135deg, #4b6bfcf2 0%, #2eaffaf2 100%);
}

.intro .contents {
    margin-bottom: 40px;
}

.queue-system-contact_btn {
    position: relative;
    border: none;
    cursor: pointer;
    background: linear-gradient(90.27deg, #2eaffaf2 2.78%, #4b6bfcf2 99.76%);
    border-radius: 30px;
    padding: 8px 20px 8px 20px;
    color: #fff;
    text-decoration: none;
    display: flex;
    width: auto;
    justify-content: center;
    align-items: center;
    column-gap: 8px;
    transition: padding 0.3s 0.15s, background 0.45s;
}

.queue-system-contact_btn:hover {
    text-decoration: none;
    padding: 8px 65px 8px 20px;
    transition: all 0.3s;
}

.queue-system-contact_btn_icon {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: flex-end;
    height: 30px;
    opacity: 0;
    transition: opacity 0.3s, right 0.2s;
}

.queue-system-contact_btn:hover .queue-system-contact_btn_icon {
    right: 2%;
    opacity: 1;
    transition: opacity 0.3s 0.15s, right 0.2s 0.15s;
}

.queue-system-contact_btn_img {
    width: 32px;
}

.queue-system-contact_btn_img.bg {
    height: 20px;
    background-color: #48ADDC;
    box-shadow: 0px 2px 10px rgba(0, 94, 124, 0.2);
    transition: all 0.3s;
}

.queue-system-contact_btn:hover .queue-system-contact_btn_img.bg {
    box-shadow: 0px 2px 10px rgba(0, 94, 124, 0.8);
}

.queue-system-contact_btn_img.front,
.mail_btn_img.front {
    width: 32px;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.queue-system-contact_btn_icon>img:nth-child(2) {
    transform: translate(-50%, -40%);
    opacity: 0.9;
    transition: all 0.35s linear 0.4s;
}

.queue-system-contact_btn:hover .queue-system-contact_btn_icon>img:nth-child(2) {
    transform: translate(-50%, -52%);
    opacity: 1;
}


/* Carousel Styles */
.carousel-container {
    width: 100vw;
    margin: 0px auto;
    overflow: hidden;
    position: relative;
    padding: 60px 0;
    margin-left: calc(-50vw + 50%);
}

.carousel {
    display: flex;
    animation: infiniteScroll 20s linear infinite;
    width: calc(400% + 80px);
}

.carousel-item {
    position: relative;
    width: 280px;
    height: 200px;
    margin: 0 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* 為每張圖片設定不同的傾斜角度 */
.carousel-item:nth-child(1) {
    transform: rotate(-8deg);
}

.carousel-item:nth-child(2) {
    transform: rotate(5deg);
}

.carousel-item:nth-child(3) {
    transform: rotate(-3deg);
}

.carousel-item:nth-child(4) {
    transform: rotate(7deg);
}

.carousel-item:nth-child(5) {
    transform: rotate(-8deg);
}

.carousel-item:nth-child(6) {
    transform: rotate(5deg);
}

.carousel-item:nth-child(7) {
    transform: rotate(-3deg);
}

.carousel-item:nth-child(8) {
    transform: rotate(7deg);
}

.carousel-item:hover {
    transform: rotate(-8deg) scale(1.1);
    z-index: 10;
}

.carousel-item:nth-child(2):hover {
    transform: rotate(5deg) scale(1.1);
}

.carousel-item:nth-child(3):hover {
    transform: rotate(-3deg) scale(1.1);
}

.carousel-item:nth-child(4):hover {
    transform: rotate(7deg) scale(1.1);
}

.carousel-item:nth-child(5):hover {
    transform: rotate(-8deg) scale(1.1);
}

.carousel-item:nth-child(6):hover {
    transform: rotate(5deg) scale(1.1);
}

.carousel-item:nth-child(7):hover {
    transform: rotate(-3deg) scale(1.1);
}

.carousel-item:nth-child(8):hover {
    transform: rotate(7deg) scale(1.1);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: left 0.5s ease;
}

.carousel-item:hover .shine {
    left: 100%;
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-25%);
    }
}

.carousel:hover {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 40px 0;
    }

    .carousel-item {
        width: 220px;
        height: 160px;
        margin: 0 15px;
    }

    /* 手機版減少傾斜角度 */
    .carousel-item:nth-child(1) {
        transform: rotate(-5deg);
    }

    .carousel-item:nth-child(2) {
        transform: rotate(3deg);
    }

    .carousel-item:nth-child(3) {
        transform: rotate(-2deg);
    }

    .carousel-item:nth-child(4) {
        transform: rotate(4deg);
    }

    .carousel-item:nth-child(5) {
        transform: rotate(-5deg);
    }

    .carousel-item:nth-child(6) {
        transform: rotate(3deg);
    }

    .carousel-item:nth-child(7) {
        transform: rotate(-2deg);
    }

    .carousel-item:nth-child(8) {
        transform: rotate(4deg);
    }

    .carousel-item:hover {
        transform: rotate(-5deg) scale(1.05);
    }

    .carousel-item:nth-child(2):hover {
        transform: rotate(3deg) scale(1.05);
    }

    .carousel-item:nth-child(3):hover {
        transform: rotate(-2deg) scale(1.05);
    }

    .carousel-item:nth-child(4):hover {
        transform: rotate(4deg) scale(1.05);
    }

    .carousel-item:nth-child(5):hover {
        transform: rotate(-5deg) scale(1.05);
    }

    .carousel-item:nth-child(6):hover {
        transform: rotate(3deg) scale(1.05);
    }

    .carousel-item:nth-child(7):hover {
        transform: rotate(-2deg) scale(1.05);
    }

    .carousel-item:nth-child(8):hover {
        transform: rotate(4deg) scale(1.05);
    }
}

/* carousel end */

/* 現代化滑動器樣式 */
.modern-slider-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
    border-radius: 15px;

}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 15px;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    border-radius: 15px;
}

.slide.prev {
    transform: translateX(-100%);
}

.slide-image {
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 15px 0 0 15px;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.slide.active .slide-image img {
    transform: scale(1.05);
}

.slide-content {
    width: 50%;
    height: 100%;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #4b6bfcf2 0%, #2eaffaf2 100%);
    backdrop-filter: blur(10px);
    position: relative;
    border-radius: 0 15px 15px 0;
}

.slide-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.slide-number {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.slide-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slide-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

/* 導航控制按鈕 */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 120px);
    left: 60px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.control-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #4b6bfcf2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
}

.control-btn:hover {
    background: #2eaffaf2;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(102, 114, 186, 0.3);
}

.control-btn:active {
    transform: scale(0.95);
}

.control-btn svg {
    transition: transform 0.3s ease;
}

.control-btn:hover svg {
    transform: scale(1.1);
}

/* 分頁指示器 */
.slider-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.pagination-dots {
    display: flex;
    gap: 15px;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.dot.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}


@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.productHeader .contents .header_wrap>.en_h2 {
    width: 100%;
}

.epd_btn {
    background: linear-gradient(90.27deg, #D4E7C5 2.78%, #BFD8AF 99.76%);
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    word-spacing: 2px;
    margin-top: 24px;
    margin-bottom: 40px;
    border-radius: 50px;
    user-select: none;
    transition: all 0.3s;
}

.subtitle {
    font-weight: unset;
}

.en_subtitle {
    width: 1100px;
}

#requirements {
    margin-top: -70px;
    padding-top: 70px;
}

@media only screen and (max-width: 1440px) {
    .productHeader .contents .header_wrap>.en_h2 {
        max-width: 318px;
    }

    .productHeader .contents .header_wrap>.es_h2 {
        max-width: 356px;
    }
}

@media only screen and (max-width: 1200px) {

    /* 平板版現代化滑動器 */
    .modern-slider-container {
        padding: 0 15px;
        width: 80vw;
    }

    .slider-wrapper {
        height: 500px;
    }

    .slide-content {
        padding: 60px 40px;
    }

    .slide-title {
        font-size: 2rem;
        margin-bottom: 20px;
        text-align: center;
    }

    .slide-description {
        font-size: 1rem;
        text-align: center;
    }

    .control-btn {
        width: 50px;
        height: 50px;
    }
}

@media only screen and (max-width: 1100px) {
    .en_subtitle {
        width: 100%;
    }
}

@media only screen and (max-width: 700px) {
    .slide_wrap {
        width: 100%;
        align-items: center;
        padding: 60px 0;
    }

    /* 手機版現代化滑動器 */
    .modern-slider-container {
        padding: 0 10px;
        align-items: center;
    }

    .slider-wrapper {
        height: 600px;
    }

    .slide {
        flex-direction: column;
    }

    .slide-image {
        width: 100%;
        height: 70%;
        border-radius: 15px 15px 0 0;
    }

    .slide-content {
        width: 100%;
        height: 30%;
        padding: 30px 20px;
        text-align: center;
        align-items: center;
        border-radius: 0 0 15px 15px;
    }

    .slide-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
        text-align: center;
    }

    .slide-description {
        font-size: 0.9rem;
        line-height: 1.6;
        text-align: center;
    }

    .slider-controls {
        width: calc(100% - 60px);
        left: 30px;
    }

    .control-btn {
        width: 40px;
        height: 40px;
    }

    .control-btn svg {
        width: 16px;
        height: 16px;
    }

    .intro .contents .box.w785 {
        width: 100%;
        padding: 0 5%;
    }
}

@media only screen and (max-width: 400px) {
    .slider-wrapper {
        height: 600px;
    }

    .slide-content {
        padding: 20px 15px;
    }

    .slide-title {
        font-size: 1.3rem;
    }

    .slide-description {
        text-align: center;
        font-size: 0.85rem;
    }
}

@media only screen and (max-width: 900px) {
    .slide-number {
        display: none;
    }
}