/*Navigate Link Styles */
.nav-link-normal {
    position: relative;
}

.nav-link-normal::after {
    content: '';
    position: absolute;
    top: 105%;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #00AAB4;
    transition: width 0.3s ease;
}

.nav-link-normal:hover::after {
    width: 100%;
}

.nav-link-arrow {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-link-arrow::after {
    content: '\f054';
    font-family: 'FontAwesome';
    margin-left: 5px;
    color: inherit;
    transition: width 0.3s ease;
}

.nav-link-arrow:hover::after {
    color: #00AAB4;
    transform: rotate(90deg);
}

/* Dropdown Menu Styles */
.group:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    position: absolute;
    top: 105%;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    background-color: rgb(0, 170, 180);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    transition: all 0.8s ease-in-out;
    box-sizing: border-box;
}

/* iframe Video Styles */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1920px;
    height: 100%;
    overflow: hidden;

}

.slider {
    display: flex;
    width: 200%;

    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.slide {

    width: 100%;
    height: 100%;
    position: relative;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-nav-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.slider-nav-btn.active {
    background: white;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-arrow-left {
    left: 30px;
}

.slider-arrow-right {
    right: 30px;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Slider New Styles */
.slidernew {
    position: relative;
    width: 1578px;
    height: 513px;
    overflow: hidden;
}

.slidernew img {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: clip-path 1s ease-in-out;
}

.slidernew img:first-child {
    z-index: 2;
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}

.slidernew img:last-child {
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    opacity: 1;
}

@keyframes slideTransition {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }

    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

@keyframes slideTransitionReverse {
    0% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    100% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }
}

.slidernew button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(228, 228, 228, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgb(51, 51, 51);
    z-index: 10;
    transition: background 0.3s;
    border: none;
}

.slidernew button:focus {
    outline: none;
    box-shadow: 0 0 0 1px rgba(126, 126, 126, 0.4);
    /* 浅蓝光晕 */
}

.slidernew:hover button {
    background: rgba(87, 87, 87, 0.4);
}

.slidernew button.prev {
    left: 500px;
}

.slidernew button.next {
    right: 500px;
}

@media (max-width: 768px) {
    .slidernew button {
        width: 40px;
        height: 40px;
    }

    .slidernew button.prev {
        left: 20px;
    }

    .slidernew button.next {
        right: 20px;
    }
}

/* Image-Text Section */
.image-text-section {
    background: fixed;
}

.image-text-container {
    max-width: 1920px;
    margin: 0 auto;
}

.image-text-image {

    width: 100%;
    height: 100%;
    overflow: hidden;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #3b82f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Footer Styles */
.footer-divider {
    border-top: 2px solid rgb(0, 170, 180);
}

.footer-divider-wide {
    border-top: 4px solid rgb(0, 170, 180);
}

.footer-link {
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #3b82f6;
    transform: translateX(5px);
}

/* FAQ Styles */
.faq-item {
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item.active {
    background-color: #00AAB4;
    color: #FFFFFF;
}

.faq-item.active .faq-answer {
    max-height: 800px;
}

.faq-answer {
    transition: max-height 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

/* Legal Styles */
.legal-item {
    color: black;
    overflow: hidden;
}

.legal-item a {
    color: rgb(0, 170, 180);
    text-decoration: underline;
}

.legal-item h1 {
    color: black;
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.legal-item ul {
    list-style-type: disc;
    padding-left: 20px;
}

.legal-item ol {
    list-style-type: decimal;
    padding-left: 20px;
}

.legal-item li {
    margin-top: 8px;
    margin-bottom: 8px;
}
