@charset "utf-8";

/* =========================================================
   CSY Homepage Banner - Left-Aligned Layout
   Keep the banner photo visible on the right. No content card.
   ========================================================= */

.csy-banner,
.csy-banner * {
    box-sizing: border-box;
}

.csy-banner {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 700px;
    overflow: hidden;
    background: #dceaff url("../images/banner.jpg") center center / cover no-repeat;
}

.csy-banner > .container {
    position: relative;
    z-index: 1;
}

/* Match the original left-side position without a translucent panel. */
.csy-banner-content {
    width: 58%;
    max-width: 755px;
    min-width: 0;
    margin: 0;
    padding: 58px 0 65px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    text-align: left;
}

.csy-banner-subtitle {
    margin: 0 0 22px;
    color: #1e2e61;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.6;
    letter-spacing: 0.3px;
    overflow-wrap: anywhere;
}

.csy-banner h1 {
    width: 100%;
    max-width: 750px;
    margin: 0;
    color: #1e2e61;
    font-size: clamp(38px, 3.4vw, 52px);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.65px;
}

.csy-banner-service-title {
    max-width: 750px;
    margin: 17px 0 0;
    color: #263e74;
    font-size: clamp(23px, 2vw, 29px);
    font-weight: 700;
    line-height: 1.4;
}

.csy-banner-highlights {
    max-width: 730px;
    margin: 23px 0 0;
    color: #435c86;
    font-size: 17px;
    font-weight: 450;
    line-height: 1.8;
}

.csy-banner-highlights span {
    padding: 0 2px;
    color: #2575d6;
}

/* The original button row is also left aligned. */
.csy-banner-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 29px;
}

.csy-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-width: 215px;
    min-height: 51px;
    padding: 0 22px;
    border: 1px solid #0663de;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease,
                color .2s ease, transform .2s ease;
}

.csy-banner-btn i {
    flex: 0 0 auto;
    font-size: 15px;
}

.csy-banner-btn-primary {
    background: #0663de;
    color: #ffffff;
}

.csy-banner-btn-primary:hover {
    border-color: #0553bf;
    background: #0553bf;
    color: #ffffff;
    transform: translateY(-2px);
}

.csy-banner-btn-outline {
    background: #ffffff;
    color: #0663de;
}

.csy-banner-btn-outline:hover {
    background: #edf5ff;
    color: #0553bf;
    transform: translateY(-2px);
}

@media screen and (max-width: 991px) {
    .csy-banner {
        min-height: 540px;
  background: #dceaff url("../images/bannerm.jpg") center center / cover no-repeat;

    }

    .csy-banner-content {
        width: 67%;
        padding: 45px 0;
    }

    .csy-banner h1 {
        font-size: 40px;
    }

    .csy-banner-service-title {
        font-size: 24px;
    }

    .csy-banner-highlights {
        font-size: 15px;
    }

    .csy-banner-btn {
        min-width: 180px;
    }
}

@media screen and (max-width: 768px) {
    .csy-banner {
        min-height: 0;
        padding: 0;
        background-position: 57% center;
    }

    .csy-banner-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 53px 0 58px;
        text-align: left;
    }

    .csy-banner-subtitle {
        margin-bottom: 14px;
        font-size: 12px;
        line-height: 1.55;
        letter-spacing: 0.25px;
    }

    .csy-banner h1 {
        font-size: 32px;
        line-height: 1.3;
        letter-spacing: -0.4px;
    }

    .csy-banner-service-title {
        margin-top: 13px;
        font-size: 21px;
        line-height: 1.4;
    }

    .csy-banner-highlights {
        margin-top: 17px;
        font-size: 14px;
        line-height: 1.75;
    }

    .csy-banner-buttons {
        justify-content: flex-start;
        gap: 10px;
        margin-top: 23px;
    }

    .csy-banner-btn {
        flex: 0 1 auto;
        min-width: 140px;
        min-height: 44px;
        padding: 0 13px;
        font-size: 13px;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .csy-banner-btn {
        transition: none;
    }
}

/* =========================================================
   Other homepage sections remain unchanged below.
   ========================================================= */

/* Home advantages */
.csy-home-advantages {
    width: 100%;
 padding-top: 30px;
}

.csy-advantages-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    padding: 24px 15px 20px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.csy-advantages-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 0 8px;
    text-align: center;
    animation: csyAdvFadeUp .65s ease both;
    transition: transform .3s ease;
}

