/* index.html 页面主CSS文件 - 使用@import导入所有需要的样式 */

/* 头部样式 */

/* ===== 来自: ../common/header/header.css ===== */
:root {
    --primary-color: #D2BDA1;
    --hover-color: #D71718;
    --text-color: #333;
    --white: #fff;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    padding-top: 100px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
}

.nav-container {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin-right: 20px;
    color: var(--text-color);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    position: relative;
    margin: 0 15px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    display: flex;
    align-items: center;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--hover-color);
}

.nav-link i {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-text {
    flex: 1;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-color);
    list-style: none;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.sub-sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    background-color: var(--primary-color);
    list-style: none;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.nav-item:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
}

.sub-menu-item:hover>.sub-sub-menu {
    opacity: 1;
    visibility: visible;
}

.sub-menu-item {
    position: relative;
}

.sub-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
    position: relative;
}

.sub-link:hover {
    background-color: var(--hover-color);
    color: var(--white);
}

.sub-link i {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.quick-quote-btn {
    background-color: var(--hover-color);
    color: var(--white);
    border: none;
    padding: 15px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 0.3s;
    margin-left: 20px;
}

.quick-quote-btn:hover {
    background-color: #c51617;
}

.search-toggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    margin-right: 15px;
    color: var(--text-color);
    transition: color 0.3s;
}

.search-toggle:hover {
    color: var(--hover-color);
}

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2001;
    justify-content: center;
    align-items: center;
}

.search-modal-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.search-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

.search-input-container {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

#searchInput {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    font-size: 16px;
}

