/* 基本重置和全局样式 */
body, h1, h2, h3, h4, p, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
header {
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo h1 a {
    color: #0056b3;
    font-size: 24px;
    font-weight: bold;
}

/* 新增 LOGO 图片样式 */
header .logo a {
    display: inline-block; /* 让链接包裹图片 */
}

header .logo img#header-logo {
    height: 50px; /* 设置 LOGO 高度 */
    width: auto; /* 宽度自动缩放 */
    vertical-align: middle; /* 垂直居中对齐（如果旁边有文字） */
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
    position: relative; /* 为了下拉菜单定位 */
}

header nav ul li a {
    padding: 10px 15px;
    display: block;
    color: #555;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #0056b3;
}

/* 下拉菜单样式 */
header nav ul li .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1;
    list-style: none; /* 重置列表样式 */
    padding: 10px 0; /* 内边距 */
    border: 1px solid #eee;
    top: 100%; /* 出现在父元素下方 */
    left: 0;
}

header nav ul li:hover .dropdown-content {
    display: block; /* 悬停时显示 */
}

header nav ul li .dropdown-content li {
    margin-left: 0; /* 重置左边距 */
    width: 100%;
}

header nav ul li .dropdown-content li a {
    color: #333;
    padding: 8px 15px;
    display: block;
    white-space: nowrap; /* 防止文字换行 */
}

header nav ul li .dropdown-content li a:hover {
    background-color: #f1f1f1;
    color: #0056b3;
}


/* 主要内容区域 */
main {
    padding: 40px 0;
}

/* Banner Carousel Styles */
.banner-carousel {
    padding: 0;
    border: none;
    background-color: transparent;
    box-shadow: none;
    margin-bottom: 40px;
    border-radius: 0;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-slide {
    display: flex;
    width: 100%;
    position: relative;
    height: 0;
    padding-bottom: 32.8%; /* 700/2136 = 0.328 (maintains aspect ratio) */
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-navigation {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #fff;
}

section {
    margin-bottom: 40px;
    padding: 30px;
    background-color: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
}

section h2 {
    font-size: 28px;
    color: #0056b3;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #0056b3;
    padding-bottom: 10px;
    display: inline-block; /* 让下划线只跟随文字长度 */
}

.section-title-wrapper {
     text-align: center; /* 让标题居中 */
     margin-bottom: 30px;
}

/* Styles for the new Ad Banner Section */
section#ad-banner-section {
    padding: 0; /* Remove default section padding */
    border: none; /* Remove default section border */
    background-color: transparent; /* Remove default section background */
    box-shadow: none; /* Remove default section shadow if any */
    margin-bottom: 40px; /* Keep or adjust space below the banner section */
    border-radius: 0; /* Remove border-radius if applied to all sections */
}

/* Ad Banner Container Styles (Keep as is) */
.ad-banner-container {
    width: 100%;
    margin-bottom: 0; /* Remove margin-bottom as the section now handles spacing */
    line-height: 0;
}

.ad-banner-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px; /* Keep rounded corners for the image itself */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Keep shadow for the image */
}

/* 产品区域 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
}

.product-item, .news-item {
    border: 1px solid #eee;
    padding: 20px 15px;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.product-item img, .news-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.product-item h4, .news-item h4 {
    font-size: 15px;
    margin-bottom: 5px;
    color: #333;
    margin-top: auto;
}
.product-item p, .news-item p {
    font-size: 14px;
    color: #666;
}
.news-item .date {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
    display: block;
}

/* New Styles for Agent Logos */
.agent-brand-item .agent-logo {
    max-width: 80%;
    max-height: 80px;
    height: auto;
    margin-bottom: 15px;
    object-fit: contain;
}

/* 关于我们 */
#about {
    margin-bottom: 50px; /* 增加底部间距 */
    padding: 35px; /* 增加内边距 */
    background-color: #f9f9f9; /* 轻微的背景色 */
    border: 1px solid #e8e8e8; /* 更精细的边框 */
    border-radius: 8px; /* 更大的圆角 */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05); /* 增加阴影效果 */
}

