.ny_ban{
    display: none;
}

.page_title{
    display: none;
}

.c-banner-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    border: 2px solid #c5000f;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.7);
    color: #c5000f !important;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}
 
div.c-banner-content .c-banner-btn:hover {
    background: #c5000f;
    color: white !important;
}

.c-banner-section {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 0px 0;
    top:-60px;
}

.c-banner-container {
    position: relative;
    overflow: hidden;
    height: 700px; 
}

.c-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.c-banner-content {
    position: absolute;
    left: 15%;
    top: 40%;
    transform: translateY(-50%);
    max-width: 500px;
}

.c-banner-title {
    color: #fff;
    font-size: 2.5em;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 1px 1px 4px rgba(255,255,255,0.3);
}

.c-banner-text p {
    margin: 0;
    padding: 8px 0;
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(255,255,255,0.3);
}

@media (max-width: 1200px) {
    .c-banner-content {
        left: 8%;
        max-width: 45%;
    }
}

@media (max-width: 992px) {
    .c-banner-container {
        height: 500px;
    }
    
    .c-banner-content {
        left: 5%;
        max-width: 60%;
        padding-right: 15px;
    }
    
    .c-banner-title {
        font-size: 2.2em !important;
        margin-bottom: 15px;
    }
    
    .c-banner-text p {
        font-size: 15px !important;
        line-height: 1.7;
    }
    
	.c-banner-btn {
        font-size: 15px !important;
        padding: 10px 25px;
    }    
}

@media (max-width: 768px) {
    .c-banner-container {
        height: 400px; 
    }
    
    .c-banner-content {
        left: 20px;
        max-width: calc(100% - 40px);
        padding: 15px;
        border-radius: 8px;
        top: 50%;
    }
    
    .c-banner-title {
        font-size: 1.8em !important;
        line-height: 1.3;
    }
    
    .c-banner-text p {
        font-size: 14px !important;
        line-height: 1.6;
        padding: 6px 0;
    }
    
    .c-banner-btn {
        font-size: 14px !important;
        padding: 8px 20px;
        margin-top: 15px;
    }    
}

@media (max-width: 480px) {
    .c-banner-container {
        height: 480px; 
    }

    .c-banner-btn {
        font-size: 13px !important;
        padding: 8px 18px;
    }
    
    .c-banner-content {
        max-width: calc(100% - 20px);
        padding: 12px;
        top: 50%;
    }
    
    .c-banner-title {
        font-size: 1.6em !important;
        margin-bottom: 12px;
    }
    
    .c-banner-text p {
        font-size: 13px !important;
        line-height: 1.5;
    }
}

/* Product Module Styles */
.product-module {
  width: 100%;
  margin: 60px 0;
  padding: 0;
  overflow: visible;
}

.product-grid {
  display: flex;
  gap: 24px;
  padding: 0 20px;
  max-width: 1600px;
  margin: 0 auto;
  flex-wrap: wrap; 
}

.product-col {
  flex: 0 0 calc(25% - 18px); 
  min-width: 240px;
}

.product-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 
    4px 6px 18px rgba(0, 0, 0, 0.18), 
    0 -3px 12px rgba(0, 0, 0, 0.08);
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; 
}

.full-card {
  height: 370px; 
}