.search-submit-btn {
    background-color: var(--hover-color);
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-submit-btn:hover {
    background-color: #c51617;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    position: relative;
    overflow: hidden;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

.modal-title {
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.8rem;
    color: var(--hover-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.file-upload {
    display: flex;
    align-items: center;
}

.file-upload-btn {
    background-color: #f0f0f0;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
    border: 1px solid #ddd;
}

.file-name {
    color: #777;
}

.submit-btn {
    background-color: var(--hover-color);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    width: 100%;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #c51617;
}

/* For the main navigation */
.nav-item:hover > .nav-link {
    color: var(--hover-color);
}

/* For sub-menu items */
.sub-menu-item:hover > .sub-link {
    color: var(--white) !important;
    background-color: var(--hover-color);
}

/* For sub-sub-menu items */
.sub-sub-menu li:hover > .sub-sub-link {
    color: var(--white) !important;
    background-color: var(--hover-color);
}

/* Keep the active state for current page */
.nav-link.active,
.sub-link.active,
.sub-sub-link.active {
    color: var(--hover-color) !important;
    font-weight: 600;
}

/* Mobile styles */
@media (max-width: 992px) {
    .nav-toggle {
        display: inline;
    }

    .nav-menu {
        position: fixed;
        top: 100px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        max-height: 550px;
        overflow: overlay;
    }
    .nav-link i,.sub-link i{
        font-size: 16px;
    }

    .nav-item {
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    .nav-link {
        padding: 15px 20px;
        justify-content: space-between;
    }

    .nav-icon {
        margin-left: 10px;
        transition: transform 0.3s ease;
    }

    .nav-icon.rotated {
        transform: rotate(90deg);
    }

    .sub-menu {
        position: static;
        background-color: #f9f9f9;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .sub-menu.active {
        max-height: 1000px;
        display: block;
    }

    .sub-sub-menu {
        position: static;
        background-color: #f0f0f0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        display: none;
        opacity: 1;
        visibility: visible;
    }

    .sub-sub-menu.active {
        max-height: 550px;
        display: block;
    }

    .sub-link {
        padding: 12px 20px 12px 30px;
        justify-content: space-between;
    }

    .sub-sub-link {
        padding: 12px 20px 12px 60px;
    }

    .quick-quote-btn {
        margin-left: 0;
    }

    .nav-link.active,
    .sub-link.active,
    .sub-sub-link.active {
        background-color: transparent;
        color: var(--hover-color) !important;
    }
}

@media (max-width: 576px) {
    .modal-content {
        top: 0;
        transform: none;
        margin: 30% auto;
        max-height: 500px;
        overflow-y: auto;
    }
    .quick-quote-btn{
        padding: 15px 10px;
    }
}
/* ===== 结束: ../common/header/header.css ===== */



/* Banner样式 */

/* ===== 来自: banner.css ===== */
/* Main Hero Section Styles */
.hero-section {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    overflow: visible;
    /* Changed from hidden to visible */
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    background-color: rgba(0,0,0,.53);
    position: absolute;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 10%;
    color: #fff;
}
.banner-content.hero-content {
    position: relative !important;
}
.hero-content.text-ju-center{
    justify-content: center;
}

.hero-text {
    /*width: 30%;*/
    min-width: 300px;
}
.hero-text.text-center{
    width: 100%;
}

.hero-title {
    /* font-size: 2.5rem; */
    font-size: calc(1rem + 1vw);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    /* font-size: 1.5rem; */
    font-size: calc(1rem + 0.5vw);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-description {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #c51617;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Stats Card Styles */
.stats-card {
    position: absolute;
    bottom: -100px;
    /* Half of the card height (200px/2) */
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1200px;
    /* background-color: #fff; */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    height: 200px;
    z-index: 3;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    backdrop-filter: blur(40px);
    align-items: center;
}

.stats-item {
    text-align: center;
    padding: 15px;
    flex: 1;
    min-width: 150px;
    font-weight: 600;
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 5px;
}

.stats-label {
    font-size: 1rem;
    color: #000000;
}

/* Add space below hero section to accommodate card overlap */
.hero-container {
    padding-bottom: 100px;
    /* Half of card height */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-text {
        width: 60%;
    }

    .stats-item {
        flex: 0 0 50%;
        margin-bottom: 15px;
    }

    .stats-card {
        height: 300px;
        bottom: -150px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 400px;
        min-height: 400px;
    }

    .hero-content {
        padding: 80px 5% 60px;
    }
    .hero-title{
        font-size: calc(1rem);
    }
    .hero-subtitle {
        /* font-size: 1.5rem; */
        font-size: calc(0.8rem);
    }
    .hero-description{
        font-size: calc(0.7rem);
    }

    .hero-text {
        width: 100%;
        min-width: auto;
    }

    .stats-card {
        /* position: relative; */
        bottom: auto;
        left: 5%;
        transform: none;
        width: 90%;
        height: auto;
        margin-top: 30px;
        border-radius: 0;
    }

    .stats-item {
        flex: 0 0 50%;
        margin-bottom: 15px;
    }

    .hero-container {
        padding-bottom: 0;
    }
}

@media (max-width: 480px) {
    /* .hero-title {
                font-size: 2rem;
            } */

    /* .hero-subtitle {
                font-size: 1.25rem;
            } */

    .stats-item {
        flex: 0 0 100%;
    }
}
/* ===== 结束: banner.css ===== */



/* 全屋定制一站式解决方案 */

/* ===== 来自: solution-section.css ===== */
/* Custom Solution Section */
.solution-section {
    padding: 100px 0;
    /* background-color: #f9f9f9; */
    padding: 100px 0;
    /* 添加以下样式 */
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.solution-section.alternative-style {
    /* Different background, padding, etc. */
    /* background-color: #f8f8f8; */
    padding: 40px 0;
    /* 确保继承父级的宽度限制 */
    /* max-width: inherit; */
}


.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: calc(1rem + 1.5vw);
    color: #333;
    margin-bottom: 20px;
}

.solution-section.alternative-style .section-header h2 {
    font-size: 36px;
    color: #AE8753;
    margin-bottom: 20px;
}

.solution-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 24px;
    margin: 0 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-button.active {
    color: #000;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #000;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: calc(33.333% - 20px);
    margin: 0 10px;
    height: 450px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(0);
    transition: filter 0.3s ease;
}

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.carousel-item:hover .carousel-content {
    transform: translateY(0);
}

.carousel-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.carousel-content p {
    font-size: 1rem;
    margin-bottom: 0;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
}

.carousel-dot.active {
    background: #000;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.solution-buttons {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 20px;
}

.solution-btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quote-btn {
    background-color: #000;
    color: white;
}

.download-btn {
    background-color: #d0d0d0;
    color: #000000;
    font-weight: 700;
    border: 1px solid #b0b0b0;
}

.solution-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    /* max-width: 900px; */
    width: 90%;
    position: relative;
    overflow: hidden;
}

.modal-flex-container {
    display: flex;
    min-height: 500px;
}

.modal-image-column {
    flex: 1;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.modal-form-column {
    flex: 1;
    padding: 40px;
}

.catalog-image {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    margin-bottom: 20px;
}

.catalog-title {
    text-align: center;
    color: #333;
    font-size: 1.5rem;
    margin-top: 20px;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-in forwards;
    text-align: center;
    margin-bottom: 30px;
    opacity: 0;
    /* Start invisible */
}

/* Rest of your modal styles remain the same */

.close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-btn:hover {
    color: #333;
}

.modal-title {
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.file-upload {
    display: flex;
    align-items: center;
}

.file-upload-btn {
    padding: 8px 15px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

.file-name {
    color: #666;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #333;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .carousel-item {
        min-width: calc(50% - 20px);
    }

    /* 增加section-header的底部间距 */
    .section-header {
        margin-bottom: 60px;
    }

}

@media (max-width: 768px) {
    .carousel-item {
        min-width: calc(100% - 20px);
    }

    .tab-button {
        padding: 10px 15px;
        font-size: 1rem;
        margin: 5px;
    }

    .solution-buttons {
        flex-direction: column;
        align-items: center;
    }

    .solution-btn {
        width: 80%;
        max-width: 300px;
    }

    /* 进一步增加section-header的底部间距 */
    .section-header {
        margin-bottom: 80px;
    }

    .solution-section {
        margin-top: 300px;
    }

    .solution-section.alternative-style {
        margin-top: 50px;
    }

    .modal-flex-container {
        flex-direction: column;
    }

    .modal-image-column {
        padding: 20px;
    }

    .modal-form-column {
        padding: 30px;
    }

    .catalog-image {
        max-height: 200px;
    }
}

@media (max-width: 576px) {
    .modal-content {
        top: 0;
        transform: none;
        margin: 30% auto;
        max-height: 500px;
        overflow-y: auto;
    }

    /* 调整solution-section的内边距 */
    .solution-section {

        padding: 100px 0 60px 0;
    }

    .solution-section.alternative-style {
        padding: 50px 0;
    }

}

@media (max-width:480px) {
    .solution-section {
        margin-top: 550px;
    }

    .solution-section.alternative-style {
        margin-top: 50px;
    }


}
/* ===== 结束: solution-section.css ===== */



/* 下载目录模态框 */

/* ===== 来自: ../download-modal/download-modal.css ===== */
/* Download Modal Styles */
.download-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.download-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    top: 10%;
    max-width: 900px;
    width: 90%;
    position: relative;
    overflow: hidden;
}

.download-modal-flex-container {
    display: flex;
    min-height: 500px;
}

.download-modal-image-column {
    flex: 1;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.download-modal-form-column {
    flex: 1;
    padding: 40px;
}

.download-catalog-image {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    margin-bottom: 20px;
}

.download-catalog-title {
    text-align: center;
    color: #333;
    font-size: 1.5rem;
    margin-top: 20px;
}

.download-modal-title {
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.8rem;
}

.download-close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.download-close-btn:hover {
    color: #333;
}

.download-form-group {
    margin-bottom: 20px;
}

.download-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.download-form-group input,
.download-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.download-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.download-submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.download-submit-btn:hover {
    background-color: #333;
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.download-fade-in {
    animation: fadeIn 1s ease-in forwards;
    text-align: center;
    margin-bottom: 30px;
    opacity: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .download-modal-flex-container {
        flex-direction: column;
    }
    
    .download-modal-image-column {
        padding: 20px;
    }
    
    .download-modal-form-column {
        padding: 30px;
    }
    
    .download-catalog-image {
        max-height: 200px;
    }
}

@media (max-width: 576px) {
    .download-modal-content {
        top: 0;
        transform: none;
        margin: 30% auto;
        max-height: 500px;
        overflow-y: auto;
    }
}
/* ===== 结束: ../download-modal/download-modal.css ===== */



/* 公司介绍 */

/* ===== 来自: company-Introduction.css ===== */
/* 公司介绍部分 */
.company-intro {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.intro-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
    align-items: center; /* 垂直居中 */
}

.intro-text {
    flex: 1;
    padding: 20px;
}

.intro-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.intro-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.intro-btn {
    background-color: #1a365d;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.intro-btn:hover {
    background-color: #2c5282;
}

.intro-video {
    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    line-height: 0; /* 去除视频底部空白 */
}

.intro-video video {
    width: 100%;
    height: auto;
    display: block;
}


.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.intro-video:hover .video-controls {
    opacity: 1;
}

.play-btn, .fullscreen-btn {
    background-color: rgba(26, 54, 93, 0.8);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.play-btn:hover, .fullscreen-btn:hover {
    background-color: rgba(26, 54, 93, 1);
    transform: scale(1.1);
}
.progress-container {
    flex: 1;
    height: 6px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 3px;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    background-color: #1a365d;
    border-radius: 3px;
    width: 0%;
}

.time-display {
    color: white;
    font-size: 0.8rem;
    min-width: 100px;
    text-align: center;
    text-shadow: 0 0 2px rgba(0,0,0,0.5);
}

/* 全屏样式 */
.intro-video:-webkit-full-screen {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.intro-video:-moz-full-screen {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.intro-video:-ms-fullscreen {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.intro-video:fullscreen {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .intro-container {
        flex-direction: column;
    }
    
    .intro-text, .intro-video {
        flex: none;
        width: 100%;
    }
    
    .intro-video {
        margin-top: 30px;
    }
}
/* ===== 结束: company-Introduction.css ===== */



/* 关于我们的公司内容 */

/* ===== 来自: company-about.css ===== */
/* About Company Section */
.about-company {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    color: #000000;
    margin-bottom: 15px;
}

.company-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.company-card {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%; /* Ensure consistent height */
}

.company-card:hover {
    transform: translateY(-5px);
}

.card-image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3; /* 现代浏览器支持 */
}
/* 兼容旧浏览器的备选方案 */
@supports not (aspect-ratio: 4/3) {
    .card-image::before {
        content: '';
        display: block;
        padding-top: 75%; /* 4:3 比例 => 3/4 = 0.75 */
        width: 100%;
    }
}


.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.card-icon {
    margin-bottom: 15px;
}

.card-icon i {
    font-size: 24px;
    color: #1a73e8;
}

.card-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #222;
    /* Title ellipsis after 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8em; /* Adjust based on your line-height */
    line-height: 1.4;
}

.card-text p {
    color: #666;
    line-height: 1.6;
    /* Paragraph ellipsis after 4 lines */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 6.4em; /* Adjust based on your line-height */
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .company-cards-container {
        grid-template-columns: 1fr;
    }

    .company-card {
        flex-direction: row;
    }

    .card-image {
        flex: 0 0 40%;
    }
    /* 仅针对 .card-image 里的最后一张 img */
    .card-image img:last-child {
        width: auto;           /* 宽随比例 */
        height: 100%;          /* 高撑满容器 */
        position: absolute;
        left: 50%;             /* 先放到中间 */
        transform: translateX(-50%);
        text-align: center;    /* 对 img 本身无意义，可删 */
    }
}

@media (max-width: 768px) {
    .company-card {
        flex-direction: column;
    }

    .card-image {
        flex: 0 0 auto;
        height: auto; /* 取消固定高度 */
        aspect-ratio: 4 / 3;
    }


    /* 兼容旧浏览器 */
    @supports not (aspect-ratio: 4/3) {
        .card-image::before {
            padding-top: 75%;
        }
    }
    
    .card-text h3 {
        min-height: auto;
    }
    
    .card-text p {
        min-height: auto;
    }
}
/* ===== 结束: company-about.css ===== */



/* Global服务 */

/* ===== 来自: global.css ===== */
/* Global Services Section */
.global-services {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.global-services .section-header h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.red-text {
    color: #e74c3c;
}

.global-content {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.global-content p {
    color: #666;
    line-height: 1.6;
    font-size: 18px;
}
.map-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 100;

}

.world-map {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain; /* Ensure map fits nicely */
}
.map-marker {
    position: absolute;
    cursor: pointer;
    z-index: 10;
}

.map-marker:hover {
    z-index: 100;
}

.map-marker i {
      position: relative;
  z-index: 1;
    font-size: 32px;
    color: #e74c3c;
    transition: all 0.3s ease;
}

.map-marker:not(.active-marker):hover i {
  transform: scale(1.2);
  animation: none; /* Disable pulse on hover */
}
.map-marker:not(.active-marker):hover::after {
  animation: none; /* Disable pulse circle on hover */
}

.marker-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 20;
}

.map-marker:not(.active-marker):hover .marker-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 10px);
}

.marker-tooltip h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 16px;
}

.marker-tooltip p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    /* 4 lines with ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.marker-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.marker-modal.active {
    opacity: 1;
    visibility: visible;
}

.marker-modal .modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    margin: 0 auto;
    top: 20%;
}

.marker-modal img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    margin: 15px 0;
    border-radius: 4px;
}

.marker-modal h3 {
    color: #333;
    margin-top: 0;
}

.marker-modal p {
    color: #666;
    line-height: 1.6;
    /* 4 lines with ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.details-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.details-btn:hover {
    background: #c0392b;
}

/* Modal open state for body */
body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .marker-modal .modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .marker-modal img {
        max-height: 200px;
    }
}
.map-marker::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #e74c3c;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  z-index: -1;
  pointer-events: none;
}
/* Pulsing animation for map markers */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(2);
    opacity: 0.3;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}
/* ===== 结束: global.css ===== */



/* Global项目案例 */

/* ===== 来自: global-cases.css ===== */
/* Global Projects Section */
.global-projects {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.global-projects .section-header h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.global-projects-content {
    max-width: 800px;
    margin: 0 auto 40px;
}

.global-projects-content p {
    color: #666;
    line-height: 1.6;
    font-size: 18px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto 40px;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
}

.project-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
}

.project-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    left:0;
}

.project-item:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    padding: 20px;
    box-sizing: border-box;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #fff;
}

.project-overlay p {
    font-size: 16px;
    color: #eee;
    margin: 0;
}

.explore-btn {
    display: inline-block;
    background: #c0392b;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.explore-btn:hover {
    background: #a93226;
    color: #ffffff;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        padding-bottom: 100%; /* Square aspect ratio on mobile */
    }
}
/* ===== 结束: global-cases.css ===== */



/* 为什么选择我们 */

/* ===== 来自: why-choose-us.css ===== */
  /* Why Choose Us Section */
  .why-choose-us {
      padding: 60px 20px;
      background-color: #f9f9f9;
  }

  .why-choose-us .section-header h2 {
      text-align: center;
      margin-bottom: 40px;
      font-size: 2.5rem;
      color: #000000;
  }

  .why-choose-us .red-text {
      color: #e74c3c;
  }

  .why-choose-us .balck {
      color: #000000;
  }

  .reasons-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
      max-width: 1400px;
      margin: 0 auto;
  }

  .reason-card {
      background: white;
      border-radius: 8px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      padding: 30px;
      flex: 1 1 calc(33.333% - 60px);
      min-width: 300px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .reason-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }

  .card-icon {
      /* text-align: center; */
      margin-bottom: 20px;
      color: #e74c3c;
      font-size: 2.5rem;
  }

  .card-title h3 {
      /* text-align: center; */
      margin-bottom: 20px;
      color: #333;
      font-size: 1.3rem;
  }

  .card-content ul {
      padding-left: 20px;
  }

  .card-content li {
      margin-bottom: 10px;
      line-height: 1.6;
      color: #666;
  }

  .card-content strong {
      color: #333;
  }

  /* Responsive adjustments */
  @media (max-width: 992px) {
      .reason-card {
          flex: 1 1 calc(50% - 60px);
      }
  }

  @media (max-width: 768px) {
      .reason-card {
          flex: 1 1 100%;
      }

      .why-choose-us .section-header h2 {
          font-size: 2rem;
      }
  }
/* ===== 结束: why-choose-us.css ===== */



/* 服务对象 */

/* ===== 来自: serve-Section.css ===== */
/* Who We Serve Section */
.who-we-serve {
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}


.who-we-serve h2 {
    color: black;
}

.who-we-serve.serve .section-header h2 {
    font-size: 36px;
    color: #AE8753;
    ;
}


.serve-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.serve-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 400px;
}

