/*
Theme Name: SportswearPartner
Theme URI: https://sportswearpartner.com
Author: Dongguan Yanyue Sporting Goods Co., Ltd.
Author URI: https://sportswearpartner.com
Description: Professional B2B Sportswear Customization Theme
Version: 2.3.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sportswearpartner
Tags: sportswear, customization, B2B, business, professional, responsive

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/* 字体改为系统字体栈，移除 Google Fonts @import（国内被墙 / 阻塞渲染，且 functions.php 已不再 enqueue） */

:root {
    --primary-color: #0A1628;
    --secondary-color: #FF6B35;
    --accent-color: #2EC4B6;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --dark-gray: #333333;
    --white: #FFFFFF;
    --text-color: #333333;
    --text-light: #666666;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--primary-color);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--white);
}

.logo h1 span {
    color: var(--secondary-color);
}

.logo a {
    text-decoration: none;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.header-contact {
    margin-left: 20px;
}

.header-contact a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

.header-contact a i {
    margin-right: 8px;
}

.mobile-menu-btn {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(10, 22, 40, 0.85), rgba(10, 22, 40, 0.85)), 
                url('images/safe-football.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin: 0 10px;
}

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

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title,
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2,
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p,
.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), #1a2a4a);
    color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-item .stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

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

.product-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.product-category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.product-info {
    padding: 25px;
}

