/* Homepage non-critical styles (below-the-fold) */

.hot-product {
    background-color: #f5f5f5;
}

.index-header {
    text-align: center;
}

.swiper-slide-product {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}

.hot-product-new {
    position: absolute;
}

.swiper-container {
    width: 100%;
}

.hot-product .swiper-slide {
    height: 500px;
}

.hot-product-img {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hot-product-img img {
    width: 100%;
    max-width: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.hot-product-info {
    text-align: center;
}

.swiper-slide-product:hover .hot-product-title {
    color: var(--main-color);
}

.solutions {
    display: flex;
    justify-content: space-between;
    background-color: #fff;
}

.solutions .sidebar {
    width: 25%;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.solutions .sidebar-description {
    font-size: 18px;
    color: #333;
}

.solutions .sub-catalogs .sub-catalog-item {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.solutions .sub-catalogs .sub-catalog-item:last-child {
    margin-bottom: 0;
}

.solutions .sub-catalogs .sub-catalog-item span {
    color: var(--main-text-color-dark);
    position: relative;
    border-bottom: 4px solid transparent;
}

.solutions .sub-catalogs .sub-catalog-item.active span {
    color: var(--main-text-color);
    border-bottom: 4px solid var(--main-color);
}

.solution-tab span {
    color: var(--main-text-color-dark);
    position: relative;
    border-bottom: 4px solid transparent;
}

.solution-tab .active span {
    color: var(--main-text-color);
    border-bottom: 4px solid var(--main-color);
}

.solutions .content-area {
    width: 75%;
    padding-left: 20px;
}

.solutions .content-list {
    display: none;
    gap: 20px;
    flex-wrap: wrap;
}

.solutions .content-list.active {
    display: flex;
}

.solutions .content-item {
    width: calc(22.25% - 20px);
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.solutions .content-item.active {
    width: calc(55.5% - 20px);
}

.solutions .content-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.solutions .content-item.active img {
    opacity: 0.9;
}

.solutions .content-item .content-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: #fff;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.solutions .content-item.active .content-details {
    opacity: 1;
}

.solutions .content-details p {
    line-height: 1.5;
    display: none;
}

.solutions .content-item.active .content-details p {
    display: block;
}

.home-technology {
    background-color: #f5f5f5;
}

.home-solution-content {
    width: 100%;
    overflow: hidden;
}

.home-solution-swiper {
    width: 100%;
    display: none;
}

.home-solution-content .active {
    display: block;
}

.solution-swiper-slide {
    width: 100%;
}

.solution-swiper-slide img {
    width: 100%;
    object-fit: cover;
}

.home-technology .swiper-container.mySwiper2 {
    width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.home-technology .mySwiper2 .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.home-technology .slide-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
}

.home-technology .slide-image {
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.home-technology .slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-technology .slide-info {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
}

.mySwiper2 .swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.mySwiper2 .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #ccc;
    opacity: 1;
    margin: 0 6px;
    transition: background-color 0.3s ease;
}

.mySwiper2 .swiper-pagination-bullet-active {
    background-color: #009ee7;
}

.home-about {
    background-color: #fff;
}

.about-content {
    display: flex;
    gap: 20px;
}

.about-first {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 40%;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-image {
    width: 100%;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: 0.3s ease;
}

.about-first:hover .about-image img {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.about-item{
    align-items: center;
}
.about-item-content{
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-left: 30px;
}
.about-more{
    padding: 15px 20px;
    background-color: var(--main-color);
    color: #fff;
    border-radius: 40px;
    font-size: 14px;
    cursor: pointer;
    width: 126px;
}
.about-more:hover{
    color: #fff;
}
.about-content-left{
    width: 45%;
}
.about-content-left p{
    font-size: 16px;
    line-height: 1.5;
}
.about-content-right{
    margin-left: 30px;
    flex: 1;
}
.about-right-item{
    display: flex;
    flex-direction: column;
    padding: 20px 15px;
    background-color: #ebebeb;
    border-radius: 6px;
    margin-right: 20px;
    box-sizing: border-box;
    width: 278px;
}
.about-right-item img{
    width: 60px;
    margin-bottom: 10px;
}
.about-right-item span{
    font-size: 16px;
    color: var(--main-text-color);
    margin-bottom: 10px;
}
.about-right-item p{
    font-size: 14px;
}


.advantages-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.advantages-content-item {
    flex: 1 0 calc(50% - 30px);
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #f7f9fc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.advantages-content-item:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.advantages-content-item-img {
    width: 60px;
    height: 60px;
    background: var(--main-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    flex-shrink: 0;
}

.advantages-content-item-info h3 {
    font-size: 20px;
    font-weight: 600;
    font-family: 'OpenSans-Semibold';
    color: #333;
    margin-bottom: 10px;
}

.advantages-content-item-info p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.about-info {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
}

.accordion-list {
    width: 60%;
}

.accordion-item {
    width: 100%;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-header-top {
    display: flex;
    flex-direction: column;
    margin-right: 60px;
}

.accordion-header a h3:hover {
    color: var(--main-color);
}

.accordion-header .meta {
    display: flex;
    gap: 10px;
    font-size: 16px;
    color: #999;
}

.accordion-header i {
    font-size: 14px;
    color: #666;
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 20px;
}

.accordion-content.show {
    display: block;
}

.home-solution-mobile {
    display: none;
}

.home-about-content {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.home-about-content-title {
    margin-bottom: 10px;
}

.home-about-img {
    width: 45%;
}

.home-about-img img {
    width: 100%;
}
.product_new{
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 18px;
    font-style: oblique;
    color: var(--main-color);
    font-family: 'OpenSans-Semibold';
}

@media (max-width: 768px) {
    .hide-on-small {
        display: none !important;
    }

    .show-on-small {
        display: block !important;
    }

    .home-solution-mobile {
        display: block;
    }

    .home-technology .slide-content {
        flex-direction: column;
    }

    .home-technology .slide-image {
        width: 100%;
        height: 200px;
    }

    .home-technology .slide-info {
        width: 100%;
        padding: 20px;
    }

    .home-technology .slide-info h3 {
        font-size: 24px;
    }

    .home-technology .slide-info p {
        font-size: 16px;
    }

    .hot-product-img img {
        max-width: 300px;
    }

    .hot-product .swiper-slide {
        height: 420px;
    }

    .about-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .about-content .about-first {
        width: 100%;
    }

    .about-content .accordion-list {
        width: 100%;
    }

    .home-about-img {
        width: 100%;
        margin-bottom: 20px;
    }

    .home-about-content {
        margin-bottom: 20px;
    }
    .about-item{
        flex-direction: column;
    }
    .about-item-content{
        margin-left: 0;
    }
    .about-more{
        padding: 10px 12px;
        font-size: 12px;
        width: 100px;
    }
    .why-about{
        flex-direction: column;
    }
    .about-content-left{
        width: 100%;
					 flex:1 !important;
        margin-bottom: 30px;
        text-align: center;
    }
    .about-content-left p{
        font-size: 14px;
        margin-top: 10px;
    }
}