.csy-advantages-item img {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 12px;
    transition: transform .35s ease;
}

.csy-advantages-item h3 {
    margin: 0;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
}

.csy-advantages-item p {
    margin: 7px 0 0;
    color: #666;
    font-size: 12px;
    line-height: 19px;
}

.csy-advantages-item:hover img {
    transform: translateY(-6px) scale(1.08);
}

.csy-advantages-item:hover h3 {
    color: #0663de;
}

/* Staggered animation */
.csy-advantages-item:nth-child(1) {
    animation-delay: .05s;
}

.csy-advantages-item:nth-child(2) {
    animation-delay: .12s;
}

.csy-advantages-item:nth-child(3) {
    animation-delay: .19s;
}

.csy-advantages-item:nth-child(4) {
    animation-delay: .26s;
}

.csy-advantages-item:nth-child(5) {
    animation-delay: .33s;
}

.csy-advantages-item:nth-child(6) {
    animation-delay: .40s;
}

@keyframes csyAdvFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .csy-advantages-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 30px;
        padding: 25px 15px;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .csy-home-advantages {
        padding-top: 20px;
    }

    .csy-advantages-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 25px;
        padding: 25px 10px;
        border-radius: 10px;
    }

    .csy-advantages-item {
        padding: 0 6px;
    }

    .csy-advantages-item img {
        width: 48px;
        height: 48px;
        margin-bottom: 10px;
    }

    .csy-advantages-item h3 {
        font-size: 12px;
        line-height: 19px;
    }

    .csy-advantages-item p {
        font-size: 11px;
        line-height: 17px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .csy-advantages-item {
        animation: none;
        transition: none;
    }

    .csy-advantages-item img {
        transition: none;
    }
}



/* Popular Categories */
.csy-popular {
    width: 100%;
    padding-top: 30px;
}

/* Heading */
.csy-popular-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.csy-popular-heading h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #11233b;
    font-size: 32px;
    line-height: 42px;
}

.csy-popular-heading h2 img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.csy-popular-more {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #0663de;
    font-size: 15px;
    white-space: nowrap;
    transition: color .25s ease;
}

.csy-popular-more img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
    transition: transform .3s ease;
}

.csy-popular-more:hover {
    color: #044fb5;
}

.csy-popular-more:hover img {
    transform: translateX(6px);
}

/* White content area */
.csy-popular-content {
    padding: 20px;
    background: #fff;
}

.csy-popular-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

/* Product Card */
.csy-popular-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 15px 10px 20px;
    border: 1px solid #c9dcff;
    border-radius: 11px;
    background: #fff;
    text-align: center;
    text-decoration: none;
    transition: border-color .3s ease,
                box-shadow .3s ease,
                transform .3s ease;
}

.csy-popular-item:hover {
    border-color: #0663de;
    box-shadow: 0 12px 26px rgba(6,99,222,.12);
    transform: translateY(-5px);
}

/* Product Image */
.csy-popular-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 180px;
    margin-bottom: 12px;
    overflow: hidden;
}

.csy-popular-image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform .4s ease;
}

.csy-popular-item:hover .csy-popular-image img {
    transform: scale(1.08);
}

/* Product Text */
.csy-popular-item h3 {
    width: 100%;
    margin: auto 0 0;
    color: #111;
    font-size: 13px;
    font-weight: 500;
    line-height: 22px;
    overflow-wrap: anywhere;
    transition: color .25s ease;
}

.csy-popular-item p {
    width: 100%;
    margin: 5px 0 0;
    color: #666;
    font-size: 13px;
    line-height: 20px;
    overflow-wrap: anywhere;
}