.product-img {
  width: 100%;
  height: 200px; 
  object-fit: cover;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-img.loaded {
  opacity: 1;
}

.full-card .product-img {
  margin-bottom: 20px; 
}

.product-model {
  font-size: 14px;
  color: #555;
  text-align: center;
  margin: 0 0 15px 0; 
}

.product-desc {
  font-size: 14px !important;
  color: #444;
  line-height: 1.6;
  text-align: center;
  flex: 1; 
}

@media (max-width: 1024px) {
  .product-col {
    flex: 0 0 calc(33.33% - 16px); 
  }
  .full-card {
    height: 380px; 
  }
}

@media (max-width: 768px) {
  .product-col {
    flex: 0 0 calc(50% - 12px); 
  }
  .full-card {
    height: 360px; 
  }
  .product-img {
    height: 180px; 
  }
}

@media (max-width: 576px) {
  .product-col {
    flex: 0 0 100%; 
  }
  .full-card {
    height: auto; 
    min-height: 350px; 
  }
  .product-img.loaded {
    max-width: 80%;
  }

}

/* PDF Banner Styles */
.cnc-pdf-banner-container {
  width: 100vw; 
  position: relative;
  overflow: hidden;
  transform: translateX(-50%);    
  left: 50%;
  right: 0;
  margin: 20px 0; 
}

.cnc-pdf-banner {
  width: 100%;
  position: relative;
  min-height: 320px; 
}

.cnc-pdf-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://www.cncele.com/uploads/Download-Catalog-PDF.jpg') no-repeat center;
  background-size: cover;
  background-attachment: fixed;
  filter: brightness(0.9); 
  z-index: -1;
}

.cnc-pdf-banner-content {
  position: absolute;
  top: 50%;
  left: 15%;
  transform: translateY(-50%); 
  max-width: 600px; 
}

.cnc-pdf-banner-title {
  font-size: 36px;
  color: #000;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.3;
}

.cnc-pdf-button {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid #ff4444; 
  color: #ff4444 !important; 
  background: #fff;
  font-size: 16px;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cnc-pdf-button:hover {
  border: 2px solid #fff; 
  color: #fff !important; 
  background: #ff4444; 
  transform: translateY(-2px); 
}

.cnc-pdf-banner-bg {
  will-change: transform; 
  image-rendering: -webkit-optimize-contrast; 
}

@media (max-width: 1024px) {
  .cnc-pdf-banner {
    min-height: 280px;
  }
  
  .cnc-pdf-banner-content {
    left: 8%; 
    max-width: 80%;
  }
  
  .cnc-pdf-banner-title {
    font-size: 28px; 
  }
}

@media (max-width: 768px) {
  .cnc-pdf-banner {
    min-height: 240px;
  }
  
  .cnc-pdf-banner-title {
    font-size: 24px;
    margin-bottom: 18px;
  }
  
  .cnc-pdf-button {
    padding: 10px 24px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .cnc-pdf-banner {
    min-height: 200px;
  }
  
  .cnc-pdf-banner-content {
    left: 5%;
  }
  
  .cnc-pdf-banner-title {
    font-size: 20px;
  }
}

/* About Section Styles */
.x-about1 {
    padding: 60px 0;
    background: #fff;
}

.x-about1 .x-con {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 50px;
}

.x-about1 .x-img {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.x-about1 .x-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.x-about1 .x-img:hover img {
    transform: scale(1.03);
}

.x-about1 .x-content {
    flex: 1;
}

.x-about1 .x-title {
    color: #2d3755;
    font-size: 2.5em;
    margin-bottom: 25px;
    line-height: 1.2;
}

.x-about1 .x-description {
    color: #556072;
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 30px;
}

@media (max-width: 992px) {
    .x-about1 .x-con {
        flex-direction: column;
        padding: 0 20px;
        gap: 30px;
    }
    
    .x-about1 .x-img {
        width: 100%;
        max-width: 600px;
    }
    
    .x-about1 .x-title {
        font-size: 2em;
    }
}    

@media (max-width: 768px) {
    .x-description p{
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .x-about1 {
        padding: 50px 0;
    }
    
    .x-about1 .x-title {
        font-size: 1.75em;
    }
    
    .x-about1 .x-description {
        font-size: 1em;
    }
    .x-description p{
        font-size: 13px;
    }    
}

@media (max-width: 400px) {
    .x-description p{
        font-size: 13px;
    }    
}

/* Solution Business Module Styles */
:root {
  --primary-red: #e74c3c;
  --red-light: rgba(230, 0, 18, 0.8);
  --red-dark: rgba(224, 0, 36, 0.9);
  --text-white: #ffffff;
  --text-gray: rgba(255, 255, 255, 0.85);
  --card-gap: 20px;
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition-default: all 0.3s ease;
}

.solution-business-module {
  padding: 40px 0px;
  max-width: 1400px;
  margin: 0 auto;
}

.module-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
}

.solutions-panel {
  background: linear-gradient(to bottom, var(--red-light), var(--red-dark));
  padding: 40px 30px;
  border-radius: 12px;
  color: var(--text-white);
  display: flex;
  flex-direction: column;
}

.panel-title {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 700;
}

.panel-desc {
  color: var(--text-gray);
  margin-bottom: 30px;
  line-height: 1.6;
  font-size: 15px;
}

.solutions-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.solution-item {
  position: relative;
}

.solution-link {
  display: flex;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  transition: var(--transition-default);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.solution-link:hover {
  padding-left: 8px;
}

.solution-link:hover::after {
  width: 40px;
}

.solution-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text-white);
  transition: var(--transition-default);
}

.solution-text {
  flex-grow: 1;
  font-size: 16px;
  color: #ffffff;
}

.solution-arrow {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-default);
}

.solution-link:hover .solution-arrow {
  color: var(--text-white);
  transform: translateX(5px);
}

.business-cards {
  display: flex;
  flex-direction: column;
  gap: var(--card-gap);
}

.business-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 100%;
  min-height: 280px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-default);
}