.product-info .product-category {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.product-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Category Filters */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--white);
    color: var(--dark-gray);
    border: 2px solid var(--medium-gray);
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.filter-btn.active {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

/* Cases Section */
.cases-section {
    background: var(--primary-color);
    padding: 80px 0;
}

.cases-section .section-header h2,
.cases-section .section-header p {
    color: var(--white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.case-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.case-info {
    padding: 25px;
}

.case-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
}

.case-info .client {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.case-info p {
    color: rgba(255, 255, 255, 0.7);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #1a2a4a);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(10, 22, 40, 0.85), rgba(10, 22, 40, 0.85)), 
                url('images/safe-football.jpg');
    background-size: cover;
    background-position: center;
    padding: 150px 0 100px;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
}

/* Page Header Backgrounds by Page */
.page-template-services .page-header {
    background: linear-gradient(rgba(10, 22, 40, 0.85), rgba(10, 22, 40, 0.85)), 
                url('images/safe-basketball.jpg');
}

.page-template-products .page-header {
    background: linear-gradient(rgba(10, 22, 40, 0.85), rgba(10, 22, 40, 0.85)), 
                url('images/safe-football.jpg');
}

.page-template-cases .page-header {
    background: linear-gradient(rgba(10, 22, 40, 0.85), rgba(10, 22, 40, 0.85)), 
                url('images/safe-tracksuit.jpg');
}

.page-template-about .page-header {
    background: linear-gradient(rgba(10, 22, 40, 0.85), rgba(10, 22, 40, 0.85)), 
                url('images/safe-team.jpg');
}

.page-template-news .page-header {
    background: linear-gradient(rgba(10, 22, 40, 0.85), rgba(10, 22, 40, 0.85)), 
                url('images/safe-basketball.jpg');
}

.page-template-contact .page-header {
    background: linear-gradient(rgba(10, 22, 40, 0.85), rgba(10, 22, 40, 0.85)), 
                url('images/safe-corporate.jpg');
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
}

.process-step {
    text-align: center;
    flex: 0 0 calc(20% - 30px);
    min-width: 150px;
}

.step-number {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: var(--white);
}

.process-step h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 20px;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--medium-gray);
    border-radius: 12px;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

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

/* News Section */
.news-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.news-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.news-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 60%, rgba(0,0,0,0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-image::before {
    opacity: 1;
}

.news-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 1;
}

.news-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-date i {
    color: var(--accent-color);
    font-size: 0.75rem;
}

.news-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.news-tag {
    padding: 5px 12px;
    background: rgba(46, 196, 182, 0.1);
    color: var(--accent-color);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* Featured News Card */
.featured-news-section {
    padding: 60px 0;
}

.featured-news-card {
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
}

.featured-news-image {
    height: 400px;
    background-size: cover;
    background-position: center;
}

.featured-news-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-news-content .news-date {
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.featured-news-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.featured-news-content p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.featured-news-content .news-tags {
    margin-bottom: 30px;
}

/* Blog Archive Section */
.blog-archive-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.blog-content {
    max-width: 1400px;
    margin: 0 auto;
}

/* Pagination */
.pagination {
    margin-top: 50px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.pagination .page-numbers a,
.pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.pagination .page-numbers a:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.pagination .page-numbers.current {
    background: var(--secondary-color);
    color: var(--white);
}

.pagination .page-numbers.dots {
    background: transparent;
    box-shadow: none;
}

/* Blog Single Page */
.blog-single-section {
    padding: 80px 0;
}

.blog-single-section .blog-content {
    max-width: 900px;
    margin: 0 auto;
}

.blog-featured-image {
    margin-bottom: 30px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.blog-categories {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.blog-categories .categories-label {
    color: var(--text-light);
    font-weight: 500;
}

.blog-categories .category-link {
    padding: 8px 18px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--secondary-color);
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-categories .category-link:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.blog-article {
    margin-bottom: 40px;
}

.blog-article h1,
.blog-article h2,
.blog-article h3,
.blog-article h4,
.blog-article h5,
.blog-article h6 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.blog-article h2 {
    font-size: 1.5rem;
}

.blog-article h3 {
    font-size: 1.3rem;
}

.blog-article p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.blog-article img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

.blog-article a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.blog-article a:hover {
    text-decoration: underline;
}

.blog-article ul,
.blog-article ol {
    padding-left: 30px;
    margin-bottom: 20px;
}

.blog-article li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 10px;
}

.blog-tags {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    padding-top: 25px;
    border-top: 1px solid var(--medium-gray);
}

.blog-tags .tags-label {
    color: var(--text-light);
    font-weight: 500;
}

.blog-tags a {
    padding: 8px 16px;
    background: var(--light-gray);
    color: var(--text-color);
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.blog-tags a:hover {
    background: var(--accent-color);
    color: var(--white);
}

.author-bio {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--light-gray);
    border-radius: 16px;
    margin-bottom: 40px;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.author-info p {
    color: var(--text-light);
    margin: 0;
}

.blog-navigation {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--medium-gray);
    margin-bottom: 40px;
}

.nav-previous,
.nav-next {
    flex: 0 0 calc(50% - 15px);
}

.nav-previous a,
.nav-next a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 15px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.nav-previous a {
    justify-content: flex-start;
}

.nav-next a {
    justify-content: flex-end;
}

/* Responsive Blog Styles */
@media (max-width: 1024px) {
    .featured-news-card {
        grid-template-columns: 1fr;
    }
    
    .featured-news-image {
        height: 280px;
    }
    
    .featured-news-content {
        padding: 35px;
    }
    
    .featured-news-content h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .news-grid,
    .blog-archive-section .news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .news-card {
        border-radius: 20px;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-content {
        padding: 22px;
    }
    
    .news-content h3 {
        font-size: 1.15rem;
    }
    
    .featured-news-content {
        padding: 25px;
    }
    
    .featured-news-content h3 {
        font-size: 1.25rem;
    }
    
    .blog-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-previous,
    .nav-next {
        flex: 1;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .pagination .page-numbers a,
    .pagination .page-numbers span {
        width: 40px;
        height: 40px;
    }
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .header-contact {
        display: none;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links li a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item .stat-number {
        font-size: 2.5rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .process-step {
        flex: 0 0 calc(50% - 15px);
    }
    
    .services-grid,
    .products-grid,
    .cases-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex: 0 0 100%;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
}

/* Introduction Section */
.intro-section {
    background: var(--light-gray);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.intro-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.intro-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.intro-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 500;
}

.intro-feature i {
    color: var(--secondary-color);
}

.intro-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .intro-content {
        grid-template-columns: 1fr;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
    }
}

/* Product Categories Section */
.product-categories-section {
    background: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.category-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.category-info {
    padding: 25px;
}

.category-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.category-info p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Section Footer */
.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* Case Details */
.case-details {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.case-details span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.case-details i {
    color: var(--secondary-color);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.testimonial-rating {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial-card p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-style: normal;
    margin: 0;
    font-size: 0.9rem;
}

/* CTA Contact Info */
.cta-contact-info {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-contact-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

.cta-contact-info i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* Enhanced Product Card */
.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

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

.product-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
}

.product-info {
    padding: 30px;
}

.product-info .product-category {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.product-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Services Page Enhancements */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 45px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.8rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* Process Steps Enhancement */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    flex: 0 0 calc(20% - 40px);
    min-width: 180px;
}

.step-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.process-step h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .process-step {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .process-step {
        flex: 0 0 100%;
    }
}

/* Categories Introduction */
.categories-intro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.category-intro-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.category-intro-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.category-intro-item h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.category-intro-item h3 i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.category-intro-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Product Features */
.product-features {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.product-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 500;
}

.product-features i {
    font-size: 0.7rem;
}

/* Customization Section */
.customization-section {
    background: var(--light-gray);
}

.customization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.customization-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.customization-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.customization-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #1a2d4a);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.customization-card:hover .customization-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.customization-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.customization-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Service List */
.service-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.service-list i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

/* Quality Section */
.quality-section {
    background: var(--light-gray);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.quality-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.quality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.quality-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    color: var(--white);
}

.quality-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.quality-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Case Highlights */
.case-highlights {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.case-highlights h4 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 15px;
}

.case-highlights ul {
    list-style: none;
    padding: 0;
}

.case-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.case-highlights i {
    color: var(--secondary-color);
}

/* Cases Mini Grid */
.cases-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.case-mini-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.case-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.case-mini-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.case-mini-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.case-mini-card .client {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.case-mini-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.case-mini-details {
    display: flex;
    gap: 15px;
}

.case-mini-details span {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Mission Section */
.mission-section {
    background: var(--light-gray);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mission-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #1a2d4a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.mission-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.mission-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.team-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--white);
}

.team-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.team-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Facilities Section */
.facilities-section {
    background: var(--light-gray);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.facility-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.facility-image {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.facility-card h3 {
    padding: 20px 25px 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.facility-card p {
    padding: 0 25px 25px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Certifications Section */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.certification-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.certification-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #1a2d4a);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--white);
}

.certification-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.certification-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact Person Section */
.contact-person-section {
    background: var(--light-gray);
}

.contact-person-card {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-person-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.contact-person-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-person-title {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.contact-person-info p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
}

.contact-person-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--primary-color);
    font-size: 1rem;
}

.contact-detail i {
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .contact-person-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-detail {
        justify-content: center;
    }
}

/* Featured News Section */
.featured-news-section {
    background: var(--light-gray);
}

.featured-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.featured-news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.featured-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.featured-news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.featured-news-content {
    padding: 30px;
}

.featured-news-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.featured-news-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* News Tags */
.news-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.news-tag {
    background: var(--light-gray);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Insights Section */
.insights-section {
    background: var(--light-gray);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.insight-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.insight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--white);
}

.insight-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.insight-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--primary-color);
    color: var(--white);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter-form input {
    padding: 15px 25px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    width: 350px;
    max-width: 100%;
}

.newsletter-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-top: 20px;
}

/* Contact Methods Section */
.contact-methods-section {
    background: var(--light-gray);
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-method-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.contact-method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: var(--white);
}

.contact-method-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-id {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-method-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.contact-method-note {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-method-note span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-size: 0.85rem;
}

/* Quick Contact Section */
.quick-contact-section {
    background: var(--light-gray);
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.quick-contact-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.quick-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.quick-contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--white);
}

.quick-contact-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.quick-contact-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* FAQ Section */
.faq-section {
    background: var(--light-gray);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.faq-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.faq-item h3 i {
    color: var(--secondary-color);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-news-grid {
        grid-template-columns: 1fr;
    }
}

/* Button Full Width */
.btn-full {
    width: 100%;
}

/* Form Enhancements */
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group select:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.form-group input,
.form-group textarea {
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 85px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: var(--primary-color);
}

/* Floating Contact Buttons */
.floating-contact-buttons {
    position: fixed;
    bottom: 100px;
    right: 120px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.4rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(20px);
    animation: slide-in-contact 0.3s ease forwards;
}

.contact-btn:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-btn:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-btn:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes slide-in-contact {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.phone-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
}

.wechat-btn {
    background: linear-gradient(135deg, #7BB32E, #5B8C2A);
    color: var(--white);
}

.email-btn {
    background: linear-gradient(135deg, var(--secondary-color), #E55A2B);
    color: var(--white);
}

.contact-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Small Button Style */
.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Responsive Floating Buttons */
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    
    .floating-contact-buttons {
        display: none;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* New Floating WhatsApp Button */
#whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

#whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
    font-family: Arial, sans-serif;
}

#whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon::before {
    content: 'W';
    font-size: 28px;
    font-weight: bold;
}

.whatsapp-text {
    display: none;
}

@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    }
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    #whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    #whatsapp-float a {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-icon::before {
        font-size: 24px;
    }
}

/* ============================================================
   SEO ENHANCEMENTS - Breadcrumbs, Related Posts, E-E-A-T
   ============================================================ */

/* Breadcrumb Navigation */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--secondary-color);
}

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-current {
    color: var(--white);
    font-weight: 500;
}

/* Post Meta Info */
.post-meta-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-meta-item a:hover {
    color: var(--secondary-color);
}

/* Enhanced Author Bio */
.enhanced-author-bio {
    display: flex;
    gap: 25px;
    padding: 35px;
    background: linear-gradient(135deg, var(--light-gray), #f0f4f8);
    border-radius: 20px;
    margin-bottom: 40px;
    border-left: 4px solid var(--secondary-color);
}

.enhanced-author-bio .author-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.enhanced-author-bio .author-info h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.author-role {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 3px 12px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 15px;
}

.enhanced-author-bio .author-info p {
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.7;
}

.author-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.author-link:hover {
    color: var(--primary-color);
}

/* Related Posts Section */
.related-posts-section {
    margin-bottom: 40px;
    padding: 35px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.related-posts-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-posts-title i {
    color: var(--secondary-color);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-post-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.related-post-image {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.related-post-info {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-post-date {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.related-post-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-info p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Archive Description */
.archive-description {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--accent-color);
}

.archive-description p {
    color: var(--text-light);
    line-height: 1.8;
}

/* News card image link */
.news-image-link {
    text-decoration: none;
}

.news-content h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h3 a:hover {
    color: var(--secondary-color);
}

/* News tag as link */
.news-tag {
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-tag:hover {
    background: var(--secondary-color) !important;
    color: var(--white) !important;
}

/* Responsive Related Posts */
@media (max-width: 1024px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .enhanced-author-bio {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .post-meta-info {
        justify-content: center;
    }
    
    .breadcrumb-nav {
        justify-content: center;
    }
    
    .related-posts-section {
        padding: 25px;
    }
}

/* ============================================================
   FAQ SEMANTIC STYLES (dl/dt/dd)
   ============================================================ */
.faq-section dl {
    max-width: 900px;
    margin: 0 auto;
}

.faq-section dt {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.faq-section dt i {
    color: var(--secondary-color);
    margin-top: 4px;
    flex-shrink: 0;
}

.faq-section dd {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
    padding-left: 32px;
    border-left: 3px solid var(--accent-color);
    padding-top: 5px;
    padding-bottom: 5px;
}

/* ============================================================
   CORE WEB VITALS OPTIMIZATIONS
   ============================================================ */

/* Performance: Font display swap to prevent FOIT */
@font-face {
    font-display: swap;
}

/* Performance: Contain paint for above-the-fold */
.hero {
    contain: layout style;
}

/* Performance: Will-change for animated elements */
.feature-card,
.product-card,
.case-card,
.news-card,
.service-card,
.testimonial-card {
    will-change: transform;
    contain: layout style paint;
}

/* Performance: Image lazy loading */
img {
    loading: lazy;
    decoding: async;
}

/* Performance: Content-visibility for below-fold sections */
.section:not(.hero):not(.page-header):not(.stats-section) {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

/* Accessibility: Focus visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Accessibility: Skip to content link */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 24px;
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* Performance: Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero {
        background-attachment: scroll;
    }
}

/* Mobile: Touch target size optimization */
@media (max-width: 768px) {
    .nav-links li a,
    .btn,
    .btn-outline,
    .filter-btn {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .footer-links li a {
        display: inline-block;
        padding: 8px 0;
    }
}

/* Performance: Text rendering optimization */
body {
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Performance: Hardware acceleration for fixed elements */
.header,
#whatsapp-float {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
}

/* ============================================================
   FAQ & Breadcrumb styles (migrated from functions.php inline <style>)
   Localized so they can be cached instead of being re-emitted per page.
   ============================================================ */
.faq-list {
    margin: 0;
    padding: 0;
}
.faq-list dt {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
    line-height: 1.5;
}
.faq-list dt i {
    color: #e63946;
    margin-right: 0.5rem;
}
.faq-list dd {
    margin-left: 0;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #e63946;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}
.faq-list dd p {
    margin: 0;
}
.faq-item {
    margin-bottom: 1rem;
}
.breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}
.breadcrumb li {
    display: flex;
    align-items: center;
}
.breadcrumb li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb li a:hover {
    color: #fff;
}
.breadcrumb li + li::before {
    content: "/";
    margin: 0 0.5rem;
    color: rgba(255,255,255,0.5);
}
.breadcrumb li.active span {
    color: #fff;
    font-weight: 500;
}
}

/* Newsletter 订阅状态提示 */
.newsletter-status {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
}
.newsletter-success {
    color: #1a7f37;
}
.newsletter-error {
    color: #c0392b;
}