.csy-popular-item:hover h3 {
    color: #0663de;
}

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .csy-popular-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .csy-popular-image {
        height: 170px;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .csy-popular {
        padding-top: 20px;
    }

    .csy-popular-heading {
        gap: 10px;
        margin-bottom: 15px;
    }

    .csy-popular-heading h2 {
        gap: 8px;
        font-size: 21px;
        line-height: 30px;
    }

    .csy-popular-heading h2 img {
        width: 27px;
        height: 27px;
    }

    .csy-popular-more {
        gap: 6px;
        font-size: 12px;
    }

    .csy-popular-more img {
        width: 15px;
        height: 15px;
    }

    .csy-popular-content {
        padding: 10px;
    }

    .csy-popular-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .csy-popular-item {
        padding: 10px 7px 15px;
        border-radius: 8px;
    }

    .csy-popular-image {
        height: 120px;
        margin-bottom: 8px;
    }

    .csy-popular-item h3 {
        font-size: 11px;
        line-height: 18px;
    }

    .csy-popular-item p {
        margin-top: 4px;
        font-size: 11px;
        line-height: 17px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .csy-popular-item,
    .csy-popular-image img,
    .csy-popular-more img {
        transition: none;
    }
}



/* Product Classification */
.csy-classify {
    width: 100%;
    padding-top: 30px;
}

/* Header */
.csy-classify-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    margin-bottom: 22px;
}

.csy-classify-header h2 {
    flex: 0 0 auto;
    margin: 0 50px 0 0;
    color: #11233b;
    font-size: 32px;
    line-height: 42px;
}

/* Tabs */
.csy-classify-tabs {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 1 auto;
    min-width: 0;
    gap: 48px;
}

.csy-classify-tabs button {
    position: relative;
    flex: 0 0 auto;
    padding: 12px 0;
    border: none;
    background: transparent;
    color: #50617d;
    font-size: 15px;
    font-weight: 500;
    line-height: 22px;
    white-space: nowrap;
    cursor: pointer;
    transition: color .25s ease;
}

.csy-classify-tabs button::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 5px;
    background: #0663de;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .3s ease;
}

.csy-classify-tabs button:hover,
.csy-classify-tabs button.current {
    color: #0663de;
}

.csy-classify-tabs button.current::after {
    transform: scaleX(1);
}

/* More */
.csy-classify-more {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
    margin-left: auto;
    padding-left: 20px;
    color: #0663de;
    font-size: 15px;
    white-space: nowrap;
    transition: color .25s ease;
}

.csy-classify-more i {
    font-size: 19px;
    transition: transform .3s ease;
}

.csy-classify-more:hover {
    color: #044fb5;
}

.csy-classify-more:hover i {
    transform: translateX(6px);
}

/* White Content */
.csy-classify-content {
    padding: 20px;
    background: #fff;
}

/* Tab Panel */
.csy-classify-panel {
    display: none;
}

.csy-classify-panel.current {
    display: block;
    animation: csyClassifyFade .35s ease both;
}

/* Product Grid */
.csy-classify-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

/* Product Card */
.csy-classify-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 12px 12px 14px;
    border: 1px solid #c9dcff;
    border-radius: 11px;
    background: #fff;
    text-align: center;
    transition: border-color .3s ease,
                box-shadow .3s ease,
                transform .3s ease;
}

.csy-classify-item:hover {
    border-color: #0663de;
    box-shadow: 0 12px 26px rgba(6, 99, 222, .12);
    transform: translateY(-4px);
}

/* Product Image */
.csy-classify-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 185px;
    margin-bottom: 12px;
    overflow: hidden;
}

.csy-classify-image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform .35s ease;
}

.csy-classify-item:hover .csy-classify-image img {
    transform: scale(1.07);
}

/* Product Name */
.csy-classify-name {
    display: block;
    width: 100%;
    margin-top: auto;
    color: #111;
    font-size: 13px;
    font-weight: 500;
    line-height: 22px;
    overflow-wrap: anywhere;
    transition: color .25s ease;
}

.csy-classify-name:hover,
.csy-classify-item:hover .csy-classify-name {
    color: #0663de;
}

/* Manufacturer */
.csy-classify-item p {
    width: 100%;
    margin: 5px 0 15px;
    color: #666;
    font-size: 13px;
    line-height: 20px;
    overflow-wrap: anywhere;
}

/* RFQ Link */
.csy-classify-rfq {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    margin-top: auto;
    border-radius: 4px;
    background: #0663de;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: background .25s ease,
                transform .25s ease;
}

.csy-classify-rfq:hover {
    background: #044fb5;
    color: #fff;
    transform: translateY(-2px);
}