#about .section-title-wrapper {
    margin-bottom: 40px; /* 增加标题下方空间 */
    text-align: center;
    position: relative;
}

/* New Subtitle Style */
#about .section-title-wrapper .section-subtitle {
    font-size: 18px; /* 副标题字体大小 */
    color: #0056b3; /* 副标题颜色 */
    margin-bottom: 8px; /* 副标题与主标题间距 */
    font-weight: 500;
    letter-spacing: 1px; /* 轻微增加字母间距 */
    display: flex; /* 使用flex布局实现两侧横线 */
    align-items: center;
    justify-content: center;
}

/* Lines for Subtitle */
#about .section-title-wrapper .section-subtitle::before,
#about .section-title-wrapper .section-subtitle::after {
    content: "";
    flex-grow: 0; /* 不拉伸 */
    flex-shrink: 0; /* 不收缩 */
    width: 50px; /* 横线长度 */
    height: 2px; /* 横线高度 */
    background-color: #0056b3; /* 横线颜色 */
    margin: 0 15px; /* 横线与文字间距 */
}


#about .section-title-wrapper h2 {
    font-size: 36px; /* 增大主标题字体 */
    color: #2c3e50; /* 主标题颜色 (深蓝灰色) */
    margin-bottom: 0; /* 移除原有的下边距，因为装饰线现在由副标题处理 */
    font-weight: 700; /* 加粗主标题 */
    display: inline-block;
    text-shadow: none; /* 移除之前的文字阴影，保持简洁 */
}

/* 优化内容布局 */
#about .about-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px; /* 增加列间距 */
    align-items: center;
    padding: 10px; /* 内容区域内边距 */
}

/* 左侧文字列样式增强 */
#about .about-text {
    flex: 1;
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.7); /* 轻微背景 */
    padding: 20px; /* 文字区域内边距 */
    border-radius: 6px; /* 圆角 */
}

#about p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #444; /* 稍深的文字颜色 */
    font-size: 15px; /* 略微增大字体 */
}

/* 强调重点段落 */
#about p:first-of-type {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* 右侧图片样式增强 */
#about .about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

#about .about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* 增强阴影 */
    transition: transform 0.3s ease; /* 添加微小变换效果 */
}

#about .about-image img:hover {
    transform: scale(1.02); /* 轻微放大效果 */
}

/* 优化列表样式 */
#about .about-strengths {
    list-style: none;
    padding-left: a25px;
    margin-bottom: 25px;
    font-size: 15px;
}

#about .about-strengths li {
    margin-bottom: 10px;
    color: #333;
    position: relative;
    padding-left: 25px; /* 为图标留出空间 */
}

#about .about-strengths li:before {
    content: "✓"; /* 使用对勾符号 */
    color: #0056b3;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

/* 优化子区域标题 */
#about .about-subsection h3 {
    font-size: 22px;
    color: #0056b3;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

#about .about-subsection p strong {
    color: #0056b3;
    font-weight: 600;
    margin-right: 8px;
}

/* Optional: Styles for key supplier logos if added */
/*
#about .key-suppliers-logos {
    margin-top: 20px;
    text-align: center;
}

#about .key-suppliers-logos img {
    height: 30px; // Adjust size as needed
    width: auto;
    margin: 0 10px;
    vertical-align: middle;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
#about .key-suppliers-logos img:hover {
    opacity: 1;
}
*/

/* 页脚样式 */
footer {
    background-color: #2c3e50; /* Dark blue-grey background like image */
    color: #bdc3c7; /* Light grey text */
    padding: 40px 0 20px; /* Adjust padding */
    margin-top: 40px;
    line-height: 1.8; /* Adjust line height for readability */
}

/* Style for the main content area of the footer */
.footer-main-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 30px; /* Space between columns */
    margin-bottom: 30px; /* Space before copyright */
}

footer h4 {
    color: #ecf0f1; /* Lighter color for headings */
    margin-bottom: 20px;
    font-size: 18px;
    border-bottom: 1px solid #34495e; /* Subtle border */
    padding-bottom: 10px;
}