.serve-card .card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.serve-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.serve-card:hover .card-image img {
    transform: scale(1.1);
}

.serve-card .card-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 30px;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.serve-card:hover .card-content {
    background-color: rgba(0, 0, 0, 0.7);
}

.serve-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
}

.serve-card p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 80%;
}

.serve-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #c0392b;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.serve-btn:hover {
    background-color: #a93226;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .serve-cards-container {
        grid-template-columns: 1fr;
    }

    .serve-card {
        height: 350px;
    }

    .serve-card p {
        max-width: 90%;
    }
}
/* ===== 结束: serve-Section.css ===== */



/* 订购流程 */

/* ===== 来自: ordering-process.css ===== */
/* Ordering Process Section */
.ordering-process {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.process-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    gap: 40px;
}

.process-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background-color: #B81C31;
    justify-content: center;
}

.process-right {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.section-header h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: #000000;
}

.process-icon {
    font-size: 5rem;
    color: #ffffff;
    margin-top: 20px;
}

.process-step {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-image {
    height: 200px;
    overflow: hidden;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.process-step:hover .step-image img {
    transform: scale(1.05);
}

.step-content {
    padding: 25px;
}

.step-content ol {
    padding-left: 20px;
}

.step-content li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #666;
}

.step-content strong {
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .process-container {
        flex-direction: column;
    }

    .process-right {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-left {
        padding: 20px 0;
    }
}

@media (max-width: 768px) {
    .process-right {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}
/* ===== 结束: ordering-process.css ===== */



/* 客户反馈和指南 */

/* ===== 来自: guides-section.css ===== */
/* Guides Section */
.guides-section {
    padding: 60px 20px;
    background-color: #f9f9f9;

}

.guides-section h2 {
    color: black;
}

.guides-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 40px auto 0;
}

.guide-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.guide-image {
    height: 200px;
    overflow: hidden;
}

.guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.guide-card:hover .guide-image img {
    transform: scale(1.05);
}

.guide-content {
    padding: 20px;
}

.guide-content h3 {
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
    color: #333;
    transition: color 0.3s ease;
}

.guide-card:hover .guide-content h3 {
    color: #e74c3c;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .guides-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 996px) {
    .guides-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .guides-container {
        grid-template-columns: 1fr;
    }

    .guide-image {
        height: 250px;
    }
}
/* ===== 结束: guides-section.css ===== */



/* Download Catalog */

/* ===== 来自: download-catalog-section.css ===== */
/* Download Catalog Section */
.download-catalog-section {
    padding: 80px 20px;
    background-image: url('/assets/images/home/catalog-image.png');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
}

.download-catalog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.download-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.download-content {
    flex: 1;
    padding-right: 40px;
}

.download-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.download-description {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
}

.download-btn {
    padding: 15px 40px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.download-btn:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .download-container {
        flex-direction: column;
        text-align: center;
    }

    .download-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .download-title {
        font-size: 1.8rem;
    }

    .download-description {
        font-size: 1rem;
        margin: 0 auto;
    }
}
/* ===== 结束: download-catalog-section.css ===== */



/* 底部样式 */

/* ===== 来自: ../common/footer/footer.css ===== */
/* Footer Styles */
.footer {
    background-color: #f8f8f8;
    color: #333;
    font-family: 'Arial', sans-serif;
    /* padding: 40px 0 0; */
}
a{
    text-decoration: none;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
}

.footer-top {
    padding-top: 50px;
    width: 100%;
    padding-bottom: 30px;
    border-bottom: 1px solid #e1e1e1;
}

.footer-left {
    flex: 1;
    min-width: 300px;
    padding: 0 15px;
    margin-bottom: 30px;
    text-align: center;
}

.footer-logo img {
    display: inline;
    max-width: 180px;
    margin-bottom: 15px;
}

.footer-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-middle {
    flex: 1;
    min-width: 250px;
    padding: 0 15px;
    margin-bottom: 30px;
}

.footer-right {
    flex: 1.5;
    min-width: 250px;
    padding: 0 15px;
    margin-bottom: 30px;
}

.footer-columns-container {
    display: flex;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 120px;
    padding: 0 10px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #222;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #e74c3c;
}

.contact-info {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.contact-item i {
    color: #e74c3c;
    margin-right: 10px;
    margin-top: 3px;
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
    color: #666;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e74c3c;
}

.footer-bottom {
    padding: 20px 0;
    background-color: #f8f8f8;
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    flex: 1;
    min-width: 250px;
    margin-bottom: 15px;
}

.copyright p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.copyright a {
    color: #666;
    text-decoration: none;
}

.copyright a:hover {
    color: #e74c3c;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #e1e1e1;
    color: #333;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    /*background-color: #e74c3c;*/
    color: #fff;
}
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    margin-right: 10px;
    min-width: 20px;
    text-align: center;
}

.contact-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}



/* Responsive Styles */
@media (max-width: 992px) {

    .footer-left,
    .footer-middle,
    .footer-right {
        flex: 100%;
        text-align: center;
    }


    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-item {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-container {
        padding: 0 10px;
    }

    .footer-left,
    .footer-middle,
    .footer-right {
        padding: 0 10px;
    }

    .footer-columns-container {
        flex-direction: row;
        /* Keep side by side */
        justify-content: space-around;
    }

    .footer-column {
        text-align: center;
        padding: 0 5px;
    }
}
/* ===== 结束: ../common/footer/footer.css ===== */



/* 表单样式 */

/* ===== 来自: ../form/form.css ===== */
/* 联系我们页面表单样式提取自 contact.html 的 TailwindCSS */

.custom-form {
    /* 表单整体间距和背景 */
    /*background: #fff;*/
    border-radius: 0.75rem;
}

.custom-form .form-field {
    margin-bottom: 1.25rem; /* mb-5 */
}

.custom-form label {
    display: block;
    font-size: 1rem; /* text-sm */
    font-weight: 500;
    color: rgb(99, 61, 38); /* text-primary */
    margin-bottom: 0.25rem;
}

.custom-form input[type="text"],
.custom-form input[type="email"],
.custom-form input[type="password"],
.custom-form input[type="date"],
.custom-form input[type="tel"],
.custom-form textarea,
.custom-form select {
    width: 100%;
    padding: 0.5rem 1rem; /* px-4 py-2 */
    border: none;
    border-bottom: 1px solid #bdbdbd; /* border-b border-gray-400 */
    background: transparent;
    outline: none;
    font-size: 1rem;
    transition: border-color 0.2s;
    margin-bottom: 0.5rem;
}
.custom-form input[type="checkbox"] {
    margin-left: 0.5rem;
    margin-right: 0.3rem;
}
.custom-form input:focus,
.custom-form textarea:focus,
.custom-form select:focus {
    border-color: #f97316; /* focus:border-secondary */
}

.custom-form button[type="submit"] {
    background: rgb(99, 61, 38); /* bg-primary */
    color: #fff;
    padding: 0.5rem 2rem; /* px-8 py-2 */
    border-radius: 999px; /* rounded-full */
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    border: none;
    transition: background 0.3s;
}

.custom-form button[type="submit"]:hover {
    background: #f97316; /* hover:bg-secondary */
}

/* 多选下拉组件样式 */
.custom-form .multi-select-dropdown {
    position: relative;
    width: 100%;
}
.custom-form .multi-select-input {
    border-bottom: 1px solid #bdbdbd;
    padding: 0.5rem 1rem;
    background: transparent;
    cursor: pointer;
    min-height: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 1rem;
}
.custom-form .multi-select-input.has-value {
    background: #f8f5ee;
}
.custom-form .multi-select-tag {
    background: rgb(99, 61, 38);
    color: #fff;
    border-radius: 999px;
    padding: 0 10px;
    margin-right: 6px;
    margin-bottom: 2px;
    font-size: 0.95em;
    cursor: pointer;
    display: inline-block;
    transition: all 0.2s;
}
.custom-form .multi-select-tag:hover {
    background: #f97316;
}
.custom-form .multi-select-options {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #eee;
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 2px 8px rgba(99, 61, 38, 0.08);
}
.custom-form .multi-select-option {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}
.custom-form .multi-select-option.selected,
.custom-form .multi-select-option:hover {
    background: #f97316;
    color: #fff;
}

/* 时间范围选择器样式 */
.custom-form .date-range-picker {
    position: relative;
    width: 100%;
    min-width: 332px;
}
.custom-form .date-range-input {
    border-bottom: 1px solid #bdbdbd;
    padding: 0.5rem 1rem;
    background: transparent;
    cursor: pointer;
    min-height: 2.5rem;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.2s;
}
.custom-form .date-range-input.has-value {
    background: #f8f5ee;
}
.custom-form .date-range-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #eee;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(99, 61, 38, 0.08);
    padding: 1rem;
    margin-top: 2px;
}
.custom-form .date-range-panel-label {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.5rem;
}
.custom-form .date-range-calendar {
    display: inline-block;
    vertical-align: top;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}
.custom-form .date-range-calendar:last-child {
    margin-right: 0;
}
.custom-form .date-range-calendar-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.custom-form .date-range-calendar-head button {
    background: none;
    border: none;
    color: #633d26;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 0.5rem;
}
.custom-form .date-range-calendar-week {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #999;
    margin-bottom: 0.2rem;
}
.custom-form .date-range-calendar-weekday {
    width: 2rem;
    height: 2rem;
    text-align: center;
}
.custom-form .date-range-calendar-grid {
    display: flex;
    flex-wrap: wrap;
}
.custom-form .date-range-calendar-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.custom-form .date-range-calendar-day {
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    margin: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-size: 1rem;
    color: #333;
}
.custom-form .date-range-calendar-day.selected,
.custom-form .date-range-calendar-day:hover {
    background: #f97316;
    color: #fff;
}

/* 日期选择器格子宽度对齐 */
.custom-form .aligned-cell {
    width: 2rem;
    min-width: 2rem;
    max-width: 2rem;
    text-align: center;
    box-sizing: border-box;
}

.field-tips {
    color: #e53e3e; /* 红色 */
    background: #fff0f0;
    border: 1px solid #e53e3e;
    border-radius: 0.5rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.98rem;
    margin-top: 0.3rem;
    margin-bottom: 0.2rem;
    display: block;
    animation: fadeIn 0.3s;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== 结束: ../form/form.css ===== */