/* Tab Animation */
@keyframes csyClassifyFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .csy-classify-header {
        flex-wrap: wrap;
        gap: 10px 0;
    }

    .csy-classify-header h2 {
        margin-right: 0;
    }

    .csy-classify-tabs {
        order: 3;
        flex: 0 0 100%;
        justify-content: flex-start;
        gap: 35px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .csy-classify-tabs::-webkit-scrollbar {
        display: none;
    }

    .csy-classify-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .csy-classify-image {
        height: 170px;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .csy-classify {
        padding-top: 20px;
    }

    .csy-classify-header {
        flex-wrap: wrap;
        gap: 10px 0;
        margin-bottom: 15px;
    }

    .csy-classify-header h2 {
        flex: 1;
        margin-right: 0;
        font-size: 21px;
        line-height: 30px;
    }

    .csy-classify-tabs {
        order: 3;
        flex: 0 0 100%;
        justify-content: flex-start;
        gap: 25px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .csy-classify-tabs::-webkit-scrollbar {
        display: none;
    }

    .csy-classify-tabs button {
        padding: 9px 0;
        font-size: 13px;
    }

    .csy-classify-more {
        margin-left: auto;
        padding-left: 10px;
        gap: 8px;
        font-size: 12px;
    }

    .csy-classify-more i {
        font-size: 15px;
    }

    .csy-classify-content {
        padding: 10px;
    }

    .csy-classify-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .csy-classify-item {
        padding: 9px 8px 10px;
        border-radius: 8px;
    }

    .csy-classify-image {
        height: 120px;
        margin-bottom: 8px;
    }

    .csy-classify-name {
        font-size: 11px;
        line-height: 18px;
    }

    .csy-classify-item p {
        margin: 4px 0 10px;
        font-size: 11px;
        line-height: 17px;
    }

    .csy-classify-rfq {
        min-height: 34px;
        font-size: 12px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .csy-classify-panel.current {
        animation: none;
    }

    .csy-classify-item,
    .csy-classify-image img,
    .csy-classify-rfq,
    .csy-classify-more i,
    .csy-classify-tabs button,
    .csy-classify-tabs button::after {
        transition: none;
    }
}



/* BOM and PCBA service */
.csy-bom-service {
    width: 100%;
    padding-top: 30px;
}

.csy-bom-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}

/* Left quotation panel */
.csy-bom-left {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 262px;
    align-items: center;
    gap: 20px;
    min-width: 0;
    min-height: 235px;
    padding: 20px 24px;
    border-radius: 11px;
    background: #d5ebfd;
}

.csy-bom-info {
    min-width: 0;
}

.csy-bom-info h2 {
    margin: 0 0 12px;
    color: #1e2e61;
    font-size: 27px;
    line-height: 1.35;
}

.csy-bom-description {
    margin: 0;
    color: #355a96;
    font-size: 15px;
    line-height: 26px;
}

/* Advantages */
.csy-bom-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.csy-bom-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.csy-bom-feature img {
    display: block;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform .3s ease;
}

.csy-bom-feature span {
    color: #1e2e61;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
}

.csy-bom-feature:hover img {
    transform: translateY(-4px) scale(1.07);
}

/* Upload link panel */
.csy-bom-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 195px;
    padding: 15px;
    border: 1px dashed #75afff;
    border-radius: 11px;
    background: #fff;
    color: #435573;
    text-align: center;
    text-decoration: none;
    transition: border-color .3s ease,
                box-shadow .3s ease,
                transform .3s ease;
}

.csy-bom-upload:hover {
    border-color: #0663de;
    color: #435573;
    box-shadow: 0 10px 25px rgba(6,99,222,.12);
    transform: translateY(-3px);
}

.csy-bom-upload-icon {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 12px;
    transition: transform .3s ease;
}

.csy-bom-upload:hover .csy-bom-upload-icon {
    transform: translateY(-5px);
}

.csy-bom-upload-text {
    color: #435573;
    font-size: 12px;
    line-height: 19px;
}

.csy-bom-upload-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    max-width: 100%;
    height: 36px;
    margin-top: 2px;
    border-radius: 4px;
    background: #0663de;
    color: #fff;
    font-size: 12px;
    transition: background .25s ease;
}

.csy-bom-upload:hover .csy-bom-upload-button {
    background: #044fb5;
}

.csy-bom-upload small {
    display: block;
    margin-top: 10px;
    color: #7891b5;
    font-size: 10px;
    line-height: 16px;
}

/* PCBA panel */
.csy-bom-right {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 235px;
    overflow: hidden;
    padding: 30px 32px;
    border-radius: 11px;
    background: #465f92 url("../images/upimg.jpg") center center / cover no-repeat;
}