/* QR Code Section Styles */
.footer-qrcode {
    flex-basis: 200px; /* Set a base width */
    text-align: center;
}

.footer-qrcode img {
    max-width: 120px; /* Reduced size (was 150px) */
    height: auto;
    border: 3px solid #fff; /* Optional white border */
    padding: 5px; /* Space inside border */
    background-color: #fff; /* White background for QR */
}

/* Contact Details Section Styles */
.footer-contact-details {
    flex: 2; /* Allow it to take more space */
    min-width: 250px;
}

.footer-contact-details ul {
    list-style: none;
    padding: 0;
}

.footer-contact-details li {
    margin-bottom: 12px; /* Space between contact items */
    display: flex; /* Align icon and text */
    align-items: flex-start; /* Align items to the top */
    font-size: 14px; /* Adjust font size */
    color: #bdc3c7; /* Ensure text color */
}

.footer-contact-details li i {
    color: #3498db; /* Icon color (light blue) */
    margin-right: 12px; /* Space between icon and text */
    font-size: 16px; /* Icon size */
    width: 20px; /* Fixed width for alignment */
    text-align: center;
    margin-top: 3px; /* Align icon slightly lower */
}


/* Quick Links Section Styles */
.footer-links {
    flex: 1; /* Adjust flex value as needed */
    min-width: 180px;
}

footer ul { /* General footer list reset */
    list-style: none;
    padding: 0;
}

footer .footer-links ul li {
    margin-bottom: 8px;
}

footer .footer-links ul li a {
    font-size: 14px;
    color: #bdc3c7;
    transition: color 0.3s ease;
}
footer .footer-links ul li a:hover {
    color: #fff;
}

/* Footer Copyright Styles */
.footer-copyright {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #34495e; /* Match border color */
    font-size: 13px;
    color: #7f8c8d; /* Slightly darker grey for copyright */
}

/* Fixed contact styles remain unchanged */
/* ... */

/* Banner Styles (Static) */
.banner-slider-container {
    width: 100%;
    position: relative;
    /* overflow: hidden; /* Keep or remove based on preference */
    margin-bottom: 30px; /* Space below banner */
    line-height: 0; /* Prevent extra space below image */
}

/* Remove slider flex styles */
/* .banner-slider { ... } */

.slide {
    /* No longer needs min-width, display: none, opacity, transition */
    /* Keep position relative if using captions */
    position: relative;
}

/* Remove active slide style */
/* .slide.active { ... } */

.slide img {
    width: 100%; /* Make image responsive */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove extra space below image */
    /* Remove max-height and object-fit */
    /* max-height: 450px; */
    /* object-fit: cover; */
}

/* Optional Caption Styles - Keep if needed */
.slide-caption {
    position: absolute;
    bottom: 30px; /* Adjust position */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.6); /* Slightly darker background */
    color: white;
    padding: 15px 30px; /* Larger padding */
    border-radius: 5px;
    font-size: 24px; /* Larger font */
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8); /* Add text shadow */
}

/* Remove Dot Navigation Styles */
/* .slider-dots { ... } */
/* .dot { ... } */
/* .dot.active { ... } */

/* Remove Arrow Navigation Styles */
/* .slider-arrow { ... } */
/* .slider-arrow.prev { ... } */
/* .slider-arrow.next { ... } */
/* .slider-arrow:hover { ... } */

/* Remove Banner Slider Styles section if preferred */
/* Banner Slider Styles */
/* ... */

/* 新闻资讯 Section Styles */
#news .section-title-wrapper {
    margin-bottom: 40px;
    text-align: center;
}

#news .section-title-wrapper .section-subtitle {
    font-size: 18px;
    color: #555; /* Subtitle color */
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

#news .section-title-wrapper h2 {
    font-size: 28px; /* Main title size */
    color: #333; /* Main title color */
    font-weight: 600;
    line-height: 1.4;
}


.news-list {
    display: grid;
    /* Adjust grid columns for 3 items, ensuring they don't get too small */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; /* Increased gap */
}