.business-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

.large-card {
  height: 100%;
  min-height: 320px;
}

.small-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--card-gap);
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  color: #000;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 600;
}

.card-desc {
  color: #333;
  line-height: 1.6;
  font-size: 14px;
  flex-grow: 1;
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.32;
  transition: var(--transition-default);
}

.business-card:hover .card-bg {
  opacity: 0.42;
  transform: scale(1.03);
}

.card-bg {
  background-color: #f5f5f5;
}

@media (max-width: 992px) {
  .module-container {
    grid-template-columns: 1fr;
  }
  
  .solutions-panel {
    padding: 30px 25px;
    min-height: auto;
  }
  
  .panel-title {
    font-size: 24px;
  }
  
  .solution-link {
    padding-bottom: 10px;
  }
  
  .business-card {
    min-height: 240px;
  }
}

@media (max-width: 576px) {
  .small-cards-row {
    grid-template-columns: 1fr;
  }
  
  .card-content {
    padding: 25px;
  }
  
  .card-title {
    font-size: 20px;
  }
  
  .solutions-list {
    gap: 18px;
  }
  
  .solution-text {
    font-size: 15px;
  }
  
  .solution-business-module {
    padding: 5px 5px;
  }
}

/* Client Cases Carousel Styles */
#clientCasesCarousel {
  --cases-gap: 20px;
  max-width: 1400px;
  margin: auto;
  padding: 0px;
}

    .relevant-case-title {
      font-size: 36px;
      margin-top: 30px;
      margin-bottom: 30px;
      color: black;
    }

.cases-main-title {
  font-size: 28px;
  color: #2c3e50;
  margin: 0 0 1.8rem;
  padding-left: 0.8rem;
  border-left: 4px solid #3498db;
}

.cases-viewport {
  position: relative;
  overflow: hidden;
}

.cases-track {
  display: flex;
  gap: var(--cases-gap);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px 0;
}

.cases-item {
  flex: 0 0 calc(33.333% - (var(--cases-gap) * 2)/3);
}

.cases-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  border: 1px solid #e8e8e8;
  overflow: hidden;
}

.cases-title {
  font-size: 20px;
  color: #222;
  margin: 0;
  padding: 18px 20px;
  border-bottom: 1px solid #fff;
  min-height: 130px;
}

.cases-media {
  padding: 15px;
}

.cases-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 4px;
  background: #f5f5f5;
}

.cases-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 60px;
  background: rgba(40,40,40,0.85);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  z-index: 20;
  transition: all 0.25s;
}

.cases-prev-btn { left: 15px; }
.cases-next-btn { right: 15px; }

.cases-nav:hover {
  background: #222;
  transform: translateY(-50%) scale(1.05);
}