.csy-bom-right::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(30, 46, 97, .13);
    transition: background .3s ease;
}

.csy-bom-right:hover::before {
    background: rgba(30, 46, 97, .27);
}

.csy-bom-pcba {
    position: relative;
    z-index: 1;
}

.csy-bom-pcba h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 20px;
    line-height: 28px;
}

.csy-bom-pcba p {
    margin: 0 0 15px;
    color: #fff;
    font-size: 12px;
    line-height: 19px;
}

.csy-bom-pcba-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 35px;
    padding: 0 15px;
    border-radius: 4px;
    background: #fff;
    color: #0663de;
    font-size: 12px;
    text-decoration: none;
    transition: background .3s ease,
                color .3s ease,
                transform .3s ease;
}

.csy-bom-pcba-btn img {
    display: block;
    width: 15px;
    height: 15px;
    object-fit: contain;
    transition: transform .3s ease;
}

.csy-bom-pcba-btn:hover {
    background: #0663de;
    color: #fff;
    transform: translateY(-3px);
}

.csy-bom-pcba-btn:hover img {
    filter: brightness(0) invert(1);
    transform: translateX(4px);
}

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .csy-bom-layout {
        grid-template-columns: 1fr;
    }

    .csy-bom-left {
        grid-template-columns: minmax(0, 1fr) 260px;
    }

    .csy-bom-right {
        min-height: 210px;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .csy-bom-service {
        padding-top: 20px;
    }

    .csy-bom-layout {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .csy-bom-left {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 22px 18px;
    }

    .csy-bom-info h2 {
        font-size: 22px;
        line-height: 30px;
    }

    .csy-bom-description {
        font-size: 12px;
        line-height: 22px;
    }

    .csy-bom-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
        margin-top: 23px;
    }

    .csy-bom-feature img {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }

    .csy-bom-feature span {
        font-size: 12px;
        line-height: 18px;
    }

    .csy-bom-upload {
        min-height: 175px;
    }

    .csy-bom-right {
        min-height: 210px;
        padding: 25px;
    }

    .csy-bom-pcba h3 {
        font-size: 20px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .csy-bom-feature img,
    .csy-bom-upload,
    .csy-bom-upload-icon,
    .csy-bom-upload-button,
    .csy-bom-right::before,
    .csy-bom-pcba-btn,
    .csy-bom-pcba-btn img {
        transition: none;
    }
}



/* Featured Manufacturers */
.csy-manufacturers {
    width: 100%;
    padding-top: 30px;
}

/* Heading */
.csy-manufacturers-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.csy-manufacturers-heading h2 {
    margin: 0;
    color: #11233b;
    font-size: 32px;
    line-height: 42px;
}

.csy-manufacturers-more {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #0663de;
    font-size: 15px;
    white-space: nowrap;
    text-decoration: none;
    transition: color .25s ease;
}

.csy-manufacturers-more img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
    transition: transform .3s ease;
}

.csy-manufacturers-more:hover {
    color: #044fb5;
}

.csy-manufacturers-more:hover img {
    transform: translateX(6px);
}

/* White Content */
.csy-manufacturers-content {
    padding: 20px;
    background: #fff;
    border-radius: 11px;
}

/* Manufacturer Grid */
.csy-manufacturers-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px 12px;
}

/* Manufacturer Card */
.csy-manufacturers-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 90px;
    padding: 15px;
    overflow: hidden;
    border: 1px solid #e5ecf5;
    border-radius: 11px;
    background: #fff;
    text-decoration: none;
    transition: border-color .3s ease,
                box-shadow .3s ease,
                transform .3s ease;
}

.csy-manufacturers-item img {
    display: block;
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform .35s ease;
}

/* Hover */
.csy-manufacturers-item:hover {
    border-color: #8ebcff;
    box-shadow: 0 10px 25px rgba(6, 99, 222, .10);
    transform: translateY(-4px);
}