.news-item {
    border: 1px solid #e0e0e0; /* Slightly softer border */
    padding: 0; /* Remove padding from news-item itself, will add to content */
    text-align: left; /* Align text to the left */
    background-color: #ffffff; /* White background */
    border-radius: 8px; /* Rounded corners */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align items to the start */
    align-items: stretch; /* Stretch items to fill width */
    overflow: hidden; /* Ensure content respects border-radius */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Softer shadow */
}

.news-item-image {
    width: 100%;
    height: 200px; /* Fixed height for images, adjust as needed */
    overflow: hidden; /* Crop images that are too large */
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, cropping if necessary */
    display: block;
    margin-bottom: 0; /* Remove default margin */
}

.news-item-content {
    padding: 20px; /* Padding for the text content */
    flex-grow: 1; /* Allow content to take remaining space */
    display: flex;
    flex-direction: column;
}

.news-item h4 {
    font-size: 18px; /* Larger title for news items */
    margin-bottom: 10px; /* Space below title */
    color: #2c3e50; /* Darker title color */
    font-weight: 600;
    margin-top: 0; /* Remove default margin-top */
}

.news-item p {
    font-size: 14px;
    color: #555; /* Slightly lighter text color */
    line-height: 1.7;
    margin-bottom: 15px; /* Space below paragraph */
    flex-grow: 1; /* Allow paragraph to take space if '更多' is removed */
}

/* Remove or restyle the date and '更多' link if not used in the new design */
.news-item .date {
    display: none; /* Hide date if not in the new design */
}

.news-item a { /* Style for '更多' link if you decide to keep it */
    color: #0056b3;
    font-weight: bold;
    text-decoration: none;
    margin-top: auto; /* Push to the bottom if content above is shorter */
    align-self: flex-start; /* Align to the left */
    padding: 8px 0;
}

.news-item a:hover {
    text-decoration: underline;
}

/* Styles for Company Profile Detail Page */
#company-profile-detail {
    padding: 40px 20px;
    background-color: #fff; /* White background for the content area */
    border: none; /* Remove default section border if any */
    box-shadow: none; /* Remove default section shadow if any */
    max-width: 900px; /* Limit content width for better readability */
    margin: 20px auto; /* Center the content block */
    border-radius: 8px;
    border: 1px solid #ddd; /* Light border for the block */
}

#company-profile-detail .profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #7A9D96; /* Accent color from image (top bar) */
    background-color: #f8f9fa; /* Light background for header */
    padding: 20px;
    border-radius: 8px 8px 0 0;
}

#company-profile-detail .logo-container {
    margin-right: 30px;
    flex-shrink: 0;
}

#company-profile-detail .company-logo {
    height: 80px; /* Adjust as needed */
    width: auto;
    background-color: #6c757d; /* Placeholder if logo has transparent parts, similar to image */
    padding: 10px;
    border-radius: 4px;
}

#company-profile-detail .company-name-container h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

#company-profile-detail .company-name-container h2 {
    font-size: 22px;
    color: #222; /* Darker than h1 for SCS TECH... */
    font-weight: bold; /* Make it bold as in image */
    font-family: 'Times New Roman', Times, serif; /* Serif font like image */
}

#company-profile-detail .profile-content {
    padding: 0 20px; /* Padding for the content below header */
}

#company-profile-detail .core-values {
    margin-bottom: 30px;
}

#company-profile-detail .core-values h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

#company-profile-detail .core-values .tagline-en {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    font-style: italic;
}

#company-profile-detail .core-values ul {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 15px;
}

#company-profile-detail .core-values ul li {
    font-size: 16px;
    color: #444;
    margin-bottom: 8px;
    line-height: 1.6;
}

#company-profile-detail .mission-statement,
#company-profile-detail .mission-statement-en {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 5px;
}
#company-profile-detail .mission-statement-en {
    font-size: 14px;
    color: #555;
    font-style: italic;
    margin-bottom: 20px;
}


