* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.text-center img {
    max-width: 30%;
    height: auto;
}

.rowp {
    font-family: Î¢ÈíÑÅºÚ, "Microsoft YaHei";
    color: rgb(108, 108, 108);
    text-align: justify;
    font-size: 16px;
}

.row h6 {
    font-family: Î¢ÈíÑÅºÚ, "Microsoft YaHei";
    color: rgb(108, 108, 108);
    text-align: justify;
    font-size: 15px;
}

.row h3 {
    color: rgb(169, 169, 169);
}

.image-wrapper {
    display: inline-block;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    width: 40%;
}

.effect-image {
    /*  width: 40%; */
    object-fit: cover;
    display: block;
    transition: all 0.5s ease;
}

/* Ð§¹û1: Ë³Ê±ÕëµÝ½ø±ß¿ò */
.image-wrapper::before,
.image-wrapper::after {
    content: '';
    position: absolute;
    background: linear-gradient(90deg, transparent, #125eaf);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s, width 0.4s 0.2s, height 0.4s;
}

.image-wrapper::before {
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
}

.image-wrapper::after {
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
}

.image-wrapper:hover::before,
.image-wrapper:hover::after {
    opacity: 1;
    width: 100%;
}

.image-wrapper .border-top,
.image-wrapper .border-bottom,
.image-wrapper .border-left,
.image-wrapper .border-right {
    position: absolute;
    background: linear-gradient(90deg, transparent, #125eaf);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s, height 0.4s 0.2s, width 0.4s;
}

.image-wrapper .border-top {
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
}

.image-wrapper .border-bottom {
    bottom: 0;
    right: 0;
    width: 3px;
    height: 0;
}

.image-wrapper:hover .border-top,
.image-wrapper:hover .border-bottom {
    opacity: 1;
    height: 100%;
}

.mode-indicator {
    display: inline-block;
    background: rgba(255, 126, 95, 0.2);
    color: #ff7e5f;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 10px;
    border: 1px solid rgba(255, 126, 95, 0.3);
}

.horizontal-accordion {
    width: 100%;
    height: 500px;
    display: flex;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    margin-bottom: 40px;
}

.accordion-panel {
    height: 100%;
    position: relative;
    flex: 1;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-width: 80px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-panel:last-child {
    border-right: none;
}

.accordion-panel.active {
    flex: 5;
    min-width: 400px;
}

.panel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: brightness(0.7);
}

.accordion-panel.active .panel-image {
    filter: brightness(1);
    transform: scale(1.05);
}

.panel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 30%, transparent 50%);
    display: flex;
    flex-direction: column;
    /*justify-content: flex-end;*/
    padding: 30px;
    opacity: 0.8;
    transition: opacity 0.6s ease;
}

.accordion-panel.active .panel-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 30%, transparent 50%);
}

.panel-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease 0.2s;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.accordion-panel.active .panel-title {
    transform: translateY(0);
    opacity: 1;
}

.panel-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease 0.3s;
    color: #e2e8f0;
    max-width: 500px;
}

.accordion-panel.active .panel-description {
    transform: translateY(0);
    opacity: 1;
}



@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

@media (max-width: 1024px) {
    .horizontal-accordion {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .horizontal-accordion {
        height: 400px;
        flex-direction: column;
    }

    .accordion-panel {
        min-width: 100%;
        height: 80px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .accordion-panel.active {
        flex: 5;
        height: 350px;
        min-width: 100%;
    }

    .panel-overlay {
        padding: 20px;
    }

    .panel-title {
        font-size: 1.5rem;
    }

    .header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .horizontal-accordion {
        height: 350px;
    }

    .accordion-panel.active {
        height: 300px;
    }

    .panel-overlay {
        padding: 15px;
    }

    .panel-title {
        font-size: 1.3rem;
    }

    .panel-description {
        font-size: 0.9rem;
    }

    .header h1 {
        font-size: 1.8rem;
    }
}