.csy-manufacturers-item:hover img {
    transform: scale(1.08);
}

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .csy-manufacturers-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .csy-manufacturers-item {
        height: 85px;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .csy-manufacturers {
        padding-top: 20px;
    }

    .csy-manufacturers-heading {
        gap: 10px;
        margin-bottom: 15px;
    }

    .csy-manufacturers-heading h2 {
        font-size: 21px;
        line-height: 30px;
    }

    .csy-manufacturers-more {
        gap: 7px;
        font-size: 12px;
    }

    .csy-manufacturers-more img {
        width: 15px;
        height: 15px;
    }

    .csy-manufacturers-content {
        padding: 10px;
        border-radius: 8px;
    }

    .csy-manufacturers-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .csy-manufacturers-item {
        height: 85px;
        padding: 12px;
        border-radius: 8px;
    }

    .csy-manufacturers-item img {
        max-height: 55px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .csy-manufacturers-item,
    .csy-manufacturers-item img,
    .csy-manufacturers-more img {
        transition: none;
    }
}



/* =========================================================
   Home About CSY
   Static company profile and six facts
   ========================================================= */

.csy-home-about,
.csy-home-about * {
    box-sizing: border-box;
}

.csy-home-about {
    padding: 30px 0 0;
}

.csy-home-about-panel {
    position: relative;
    min-height: 450px;
    overflow: hidden;
    padding: 38px 30px 36px;
    border-radius: 13px;
    background: #ffffff url("../images/homeabbg.jpg") right center / cover no-repeat;
}

/* Fade the photo into the text area while keeping the building visible. */
.csy-home-about-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        rgba(255, 255, 255, 0.99) 29%,
        rgba(255, 255, 255, 0.92) 45%,
        rgba(255, 255, 255, 0.12) 73%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
}

.csy-home-about-content {
    position: relative;
    z-index: 1;
    max-width: 840px;
}

.csy-home-about-tag {
    display: inline-flex;
    align-items: center;
    min-height: 35px;
    margin-bottom: 16px;
    padding: 0 20px;
    border-radius: 40px;
    background: #e6f0ff;
    color: #0663de;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.csy-home-about-content h2 {
    margin: 0;
    color: #1e2e61;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.csy-home-about-description {
    max-width: 660px;
    margin: 12px 0 0;
    color: #283d70;
    font-size: 15px;
    line-height: 1.65;
}

.csy-home-about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 0;
    max-width: 830px;
    margin-top: 32px;
}

.csy-home-about-stat {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding-right: 14px;
}

.csy-home-about-stat:not(:nth-child(3n+1)) {
    padding-left: 20px;
}

.csy-home-about-stat:not(:nth-child(3n+1))::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 0;
    width: 1px;
    background: rgba(30, 46, 97, 0.09);
}

.csy-home-about-stat-icon {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e6f4ff;
}

.csy-home-about-stat-icon img {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.csy-home-about-stat-text {
    min-width: 0;
}

.csy-home-about-stat-text strong {
    display: block;
    color: #1e2e61;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.3;
}

.csy-home-about-stat-text p {
    margin: 4px 0 0;
    color: #394f7d;
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 991px) {
    .csy-home-about-panel {
        min-height: 0;
        padding: 32px 24px;
        background-position: 60% center;
    }

    .csy-home-about-panel::before {
        background: linear-gradient(
            90deg,
            #ffffff 0%,
            rgba(255, 255, 255, 0.98) 40%,
            rgba(255, 255, 255, 0.72) 75%,
            rgba(255, 255, 255, 0.25) 100%
        );
    }

    .csy-home-about-content h2 {
        font-size: 28px;
    }

    .csy-home-about-content {
        max-width: 760px;
    }

    .csy-home-about-stats {
        max-width: 760px;
    }

    .csy-home-about-stat {
        gap: 9px;
        padding-right: 8px;
    }

    .csy-home-about-stat:not(:nth-child(3n+1)) {
        padding-left: 12px;
    }

    .csy-home-about-stat-text strong {
        font-size: 15px;
    }

    .csy-home-about-stat-text p {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .csy-home-about {
        padding-top: 20px;
    }

    .csy-home-about-panel {
        padding: 25px 18px 27px;
        border-radius: 10px;
        background: #ffffff;
    }

    .csy-home-about-panel::before {
        display: none;
    }

    .csy-home-about-tag {
        min-height: 31px;
        margin-bottom: 13px;
        padding: 0 14px;
        font-size: 12px;
    }

    .csy-home-about-content h2 {
        font-size: 23px;
        line-height: 1.35;
    }

    .csy-home-about-description {
        margin-top: 11px;
        font-size: 13px;
        line-height: 1.75;
    }

    .csy-home-about-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
        margin-top: 25px;
    }

    .csy-home-about-stat,
    .csy-home-about-stat:not(:nth-child(3n+1)) {
        gap: 9px;
        padding: 0;
    }

    .csy-home-about-stat::before,
    .csy-home-about-stat:not(:nth-child(3n+1))::before {
        display: none;
    }

    .csy-home-about-stat-icon {
        flex-basis: 39px;
        width: 39px;
        height: 39px;
    }

    .csy-home-about-stat-icon img {
        width: 24px;
        height: 24px;
    }

    .csy-home-about-stat-text strong {
        font-size: 13px;
    }

    .csy-home-about-stat-text p {
        font-size: 11px;
        line-height: 1.4;
    }
}

/* Latest News */
.csy-news {
    width: 100%;
    padding: 30px 0;
}

/* Heading */
.csy-news-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.csy-news-heading h2 {
    margin: 0;
    color: #11233b;
    font-size: 32px;
    line-height: 42px;
}

.csy-news-more {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #0663de;
    font-size: 15px;
    white-space: nowrap;
    transition: color .25s ease;
}

.csy-news-more i {
    font-size: 19px;
    transition: transform .3s ease;
}

.csy-news-more:hover {
    color: #044fb5;
}

.csy-news-more:hover i {
    transform: translateX(6px);
}

/* White Content */
.csy-news-content {
    padding: 20px;
    background: #fff;
}

/* News Grid */
.csy-news-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

/* News Card */
.csy-news-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e6eaf0;
    border-radius: 11px;
    background: #fff;
    transition: border-color .3s ease,
                box-shadow .3s ease,
                transform .3s ease;
}