#company-profile-detail .section-divider {
    border: 0;
    height: 1px;
    background-color: #ccc;
    margin: 30px 0;
}

#company-profile-detail .technology-quality {
    display: flex;
    justify-content: space-around; /* Distribute space */
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #6F7D94; /* Dark blue/purple background from image */
    color: #fff;
    border-radius: 6px;
}

#company-profile-detail .technology-quality h4 {
    font-size: 22px; /* Larger font as in image */
    margin-bottom: 8px;
    font-weight: 500;
}

#company-profile-detail .technology-quality p {
    font-size: 18px; /* Larger font as in image */
}

#company-profile-detail .tech-value,
#company-profile-detail .service-quality {
    flex-basis: 45%; /* Each takes roughly half the space */
}


#company-profile-detail .core-business {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
}

#company-profile-detail .core-business h5 {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
    font-weight: bold;
}

#company-profile-detail .core-business p {
    font-size: 16px;
    color: #555;
}

/* Responsive adjustments if needed */
@media (max-width: 768px) {
    #company-profile-detail .profile-header {
        flex-direction: column;
        text-align: center;
    }
    #company-profile-detail .logo-container {
        margin-right: 0;
        margin-bottom: 20px;
    }
    #company-profile-detail .technology-quality {
        flex-direction: column;
    }
    #company-profile-detail .tech-value,
    #company-profile-detail .service-quality {
        margin-bottom: 20px;
    }
    #company-profile-detail .tech-value:last-child,
    #company-profile-detail .service-quality:last-child {
        margin-bottom: 0;
    }
}

/* Styles for Company Profile Detail Page (Keep these) */
/* #company-profile-detail { ... } */
/* Rename or reuse styles for the new container */
#about-contact-page {
    padding: 20px; /* Reduced padding for the main container */
    background-color: #f9f9f9; /* Light grey background for the whole page */
    border: none;
    box-shadow: none;
    max-width: 1000px; /* Slightly wider max-width */
    margin: 20px auto;
    border-radius: 8px;
}

/* Style the profile section within the combined page */
#about-contact-page .company-profile-section {
     background-color: #fff;
     border: 1px solid #ddd;
     border-radius: 8px;
     margin-bottom: 40px; /* Space below profile section */
     padding-bottom: 20px; /* Padding inside the profile section */
}

/* Reuse existing profile header, logo, content styles */
#about-contact-page .profile-header {
    /* Styles from #company-profile-detail .profile-header */
    display: flex;
    align-items: center;
    justify-content: center; /* Center the logo */
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #7A9D96;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px 8px 0 0;
}
#about-contact-page .logo-container {
    /* Adjust the logo container now that it's centered */
    margin-right: 0; /* Remove right margin as there's no text element */
    text-align: center;
}
#about-contact-page .company-logo {
    /* Slightly larger logo since it's alone */
    height: 100px;
    width: auto;
    padding: 0;
    border-radius: 4px;
}
#about-contact-page .company-name-container h1 {
    /* Styles from #company-profile-detail .company-name-container h1 */
    font-size: 28px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}
