/* ========================================
   INDEX PAGE STYLES (PC VERSION)
   All classes prefixed with index_
   ======================================== */

/* ===== Global index title/subtitle ===== */
.index_title {
    font-size: 2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.index_Entitle {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* ===== Swiper hero (index only) ===== */

.index_conmot {
    background-color: #fff;
    position: relative;
}

.index_conmot .swiper-container {
    width: 100%;
    height: 100%;
    background-color: #fff;
}

.index_conmot .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.index_conmot .swiper-slide a {
    position: relative;
}

.index_conmot .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.index_swiText {
    position: absolute;
    top: 14.8vw;
    left: 8.5vw;
    text-align: left;
    font-family: "Archivo", "微軟正黑體", sans-serif;
    font-weight: 600;
}

.index_swiText_hed {
    color: #000;
    font-size: 3vw;
    line-height: 1.2;
}

.index_swiText_hed .index_hed_txt {
    color: #00A2E9;
}

.index_swiText_bom {
    font-size: 2.1vw;
    color: #000;
    margin-top: 0.5vw;
}

.index_swiText_btn button {
    border: none;
    color: #fff;
    background-color: #00A2E9;
    padding: 0.85vw 6vw;
    font-size: 2.1vw;
    margin: 2.7vw 0;
    border-radius: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.index_swiText_btn button:hover {
    background-color: #0077b3;
}

.index_switxtend {
    position: absolute;
    top: 13.5vw;
    left: 10vw;
    width: 37vw;
    height: 8.8vw;
}

.index_switxtendbox {
    padding: 1.6vw 1.2vw;
    font-size: 1.5vw;
    border-radius: 16px;
    background-color: #8CC5FF;
    color: #164790;
}

/* ===== Services row ===== */

.index_fuwu {
    background-color: #fff;
    padding: 2vw 0;
}

.index_uncaring {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3vw 28vw;
}

.index_uncaring > div a {
    display: inline-block;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.index_uncaring > div a:hover {
    transform: translateY(-5px);
}

.index_uncaring > div a img {
    width: 4.5vw;
    display: block;
    margin: auto;
}

.index_uncaring > div a span {
    font-size: 1vw;
    display: inline-block;
    color: #000;
    margin-top: 0.5vw;
}

/* ===== Circle navigation ===== */

.index_circle {
    display: flex;
    justify-content: center;
    padding-bottom: 2.5vw;
}

.index_circle .circle_box {
    display: flex;
    height: auto;
    border-radius: 16px;
    border: 1px solid #fff;
    margin: 0 1.95vw 1vw;
    align-items: center;
    background-color: #6DA7F1;
    width: 20vw;
    height: 7.5vw;
    position: relative;
    color: #fff;
    cursor: pointer;
    transform-style: preserve-3d;
    margin-left: 1vw;
}

.index_circle .circle_box::after {
    content: '';
    position: absolute;
    width: 20vw;
    height: 7.5vw;
    border-radius: 16px;
    background-color: #fff;
    border: 2px solid #6DA7F1;
    top: 10px;
    left: 10px;
    transform: translateZ(-10px);
}

.index_circle_box_img {
    width: 4.5vw;
    height: 4.5vw;
    margin: 0 1vw;
    border-radius: 100%;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.index_circle_box_img > i {
    width: 55%;
    display: block;
}

.index_circle_box_img > i img {
    width: 100%;
    height: auto;
}

.index_circle_box_text {
    font-size: 1vw;
    font-weight: 500;
}

.circle_shazhang {
    background-color: #fff;
    color: #6DA7F1;
    border: 2px solid #6da7f1;
}

.circle_shazhang::after {
    background-color: #6DA7F1;
    border: 2px solid #fff;
}

.circle_shazhang .index_circle_box_img {
    background-color: #6DA7F1;
}

.circlebgimg_w {
    display: none;
}

/* ===== Advertisement band ===== */

.index_advertisement {
    height: auto;
    margin: 0 0 2.8vw;
    padding: 0.4vw 27vw;
    background-color: #6DA7F0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.index_advertisement .advimg {
    width: 20vw;
}

.index_advertisement .advimg img {
    width: 100%;
    height: auto;
}

.index_advertisement .advtxt {
    text-align: center;
    color: #fff;
    font-size: 1vw;
    line-height: 1.6;
    font-weight: 100;
}

/* ===== Video section ===== */

.index_videoBox {
    padding: 2vw 21vw;
}

.index_videoBox .videoBox_bg {
    position: relative;
    width: 100%;
    height: 100%;
}

.index_videoBox .videoBox_bg > img {
    width: 100%;
    height: auto;
    display: block;
}

.index_videoBox .videoBox_cont {
    position: absolute;
    top: 45%;
    left: 48%;
    transform: translate(-50%, -50%);
    width: 73%;
}

.index_videoBox .videoBox_h {
    width: 100%;
    text-align: center;
    font-size: 1.3vw;
    padding-bottom: 1.5vw;
}

.index_videoBox .videomp video {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ===== Cooperative Partners - Clean Square Cards ===== */

.index_cooper {
    background-image: url(/images/website/coopbg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 4rem 0;
}

.index_cooper_header {
    text-align: center;
    margin-bottom: 3rem;
}

.index_cooper .swiper {
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
}

/* Partner card container */
.index_partner_card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: transparent;
    border-radius: 12px;
    box-shadow: none;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 350px;
}

.index_partner_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Logo (visible by default) */
.index_partner_logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: #fff;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
    z-index: 1;
}

.index_partner_logo img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

/* Info overlay (hidden by default, shown on hover) */
.index_partner_info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
	align-items: flex-end;
    padding: 2.5rem;
    background: linear-gradient(135deg, #6DA7F1 0%, #00A2E9 100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2;
}

/* Hover states */
.index_partner_card:hover .index_partner_logo {
    opacity: 0;
    visibility: hidden;
}

.index_partner_card:hover .index_partner_info {
    opacity: 1;
    visibility: visible;
}

/* Info items styling */
.index_info_item {
    display: flex;
    align-items: flex-start;
	text-align: right;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.index_info_item:last-child {
    margin-bottom: 0;
}

.index_info_item i {
    font-size: 1.4rem;
    min-width: 24px;
    margin-top: 0.2rem;
}

.index_info_item > div {
    flex: 1;
    font-size: 1rem;
    line-height: 1.6;
}

.index_info_item > div > div {
    margin-bottom: 0.3rem;
}

.index_info_item a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
	text-align: right;
    word-break: break-all;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: border-color 0.2s;
}

.index_info_item a:hover {
    border-bottom-color: #fff;
}

/* Swiper container */
.index_cooper_swiper {
    padding: 0 3rem 4rem;
    min-height: 450px;
}

.index_cooper_swiper .swiper-wrapper {
    min-height: 400px;
}

.index_cooper_swiper .swiper-slide {
    display: flex;
    align-items: center;
}

/* Navigation buttons */
.index_cooper_prev,
.index_cooper_next {
    color: #164790;
    background: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.index_cooper_prev:hover,
.index_cooper_next:hover {
    background: #00A2E9;
    color: #fff;
    transform: scale(1.1);
}

.index_cooper_prev::after,
.index_cooper_next::after {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Pagination */
.index_cooper_pagination {
    bottom: 0 !important;
}

.index_cooper_pagination .swiper-pagination-bullet {
    background: #164790;
    opacity: 0.3;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.index_cooper_pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: #00A2E9;
    transform: scale(1.3);
}

/* ===== Lift Navigation (index only) ===== */

.index_lift-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.lift-nav ul.lift {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lift-nav ul.lift li {
    position: relative;
    margin: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}


.lift-nav ul.lift li div {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #4a90e2;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}


.lift-nav ul.lift li i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #4a90e2;
    transition: width 0.3s ease;
}


.lift-nav ul.lift li:hover div {
    background: #4a90e2;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
    transform: rotate(45deg) scale(1.2);
}

.lift-nav ul.lift li:hover i {
    width: 15px;
}

.lift-nav ul.lift li.active div {
    background: #4a90e2;
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.8);
    transform: rotate(45deg) scale(1.3);
}

.lift-nav ul.lift li.active i {
    width: 20px;
    background: linear-gradient(90deg, #4a90e2 0%, transparent 100%);
}

/* mobile */
@media (max-width: 768px) {
    .index_lift-nav {
        display: none;
    }
	
	    .index_cooper {
        padding: 2rem 0;
    }
    
    .index_cooper .swiper {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .index_partner_card {
        min-height: 100px;
    }
    
    .index_partner_logo {
        padding: 1.5rem;
    }
    
    .index_partner_logo img {
        max-width: 60%;
        max-height: 60%;
    }
    
    .index_partner_info {
        padding: 1.5rem;
        font-size: 0.9rem;
    }
	
	
	
	
}
