/* MPS Machinery Custom Styles */
/* 导航栏样式 */
.navbar{border-bottom:1px solid #e1e1e1;}

@media (min-width: 1536px) and (max-width: 1664px){
    .container{
       padding-left:30px  !important;
	   padding-right:30px  !important;
    }
}

.wow {
    visibility: hidden;
}

.wow.animate__animated {
    visibility: visible;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* 移动端禁用特定WOW动画 */
@media (max-width: 767px) {
    .wow[data-mobile-disable="true"] {
        visibility: visible !important;
        opacity: 1 !important;
        animation: none !important;
    }
    
    .wow[data-mobile-disable="true"].animate__animated {
        visibility: visible !important;
        opacity: 1 !important;
        animation: none !important;
    }
}



/* Font Face Declarations */
@font-face {
    font-family: 'HarmonyOS Sans';
    src: url('../fonts/HarmonyOS_Sans/HarmonyOS_Sans_Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HarmonyOS Sans';
    src: url('../fonts/HarmonyOS_Sans/HarmonyOS_Sans_Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HarmonyOS Sans';
    src: url('../fonts/HarmonyOS_Sans/HarmonyOS_Sans_Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HarmonyOS Sans';
    src: url('../fonts/HarmonyOS_Sans/HarmonyOS_Sans_Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HarmonyOS Sans';
    src: url('../fonts/HarmonyOS_Sans/HarmonyOS_Sans_Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HarmonyOS Sans';
    src: url('../fonts/HarmonyOS_Sans/HarmonyOS_Sans_Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Color Variables */
:root {
    --mps-blue: #1d39c4;
    --mps-red: #f3342f;
    --mps-dark-blue: #030852;
    --mps-light-gray: #f8fafc;
    --mps-text-gray: #6b7280;
    --mps-dark-gray: #374151;
    --mps-text-black: #030852;
    /* Font Variables */
    --font-primary: 'HarmonyOS Sans', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'STHeiti', 'SimHei', sans-serif;
}

/* Global Styles */
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    font-weight: 400;
}

/* Font Weight Classes */
.font-thin {
    font-weight: 100;
}

.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-bold {
    font-weight: 700;
}

.font-black {
    font-weight: 900;
}

/* Typography Classes */
.text-display {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
}

.text-heading {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
}

.text-body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
}

.text-caption {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.4;
}

/* Utility Classes */
.text-primary-blue {
    color: var(--mps-blue);
}

.text-primary-red {
    color: var(--mps-red);
}
.text-primary-black {
    color: var(--mps-text-black);
}

.bg-primary-blue {
    background-color: var(--mps-blue);
}
.bg-primary-blue-dark {
    background-color: var(--mps-dark-blue);
}
.bg-primary-red {
    background-color: var(--mps-red);
}

.border-primary-red {
    border-color: var(--mps-red);
}

.border-primary-blue {
    border-color: var(--mps-blue);
}

.hover\:border-primary-blue:hover {
    border-color: var(--mps-blue);
}

/* Hover Effects */
.hover-lift:hover {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Group Hover Styles */
.group:hover .group-hover\:bg-primary-blue {
    background-color: var(--mps-blue);
}

.group:hover .group-hover\:text-white {
    color: white;
}
.group:hover .group-hover\:bg-primary-red {
    background-color: var(--mps-red);
}






.logo-section {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.social-section {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

#mobile-menu-btn {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.logo {
    font-weight: bold;
    color: var(--mps-blue);
}

.desktop-nav {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1;
    white-space: nowrap;
}
@media (min-width: 1024px) {
    .desktop-nav {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
}

.nav-link {
    transition: color 0.5s ease;
    display: flex;
    align-items: center;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--mps-red);
    transition: width 0.5s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 激活状态的导航链接 */
.nav-link.active,.nav-link:hover {
    color: var(--mps-blue);
}


.whatsapp-button::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--mps-blue);
    border-radius: 9999px;
    transition: width 0.4s ease;
    z-index: 1;
}

.whatsapp-button:hover::before {
    width: 15rem; 
}

.whatsapp-text {
    left: -11.5rem; 
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.5s ease;
    opacity: 0;
    white-space: nowrap;
    pointer-events: none;
}

.whatsapp-button:hover .whatsapp-text {
    opacity: 1;
}

.phone-button::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--mps-blue);
    border-radius: 9999px;
    transition: width 0.4s ease;
    z-index: 1;
}
.phone-button:hover::before {
    width: 15rem; 
}
.phone-text {
    position: absolute;
    left: -11.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.5s ease;
    opacity: 0;
    white-space: nowrap;
    z-index: 10;
    pointer-events: none; 
}
.phone-button:hover .phone-text {
    opacity: 1;
}

.whatsapp-container {
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-container {
    transition: all 0.5s ease;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon .wechat-tooltip {
    transform-origin: top center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: auto;
    white-space: nowrap;
}



/* hero Swiper Styles */
.hero-swiper {
    width: 100%;
    height: 100%;
}
.hero-swiper .swiper-slide {
    overflow: hidden;
}
.hero-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* Banner Navigation Buttons */
.hero-nav-next,
.hero-nav-prev {
    color: white !important;
    background: var(--mps-red);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-nav-next:hover,
.hero-nav-prev:hover {
    background: var(--mps-red);
}

.hero-nav-next::after,
.hero-nav-prev::after {
    font-size: 20px !important;
    font-weight: bold;
}

/* Banner Pagination */
.hero-pagination {
    bottom: 20px !important;
}

.hero-pagination .swiper-pagination-bullet {
    background-color: transparent;
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 0 4px;
    transition: transform 0.5s ease;
    border: 1px solid var(--mps-red);
}

.hero-pagination .swiper-pagination-bullet-active {
     background-color: var(--mps-red);
    transform: scale(1.2);
}





.products-swiper .swiper-slide {
    height: auto;
}
.products-content {
    max-width: 100%;
  transition: all 0.5s ease;

}
.products-swiper .swiper-slide:hover .products-content {

background-color: rgba(255,255,255,0.35);

}

.products-swiper-pagination {
    position: relative !important;
    background: #e5e7eb;
    border-radius: 10px !important;
    height: 2px !important;
}

.products-swiper-pagination .swiper-pagination-progressbar-fill {
    background: var(--mps-red) !important;
    border-radius: 10px !important;
    transition: transform 0.3s ease;
}


/* 导航按钮容器 */
.products-swiper-button-prev,
.products-swiper-button-next {
    flex-shrink: 0;
}


.products-swiper p {
    transition: all 0.5s ease !important;
    display: inline-block !important;
}

.products-swiper .products-card:hover p {
    background-color: var(--mps-red) !important;
    color: white !important;
}

@media (max-width: 767px) {
   .products-swiper .swiper-slide .products-content {
    background-color: rgba(255,255,255,0.35);
    }
}

@media (min-width: 1024px) {
    .products-swiper{
        overflow: visible  !important;
    }
}


/* Cases Swiper Styles */

.cases-swiper .swiper-slide {
    height: auto;
}

/* 分页器和导航按钮容器 */
.cases-swiper-pagination {
    position: relative !important;
    background: #e5e7eb;
    border-radius: 10px !important;
    height: 2px !important;
}

.cases-swiper-pagination .swiper-pagination-progressbar-fill {
    background: var(--mps-red) !important;
    border-radius: 10px !important;
    transition: transform 0.3s ease;
}


/* 导航按钮容器 */
.cases-swiper-button-prev,
.cases-swiper-button-next {
    flex-shrink: 0;
}

/* Case Card 基础样式 */
.case-card {
    height: 100%;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


.case-image {
    overflow: hidden;
    position: relative;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}



.case-card:hover .case-image img{
    transform: scale(1.05);
}





.case-grid-item .case-info.flex {
    flex: 1;
    min-height: 4rem;
}

.case-grid-item  .case-info.flex h3 {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 2.5rem;
}





@media (min-width: 1024px) {
    .cases-swiper{
       overflow: visible  !important;
    }
}



.product-nav a.active,.product-nav a:hover {
background-color: var(--mps-blue);
color:#ffffff;
transition: color 0.5s ease,background-color 0.5s ease;
}



/* Product Cards 等高效果 */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 垂直布局的product-info (如product-mill.html) */
.product-info:not(.flex) {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info:not(.flex) h3 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

/* 水平布局的product-info (如product-mobile.html) */
.product-info.flex {
    flex: 1;

}

.product-info.flex h3 {
    flex: 1;
    display: flex;
    align-items: center;

}


.case-list-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}


/* 产品详情轮播图样式 */
.product-swiper-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.product-swiper {
    width: 100%;
    height: auto;
}

.product-swiper .swiper-slide {
    width: 100%;
    height: auto;
}

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


/* 产品轮播图分页器样式 */
.product-swiper-pagination {
    margin-top: 20px;
    text-align: center;
}

.product-swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: transparent;
    opacity: 1;
    transition: transform 0.5s ease;
    margin: 0 4px;
    border: 1px solid var(--mps-red);
}

.product-swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--mps-red);
    transform: scale(1.2);
}



/* 产品导航样式 */
.product-nav-btn {
    transition: all 0.5s ease;
    cursor: pointer;
    text-decoration: none;
}
.product-nav-btn.active,.product-nav-btn:hover {
    background-color: var(--mps-blue);
    color: white;
    border-bottom-color: var(--mps-blue);
}


/* 产品特点轮播样式 */
.features-swiper {
    width: 100%;
}
/* 产品特点轮播卡片统一高度 */
.features-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.features-swiper .swiper-slide > div {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.features-swiper .swiper-slide p {
    flex-grow: 1;
    display: flex;
    align-items: top;
    text-align: center;
    line-height: 1.6;
}
/* 产品Swiper分页器样式 - progressbar类型 */
.features-swiper-pagination {
    position: relative !important;
    background: #e5e7eb;
    border-radius: 10px !important;
    height: 2px !important;
}

.features-swiper-pagination .swiper-pagination-progressbar-fill {
    background: var(--mps-red) !important;
    border-radius: 10px !important;
    transition: transform 0.3s ease;
}


/* 导航按钮容器 */
.features-swiper-button-prev,
.features-swiper-button-next {
    flex-shrink: 0;
}
@media (min-width: 1024px) {
    .features-swiper{
       overflow: visible  !important;
    }
}



/* 相关产品轮播样式 */
.related-swiper {
    overflow: hidden;
}
.related-swiper .swiper-slide {
    height: auto;
}

/* 产品Swiper分页器样式 - progressbar类型 */
.related-swiper-pagination {
    position: relative !important;
    background: #e5e7eb;
    border-radius: 10px !important;
    height: 2px !important;
    overflow: hidden;
    flex: 1;
    margin-right: 1.5rem;
}

.related-swiper-pagination .swiper-pagination-progressbar-fill {
    background: var(--mps-red) !important;
    border-radius: 10px !important;
    transition: transform 0.3s ease;
}


/* 导航按钮容器 */
.related-swiper-button-prev,
.related-swiper-button-next {
    flex-shrink: 0;
}


.related-cases-swiper .swiper-slide {
    height: auto;
}

/* 分页器和导航按钮容器 */
.related-cases-swiper-pagination {
    position: relative !important;
    background: #e5e7eb;
    border-radius: 10px !important;
    height: 2px !important;
}

.related-cases-swiper-pagination .swiper-pagination-progressbar-fill {
    background: var(--mps-red) !important;
    border-radius: 10px !important;
    transition: transform 0.3s ease;
}


/* 导航按钮容器 */
.related-cases-swiper-button-prev,
.related-cases-swiper-button-next {
    flex-shrink: 0;
}

/* Active状态下移除阴影 */
.related-cases-swiper .swiper-slide-active .case-image::before,
.related-cases-swiper .swiper-slide:hover .case-image::before{
    opacity: 0;
}

@media (min-width: 1024px) {
    .related-cases-swiper .swiper-slide-next .case-image::before{
        opacity: 0;
    }
    .related-cases-swiper{
       overflow: visible  !important;
    }
}




/* 产品详情表格容器支持横向滚动 */
.canshu{ font-size: 14px;}
/* 表格容器支持横向滚动 */
.canshu .table-container p {
    margin: 20px 0;
    font-size:14px;
}

.canshu .table-container h3{
font-size: 16px;
font-weight: 600;
margin-bottom: 1.25rem;
position: relative;
}

.canshu .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

}

/* 自定义滚动条样式 - 让滚动条更细 */
.canshu .table-container::-webkit-scrollbar {
    height: 6px; /* 水平滚动条高度 */
}

.canshu .table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.canshu .table-container::-webkit-scrollbar-thumb {
    background: #1E579E;
    border-radius: 3px;
}

.canshu .table-container::-webkit-scrollbar-thumb:hover {
    background: #0f3d6b;
}

.canshu table{
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 16px;
    border-radius: 8px;
    min-width: 720px;
    white-space: nowrap;
}
.canshu table tr:first-child{
background-color: var(--mps-blue);
color: white !important;
}
.canshu table tr:first-child th,
.canshu table tr:first-child td{
color: white !important;
border: 1px solid #5f6a80;
    }

.canshu th,.canshu td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #e5e7eb;
    font-size: 14px;
}
@media (min-width: 1024px) {
.canshu .table-container p {
    font-size:16px;
}
.canshu .table-container h3{
font-size: 18px;
}

.canshu th,.canshu td {
    font-size: 16px;
    padding: 30px 15px;
}
}
.canshu th {
    background-color: var(--mps-blue);
    color: white;
    letter-spacing: 0.5px;
}

.canshu tr:nth-child(even) {
    background-color: #f8f9fa;
}

.canshu tr:hover {
    background-color: #eef2ff;
}

.canshu td {
    color: #666666;
}




.case-swiper-container {
    position: relative;
    overflow: hidden;
}

.case-swiper {
    width: 100%;
    height: auto;
}

.case-swiper .swiper-slide {
    width: 100%;
    height: auto;
}

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


/* 案例轮播图分页器样式 */
.case-swiper-pagination {
    margin-top: 20px;
    text-align: center;
}

.case-swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: transparent;
    opacity: 1;
    transition: transform 0.5s ease;
    margin: 0 4px;
    border: 1px solid var(--mps-red);
}

.case-swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--mps-red);
    transform: scale(1.2);
}

.case-swiper-next,
.case-swiper-prev {
    color: white !important;
    background: var(--mps-red);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.case-swiper-next:hover,
.case-swiper-prev:hover {
    background: var(--mps-red);
}

.case-swiper-next::after,
.case-swiper-prev::after {
    font-size: 20px !important;
    font-weight: bold;
}



.about-text p{
    margin-bottom:1.5rem;
}
@media (min-width: 1024px) {
    .about-text p{
        margin-bottom:2rem;
    } 
}

/* Certification Styles */
.certificate-card {
    cursor: pointer;
    transition: transform 0.5s ease;
    overflow: hidden;

}

.certificate-card img {
    transition: transform 0.5s ease;
    overflow: hidden;
}

.certificate-card:hover img {
    transform: scale(1.05);
}

/* 全屏图片模态框 */
.certificate-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.certificate-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.certificate-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    animation: zoomIn 0.3s ease;
}

.certificate-modal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.certificate-modal-close {
    position: absolute;
    top: -40px;
    right: 15px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    text-align: center;
    border: 2px solid #ffffff;
    padding: 8px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.certificate-modal-close:hover {
    color: #ff6b6b;
    border-color: #ff6b6b;
    background-color: rgba(255, 107, 107, 0.2);
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { 
        opacity: 0;
        transform: scale(0.5);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .certificate-modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .certificate-modal-close {
        top: -40px;
        right: 15px;
        width: 28px;
        height: 28px;
        font-size: 14px;
        padding: 6px;
    }
}


/* Life-Cycle Service Swiper Styles */
.horizontal-accordion-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.accordion-panel {
    position: absolute;
    top: 0;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    margin: 0 4px;
    transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1), width 0.7s cubic-bezier(0.4, 0, 0.2, 1), z-index 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-panel[data-panel="pre"] { left: 0; width: calc(50% - 8px); z-index: 3; }
.accordion-panel[data-panel="mid"] { left: calc(50% + 4px); width: calc(25% - 8px); z-index: 2; }
.accordion-panel[data-panel="post"] { left: calc(75% + 8px); width: calc(25% - 8px); z-index: 1; }

.accordion-panel.active { z-index: 3; }

.accordion-panel .max-w-md {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 1));
    padding: 24px;
    max-width: 100%;
    /*height: 140px;*/
    display: flex;
    flex-direction: column;
}

.accordion-panel h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    /*margin: 0 0 16px 0;*/
    text-align: left;
    display: flex;
    align-items: center;
}

/* 鍐呭鍖哄煙鎺у埗 */
.accordion-panel .accordion-content {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease 0.3s;
}

.accordion-panel.active .accordion-content {
    opacity: 1;
    height: auto;
}

.accordion-panel .accordion-content p {
    margin: 0 0 16px 0;
    color: white;
    font-size: 16px;
    line-height: 1.5;
}
.accordion-panel img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-panel:hover img {
    transform: scale(1.1);
}

.accordion-panel .absolute.inset-0:last-child {
    transition: background-color 0.6s ease;
}

.accordion-panel.active .absolute.inset-0:last-child {
    background-color: rgba(0, 0, 0, 0.4);
}

.accordion-panel:not(.active) .absolute.inset-0:last-child {
    background-color: rgba(0, 0, 0, 0.6);
}

@media (max-width: 1280px) {
    .accordion-panel .max-w-md {
     /*   height: 140px;*/
    }
}

@media (max-width: 1024px) {
    .horizontal-accordion-container {
        height: auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .accordion-panel {
        position: relative;
        height: 300px;
        margin: 0;
        width: 100% !important;
        left: auto !important;
        z-index: auto !important;
    }
    .process-content-container    .accordion-panel {
        height: auto !important;
    }
    .accordion-panel .max-w-md {
        padding: 16px;
      /*   height: 100px;  */
    }
    
    .accordion-panel h3 {
        font-size: 1.25rem;
      /*   margin: 0 0 12px 0;*/
    }
    
    .accordion-panel .accordion-content {
        opacity: 1 !important;
        height: auto !important;
    }
    
    .accordion-panel .accordion-content p {
        margin-bottom: 12px !important;
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .accordion-panel .max-w-md {
      /*   padding: 12px;  */
    }
    
    .accordion-panel h3 {
        font-size: 1rem;
       /*   margin: 0 0 8px 0;*/
    }
    
    .accordion-panel .accordion-content p {
        margin-bottom: 8px !important;
        line-height: 1.4;
    }
}




.cases-nav-btn {
    transition: all 0.5s ease;
    cursor: pointer;
    text-decoration: none;
}
.cases-nav-btn.active,.cases-nav-btn:hover {
    background-color: var(--mps-blue);
    color: white;
    border-bottom-color: var(--mps-blue);
}



.factory-swiper-pagination {
    margin-top: 20px;
    text-align: center;
}

.factory-swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: transparent;
    opacity: 1;
    transition: transform 0.5s ease;
    margin: 0 4px;
    border: 1px solid var(--mps-red);
}

.factory-swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--mps-red);
    transform: scale(1.2);
}