#about-contact-page .company-name-container h2 {
    /* Styles from #company-profile-detail .company-name-container h2 */
    font-size: 22px;
    color: #222;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
}
#about-contact-page .profile-content {
    /* Styles from #company-profile-detail .profile-content */
     padding: 0 30px; /* Adjust padding */
}
/* Reuse core-values, technology-quality, core-business styles */
#about-contact-page .core-values { margin-bottom: 30px; }
#about-contact-page .core-values h3 { font-size: 20px; color: #333; margin-bottom: 8px; font-weight: 500; }
#about-contact-page .core-values .tagline-en { font-size: 14px; color: #555; margin-bottom: 15px; font-style: italic; }
#about-contact-page .core-values ul { list-style: none; padding-left: 20px; margin-bottom: 15px; }
#about-contact-page .core-values ul li { font-size: 16px; color: #444; margin-bottom: 8px; line-height: 1.6; }
#about-contact-page .mission-statement,
#about-contact-page .mission-statement-en { font-size: 16px; color: #333; line-height: 1.7; margin-bottom: 5px; }
#about-contact-page .mission-statement-en { font-size: 14px; color: #555; font-style: italic; margin-bottom: 20px; }
#about-contact-page .section-divider { border: 0; height: 1px; background-color: #ccc; margin: 30px 0; }
#about-contact-page .technology-quality { display: flex; justify-content: space-around; align-items: center; text-align: center; margin-bottom: 30px; padding: 20px; background-color: #6F7D94; color: #fff; border-radius: 6px; }
#about-contact-page .technology-quality h4 { font-size: 22px; margin-bottom: 8px; font-weight: 500; }
#about-contact-page .technology-quality p { font-size: 18px; }
#about-contact-page .tech-value,
#about-contact-page .service-quality { flex-basis: 45%; }
#about-contact-page .core-business { text-align: center; margin-top: 30px; padding: 20px; }
#about-contact-page .core-business h5 { font-size: 20px; color: #333; margin-bottom: 5px; font-weight: bold; }
#about-contact-page .core-business p { font-size: 16px; color: #555; }


/* Divider between major sections */
#about-contact-page .major-divider {
    border: 0;
    height: 2px; /* Thicker divider */
    background-color: #bbb;
    margin: 50px 0;
}

/* Styles for Contact Details Section */
#about-contact-page .contact-details-section {
    padding: 25px; /* Adjusted padding */
    background-color: #fff;
    border: 1px solid #e7e7e7; /* Light border for the section */
    border-radius: 6px;
}

#about-contact-page .contact-details-section h3 {
    font-size: 22px; /* Adjusted font size */
    color: #0056b3; /* Blue color as in image */
    margin-bottom: 25px; /* Increased space below title */
    padding-bottom: 15px; /* Space for border */
    border-bottom: 1px solid #dce5ef; /* Light blueish border as in image */
    font-weight: 600; /* Slightly bolder */
}

/* Flexbox Wrapper for Contact List and QR Code */
#about-contact-page .contact-layout-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the top */
    flex-wrap: wrap;
}

/* Styles for the Contact List (Left Side) */
#about-contact-page .contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-basis: 60%; /* Adjust as needed */
    min-width: 260px;
    /* Removed flex properties from here, let li flow naturally */
}

#about-contact-page .contact-info-list li {
    margin-bottom: 18px; /* Increased spacing between items */
    font-size: 15px; /* Slightly smaller font for details */
    color: #333; /* Darker text for better readability */
    line-height: 1.7;
    /* Removed display:flex and icon-specific styles */
}

#about-contact-page .contact-info-list li:last-child {
    margin-bottom: 0;
}

#about-contact-page .contact-info-list li a {
    color: #0056b3;
    text-decoration: none;
}

#about-contact-page .contact-info-list li a:hover {
    text-decoration: underline;
}

/* Styles for QR Code on Contact Page (Right Side) */
#about-contact-page .contact-page-qrcode {
    margin-top: 0;
    padding-top: 0;
    border-top: none; /* Remove previous top border */
    text-align: center;
    flex-basis: 35%; /* Adjust as needed */
    min-width: 170px;
    padding-left: 15px; /* Reduced padding */
    box-sizing: border-box;
    /* Removed flex properties from here */
}

#about-contact-page .contact-page-qrcode h4 {
    font-size: 16px; /* Adjusted font size */
    color: #333;
    margin-bottom: 15px;
    font-weight: 600; /* Slightly bolder */
    padding-top: 5px; /* Add a little space above if needed */
    /* border-top: 1px solid #eee; */ /* Optional: if a separator is desired */
}

#about-contact-page .contact-page-qrcode img {
    max-width: 140px; /* Adjusted size */
    height: auto;
    border: 1px solid #ccc; /* Slightly darker border for QR */
    padding: 4px;
    background-color: #fff;
    display: inline-block; /* To allow text-align:center to work */
}

