/* products.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样式 */

/* ===== 来自: ../home/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%;
    }
}
/* ===== 结束: ../home/banner.css ===== */



/* Products产品系列 */

/* ===== 来自: products.css ===== */
.products-section .container .grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 1400px;
    margin: 0 auto;
}

/* 当项目数量为4个或更多时，强制4列布局 */
.products-section .container .grid:has(.product-card:nth-child(4)) {
    grid-template-columns: repeat(4, 1fr);
}

/* 当项目数量为3个时，强制3列布局 */
.products-section .container .grid:has(.product-card:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
}

/* 当项目数量为2个时，强制2列布局 */
.products-section .container .grid:has(.product-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

/* 当项目数量为1个时，居中显示 */
.products-section .container .grid:has(.product-card:nth-child(1):last-child) {
    grid-template-columns: 1fr;
    justify-items: center;
}
/* 响应式设计：小屏幕下始终单列 */
@media (max-width: 992px) {
    .products-section .container .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    }
}
/* 响应式设计：小屏幕下始终单列 */
@media (max-width: 768px) {
    .products-section .container .grid {
        grid-template-columns: 1fr !important;
    }
}
/* ===== 结束: products.css ===== */



/* ===== 来自: global-partners-carousel.css ===== */
/* 全球合作伙伴轮播图样式 */
.global-partners-section {
    padding: 3rem 1rem;
}

.partners-carousel {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.partner-slide {
    flex: 0 0 auto;
    padding: 0 0.5rem;
}

.partner-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease;
    background: white;
}

.partner-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.partner-item img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    /*filter: grayscale(100%);*/
    transition: filter 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    border: none;
    outline: none;
}

.carousel-btn:hover {
    background: #f3f4f6;
}

#prevBtn {
    left: 0;
    margin-left: -0.5rem;
}

#nextBtn {
    right: 0;
    margin-right: -0.5rem;
}

/* 响应式设计 */
@media (max-width: 767px) {
    .partner-slide {
        width: 50%; /* 手机端显示2张图片 */
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .partner-item {
        height: 6rem;
        padding: 0.75rem;
    }
}

@media (min-width: 768px) {
    .partner-slide {
        width: 20%; /* 桌面端显示5张图片 */
    }
}
/* ===== 结束: global-partners-carousel.css ===== */



/* 一站解决方案 */

/* ===== 来自: stop-solution.css ===== */
/* 一站解决方案样式 */
.one-stop-solution {
    background-color: transparent;
    background-image: linear-gradient(40deg, #E7D3D3 10%, #FFFFFF 30%);
}

.solution-title {
    font-size: 3.7vw;
    font-weight: 500;
    text-transform: none;
    font-style: normal;
    text-decoration: none;
    line-height: 1.1em;
    letter-spacing: -2px;
    word-spacing: 0em;
    color: #212121;
}

.module-title {
    color: #212121;
    font-size: 24px;
    font-weight: 600;
    text-transform: capitalize;
    font-style: normal;
    text-decoration: none;
    line-height: 1.1em;
    letter-spacing: 0px;
    word-spacing: 0em;
}

.solution-description {
    padding: 1.5rem 0;
}

/* 大屏幕样式 (≥992px) */
@media (min-width: 992px) {
    .solution-left {
        border-right: 1px solid #e5e7eb;
        padding-right: 2rem;
    }
    
    .solution-right {
        border-left: 1px solid #e5e7eb;
        padding-left: 2rem;
    }
    
    .solution-grid {
        border-top: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
        padding: 1.5rem 0;
    }
    
    .solution-module {
        border: none !important;
    }
    
    .solution-module:nth-child(odd) {
        border-right: 1px solid #e5e7eb !important;
    }
        .solution-module:nth-child(2n) {
        border-right: 1px solid #e5e7eb !important;
    }
    
    .solution-module:nth-child(-n+2) {
        border-bottom: 1px solid #e5e7eb !important;
    }
}

/* 中等屏幕样式 (≥768px 且 <992px) */
@media (min-width: 768px) and (max-width: 991px) {
    .solution-title {
        font-size: 2.5rem;
    }
}

/* 小屏幕样式 (<768px) */
@media (max-width: 767px) {
    .solution-title {
        font-size: 2rem;
        letter-spacing: -1px;
    }
    
    .solution-module {
        border-bottom: 1px solid #e5e7eb;
        border-left: none;
        border-right: none;
        border-top: none;
        border-radius: 0;
    }
    
    .solution-module:last-child {
        border-bottom: none;
    }
    
    .solution-grid {
        gap: 0;
    }
}
/* ===== 结束: stop-solution.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 ===== */



/* Download Catalog */

/* ===== 来自: ../home/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;
    }
}
/* ===== 结束: ../home/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 ===== */