@media (max-width: 768px) {
  .cases-item {
    flex: 0 0 calc(100% - var(--cases-gap));
  }
  
  .cases-nav {
    width: 36px;
    height: 50px;
  }

  .relevant-case-title {
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 20px;
    color: black;
    }
  }

@media (min-width: 769px) and (max-width: 1199px) {
  .cases-item {
    flex: 0 0 calc(50% - var(--cases-gap)/2);
  }
}

/* About Section with Carousel Styles */
.c-about-section {
    padding: 30px 0;
    background: #fff;
}

.c-about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 50px;
}

.c-about-text {
    flex: 1;
    position: relative;
    min-height: 400px;  /* 关键：固定最小高度防止内容跳动 */
}

.about-section-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 
        0 -8px 16px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1);
    position: absolute;  /* 绝对定位+占位高度=布局稳定 */
    top: 0;
    left: 0;
}

.c-about-form {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    /* 移除之前可能修改的min-height，恢复自动高度 */
}

.enhanced-form-container .mauticform-row {
    margin-bottom: 0.3rem;
    position: relative;
}

.enhanced-form-container .mauticform-input,
.enhanced-form-container .mauticform-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.enhanced-form-container .mauticform-input:focus,
.enhanced-form-container .mauticform-textarea:focus {
    border-color: #E74C3C;
    box-shadow: 0 0 8px rgba(231,76,60,0.2);
    outline: none;
}

.enhanced-form-container .mauticform-errormsg {
    display: block;
    color: #E74C3C;
    font-size: 14px;
    margin-top: 8px;
    padding-left: 8px;
}

.enhanced-form-container .mauticform-radiogrp-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.enhanced-form-container .mauticform-radiogrp-radio {
    width: 20px;
    height: 20px;
    accent-color: #E74C3C;
}

.enhanced-form-container .brand-submit-btn {
    background: #E74C3C;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
}

.enhanced-form-container .brand-submit-btn:hover {
    opacity: 0.9;
}

@media (max-width: 992px) {
    .c-about-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }
    
    .c-about-text {
        min-height: 300px;  
    }
}

@media (max-width: 768px) {
    .c-about-text {
        min-height: 250px;  
    }
}

.prod-showcase-section * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.prod-showcase-section {
    padding: 20px 0;
    width: 100%;
}


.prod-showcase-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}


.prod-showcase-card {
    flex: 0 0 calc(25% - 18px); 
    border-radius: 12px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.12), 5px 5px 15px rgba(0, 0, 0, 0.08); /* 右下阴影加重 */
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


.prod-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e30613;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}


.prod-showcase-card:hover {
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2), 8px 8px 20px rgba(0, 0, 0, 0.15); /* 阴影加深 */
    transform: translateY(-2px);
}

.prod-showcase-card:hover::before {
    transform: translateY(0); 
}


.prod-image-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    margin-bottom: 1px;
    border-radius: 8px;
    overflow: hidden;
}

.prod-image {
    width: 80%;
    height: 80%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    margin: 0 auto;    
}

.prod-showcase-card:hover .prod-image {
    transform: scale(1.03); 
}


.prod-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
}

.prod-title strong {
    color: #000;
}


.prod-spec {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
}


.prod-desc {
    font-size: 14px;
    color: #888;
    line-height: 1.4;
}


.prod-toggle-btn {
    background: #e30613;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
}

.prod-toggle-btn:hover {
    background: #b3000c;
    transform: translateY(-1px);
}

.prod-toggle-btn:active {
    transform: translateY(0);
}


@media (max-width: 1024px) and (min-width: 769px) {
    .prod-showcase-card {
        flex: 0 0 calc(50% - 12px); 
    }
}


@media (max-width: 768px) {
    .prod-showcase-section {
        padding: 40px 0;
    }
    
    .prod-showcase-container {
        padding: 0 15px;
        gap: 16px;
    }
    
    .prod-showcase-card {
        flex: 0 0 100%; 
        padding: 20px;
    }
    
    .prod-title {
        font-size: 17px;
    }
    
    .prod-toggle-btn {
        margin-left: 15px;
        padding: 10px 20px;
        font-size: 15px;
    }