.csy-news-item:hover {
    border-color: #a5caff;
    box-shadow: 0 12px 26px rgba(6, 99, 222, .10);
    transform: translateY(-5px);
}

/* News Image */
.csy-news-image {
    display: block;
    width: 100%;
    aspect-ratio: 315 / 140;
    overflow: hidden;
}

.csy-news-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.csy-news-item:hover .csy-news-image img {
    transform: scale(1.07);
}

/* News Information */
.csy-news-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 145px;
    padding: 15px;
}

.csy-news-category {
    align-self: flex-start;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    background: #eff5ff;
    color: #0663de;
    font-size: 12px;
    line-height: 19px;
}

/* News Title */
.csy-news-info h3 {
    display: -webkit-box;
    margin: 10px 0 15px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    color: #111;
    font-size: 15px;
    font-weight: 500;
    line-height: 22px;
}

.csy-news-info h3 a {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease;
}

.csy-news-info h3 a:hover,
.csy-news-item:hover h3 a {
    color: #0663de;
}

/* Date and View More */
.csy-news-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.csy-news-bottom time {
    color: #777;
    font-size: 13px;
    line-height: 22px;
}

.csy-news-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #777;
    font-size: 13px;
    line-height: 22px;
    white-space: nowrap;
    transition: color .25s ease;
}

.csy-news-bottom a i {
    font-size: 16px;
    transition: transform .25s ease;
}

.csy-news-bottom a:hover {
    color: #0663de;
}

.csy-news-bottom a:hover i {
    transform: translateX(4px);
}

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .csy-news-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .csy-news-info {
        min-height: 140px;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .csy-news {
        padding: 20px 0;
    }

    .csy-news-heading {
        gap: 10px;
        margin-bottom: 15px;
    }

    .csy-news-heading h2 {
        font-size: 21px;
        line-height: 30px;
    }

    .csy-news-more {
        gap: 8px;
        font-size: 12px;
    }

    .csy-news-more i {
        font-size: 15px;
    }

    .csy-news-content {
        padding: 10px;
    }

    .csy-news-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .csy-news-item {
        border-radius: 8px;
    }

    .csy-news-info {
        min-height: 130px;
        padding: 12px;
    }

    .csy-news-category {
        font-size: 11px;
        padding: 3px 8px;
    }

    .csy-news-info h3 {
        margin: 9px 0 12px;
        font-size: 13px;
        line-height: 20px;
    }

    .csy-news-bottom time,
    .csy-news-bottom a {
        font-size: 12px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .csy-news-item,
    .csy-news-image img,
    .csy-news-more i,
    .csy-news-bottom a i {
        transition: none;
    }
}
