* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Font Awesome 基础样式 - 保持但不指定字体文件 */
.fa {
    display: inline-block;
    font: normal normal normal 12px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 图标大小类 */
.fa-lg {
    font-size: 1.16666667em;
    line-height: 0.75em;
    vertical-align: -15%;
}

.fa-2x {
    font-size: 1.75em;
}

.fa-3x {
    font-size: 2.5em;
}

/* 自定义工具类 */

/* 导航链接悬停样式 - 金色(与强调色一致) */
.nav-link:hover:not(.contact-btn),
.mobile-nav-link:hover:not(.contact-btn) {
    color: var(--accent) !important;
}

/* 联系我们按钮悬停动画 */
.contact-btn {
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 30px !important; }

/* 新增容器类，用于解决缓存问题 */
.new-container { max-width: 1400px; margin: 0 auto; padding: 0 20px !important; }

.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 1rem;
    overflow: hidden;
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-hover {
    transition: transform 0.5s ease;
}

.card-hover img {
    transition: transform 0.5s ease;
}

.card-hover:hover img {
    transform: scale(1.08);
}

/* 滚动动画样式 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 轮播容器 */
.blog_active {
    margin: 0 -15px;
    position: relative;
}

/* 轮播项动画 */
.slick-slide {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 图片悬浮效果 */
.inner_blog_area {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 0.5rem !important;
    margin: 0 !important;
    max-width: none;
    flex: 0 0 33.333% !important;
    aspect-ratio: 4/3 !important;
    box-sizing: border-box !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.inner_blog_area:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.inner_blog_img {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.inner_blog_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3 !important;
}

.inner_blog_content {
    padding: 1.5rem !important;
}

.inner_blog_content h3 {
    margin-bottom: 0.75rem !important;
}

.inner_blog_content p {
    margin-bottom: 0.5rem !important;
    min-height: 72px;
}

.img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6) !important;
    color: white !important;
    padding: 5px 15px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-align: left !important;
    transition: all 0.3s ease !important;
    opacity: 0 !important;
    z-index: 10 !important;
}

.inner_blog_area:hover .img-overlay {
    opacity: 1 !important;
}

.img-overlay:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-5px);
}

.inner_blog_img:hover img {
    transform: scale(1.05);
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
}

/* Tailwind 自定义主题颜色类 */
.text-primary {
    color: #0F4C81 !important;
}

.bg-primary {
    background-color: #0F4C81 !important;
}

.text-secondary {
    color: #2A9D8F !important;
}

.bg-secondary {
    background-color: #2A9D8F !important;
}

.text-accent {
    color: #E9C46A !important;
}

.bg-accent {
    background-color: #E9C46A !important;
}

.text-dark {
    color: #264653 !important;
}

.bg-dark {
    background-color: #264653 !important;
}

.text-light {
    color: #F8F9FA !important;
}

.bg-light {
    background-color: #F8F9FA !important;
}

/* Tailwind 自定义主题颜色 - CSS变量 */
:root {
    --animation-delay-step: 0.1s;

    --primary: #0F4C81;
    --secondary: #2A9D8F;
    --accent: #E9C46A;
    --dark: #264653;
    --light: #F8F9FA;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* 导航栏样式 */
header {
    background-color: rgba(38, 70, 83, 0.8); /* 深色半透明背景 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* 下拉菜单图标样式 */
.nav-link .fa-chevron-down, .mobile-dropdown-toggle .fa-chevron-down, .mobile-dropdown-toggle .fa-chevron-up {
    font-family: 'FontAwesome' !important;
    color: var(--accent) !important;
    font-size: 0.65rem;
    margin-left: 0.25rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary);
    color: white;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    margin-right: 0.75rem;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--dark);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 10;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--dark);
    text-decoration: none;
    font-weight: 400;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--gray-50);
    color: var(--primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--dark);
    cursor: pointer;
}

/* 英雄区域样式 */
.hero {
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #0a3a66;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary);
}

/* 公司简介样式 */
.about {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-divider {
    width: 5rem;
    height: 0.25rem;
    background-color: var(--primary);
    margin: 0 auto 2rem;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--gray-600);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray-600);
}