/* Responsive adjustments for combined page */
@media (max-width: 768px) {
    /* ... other responsive styles ... */

    #about-contact-page .contact-layout-wrapper {
        flex-direction: column;
        align-items: flex-start; /* Align to start when stacked */
    }

    #about-contact-page .contact-info-list {
        flex-basis: 100%;
        margin-bottom: 30px;
        min-width: unset;
    }

    #about-contact-page .contact-page-qrcode {
        flex-basis: 100%;
        padding-left: 0;
        text-align: left; /* Align title to left when stacked, or keep center */
        /* border-top: 1px solid #eee; */ /* Optional separator */
        /* padding-top: 20px; */
        min-width: unset;
    }
    #about-contact-page .contact-page-qrcode h4,
    #about-contact-page .contact-page-qrcode img {
        margin-left:0; /* Reset any centering if text-align left */
    }
    /* If you want QR code centered when stacked: */
    /*
    #about-contact-page .contact-page-qrcode {
        align-items: center;
        text-align: center;
    }
    */
}

/* Styles for the New Detailed Introduction Section */
#about-contact-page .detailed-intro-section {
    padding: 20px 30px; /* Add padding around the text */
    margin-bottom: 30px; /* Space below this section */
}

#about-contact-page .detailed-intro-section h3 {
    font-size: 28px; /* Large title */
    color: #333;
    margin-bottom: 5px;
    font-weight: bold;
}

#about-contact-page .detailed-intro-section h3 .en-title {
    font-size: 26px; /* Slightly smaller English title */
    color: #D9534F; /* Red color for English title */
    font-weight: bold;
    margin-left: 10px;
    font-family: Arial, sans-serif; /* Different font for English part */
}

#about-contact-page .detailed-intro-section .title-divider {
    border: 0;
    height: 2px;
    background-color: #6F7D94; /* Dark blue/purple line from image */
    margin-bottom: 20px;
    width: 100%; /* Full width divider */
}

#about-contact-page .detailed-intro-section p,
#about-contact-page .detailed-intro-section ul li {
    font-size: 15px; /* Adjust as needed for readability */
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify; /* Justify text for a block look */
}

#about-contact-page .detailed-intro-section h4 {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}

#about-contact-page .detailed-intro-section ul {
    list-style: none; /* Remove default bullets */
    padding-left: 0; /* Remove default padding */
}

#about-contact-page .detailed-intro-section .bullet-point {
    color: #B0AFAF; /* Light brownish/grey square bullet color from image */
    margin-right: 8px;
    font-size: 12px; /* Adjust bullet size */
    display: inline-block;
    /* vertical-align: middle; */ /* Optional: adjust vertical alignment */
}


#about-contact-page .profile-content {
    /* Styles from #company-profile-detail .profile-content */
     padding: 0 30px; /* Adjust padding */
}

/* =================================== */
/* Styles for C&K Switch Products Page */
/* =================================== */

#ck-switch-products .page-title-wrapper {
    text-align: left;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #0056b3;
}

#ck-switch-products .page-title-wrapper h2 {
    font-size: 32px;
    color: #0056b3;
    margin-bottom: 10px;
    text-align: left;
    border-bottom: none;
    display: block;
}

#ck-switch-products .page-title-wrapper .subtitle {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

/* 改用網格佈局 */
.product-list-ck.product-grid-ck {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* 自動填充，最小寬度280px */
    gap: 25px; /* 卡片之間的間距 */
    /* 移除之前列表的樣式 */
    background-color: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.product-item-ck {
    background-color: #ffffff; /* 卡片背景色 */
    border: 1px solid #e0e0e0; /* 卡片邊框 */
    border-radius: 8px; /* 卡片圓角 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); /* 卡片陰影 */
    display: flex;
    flex-direction: column; /* 圖片、名稱、描述垂直排列 */
    overflow: hidden; /* 確保圓角效果 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: auto; /* 移除之前的 min-height */
    padding: 0; /* 移除之前的 padding，改由內部元素控制 */
}

.product-item-ck:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

/* 新增圖片容器樣式 */
.product-image-ck-container {
    width: 100%;
    padding-top: 65%; /* 圖片區域的長寬比 (高度約為寬度的65%)，可調整 */
    position: relative;
    background-color: #f7f8fa; /* 圖片背景色 */
    overflow: hidden; /* 確保圖片在容器內 */
}

.product-image-ck-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%; /* 圖片最大寬度 */
    max-height: 80%; /* 圖片最大高度 */
    height: auto;
    object-fit: contain; /* 保持圖片完整顯示 */
}