/* 公司视频部分样式 */
.company-video {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.video-placeholder {
    width: 100%;
    height: 450px;
    background-image: url('../images/chanpin video background.jpg?v=1') !important;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
    background-color: #0a3a66;
}

/* 数据统计样式 */
.stats {
    padding: 5rem 0;
    background-color: var(--primary);
    color: white;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-title {
    font-size: 1rem;
    opacity: 0.9;
}

/* 产品轮播图样式 */
.product-carousel {
    padding: 5rem 0;
}

/* 产品卡片样式优化 - 减少文字下方空白 */
/* 调整产品卡片外层内边距 */
.product-card {
    padding: 0.5rem !important;
}

/* 优化产品卡片文字区域下边距 */
.product-card > div > div.p-6 {
    padding-bottom: 0.5rem !important;
}

/* 优化产品描述文字下边距 */
.product-card > div > div.p-6 > p.text-gray-600 {
    min-height: 72px;
    margin-bottom: 0.5rem !important;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

/* Slick轮播箭头样式 */
.slick-prev, .slick-next {
    &::before {
        content: none !important;
    }
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(15, 76, 129, 0.8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 1 !important;
    visibility: visible !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slick-prev {
    left: 30px;
    transform: translateY(-50%) translateX(-20px);
}

.slick-next {
    right: 30px;
    transform: translateY(-50%) translateX(20px);
}

.slick-prev:hover, .slick-next:hover {
    background-color: white;
}

.product-slider:hover .slick-prev,
.product-slider:hover .slick-next {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* 自定义箭头图标大小 */
.slick-prev i, .slick-next i {
    font-size: 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.slick-prev:hover i, .slick-next:hover i {
    opacity: 1;
}

/* 调整轮播点样式 */
.slick-dots {
    bottom: 25px;
    padding: 0 20px;
}

.slick-dots li {
    margin: 0 8px;
    transition: all 0.3s ease;
}

.slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
}

.slick-dots li button:before {
    font-size: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    content: '';
    transition: all 0.3s ease;
}

.slick-dots li.slick-active button:before {
    background-color: white;
    width: 14px;
    height: 14px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

/* Add animation to slides */
.product-slider .slick-slide {
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.product-slider .slick-slide:not(.slick-center) {
    opacity: 0.85;
    transform: scale(0.95);
}

.product-slider .slick-center {
    opacity: 1;
    transform: scale(1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    justify-content: center;
}

.carousel-item {
    min-width: 100%;
    padding: 0;
}

.product-card {
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    width: 100% !important;
    display: flex;
    flex-direction: column;
    flex: 0 0 33.333% !important;
    aspect-ratio: 4/3 !important;
    box-sizing: border-box !important;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3 !important;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.product-description {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.product-price {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

.carousel-button {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.carousel-button:hover {
    background-color: var(--primary);
    color: white;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray-300);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: var(--primary);
}

/* 产品中心样式 */
.product-center {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-button {
    padding: 0.5rem 1rem;
    background-color: white;
    border: 1px solid var(--gray-300);
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.filter-button:hover,
.filter-button.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* 产品详情模态框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background-color: white;
    border-radius: 0.75rem;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-500);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--dark);
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-image {
    border-radius: 0.5rem;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: auto;
}

.modal-info h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.modal-info p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

.modal-specs {
    margin-bottom: 1.5rem;
}

.modal-specs h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.modal-specs ul {
    list-style-type: none;
}

.modal-specs li {
    margin-bottom: 0.5rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
}

.modal-specs li:before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* 视频弹窗样式 - 复用模态框样式 */
#videoModal {
    backdrop-filter: blur(5px);
}

.video-modal-container {
    max-width: 90vw;
    max-height: 90vh;
}

#modalVideo {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

/* 服务支持样式 */
.services {
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgb(59 130 246 / 0.5);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-description {
    color: var(--gray-600);
}

/* 蓝色服务卡片样式 */
.blue-service-card {
    background-color: var(--primary);
    color: white;
    border-radius: 0.75rem;
    padding: 3rem;
    text-align: center;
    margin-top: 3rem;
}

.blue-service-card h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blue-service-card p {
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.blue-service-card .btn {
    background-color: white;
    color: var(--primary);
}

.blue-service-card .btn:hover {
    background-color: var(--gray-100);
}

/* 全球市场分布样式 */
.global-market {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.map-container {
    position: relative;
    height: 500px;
    background-color: var(--gray-100);
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 3rem;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.marker {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    background-color: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
    opacity: 0.6;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.market-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.market-stat-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.market-stat-number {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.market-stat-title {
    font-size: 1rem;
    color: var(--gray-600);
}

/* 客户案例样式 */
.case-studies {
    padding: 5rem 0;
}

.client-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.client-logo img {
    max-width: 80%;
    max-height: 60%;
    object-fit: contain;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.case-card {
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-info {
    padding: 1.5rem;
}

.case-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.case-description {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

/* 图片主题色遮罩样式 */
.image-overlay-primary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 76, 129, 0.5); 
    z-index: 1;
}

/* 新闻话题样式 */
.news {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.card-hover:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--accent);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.news-info {
    padding: 1.5rem;
}

.news-date {
    display: flex;
    align-items: center;
    color: var(--gray-500);
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.news-date i {
    margin-right: 0.5rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.news-description {
    color: var(--gray-600);
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

/* 发展历程样式 */
.history {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background-color: rgba(15, 76, 129, 0.2);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -9px;
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 50%;
}

.timeline-date {
    position: absolute;
    top: 0;
    left: -60px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.timeline-content {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.timeline-description {
    color: var(--gray-600);
}

/* 企业理念样式 */
.philosophy {
    padding: 5rem 0;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.philosophy-image {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.philosophy-image img {
    width: 100%;
    height: auto;
}

.philosophy-quote {
    position: absolute;
    top: -20px;
    right: -20px;
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 250px;
}

.philosophy-quote p {
    font-style: italic;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.philosophy-quote-author {
    font-weight: 600;
    color: var(--primary);
}

.philosophy-principles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.philosophy-principle {
    display: flex;
    gap: 1.5rem;
}

.principle-icon {
    color: var(--primary);
    font-size: 2rem;
}

.principle-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.principle-content p {
    color: var(--gray-600);
}

/* 校企合作样式 */
.university-cooperation {
    background-color: var(--gray-50);
    padding: 2.5rem;
    border-radius: 0.75rem;
    margin-top: 3rem;
}

.cooperation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.cooperation-description {
    margin-bottom: 1.5rem;
    color: var(--gray-600);
}

.cooperation-list {
    list-style-type: none;
}

.cooperation-list li {
    margin-bottom: 0.75rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
}

.cooperation-list li:before {
    content: '✓';
    color: var(--primary);
    margin-right: 0.5rem;
}

.cooperation-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cooperation-image {
    border-radius: 0.5rem;
    overflow: hidden;
    height: 120px;
}

.cooperation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 我们的优势样式 */
.advantages {
    padding: 5rem 0;
    background-color: var(--light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.advantage-number {
    width: 40px;
    height: 40px;
    background-color: rgba(15, 76, 129, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.advantage-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.advantage-content p {
    color: var(--gray-600);
}

/* 联系我们样式 */
.contact {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background-color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-info {
    background-color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(15, 76, 129, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.contact-text p {
    color: var(--gray-600);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    width: 35px;
    height: 35px;
    background-color: rgba(15, 76, 129, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary);
    color: white;
}

.map {
    width: 100%;
    height: 200px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 页脚样式 */
footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background-color: white;
    color: var(--primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    margin-right: 0.75rem;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-description {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    color: var(--gray-400);
    transition: color 0.3s ease;
}

.footer-social-link:hover {
    color: white;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.footer-links {
    list-style-type: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-700);
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* 响应式设计 - 合并优化媒体查询 */
@media (max-width: 1200px) {
    .product-slider .slick-slide { width: 33.333% !important; }
}

@media (max-width: 992px) {
    .product-slider .slick-slide { width: 50% !important; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .about-content,
    .philosophy-content,
    .cooperation-content,
    .contact-content,
    .modal-content {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-item::before {
        left: 11px;
    }

    .timeline-date {
        left: -5px;
        transform: translateX(-50%);
    }
}

@media (max-width: 640px) {
    .services-grid,
    .product-grid,
    .news-grid,
    .advantages-grid,
    .case-grid,
    .stats-container,
    .market-stats {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* 平滑滚动 */
html { scroll-behavior: smooth; }

/* 页面加载动画 */
.page-enter-animation {
    opacity: 0;
    animation: pageFadeIn 0.5s ease-out forwards;
}

@keyframes pageFadeIn {
    to {
        opacity: 1;
    }
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* 加载动画 */
.loader {
    width: 48px;
    height: 48px;
    border: 5px solid var(--primary);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin: 2rem auto;
}

@keyframes rotation { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover { transform: translateY(-5px); }