/* 產品資訊區域 (名稱和描述) */
.product-info-ck {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* 讓此區域填滿剩餘空間 */
    text-align: center; /* 文字居中 */
}

/* 產品名稱樣式 (改為 h4) */
.product-name-ck {
    font-weight: 600; /* 加粗 */
    color: #2c71b8;
    font-size: 1.15em; /* 調整字體大小 */
    text-transform: uppercase;
    margin-bottom: 12px; /* 與描述之間的間距 */
}

.product-description-ck {
    font-size: 0.9em; /* 描述文字大小 */
    color: #555; /* 描述文字顏色 */
    line-height: 1.6;
    flex-grow: 1; /* 讓描述區域填滿，有助於卡片等高 */
}

.product-description-ck p {
    margin: 0;
}

/* 新增代理優勢部分的樣式 */
.agent-advantages-ck {
    margin-top: 50px;
    padding: 30px;
    background-color: #f9f9f9; /* 淡灰色背景 */
    border-radius: 8px;
    border: 1px solid #e7e7e7;
}

.agent-advantages-ck h3 {
    font-size: 22px;
    color: #0056b3; /* 與頁面標題顏色一致 */
    margin-bottom: 25px;
    text-align: center;
}

.agent-advantages-ck ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.agent-advantages-ck ul li {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 12px;
    display: flex; /* 用於對齊 bullet-point 和文本 */
    align-items: flex-start; /* 頂部對齊 */
}

.agent-advantages-ck .bullet-point {
    color: #0056b3; /* 項目符號顏色 */
    margin-right: 10px;
    font-size: 14px; /* 調整大小 */
    line-height: 1.8; /* 與文本行高一致 */
}

.agent-advantages-ck ul li strong {
    color: #1a1a1a; /* 強調文字顏色 */
}

.agent-advantages-ck p {
    text-align: center;
    font-size: 17px;
    color: #333;
}

.agent-advantages-ck p a {
    color: #007bff; /* 連結顏色 */
    font-weight: bold;
    text-decoration: underline;
}

.agent-advantages-ck p a:hover {
    color: #0056b3;
}

/* 響應式調整 */
@media (max-width: 992px) {
    .product-list-ck.product-grid-ck {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .product-list-ck.product-grid-ck {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
    .product-info-ck {
        padding: 15px;
    }
    .product-name-ck {
        font-size: 1.1em;
    }
    .product-description-ck {
        font-size: 0.85em;
    }
}

@media (max-width: 576px) {
    .product-list-ck.product-grid-ck {
        grid-template-columns: 1fr; /* 單欄顯示 */
        gap: 20px;
    }
    #ck-switch-products .page-title-wrapper h2 {
        font-size: 28px;
    }
    #ck-switch-products .page-title-wrapper .subtitle {
        font-size: 16px;
    }
}

/* 移除之前列表佈局的特定響應式樣式 */
/* @media (max-width: 768px) {
    .product-item-ck { (舊的樣式，已不需要) }
    .product-image-ck { (舊的樣式，已不需要) }
}
@media (max-width: 480px) {
    .product-image-ck img { (舊的樣式，已不需要) }
    .product-name-ck { (舊的樣式，已不需要) }
} */

/* Responsive breakpoints for products grid */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Agent Brand Links */
.agent-brand-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.agent-brand-item a:hover {
    transform: translateY(-5px);
}

/* Carousel Arrow Navigation Styles */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

/* Center Controls Styles */
.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 15px;
}

.carousel-control {
    background-color: rgba(255, 255, 255, 0.7);
    color: #333;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background-color: #fff;
} 